Home
last modified time | relevance | path

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

/linux-4.4.14/lib/
Diommu-common.c55 bool large_pool, u32 npools, in iommu_tbl_pool_init() argument
62 if (npools == 0) in iommu_tbl_pool_init()
65 iommu->nr_pools = npools; in iommu_tbl_pool_init()
66 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-4.4.14/net/sunrpc/
Dsvc.c226 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()
408 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, in __svc_create() argument
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_bulk.c283 static unsigned long enc_pools_cleanup(struct page ***pools, int npools) in enc_pools_cleanup() argument
288 for (i = 0; i < npools; i++) { in enc_pools_cleanup()
426 unsigned long cleaned, npools; in sptlrpc_enc_pool_fini() local
433 npools = npages_to_npools(page_pools.epp_total_pages); in sptlrpc_enc_pool_fini()
434 cleaned = enc_pools_cleanup(page_pools.epp_pools, npools); in sptlrpc_enc_pool_fini()
/linux-4.4.14/fs/nfsd/
Dnfsctl.c485 int npools; in write_pool_threads() local
490 npools = nfsd_nrpools(net); in write_pool_threads()
491 if (npools == 0) { in write_pool_threads()
502 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads()
508 for (i = 0; i < npools; i++) { in write_pool_threads()
523 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads()
529 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads()
530 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
/linux-4.4.14/include/linux/
Diommu-common.h38 bool large_pool, u32 npools,
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c173 unsigned npools; member
536 _manager->npools--; in ttm_dma_free_pool()
634 _manager->npools++; in ttm_dma_pool_init()
1026 if (!_manager->npools) in ttm_dma_pool_shrink_scan()
1028 pool_offset = ++start_pool % _manager->npools; in ttm_dma_pool_shrink_scan()
/linux-4.4.14/include/linux/sunrpc/
Dsvc.h446 unsigned int npools; member