Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/sparc/kernel/
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-6.3-rc2/net/sunrpc/
A Dsvc.c63 unsigned int npools; member
250 int npools = -1; in svc_pool_map_get() local
257 return m->npools; 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()
284 return npools; in svc_pool_map_get()
300 if (npools <= 1) in svc_pool_map_put()
309 m->npools = 0; in svc_pool_map_put()
[all …]
/linux-6.3-rc2/arch/sparc/include/asm/
A Diommu-common.h39 bool large_pool, u32 npools,
/linux-6.3-rc2/fs/nfsd/
A Dnfsctl.c454 int npools; in write_pool_threads() local
459 npools = nfsd_nrpools(net); in write_pool_threads()
460 if (npools == 0) { in write_pool_threads()
471 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads()
477 for (i = 0; i < npools; i++) { in write_pool_threads()
492 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads()
498 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads()
499 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()

Completed in 9 milliseconds