/linux-2.6.39/drivers/dma/ |
D | coh901318_lli.c | 20 #define DEBUGFS_POOL_COUNTER_RESET(pool) (pool->debugfs_pool_counter = 0) argument 21 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) (pool->debugfs_pool_counter += add) argument 23 #define DEBUGFS_POOL_COUNTER_RESET(pool) argument 24 #define DEBUGFS_POOL_COUNTER_ADD(pool, add) argument 36 int coh901318_pool_create(struct coh901318_pool *pool, in coh901318_pool_create() 48 int coh901318_pool_destroy(struct coh901318_pool *pool) in coh901318_pool_destroy() 56 coh901318_lli_alloc(struct coh901318_pool *pool, unsigned int len) in coh901318_lli_alloc() 113 void coh901318_lli_free(struct coh901318_pool *pool, in coh901318_lli_free() 143 coh901318_lli_fill_memcpy(struct coh901318_pool *pool, in coh901318_lli_fill_memcpy() 176 coh901318_lli_fill_single(struct coh901318_pool *pool, in coh901318_lli_fill_single() [all …]
|
/linux-2.6.39/sound/core/seq/ |
D | seq_memory.c | 34 static inline int snd_seq_pool_available(struct snd_seq_pool *pool) in snd_seq_pool_available() 39 static inline int snd_seq_output_ok(struct snd_seq_pool *pool) in snd_seq_output_ok() 177 static inline void free_cell(struct snd_seq_pool *pool, in free_cell() 188 struct snd_seq_pool *pool; in snd_seq_cell_free() local 221 static int snd_seq_cell_alloc(struct snd_seq_pool *pool, in snd_seq_cell_alloc() 288 int snd_seq_event_dup(struct snd_seq_pool *pool, struct snd_seq_event *event, in snd_seq_event_dup() 368 int snd_seq_pool_poll_wait(struct snd_seq_pool *pool, struct file *file, in snd_seq_pool_poll_wait() 377 int snd_seq_pool_init(struct snd_seq_pool *pool) in snd_seq_pool_init() 414 int snd_seq_pool_done(struct snd_seq_pool *pool) in snd_seq_pool_done() 461 struct snd_seq_pool *pool; in snd_seq_pool_new() local [all …]
|
D | seq_memory.h | 32 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-2.6.39/net/ceph/ |
D | msgpool.c | 12 struct ceph_msgpool *pool = arg; in alloc_fn() local 26 int ceph_msgpool_init(struct ceph_msgpool *pool, in ceph_msgpool_init() 37 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy() 42 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, in ceph_msgpool_get() 57 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
|
/linux-2.6.39/drivers/staging/octeon/ |
D | ethernet-mem.c | 45 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()
|
D | cvmx-fpa.h | 97 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()
|
D | cvmx-fpa.c | 63 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-2.6.39/mm/ |
D | mempool.c | 18 static void add_element(mempool_t *pool, void *element) in add_element() 24 static void *remove_element(mempool_t *pool) in remove_element() 30 static void free_pool(mempool_t *pool) in free_pool() 64 mempool_t *pool; in mempool_create_node() local 114 int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask) in mempool_resize() 183 void mempool_destroy(mempool_t *pool) in mempool_destroy() 202 void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc() 261 void mempool_free(void *element, mempool_t *pool) in mempool_free()
|
D | dmapool.c | 75 struct dma_pool *pool; in show_pools() local 199 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page() 215 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page() 244 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page() 264 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy() 306 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc() 356 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() 378 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free() 453 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local 477 struct dma_pool **ptr, *pool; in dmam_pool_create() local [all …]
|
D | bounce.c | 124 static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) in bounce_end_io() 160 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool, int err) in __bounce_end_io_read() 181 mempool_t *pool) in __blk_queue_bounce() 272 mempool_t *pool; in blk_queue_bounce() local
|
/linux-2.6.39/drivers/staging/zram/ |
D | xvmalloc.c | 125 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-2.6.39/net/rds/ |
D | iw_rdma.c | 45 struct rds_iw_mr_pool *pool; member 338 struct rds_iw_mr_pool *pool; local 370 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local 376 void rds_iw_destroy_mr_pool(struct rds_iw_mr_pool *pool) 385 static inline struct rds_iw_mr *rds_iw_reuse_fmr(struct rds_iw_mr_pool *pool) 402 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local 478 static inline unsigned int rds_iw_flush_goal(struct rds_iw_mr_pool *pool, int free_all) 495 static int rds_iw_flush_mr_pool(struct rds_iw_mr_pool *pool, int free_all) 559 struct rds_iw_mr_pool *pool = container_of(work, struct rds_iw_mr_pool, flush_worker); local 567 struct rds_iw_mr_pool *pool = ibmr->device->mr_pool; local [all …]
|
D | ib_rdma.c | 49 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 void refill_local(struct rds_ib_mr_pool *pool, struct xlist_head *xl, in refill_local() 271 static inline struct rds_ib_mr *rds_ib_reuse_fmr(struct rds_ib_mr_pool *pool) in rds_ib_reuse_fmr() 303 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; in rds_ib_alloc_fmr() local 514 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; in rds_ib_teardown_mr() local 520 static inline unsigned int rds_ib_flush_goal(struct rds_ib_mr_pool *pool, int free_all) in rds_ib_flush_goal() 557 static void list_append_to_xlist(struct rds_ib_mr_pool *pool, in list_append_to_xlist() [all …]
|
/linux-2.6.39/lib/ |
D | genalloc.c | 29 struct gen_pool *pool; in gen_pool_create() local 51 int gen_pool_add(struct gen_pool *pool, unsigned long addr, size_t size, in gen_pool_add() 82 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 113 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc() 160 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
|
/linux-2.6.39/drivers/infiniband/core/ |
D | fmr_pool.c | 113 static inline struct ib_pool_fmr *ib_fmr_cache_lookup(struct ib_fmr_pool *pool, in ib_fmr_cache_lookup() 137 static void ib_fmr_batch_release(struct ib_fmr_pool *pool) in ib_fmr_batch_release() 179 struct ib_fmr_pool *pool = pool_ptr; in ib_fmr_cleanup_thread() local 214 struct ib_fmr_pool *pool; in ib_create_fmr_pool() local 358 void ib_destroy_fmr_pool(struct ib_fmr_pool *pool) in ib_destroy_fmr_pool() 396 int ib_flush_fmr_pool(struct ib_fmr_pool *pool) in ib_flush_fmr_pool() 439 struct ib_fmr_pool *pool = pool_handle; in ib_fmr_pool_map_phys() local 514 struct ib_fmr_pool *pool; in ib_fmr_pool_unmap() local
|
/linux-2.6.39/drivers/staging/zcache/ |
D | tmem.c | 107 struct tmem_pool *pool; in tmem_obj_free() local 130 struct tmem_pool *pool, in tmem_obj_init() 175 static void tmem_pool_flush(struct tmem_pool *pool, bool destroy) in tmem_pool_flush() 256 struct tmem_pool *pool; in tmem_objnode_free() local 505 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put() 576 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_get() 619 int tmem_flush_page(struct tmem_pool *pool, in tmem_flush_page() 650 int tmem_flush_object(struct tmem_pool *pool, struct tmem_oid *oidp) in tmem_flush_object() 675 int tmem_destroy_pool(struct tmem_pool *pool) in tmem_destroy_pool() 693 void tmem_new_pool(struct tmem_pool *pool, uint32_t flags) in tmem_new_pool()
|
D | zcache.c | 422 struct tmem_pool *pool; in zbud_evict_zbpg() local 696 struct tmem_pool *pool = NULL; in zcache_get_pool_by_id() local 706 static void zcache_put_pool(struct tmem_pool *pool) in zcache_put_pool() 751 static int zcache_do_preload(struct tmem_pool *pool) in zcache_do_preload() 834 static struct tmem_objnode *zcache_objnode_alloc(struct tmem_pool *pool) in zcache_objnode_alloc() 855 struct tmem_pool *pool) in zcache_objnode_free() 862 static struct tmem_obj *zcache_obj_alloc(struct tmem_pool *pool) in zcache_obj_alloc() 878 static void zcache_obj_free(struct tmem_obj *obj, struct tmem_pool *pool) in zcache_obj_free() 904 static void *zcache_pampd_create(struct tmem_pool *pool, struct tmem_oid *oid, in zcache_pampd_create() 962 struct tmem_pool *pool) in zcache_pampd_get_data() [all …]
|
/linux-2.6.39/sound/core/seq/oss/ |
D | seq_oss_writeq.c | 40 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-2.6.39/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 64 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_alloc() local 192 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_free() local 318 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mbuf_alloc() local 351 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in __lpfc_mbuf_free() local
|
/linux-2.6.39/drivers/atm/ |
D | ambassador.c | 687 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 1030 unsigned char pool = -1; // hush gcc in amb_open() local 1269 unsigned char pool = vcc->rx_info.pool; in amb_close() local 1431 unsigned char pool; in amb_proc_read() local [all …]
|
/linux-2.6.39/net/sunrpc/ |
D | svc_xprt.c | 297 static void svc_thread_enqueue(struct svc_pool *pool, struct svc_rqst *rqstp) in svc_thread_enqueue() 305 static void svc_thread_dequeue(struct svc_pool *pool, struct svc_rqst *rqstp) in svc_thread_dequeue() 327 struct svc_pool *pool; in svc_xprt_enqueue() local 390 static struct svc_xprt *svc_xprt_dequeue(struct svc_pool *pool) in svc_xprt_dequeue() 491 struct svc_pool *pool; in svc_wake_up() local 590 struct svc_pool *pool = rqstp->rq_pool; in svc_recv() local 1191 struct svc_pool *pool = p; in svc_pool_stats_next() local 1215 struct svc_pool *pool = p; in svc_pool_stats_show() local
|
/linux-2.6.39/arch/ia64/kernel/ |
D | uncached.c | 36 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-2.6.39/drivers/net/ |
D | davinci_cpdma.c | 101 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 …]
|
D | ibmveth.c | 143 static void ibmveth_init_buffer_pool(struct ibmveth_buff_pool *pool, in ibmveth_init_buffer_pool() 155 static int ibmveth_alloc_buffer_pool(struct ibmveth_buff_pool *pool) in ibmveth_alloc_buffer_pool() 206 struct ibmveth_buff_pool *pool) in ibmveth_replenish_buffer_pool() 303 struct ibmveth_buff_pool *pool = &adapter->rx_buff_pool[i]; in ibmveth_replenish_task() local 316 struct ibmveth_buff_pool *pool) in ibmveth_free_buffer_pool() 352 unsigned int pool = correlator >> 32; in ibmveth_remove_buffer_from_pool() local 387 unsigned int pool = correlator >> 32; in ibmveth_rxq_get_buffer() local 401 unsigned int pool = correlator >> 32; in ibmveth_rxq_recycle_buffer() local 1479 struct ibmveth_buff_pool *pool = container_of(kobj, in veth_pool_show() local 1495 struct ibmveth_buff_pool *pool = container_of(kobj, in veth_pool_store() local
|
/linux-2.6.39/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 288 static void ttm_pool_update_free_locked(struct ttm_page_pool *pool, in ttm_pool_update_free_locked() 304 static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free) in ttm_page_pool_free() 403 struct ttm_page_pool *pool; in ttm_pool_mm_shrink() local 560 static void ttm_page_pool_fill_locked(struct ttm_page_pool *pool, in ttm_page_pool_fill_locked() 619 static unsigned ttm_page_pool_get_pages(struct ttm_page_pool *pool, in ttm_page_pool_get_pages() 669 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate); in ttm_get_pages() local 739 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate); in ttm_put_pages() local 775 static void ttm_page_pool_init_locked(struct ttm_page_pool *pool, int flags, in ttm_page_pool_init_locked()
|