Home
last modified time | relevance | path

Searched refs:npools (Results 1 – 4 of 4) sorted by relevance

/linux/arch/sparc/kernel/
H A Diommu-common.c56 bool large_pool, u32 npools, in iommu_tbl_pool_init() argument
63 if (npools == 0) in iommu_tbl_pool_init()
66 iommu->nr_pools = npools; in iommu_tbl_pool_init()
67 BUG_ON(npools > IOMMU_NR_POOLS); in iommu_tbl_pool_init()
109 unsigned int npools = iommu->nr_pools; in iommu_tbl_range_alloc() local
130 pool_nr = pool_hash & (npools - 1); in iommu_tbl_range_alloc()
/linux/net/sunrpc/
H A Dsvc.c48 unsigned int npools; member
167 int npools; in svc_pool_map_get() local
172 return m->npools; in svc_pool_map_get()
175 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get()
176 if (npools <= 0) { in svc_pool_map_get()
181 m->npools = npools; in svc_pool_map_get()
183 return npools; in svc_pool_map_get()
202 m->npools = 0; in svc_pool_map_put()
249 return serv->sv_is_pooled ? svc_pool_map.npools : 1; in svc_serv_nrpools()
393 unsigned int bufsize, int npools, int (*threadfn)(void *data)) in __svc_create() argument
[all …]
/linux/arch/sparc/include/asm/
H A Diommu-common.h39 bool large_pool, u32 npools,
/linux/fs/nfsd/
H A Dnfsctl.c481 int npools; in write_pool_threads() local
486 npools = nfsd_nrpools(net); in write_pool_threads()
487 if (npools == 0) { in write_pool_threads()
498 nthreads = kzalloc_objs(int, npools); in write_pool_threads()
504 for (i = 0; i < npools; i++) { in write_pool_threads()
528 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads()
534 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads()
535 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()