Searched refs:npools (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/sparc/kernel/ |
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-v4.19/net/sunrpc/ |
D | svc.c | 226 int npools = -1; in svc_pool_map_get() local 232 return m->npools; in svc_pool_map_get() 240 npools = svc_pool_map_init_percpu(m); in svc_pool_map_get() 243 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get() 247 if (npools < 0) { in svc_pool_map_get() 249 npools = 1; in svc_pool_map_get() 252 m->npools = npools; in svc_pool_map_get() 255 return m->npools; in svc_pool_map_get() 278 m->npools = 0; in svc_pool_map_put() 423 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, in __svc_create() argument [all …]
|
/Linux-v4.19/fs/nfsd/ |
D | nfsctl.c | 482 int npools; in write_pool_threads() local 487 npools = nfsd_nrpools(net); in write_pool_threads() 488 if (npools == 0) { in write_pool_threads() 499 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads() 505 for (i = 0; i < npools; i++) { in write_pool_threads() 520 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 526 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 527 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | iommu-common.h | 39 bool large_pool, u32 npools,
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 167 unsigned npools; member 518 _manager->npools--; in ttm_dma_free_pool() 622 _manager->npools++; in ttm_dma_pool_init() 1109 if (!_manager->npools) in ttm_dma_pool_shrink_scan() 1111 pool_offset = ++start_pool % _manager->npools; in ttm_dma_pool_shrink_scan()
|
/Linux-v4.19/include/linux/sunrpc/ |
D | svc.h | 458 unsigned int npools; member
|