Searched refs:alloc_fn (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/include/linux/ |
D | mempool.h | 39 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, 42 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, 45 extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, 47 extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,
|
/Linux-v6.6/mm/ |
D | mempool.c | 185 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init_node() argument 192 pool->alloc = alloc_fn; in mempool_init_node() 233 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init() argument 236 return mempool_init_node(pool, min_nr, alloc_fn, free_fn, in mempool_init() 258 mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create() argument 261 return mempool_create_node(min_nr, alloc_fn, free_fn, pool_data, in mempool_create() 266 mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create_node() argument 276 if (mempool_init_node(pool, min_nr, alloc_fn, free_fn, pool_data, in mempool_create_node()
|
/Linux-v6.6/include/linux/ceph/ |
D | striper.h | 38 struct ceph_object_extent *alloc_fn(void *arg),
|
/Linux-v6.6/net/ceph/ |
D | striper.c | 112 struct ceph_object_extent *alloc_fn(void *arg), in ceph_file_to_extents() 129 ex = alloc_fn(alloc_arg); in ceph_file_to_extents()
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_bpf_nf.c | 71 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test() 150 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
|
/Linux-v6.6/arch/arm64/include/asm/ |
D | kvm_host.h | 114 void *(*alloc_fn)(void *arg), in __topup_hyp_memcache() 119 phys_addr_t *p = alloc_fn(arg); in __topup_hyp_memcache()
|
/Linux-v6.6/lib/ |
D | scatterlist.c | 288 sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument 321 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
|