Searched refs:pidx (Results 1 – 5 of 5) sorted by relevance
168 unsigned int pidx = 0; in svc_pool_map_init_percpu() local177 BUG_ON(pidx >= maxpools); in svc_pool_map_init_percpu()178 m->to_pool[cpu] = pidx; in svc_pool_map_init_percpu()179 m->pool_to[pidx] = cpu; in svc_pool_map_init_percpu()180 pidx++; in svc_pool_map_init_percpu()184 return pidx; in svc_pool_map_init_percpu()196 unsigned int pidx = 0; in svc_pool_map_init_pernode() local206 BUG_ON(pidx > maxpools); in svc_pool_map_init_pernode()207 m->to_pool[node] = pidx; in svc_pool_map_init_pernode()208 m->pool_to[pidx] = node; in svc_pool_map_init_pernode()[all …]
1396 unsigned int pidx = (unsigned int)*pos; in svc_pool_stats_start() local1399 dprintk("svc_pool_stats_start, *pidx=%u\n", pidx); in svc_pool_stats_start()1401 if (!pidx) in svc_pool_stats_start()1403 return (pidx > serv->sv_nrpools ? NULL : &serv->sv_pools[pidx-1]); in svc_pool_stats_start()1416 unsigned int pidx = (pool - &serv->sv_pools[0]); in svc_pool_stats_next() local1417 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()1418 pool = &serv->sv_pools[pidx+1]; in svc_pool_stats_next()
230 unsigned int *pidx) in choke_peek_random() argument236 *pidx = (q->head + prandom_u32_max(choke_len(q))) & q->tab_mask; in choke_peek_random()237 skb = q->tab[*pidx]; in choke_peek_random()242 return q->tab[*pidx = q->head]; in choke_peek_random()251 unsigned int *pidx) in choke_match_random() argument258 oskb = choke_peek_random(q, pidx); in choke_match_random()
52 unsigned int pidx, in __vlan_group_get_device() argument57 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
58 unsigned int pidx, vidx; in vlan_group_prealloc_vid() local63 pidx = vlan_proto_idx(vlan_proto); in vlan_group_prealloc_vid()65 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid()74 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()