Home
last modified time | relevance | path

Searched refs:pidx (Results 1 – 5 of 5) sorted by relevance

/net/sunrpc/
Dsvc.c168 unsigned int pidx = 0; in svc_pool_map_init_percpu() local
177 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() local
206 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 …]
Dsvc_xprt.c1396 unsigned int pidx = (unsigned int)*pos; in svc_pool_stats_start() local
1399 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() local
1417 if (pidx < serv->sv_nrpools-1) in svc_pool_stats_next()
1418 pool = &serv->sv_pools[pidx+1]; in svc_pool_stats_next()
/net/sched/
Dsch_choke.c230 unsigned int *pidx) in choke_peek_random() argument
236 *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() argument
258 oskb = choke_peek_random(q, pidx); in choke_match_random()
/net/8021q/
Dvlan.h52 unsigned int pidx, in __vlan_group_get_device() argument
57 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
Dvlan.c58 unsigned int pidx, vidx; in vlan_group_prealloc_vid() local
63 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()