Searched refs:alloc_fn (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/include/linux/ |
D | mempool.h | 41 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, 45 int mempool_init_noprof(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, 50 extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, 53 extern mempool_t *mempool_create_node_noprof(int min_nr, mempool_alloc_t *alloc_fn,
|
/linux-6.12.1/mm/ |
D | mempool.c | 195 int mempool_init_node(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init_node() argument 202 pool->alloc = alloc_fn; in mempool_init_node() 243 int mempool_init_noprof(mempool_t *pool, int min_nr, mempool_alloc_t *alloc_fn, in mempool_init_noprof() argument 246 return mempool_init_node(pool, min_nr, alloc_fn, free_fn, in mempool_init_noprof() 270 mempool_t *mempool_create_node_noprof(int min_nr, mempool_alloc_t *alloc_fn, in mempool_create_node_noprof() argument 280 if (mempool_init_node(pool, min_nr, alloc_fn, free_fn, pool_data, in mempool_create_node_noprof()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_bpf_nf.c | 92 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_test() 171 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_test() 247 struct nf_conn *(*alloc_fn)(void *, struct bpf_sock_tuple *, u32, in nf_ct_opts_new_test() 274 ct = alloc_fn(ctx, &bpf_tuple, sizeof(bpf_tuple.ipv4), &opts_def, in nf_ct_opts_new_test()
|
/linux-6.12.1/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-6.12.1/include/linux/ceph/ |
D | striper.h | 38 struct ceph_object_extent *alloc_fn(void *arg),
|
/linux-6.12.1/lib/ |
D | scatterlist.c | 289 sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument 322 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_host.h | 117 void *(*alloc_fn)(void *arg), in __topup_hyp_memcache() 122 phys_addr_t *p = alloc_fn(arg); in __topup_hyp_memcache()
|