Searched refs:npools (Results 1 – 5 of 5) sorted by relevance
/linux/arch/sparc/kernel/ |
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/ |
A D | svc.c | 229 int npools = -1; in svc_pool_map_get() local 235 return m->npools; in svc_pool_map_get() 243 npools = svc_pool_map_init_percpu(m); in svc_pool_map_get() 246 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get() 250 if (npools < 0) { in svc_pool_map_get() 252 npools = 1; in svc_pool_map_get() 255 m->npools = npools; in svc_pool_map_get() 258 return m->npools; in svc_pool_map_get() 281 m->npools = 0; in svc_pool_map_put() 466 serv->sv_nrpools = npools; in __svc_create() [all …]
|
/linux/fs/nfsd/ |
A D | nfsctl.c | 487 int npools; in write_pool_threads() local 492 npools = nfsd_nrpools(net); in write_pool_threads() 493 if (npools == 0) { in write_pool_threads() 504 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads() 510 for (i = 0; i < npools; i++) { in write_pool_threads() 525 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 531 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 532 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
|
/linux/arch/sparc/include/asm/ |
A D | iommu-common.h | 39 bool large_pool, u32 npools,
|
/linux/include/linux/sunrpc/ |
A D | svc.h | 487 unsigned int npools; member
|
Completed in 15 milliseconds