Home
last modified time | relevance | path

Searched refs:alloc_fn (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/include/linux/
Dmempool.h34 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn,
37 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn,
40 extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn,
42 extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,
/linux-6.1.9/mm/
Dmempool.c179 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init_node() argument
186 pool->alloc = alloc_fn; in mempool_init_node()
227 int mempool_init(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init() argument
230 return mempool_init_node(pool, min_nr, alloc_fn, free_fn, in mempool_init()
252 mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create() argument
255 return mempool_create_node(min_nr, alloc_fn, free_fn, pool_data, in mempool_create()
260 mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create_node() argument
270 if (mempool_init_node(pool, min_nr, alloc_fn, free_fn, pool_data, in mempool_create_node()
/linux-6.1.9/include/linux/ceph/
Dstriper.h38 struct ceph_object_extent *alloc_fn(void *arg),
/linux-6.1.9/net/ceph/
Dstriper.c112 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-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_bpf_nf.c66 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test()
146 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
/linux-6.1.9/lib/
Dscatterlist.c285 sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument
318 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()