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() 340 m->npools = 0; in svc_pool_map_put() [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 | 463 int npools; in write_pool_threads() local 468 npools = nfsd_nrpools(net); in write_pool_threads() 469 if (npools == 0) { in write_pool_threads() 480 nthreads = kzalloc_objs(int, npools); in write_pool_threads() 486 for (i = 0; i < npools; i++) { in write_pool_threads() 510 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 516 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 517 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
|