Searched refs:npools (Results 1 – 4 of 4) sorted by relevance
/linux/arch/sparc/kernel/ |
H A D | iommu-common.c | 56 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 D | svc.c | 64 unsigned int npools; member 294 int npools = -1; in svc_pool_map_get() local 299 return m->npools; in svc_pool_map_get() 307 npools = svc_pool_map_init_percpu(m); in svc_pool_map_get() 310 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get() 314 if (npools <= 0) { in svc_pool_map_get() 316 npools = 1; in svc_pool_map_get() 319 m->npools = npools; in svc_pool_map_get() 321 return npools; in svc_pool_map_get() 485 __svc_create(struct svc_program * prog,int nprogs,struct svc_stat * stats,unsigned int bufsize,int npools,int (* threadfn)(void * data)) __svc_create() argument 585 unsigned int npools = svc_pool_map_get(); svc_create_pooled() local [all...] |
/linux/arch/sparc/include/asm/ |
H A D | iommu-common.h | 39 bool large_pool, u32 npools,
|
/linux/fs/nfsd/ |
H A D | nfsctl.c | 455 int npools; in write_pool_threads() 460 npools = nfsd_nrpools(net); in write_pool_threads() 461 if (npools == 0) { in write_pool_threads() 472 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads() 478 for (i = 0; i < npools; i++) { in write_pool_threads() 502 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 508 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 509 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads() 458 int npools; write_pool_threads() local
|