Home
last modified time | relevance | path

Searched defs:pool (Results 1 – 25 of 106) sorted by relevance

12345

/linux-3.3/drivers/md/
Ddm-thin.c474 struct pool { struct
476 struct dm_target *ti; /* Only set if a pool target is bound */ argument
478 struct mapped_device *pool_md; argument
480 struct dm_pool_metadata *pmd; argument
482 uint32_t sectors_per_block;
483 unsigned block_shift;
484 dm_block_t offset_mask;
485 dm_block_t low_water_blocks;
509 mempool_t *mapping_pool; argument
510 mempool_t *endio_hook_pool; argument
[all …]
/linux-3.3/drivers/dma/
Dcoh901318_lli.c19 #define DEBUGFS_POOL_COUNTER_RESET(pool) (pool->debugfs_pool_counter = 0) argument
20 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) (pool->debugfs_pool_counter += add) argument
22 #define DEBUGFS_POOL_COUNTER_RESET(pool) argument
23 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) argument
35 int coh901318_pool_create(struct coh901318_pool *pool, in coh901318_pool_create()
47 int coh901318_pool_destroy(struct coh901318_pool *pool) in coh901318_pool_destroy()
55 coh901318_lli_alloc(struct coh901318_pool *pool, unsigned int len) in coh901318_lli_alloc()
112 void coh901318_lli_free(struct coh901318_pool *pool, in coh901318_lli_free()
142 coh901318_lli_fill_memcpy(struct coh901318_pool *pool, in coh901318_lli_fill_memcpy()
175 coh901318_lli_fill_single(struct coh901318_pool *pool, in coh901318_lli_fill_single()
[all …]
/linux-3.3/net/ceph/
Dmsgpool.c12 struct ceph_msgpool *pool = arg; in msgpool_alloc() local
27 struct ceph_msgpool *pool = arg; in msgpool_free() local
35 int ceph_msgpool_init(struct ceph_msgpool *pool, in ceph_msgpool_init()
47 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy()
53 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, in ceph_msgpool_get()
72 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
/linux-3.3/sound/core/seq/
Dseq_memory.c35 static inline int snd_seq_pool_available(struct snd_seq_pool *pool) in snd_seq_pool_available()
40 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok()
178 static inline void free_cell(struct snd_seq_pool *pool, in free_cell()
189 struct snd_seq_pool *pool; in snd_seq_cell_free() local
222 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc()
289 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup()
369 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait()
378 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init()
415 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done()
462 struct snd_seq_pool *pool; in snd_seq_pool_new() local
[all …]
Dseq_memory.h32 struct snd_seq_pool *pool; /* used pool */ member
72 static inline int snd_seq_unused_cells(struct snd_seq_pool *pool) in snd_seq_unused_cells()
78 static inline int snd_seq_total_cells(struct snd_seq_pool *pool) in snd_seq_total_cells()
/linux-3.3/drivers/staging/octeon/
Dethernet-mem.c45 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
72 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
102 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
139 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
161 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
171 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
/linux-3.3/lib/
Dgenalloc.c148 struct gen_pool *pool; in gen_pool_create() local
173 int gen_pool_add_virt(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_virt()
205 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys()
230 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy()
261 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
315 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
353 void gen_pool_for_each_chunk(struct gen_pool *pool, in gen_pool_for_each_chunk()
354 void (*func)(struct gen_pool *pool, struct gen_pool_chunk *chunk, void *data), in gen_pool_for_each_chunk()
372 size_t gen_pool_avail(struct gen_pool *pool) in gen_pool_avail()
391 size_t gen_pool_size(struct gen_pool *pool) in gen_pool_size()
/linux-3.3/mm/
Ddmapool.c76 struct dma_pool *pool; in show_pools() local
200 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
216 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
245 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
265 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
307 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
357 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
379 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free()
454 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local
478 struct dma_pool **ptr, *pool; in dmam_pool_create() local
[all …]
Dmempool.c18 static void add_element(mempool_t *pool, void *element) in add_element()
24 static void *remove_element(mempool_t *pool) in remove_element()
38 void mempool_destroy(mempool_t *pool) in mempool_destroy()
73 mempool_t *pool; in mempool_create_node() local
123 int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask) in mempool_resize()
194 void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
265 void mempool_free(void *element, mempool_t *pool) in mempool_free()
Dbounce.c123 static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) in bounce_end_io()
159 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool, int err) in __bounce_end_io_read()
180 mempool_t *pool) in __blk_queue_bounce()
271 mempool_t *pool; in blk_queue_bounce() local
/linux-3.3/arch/mips/include/asm/octeon/
Dcvmx-fpa.h97 static inline const char *cvmx_fpa_get_name(uint64_t pool) in cvmx_fpa_get_name()
108 static inline void *cvmx_fpa_get_base(uint64_t pool) in cvmx_fpa_get_base()
122 static inline int cvmx_fpa_is_member(uint64_t pool, void *ptr) in cvmx_fpa_is_member()
176 static inline void *cvmx_fpa_alloc(uint64_t pool) in cvmx_fpa_alloc()
193 static inline void cvmx_fpa_async_alloc(uint64_t scr_addr, uint64_t pool) in cvmx_fpa_async_alloc()
217 static inline void cvmx_fpa_free_nosync(void *ptr, uint64_t pool, in cvmx_fpa_free_nosync()
239 static inline void cvmx_fpa_free(void *ptr, uint64_t pool, in cvmx_fpa_free()
/linux-3.3/drivers/staging/zram/
Dxvmalloc.c125 static u32 find_block(struct xv_pool *pool, u32 size, in find_block()
187 static void insert_block(struct xv_pool *pool, struct page *page, u32 offset, in insert_block()
220 static void remove_block(struct xv_pool *pool, struct page *page, u32 offset, in remove_block()
275 static int grow_pool(struct xv_pool *pool, gfp_t flags) in grow_pool()
309 struct xv_pool *pool; in xv_create_pool() local
322 void xv_destroy_pool(struct xv_pool *pool) in xv_destroy_pool()
341 int xv_malloc(struct xv_pool *pool, u32 size, struct page **page, in xv_malloc()
420 void xv_free(struct xv_pool *pool, struct page *page, u32 offset) in xv_free()
506 u64 xv_get_total_size_bytes(struct xv_pool *pool) in xv_get_total_size_bytes()
/linux-3.3/drivers/infiniband/core/
Dfmr_pool.c114 static inline struct ib_pool_fmr *ib_fmr_cache_lookup(struct ib_fmr_pool *pool, in ib_fmr_cache_lookup()
138 static void ib_fmr_batch_release(struct ib_fmr_pool *pool) in ib_fmr_batch_release()
180 struct ib_fmr_pool *pool = pool_ptr; in ib_fmr_cleanup_thread() local
215 struct ib_fmr_pool *pool; in ib_create_fmr_pool() local
359 void ib_destroy_fmr_pool(struct ib_fmr_pool *pool) in ib_destroy_fmr_pool()
397 int ib_flush_fmr_pool(struct ib_fmr_pool *pool) in ib_flush_fmr_pool()
440 struct ib_fmr_pool *pool = pool_handle; in ib_fmr_pool_map_phys() local
515 struct ib_fmr_pool *pool; in ib_fmr_pool_unmap() local
/linux-3.3/net/rds/
Diw_rdma.c46 struct rds_iw_mr_pool *pool; member
340 struct rds_iw_mr_pool *pool; local
372 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
378 void rds_iw_destroy_mr_pool(struct rds_iw_mr_pool *pool)
387 static inline struct rds_iw_mr *rds_iw_reuse_fmr(struct rds_iw_mr_pool *pool)
404 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
486 static int rds_iw_flush_mr_pool(struct rds_iw_mr_pool *pool, int free_all)
550 struct rds_iw_mr_pool *pool = container_of(work, struct rds_iw_mr_pool, flush_worker); local
558 struct rds_iw_mr_pool *pool = ibmr->device->mr_pool; local
588 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
[all …]
Dib_rdma.c49 struct rds_ib_mr_pool *pool; member
217 struct rds_ib_mr_pool *pool; in rds_ib_create_mr_pool() local
248 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; in rds_ib_get_mr_info() local
254 void rds_ib_destroy_mr_pool(struct rds_ib_mr_pool *pool) in rds_ib_destroy_mr_pool()
263 static inline struct rds_ib_mr *rds_ib_reuse_fmr(struct rds_ib_mr_pool *pool) in rds_ib_reuse_fmr()
295 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; in rds_ib_alloc_fmr() local
506 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; in rds_ib_teardown_mr() local
512 static inline unsigned int rds_ib_flush_goal(struct rds_ib_mr_pool *pool, int free_all) in rds_ib_flush_goal()
546 static void list_to_llist_nodes(struct rds_ib_mr_pool *pool, in list_to_llist_nodes()
570 static int rds_ib_flush_mr_pool(struct rds_ib_mr_pool *pool, in rds_ib_flush_mr_pool()
[all …]
/linux-3.3/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c154 struct dma_pool *pool; member
308 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
330 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
338 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
373 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
382 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
399 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
419 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free) in ttm_dma_page_pool_free()
516 struct dma_pool *pool; in ttm_dma_free_pool() local
557 struct dma_pool *pool = *(struct dma_pool **)res; in ttm_dma_pool_release() local
[all …]
/linux-3.3/drivers/staging/zcache/
Dtmem.c107 struct tmem_pool *pool; in tmem_obj_free() local
130 struct tmem_pool *pool, in tmem_obj_init()
176 static void tmem_pool_flush(struct tmem_pool *pool, bool destroy) in tmem_pool_flush()
257 struct tmem_pool *pool; in tmem_objnode_free() local
531 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put()
601 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_get()
655 int tmem_flush_page(struct tmem_pool *pool, in tmem_flush_page()
688 int tmem_replace(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_replace()
710 int tmem_flush_object(struct tmem_pool *pool, struct tmem_oid *oidp) in tmem_flush_object()
735 int tmem_destroy_pool(struct tmem_pool *pool) in tmem_destroy_pool()
[all …]
/linux-3.3/arch/mips/cavium-octeon/executive/
Dcvmx-fpa.c63 int cvmx_fpa_setup_pool(uint64_t pool, const char *name, void *buffer, in cvmx_fpa_setup_pool()
111 uint64_t cvmx_fpa_shutdown_pool(uint64_t pool) in cvmx_fpa_shutdown_pool()
161 uint64_t cvmx_fpa_get_block_size(uint64_t pool) in cvmx_fpa_get_block_size()
/linux-3.3/drivers/xen/
Dtmem.c152 static void tmem_cleancache_put_page(int pool, struct cleancache_filekey key, in tmem_cleancache_put_page()
167 static int tmem_cleancache_get_page(int pool, struct cleancache_filekey key, in tmem_cleancache_get_page()
187 static void tmem_cleancache_flush_page(int pool, struct cleancache_filekey key, in tmem_cleancache_flush_page()
200 static void tmem_cleancache_flush_inode(int pool, struct cleancache_filekey key) in tmem_cleancache_flush_inode()
209 static void tmem_cleancache_flush_fs(int pool) in tmem_cleancache_flush_fs()
282 int pool = tmem_frontswap_poolid; in tmem_frontswap_put_page() local
308 int pool = tmem_frontswap_poolid; in tmem_frontswap_get_page() local
328 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_page() local
340 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_area() local
/linux-3.3/sound/core/seq/oss/
Dseq_oss_writeq.c40 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_new() local
154 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_get_free_size() local
167 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_set_output() local
/linux-3.3/drivers/scsi/lpfc/
Dlpfc_mem.c64 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_alloc() local
182 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_free() local
305 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mbuf_alloc() local
338 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in __lpfc_mbuf_free() local
/linux-3.3/drivers/atm/
Dambassador.c687 static int rx_give (amb_dev * dev, rx_in * rx, unsigned char pool) { in rx_give()
712 static int rx_take (amb_dev * dev, unsigned char pool) { in rx_take()
745 static void drain_rx_pool (amb_dev * dev, unsigned char pool) { in drain_rx_pool()
772 unsigned char pool; in drain_rx_pools() local
780 static void fill_rx_pool (amb_dev * dev, unsigned char pool, in fill_rx_pool()
818 unsigned char pool; in fill_rx_pools() local
867 unsigned char pool; in interrupt_handler() local
1026 unsigned char pool = -1; // hush gcc in amb_open() local
1265 unsigned char pool = vcc->rx_info.pool; in amb_close() local
1427 unsigned char pool; in amb_proc_read() local
[all …]
/linux-3.3/net/sunrpc/
Dsvc_xprt.c290 static void svc_thread_enqueue(struct svc_pool *pool, struct svc_rqst *rqstp) in svc_thread_enqueue()
298 static void svc_thread_dequeue(struct svc_pool *pool, struct svc_rqst *rqstp) in svc_thread_dequeue()
320 struct svc_pool *pool; in svc_xprt_enqueue() local
383 static struct svc_xprt *svc_xprt_dequeue(struct svc_pool *pool) in svc_xprt_dequeue()
484 struct svc_pool *pool; in svc_wake_up() local
583 struct svc_pool *pool = rqstp->rq_pool; in svc_recv() local
937 struct svc_pool *pool; in svc_close_all() local
1204 struct svc_pool *pool = p; in svc_pool_stats_next() local
1228 struct svc_pool *pool = p; in svc_pool_stats_show() local
/linux-3.3/arch/ia64/kernel/
Duncached.c36 struct gen_pool *pool; member
230 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_free_page() local
256 struct gen_pool *pool = uncached_pools[nid].pool; in uncached_build_memmap() local
/linux-3.3/drivers/net/ethernet/ti/
Ddavinci_cpdma.c101 struct cpdma_desc_pool *pool; member
145 struct cpdma_desc_pool *pool; in cpdma_desc_pool_create() local
183 static void cpdma_desc_pool_destroy(struct cpdma_desc_pool *pool) in cpdma_desc_pool_destroy()
203 static inline dma_addr_t desc_phys(struct cpdma_desc_pool *pool, in desc_phys()
213 desc_from_phys(struct cpdma_desc_pool *pool, dma_addr_t dma) in desc_from_phys()
219 cpdma_desc_alloc(struct cpdma_desc_pool *pool, int num_desc) in cpdma_desc_alloc()
239 static void cpdma_desc_free(struct cpdma_desc_pool *pool, in cpdma_desc_free()
614 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_submit() local
702 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_free() local
721 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_process() local
[all …]

12345