/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | iommu-common.c | 56 bool large_pool, u32 npools, in iommu_tbl_pool_init() 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() 52 iommu_tbl_pool_init(struct iommu_map_table *iommu, unsigned long num_entries, u32 table_shift, void (*lazy_flush)(struct iommu_map_table *), bool large_pool, u32 npools, bool skip_span_boundary_check) iommu_tbl_pool_init() argument
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | iommu-common.c | 56 bool large_pool, u32 npools, in iommu_tbl_pool_init() 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() 52 iommu_tbl_pool_init(struct iommu_map_table *iommu, unsigned long num_entries, u32 table_shift, void (*lazy_flush)(struct iommu_map_table *), bool large_pool, u32 npools, bool skip_span_boundary_check) iommu_tbl_pool_init() argument
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | svc.c | 63 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() 296 svc_pool_map_put(int npools) svc_pool_map_put() argument 456 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, int (*threadfn)(void *data)) __svc_create() argument 552 unsigned int npools = svc_pool_map_get(); svc_create_pooled() local [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | svc.c | 227 int npools = -1; in svc_pool_map_get() local 233 return m->npools; in svc_pool_map_get() 241 npools = svc_pool_map_init_percpu(m); in svc_pool_map_get() 244 npools = svc_pool_map_init_pernode(m); in svc_pool_map_get() 248 if (npools < 0) { in svc_pool_map_get() 250 npools = 1; in svc_pool_map_get() 253 m->npools = npools; in svc_pool_map_get() 256 return m->npools; in svc_pool_map_get() 279 m->npools in svc_pool_map_put() 424 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, const struct svc_serv_ops *ops) __svc_create() argument 501 unsigned int npools = svc_pool_map_get(); svc_create_pooled() local [all...] |
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | iommu-common.h | 39 bool large_pool, u32 npools,
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | iommu-common.h | 39 bool large_pool, u32 npools,
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfsctl.c | 486 int npools; in write_pool_threads() local 491 npools = nfsd_nrpools(net); in write_pool_threads() 492 if (npools == 0) { in write_pool_threads() 503 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads() 509 for (i = 0; i < npools; i++) { in write_pool_threads() 524 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 530 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 531 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfsctl.c | 447 int npools; in write_pool_threads() local 452 npools = nfsd_nrpools(net); in write_pool_threads() 453 if (npools == 0) { in write_pool_threads() 464 nthreads = kcalloc(npools, sizeof(int), GFP_KERNEL); in write_pool_threads() 470 for (i = 0; i < npools; i++) { in write_pool_threads() 486 rv = nfsd_get_nrthreads(npools, nthreads, net); in write_pool_threads() 492 for (i = 0; i < npools && size > 0; i++) { in write_pool_threads() 493 snprintf(mesg, size, "%d%c", nthreads[i], (i == npools-1 ? '\n' : ' ')); in write_pool_threads()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_page_alloc_dma.c | 159 * @npools: Total amount of pools in existence. 166 unsigned npools; member 515 _manager->npools--; in ttm_dma_free_pool() 619 _manager->npools++; in ttm_dma_pool_init() 1106 if (!_manager->npools) in ttm_dma_pool_shrink_scan() 1108 pool_offset = ++start_pool % _manager->npools; in ttm_dma_pool_shrink_scan()
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | svc.h | 482 unsigned int npools; member
|