Searched refs:pl (Results 1 – 3 of 3) sorted by relevance
/lib/ |
D | flex_proportions.c | 93 int fprop_local_init_single(struct fprop_local_single *pl) in fprop_local_init_single() argument 95 pl->events = 0; in fprop_local_init_single() 96 pl->period = 0; in fprop_local_init_single() 97 raw_spin_lock_init(&pl->lock); in fprop_local_init_single() 101 void fprop_local_destroy_single(struct fprop_local_single *pl) in fprop_local_destroy_single() argument 106 struct fprop_local_single *pl) in fprop_reflect_period_single() argument 112 if (pl->period == period) in fprop_reflect_period_single() 114 raw_spin_lock_irqsave(&pl->lock, flags); in fprop_reflect_period_single() 116 if (pl->period >= period) { in fprop_reflect_period_single() 117 raw_spin_unlock_irqrestore(&pl->lock, flags); in fprop_reflect_period_single() [all …]
|
D | proportions.c | 191 int prop_local_init_percpu(struct prop_local_percpu *pl) in prop_local_init_percpu() argument 193 raw_spin_lock_init(&pl->lock); in prop_local_init_percpu() 194 pl->shift = 0; in prop_local_init_percpu() 195 pl->period = 0; in prop_local_init_percpu() 196 return percpu_counter_init(&pl->events, 0); in prop_local_init_percpu() 199 void prop_local_destroy_percpu(struct prop_local_percpu *pl) in prop_local_destroy_percpu() argument 201 percpu_counter_destroy(&pl->events); in prop_local_destroy_percpu() 212 void prop_norm_percpu(struct prop_global *pg, struct prop_local_percpu *pl) in prop_norm_percpu() argument 226 if (pl->period == global_period) in prop_norm_percpu() 229 raw_spin_lock_irqsave(&pl->lock, flags); in prop_norm_percpu() [all …]
|
/lib/mpi/ |
D | longlong.h | 154 #define umul_ppmm(ph, pl, m0, m1) \ argument 161 (pl) = __m0 * __m1; \ 284 #define umul_ppmm(ph, pl, m0, m1) \ argument 287 "=r" ((USItype)(pl)) \ 807 #define umul_ppmm(ph, pl, m0, m1) \ argument 814 (pl) = __m0 * __m1; \ 817 #define smul_ppmm(ph, pl, m0, m1) \ argument 824 (pl) = __m0 * __m1; \ 913 #define umul_ppmm(ph, pl, m0, m1) \ argument 938 "=r" ((USItype)(pl)) \ [all …]
|