Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/kernel/
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-6.1.9/net/sunrpc/
Dsvc.c63 unsigned int npools; member
250 int npools = -1; in svc_pool_map_get() local
256 WARN_ON_ONCE(m->npools <= 1); in svc_pool_map_get()
257 return m->npools; in svc_pool_map_get()
265 npools = svc_pool_map_init_percpu(m); in svc_pool_map_get()
268 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get()
272 if (npools <= 0) { in svc_pool_map_get()
274 npools = 1; in svc_pool_map_get()
277 m->npools = npools; in svc_pool_map_get()
279 if (npools == 1) in svc_pool_map_get()
[all …]
/linux-6.1.9/fs/nfsd/
Dnfsctl.c466 int npools; in write_pool_threads() local
471 npools = nfsd_nrpools(net); in write_pool_threads()
472 if (npools == 0) { in write_pool_threads()
483 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads()
489 for (i = 0; i < npools; i++) { in write_pool_threads()
504 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads()
510 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads()
511 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
/linux-6.1.9/arch/sparc/include/asm/
Diommu-common.h39 bool large_pool, u32 npools,