Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A Dmempool.h39 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-6.3-rc2/mm/
A Dmempool.c185 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-6.3-rc2/include/linux/ceph/
A Dstriper.h38 struct ceph_object_extent *alloc_fn(void *arg),
/linux-6.3-rc2/net/ceph/
A 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.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_bpf_nf.c71 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test()
151 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test()
/linux-6.3-rc2/lib/
A Dscatterlist.c285 sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument
318 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dkvm_host.h111 void *(*alloc_fn)(void *arg), in __topup_hyp_memcache()
116 phys_addr_t *p = alloc_fn(arg); in __topup_hyp_memcache()

Completed in 15 milliseconds