Searched refs:pd (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | proportions.c | 76 int prop_descriptor_init(struct prop_descriptor *pd, int shift, gfp_t gfp) in prop_descriptor_init() argument 83 pd->index = 0; in prop_descriptor_init() 84 pd->pg[0].shift = shift; in prop_descriptor_init() 85 mutex_init(&pd->mutex); in prop_descriptor_init() 86 err = percpu_counter_init(&pd->pg[0].events, 0, gfp); in prop_descriptor_init() 90 err = percpu_counter_init(&pd->pg[1].events, 0, gfp); in prop_descriptor_init() 92 percpu_counter_destroy(&pd->pg[0].events); in prop_descriptor_init() 105 void prop_change_shift(struct prop_descriptor *pd, int shift) in prop_change_shift() argument 115 mutex_lock(&pd->mutex); in prop_change_shift() 117 index = pd->index ^ 1; in prop_change_shift() [all …]
|
D | bch.c | 381 unsigned int i, j, tmp, l, pd = 1, d = syn[0]; in compute_error_locator_polynomial() local 401 tmp = a_log(bch, d)+n-a_log(bch, pd); in compute_error_locator_polynomial() 413 pd = d; in compute_error_locator_polynomial()
|