Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | PROP_BATCH (8*(1+ilog2(nr_cpu_ids))) |
Functions | |
int | prop_descriptor_init (struct prop_descriptor *pd, int shift) |
void | prop_change_shift (struct prop_descriptor *pd, int shift) |
int | prop_local_init_percpu (struct prop_local_percpu *pl) |
void | prop_local_destroy_percpu (struct prop_local_percpu *pl) |
void | __prop_inc_percpu (struct prop_descriptor *pd, struct prop_local_percpu *pl) |
void | __prop_inc_percpu_max (struct prop_descriptor *pd, struct prop_local_percpu *pl, long frac) |
void | prop_fraction_percpu (struct prop_descriptor *pd, struct prop_local_percpu *pl, long *numerator, long *denominator) |
int | prop_local_init_single (struct prop_local_single *pl) |
void | prop_local_destroy_single (struct prop_local_single *pl) |
void | __prop_inc_single (struct prop_descriptor *pd, struct prop_local_single *pl) |
void | prop_fraction_single (struct prop_descriptor *pd, struct prop_local_single *pl, long *numerator, long *denominator) |
#define PROP_BATCH (8*(1+ilog2(nr_cpu_ids))) |
Definition at line 189 of file proportions.c.
void __prop_inc_percpu | ( | struct prop_descriptor * | pd, |
struct prop_local_percpu * | pl | ||
) |
Definition at line 256 of file proportions.c.
void __prop_inc_percpu_max | ( | struct prop_descriptor * | pd, |
struct prop_local_percpu * | pl, | ||
long | frac | ||
) |
Definition at line 270 of file proportions.c.
void __prop_inc_single | ( | struct prop_descriptor * | pd, |
struct prop_local_single * | pl | ||
) |
Definition at line 376 of file proportions.c.
void prop_change_shift | ( | struct prop_descriptor * | pd, |
int | shift | ||
) |
Definition at line 105 of file proportions.c.
int prop_descriptor_init | ( | struct prop_descriptor * | pd, |
int | shift | ||
) |
Definition at line 76 of file proportions.c.
void prop_fraction_percpu | ( | struct prop_descriptor * | pd, |
struct prop_local_percpu * | pl, | ||
long * | numerator, | ||
long * | denominator | ||
) |
Definition at line 303 of file proportions.c.
void prop_fraction_single | ( | struct prop_descriptor * | pd, |
struct prop_local_single * | pl, | ||
long * | numerator, | ||
long * | denominator | ||
) |
Definition at line 391 of file proportions.c.
void prop_local_destroy_percpu | ( | struct prop_local_percpu * | pl | ) |
Definition at line 199 of file proportions.c.
void prop_local_destroy_single | ( | struct prop_local_single * | pl | ) |
Definition at line 334 of file proportions.c.
int prop_local_init_percpu | ( | struct prop_local_percpu * | pl | ) |
Definition at line 191 of file proportions.c.
int prop_local_init_single | ( | struct prop_local_single * | pl | ) |
Definition at line 325 of file proportions.c.