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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/
H A Dmsgpool.c10 static void *alloc_fn(gfp_t gfp_mask, void *arg) function
30 pool->pool = mempool_create(size, alloc_fn, free_fn, pool);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmempool.h26 extern mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn,
28 extern mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn,
H A Dpercpu.h124 pcpu_fc_alloc_fn_t alloc_fn,
130 pcpu_fc_alloc_fn_t alloc_fn,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dmempool.c44 * @alloc_fn: user-defined element-allocation function.
50 * functions. This function might sleep. Both the alloc_fn() and the free_fn()
54 mempool_t *mempool_create(int min_nr, mempool_alloc_t *alloc_fn, argument
57 return mempool_create_node(min_nr,alloc_fn,free_fn, pool_data,-1);
61 mempool_t *mempool_create_node(int min_nr, mempool_alloc_t *alloc_fn, argument
78 pool->alloc = alloc_fn;
197 * this function only sleeps if the alloc_fn() function sleeps or
H A Dpercpu.c1527 * @alloc_fn: function to allocate percpu page
1534 * by calling @alloc_fn and used as-is without being mapped into
1556 pcpu_fc_alloc_fn_t alloc_fn,
1590 ptr = alloc_fn(cpu, gi->nr_units * ai->unit_size, atom_size);
1656 * @alloc_fn: function to allocate percpu page, always called with PAGE_SIZE
1670 pcpu_fc_alloc_fn_t alloc_fn,
1704 ptr = alloc_fn(cpu, PAGE_SIZE, PAGE_SIZE);
1553 pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size, size_t atom_size, pcpu_fc_cpu_distance_fn_t cpu_distance_fn, pcpu_fc_alloc_fn_t alloc_fn, pcpu_fc_free_fn_t free_fn) argument
1669 pcpu_page_first_chunk(size_t reserved_size, pcpu_fc_alloc_fn_t alloc_fn, pcpu_fc_free_fn_t free_fn, pcpu_fc_populate_pte_fn_t populate_pte_fn) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dscatterlist.c211 * @alloc_fn: Allocator to use
226 sg_alloc_fn *alloc_fn)
250 sg = alloc_fn(alloc_size, gfp_mask);
224 __sg_alloc_table(struct sg_table *table, unsigned int nents, unsigned int max_ents, gfp_t gfp_mask, sg_alloc_fn *alloc_fn) argument

Completed in 113 milliseconds