|
Linux Kernel
3.7.1
|
#include <linux/flex_proportions.h>Go to the source code of this file.
Macros | |
| #define | PROP_BATCH (8*(1+ilog2(nr_cpu_ids))) |
Functions | |
| int | fprop_global_init (struct fprop_global *p) |
| void | fprop_global_destroy (struct fprop_global *p) |
| bool | fprop_new_period (struct fprop_global *p, int periods) |
| int | fprop_local_init_single (struct fprop_local_single *pl) |
| void | fprop_local_destroy_single (struct fprop_local_single *pl) |
| void | __fprop_inc_single (struct fprop_global *p, struct fprop_local_single *pl) |
| void | fprop_fraction_single (struct fprop_global *p, struct fprop_local_single *pl, unsigned long *numerator, unsigned long *denominator) |
| int | fprop_local_init_percpu (struct fprop_local_percpu *pl) |
| void | fprop_local_destroy_percpu (struct fprop_local_percpu *pl) |
| void | __fprop_inc_percpu (struct fprop_global *p, struct fprop_local_percpu *pl) |
| void | fprop_fraction_percpu (struct fprop_global *p, struct fprop_local_percpu *pl, unsigned long *numerator, unsigned long *denominator) |
| void | __fprop_inc_percpu_max (struct fprop_global *p, struct fprop_local_percpu *pl, int max_frac) |
| #define PROP_BATCH (8*(1+ilog2(nr_cpu_ids))) |
Definition at line 169 of file flex_proportions.c.
| void __fprop_inc_percpu | ( | struct fprop_global * | p, |
| struct fprop_local_percpu * | pl | ||
| ) |
Definition at line 219 of file flex_proportions.c.
| void __fprop_inc_percpu_max | ( | struct fprop_global * | p, |
| struct fprop_local_percpu * | pl, | ||
| int | max_frac | ||
| ) |
Definition at line 258 of file flex_proportions.c.
| void __fprop_inc_single | ( | struct fprop_global * | p, |
| struct fprop_local_single * | pl | ||
| ) |
Definition at line 130 of file flex_proportions.c.
| void fprop_fraction_percpu | ( | struct fprop_global * | p, |
| struct fprop_local_percpu * | pl, | ||
| unsigned long * | numerator, | ||
| unsigned long * | denominator | ||
| ) |
Definition at line 226 of file flex_proportions.c.
| void fprop_fraction_single | ( | struct fprop_global * | p, |
| struct fprop_local_single * | pl, | ||
| unsigned long * | numerator, | ||
| unsigned long * | denominator | ||
| ) |
Definition at line 138 of file flex_proportions.c.
| void fprop_global_destroy | ( | struct fprop_global * | p | ) |
Definition at line 50 of file flex_proportions.c.
| int fprop_global_init | ( | struct fprop_global * | p | ) |
Definition at line 37 of file flex_proportions.c.
| void fprop_local_destroy_percpu | ( | struct fprop_local_percpu * | pl | ) |
Definition at line 183 of file flex_proportions.c.
| void fprop_local_destroy_single | ( | struct fprop_local_single * | pl | ) |
Definition at line 101 of file flex_proportions.c.
| int fprop_local_init_percpu | ( | struct fprop_local_percpu * | pl | ) |
Definition at line 171 of file flex_proportions.c.
| int fprop_local_init_single | ( | struct fprop_local_single * | pl | ) |
Definition at line 93 of file flex_proportions.c.
| bool fprop_new_period | ( | struct fprop_global * | p, |
| int | periods | ||
| ) |
Definition at line 63 of file flex_proportions.c.
1.8.2