/drivers/md/ |
D | dm-thin.c | 160 struct pool { struct 162 struct dm_target *ti; /* Only set if a pool target is bound */ argument 164 struct mapped_device *pool_md; argument 166 struct dm_pool_metadata *pmd; argument 172 struct pool_features pf; argument 196 mempool_t *mapping_pool; argument 205 static enum pool_mode get_pool_mode(struct pool *pool); argument 213 struct pool *pool; member 233 struct pool *pool; member 255 static void wake_worker(struct pool *pool) in wake_worker() [all …]
|
/drivers/staging/android/ion/ |
D | ion_page_pool.c | 27 static void *ion_page_pool_alloc_pages(struct ion_page_pool *pool) in ion_page_pool_alloc_pages() 40 static void ion_page_pool_free_pages(struct ion_page_pool *pool, in ion_page_pool_free_pages() 47 static int ion_page_pool_add(struct ion_page_pool *pool, struct page *page) in ion_page_pool_add() 61 static struct page *ion_page_pool_remove(struct ion_page_pool *pool, bool high) in ion_page_pool_remove() 79 struct page *ion_page_pool_alloc(struct ion_page_pool *pool) in ion_page_pool_alloc() 98 void ion_page_pool_free(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free() 109 void ion_page_pool_free_immediate(struct ion_page_pool *pool, struct page *page) in ion_page_pool_free_immediate() 114 static int ion_page_pool_total(struct ion_page_pool *pool, bool high) in ion_page_pool_total() 124 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink() 159 struct ion_page_pool *pool = kmalloc(sizeof(struct ion_page_pool), in ion_page_pool_create() local [all …]
|
D | ion_system_heap.c | 60 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in alloc_buffer_page() local 87 struct ion_page_pool *pool = heap->pools[order_to_index(order)]; in free_buffer_page() local 222 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_shrink() local 251 struct ion_page_pool *pool = sys_heap->pools[i]; in ion_system_heap_debug_show() local 278 struct ion_page_pool *pool; in ion_system_heap_create() local
|
D | ion_priv.h | 390 (struct ion_page_pool *pool, in ion_page_pool_alloc_set_cache_policy() 399 (struct ion_page_pool *pool, in ion_page_pool_free_set_cache_policy() 409 (struct ion_page_pool *pool, in ion_page_pool_alloc_set_cache_policy() 413 (struct ion_page_pool *pool, in ion_page_pool_free_set_cache_policy()
|
/drivers/dma/ |
D | coh901318_lli.c | 19 #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 …]
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 55 static void lov_pool_getref(struct pool_desc *pool) in lov_pool_getref() 61 void lov_pool_putref(struct pool_desc *pool) in lov_pool_putref() 74 void lov_pool_putref_locked(struct pool_desc *pool) in lov_pool_putref_locked() 107 struct pool_desc *pool; in pool_key() local 116 struct pool_desc *pool; in pool_hashkey_keycmp() local 130 struct pool_desc *pool; in pool_hashrefcount_get() local 139 struct pool_desc *pool; in pool_hashrefcount_put_locked() local 169 struct pool_desc *pool; member 201 struct pool_desc *pool = (struct pool_desc *)s->private; in pool_proc_start() local 299 void lov_dump_pool(int level, struct pool_desc *pool) in lov_dump_pool() [all …]
|
/drivers/staging/octeon/ |
D | ethernet-mem.c | 46 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() 69 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() 99 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory() 136 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory() 159 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa() 170 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
|
/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc_dma.c | 157 struct dma_pool *pool; member 306 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching() 326 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page() 334 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page() 369 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked() 378 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put() 395 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put() 416 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free, in ttm_dma_page_pool_free() 518 struct dma_pool *pool; in ttm_dma_free_pool() local 560 struct dma_pool *pool = *(struct dma_pool **)res; in ttm_dma_pool_release() local [all …]
|
D | ttm_page_alloc.c | 285 static void ttm_pool_update_free_locked(struct ttm_page_pool *pool, in ttm_pool_update_free_locked() 302 static int ttm_page_pool_free(struct ttm_page_pool *pool, unsigned nr_free, in ttm_page_pool_free() 401 struct ttm_page_pool *pool; in ttm_pool_shrink_scan() local 573 static void ttm_page_pool_fill_locked(struct ttm_page_pool *pool, in ttm_page_pool_fill_locked() 631 static unsigned ttm_page_pool_get_pages(struct ttm_page_pool *pool, in ttm_page_pool_get_pages() 680 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate); in ttm_put_pages() local 727 struct ttm_page_pool *pool = ttm_get_pool(flags, cstate); in ttm_get_pages() local 801 static void ttm_page_pool_init_locked(struct ttm_page_pool *pool, gfp_t flags, in ttm_page_pool_init_locked()
|
/drivers/infiniband/core/ |
D | fmr_pool.c | 114 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
|
/drivers/xen/ |
D | tmem.c | 171 static void tmem_cleancache_put_page(int pool, struct cleancache_filekey key, in tmem_cleancache_put_page() 186 static int tmem_cleancache_get_page(int pool, struct cleancache_filekey key, in tmem_cleancache_get_page() 206 static void tmem_cleancache_flush_page(int pool, struct cleancache_filekey key, in tmem_cleancache_flush_page() 219 static void tmem_cleancache_flush_inode(int pool, struct cleancache_filekey key) in tmem_cleancache_flush_inode() 228 static void tmem_cleancache_flush_fs(int pool) in tmem_cleancache_flush_fs() 291 int pool = tmem_frontswap_poolid; in tmem_frontswap_store() local 317 int pool = tmem_frontswap_poolid; in tmem_frontswap_load() local 337 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_page() local 349 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_area() local
|
/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 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 …]
|
D | zatm.c | 178 static void refill_pool(struct atm_dev *dev,int pool) in refill_pool() 256 static void drain_free(struct atm_dev *dev,int pool) in drain_free() 278 static void use_pool(struct atm_dev *dev,int pool) in use_pool() 306 static void unuse_pool(struct atm_dev *dev,int pool) in unuse_pool() 1451 int pool; in zatm_ioctl() local 1472 int pool; in zatm_ioctl() local
|
/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 83 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_alloc() local 219 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mem_free() local 364 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in lpfc_mbuf_alloc() local 397 struct lpfc_dma_pool *pool = &phba->lpfc_mbuf_safety_pool; in __lpfc_mbuf_free() local
|
/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 107 struct cpdma_desc_pool *pool; member 159 struct cpdma_desc_pool *pool; in cpdma_desc_pool_create() local 194 static void cpdma_desc_pool_destroy(struct cpdma_desc_pool *pool) in cpdma_desc_pool_destroy() 208 static inline dma_addr_t desc_phys(struct cpdma_desc_pool *pool, in desc_phys() 217 desc_from_phys(struct cpdma_desc_pool *pool, dma_addr_t dma) in desc_from_phys() 223 cpdma_desc_alloc(struct cpdma_desc_pool *pool, int num_desc, bool is_rx) in cpdma_desc_alloc() 253 static void cpdma_desc_free(struct cpdma_desc_pool *pool, in cpdma_desc_free() 630 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_submit() local 728 struct cpdma_desc_pool *pool = ctlr->pool; in cpdma_check_free_tx_desc() local 750 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_free() local [all …]
|
/drivers/soc/ti/ |
D | knav_qmss_queue.c | 668 static void kdesc_fill_pool(struct knav_pool *pool) in kdesc_fill_pool() 688 static void kdesc_empty_pool(struct knav_pool *pool) in kdesc_empty_pool() 717 struct knav_pool *pool = ph; in knav_pool_desc_virt_to_dma() local 723 struct knav_pool *pool = ph; in knav_pool_desc_dma_to_virt() local 741 struct knav_pool *pool, *pi; in knav_pool_create() local 839 struct knav_pool *pool = ph; in knav_pool_destroy() local 869 struct knav_pool *pool = ph; in knav_pool_desc_get() local 887 struct knav_pool *pool = ph; in knav_pool_desc_put() local 906 struct knav_pool *pool = ph; in knav_pool_desc_map() local 930 struct knav_pool *pool = ph; in knav_pool_desc_unmap() local [all …]
|
/drivers/net/ethernet/ibm/ |
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() 315 struct ibmveth_buff_pool *pool = &adapter->rx_buff_pool[i]; in ibmveth_replenish_task() local 327 struct ibmveth_buff_pool *pool) in ibmveth_free_buffer_pool() 363 unsigned int pool = correlator >> 32; in ibmveth_remove_buffer_from_pool() local 398 unsigned int pool = correlator >> 32; in ibmveth_rxq_get_buffer() local 412 unsigned int pool = correlator >> 32; in ibmveth_rxq_recycle_buffer() local 1465 struct ibmveth_buff_pool *pool = container_of(kobj, in veth_pool_show() local 1481 struct ibmveth_buff_pool *pool = container_of(kobj, in veth_pool_store() local
|
/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 1274 kib_pool_t *pool = &tpo->tpo_pool; in kiblnd_map_tx_pool() local 1376 kiblnd_destroy_fmr_pool(kib_fmr_pool_t *pool) in kiblnd_destroy_fmr_pool() 1392 kib_fmr_pool_t *pool; in kiblnd_destroy_fmr_pool_list() local 1634 kiblnd_fini_pool(kib_pool_t *pool) in kiblnd_fini_pool() 1643 kiblnd_init_pool(kib_poolset_t *ps, kib_pool_t *pool, int size) in kiblnd_init_pool() 1657 kib_pool_t *pool; in kiblnd_destroy_pool_list() local 1705 kib_pool_t *pool; in kiblnd_init_poolset() local 1734 kiblnd_pool_is_idle(kib_pool_t *pool, unsigned long now) in kiblnd_pool_is_idle() 1744 kiblnd_pool_free_node(kib_pool_t *pool, struct list_head *node) in kiblnd_pool_free_node() 1778 kib_pool_t *pool; in kiblnd_pool_alloc_node() local [all …]
|
/drivers/scsi/ |
D | scsi.c | 183 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_free_command() local 202 struct scsi_host_cmd_pool *pool = shost->cmd_pool; in scsi_host_alloc_command() local 351 scsi_free_host_cmd_pool(struct scsi_host_cmd_pool *pool) in scsi_free_host_cmd_pool() 362 struct scsi_host_cmd_pool *pool; in scsi_alloc_host_cmd_pool() local 391 struct scsi_host_cmd_pool *retval = NULL, *pool; in scsi_get_host_cmd_pool() local 438 struct scsi_host_cmd_pool *pool; in scsi_put_host_cmd_pool() local
|
/drivers/message/i2o/ |
D | memory.c | 270 int i2o_pool_alloc(struct i2o_pool *pool, const char *name, in i2o_pool_alloc() 307 void i2o_pool_free(struct i2o_pool *pool) in i2o_pool_free()
|
/drivers/scsi/megaraid/ |
D | megaraid_mm.c | 514 mm_dmapool_t *pool; in mraid_mm_attach_buf() local 640 mm_dmapool_t *pool; in mraid_mm_dealloc_kioc() local 1069 mm_dmapool_t *pool; in mraid_mm_setup_dma_pools() local 1184 mm_dmapool_t *pool; in mraid_mm_teardown_dma_pools() local
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | client.c | 414 void ptlrpc_free_rq_pool(struct ptlrpc_request_pool *pool) in ptlrpc_free_rq_pool() 438 void ptlrpc_add_rqs_to_pool(struct ptlrpc_request_pool *pool, int num_rq) in ptlrpc_add_rqs_to_pool() 489 struct ptlrpc_request_pool *pool; in ptlrpc_init_rq_pool() local 518 ptlrpc_prep_req_from_pool(struct ptlrpc_request_pool *pool) in ptlrpc_prep_req_from_pool() 559 struct ptlrpc_request_pool *pool = request->rq_pool; in __ptlrpc_free_req_to_pool() local 691 struct ptlrpc_request_pool *pool) in __ptlrpc_request_alloc() 724 struct ptlrpc_request_pool *pool, in ptlrpc_request_alloc_internal() 754 struct ptlrpc_request_pool *pool, in ptlrpc_request_alloc_pool() 810 struct ptlrpc_request_pool *pool) in ptlrpc_prep_req_pool()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.h | 66 struct dma_pool *pool; member 71 struct dma_pool *pool; member
|
/drivers/scsi/libfc/ |
D | fc_exch.c | 95 struct fc_exch_pool __percpu *pool; member 418 static inline struct fc_exch *fc_exch_ptr_get(struct fc_exch_pool *pool, in fc_exch_ptr_get() 431 static inline void fc_exch_ptr_set(struct fc_exch_pool *pool, u16 index, in fc_exch_ptr_set() 443 struct fc_exch_pool *pool; in fc_exch_delete() local 807 struct fc_exch_pool *pool; in fc_exch_em_alloc() local 909 struct fc_exch_pool *pool; in fc_exch_find() local 1865 struct fc_exch_pool *pool, in fc_exch_pool_reset() 2364 struct fc_exch_pool *pool; in fc_exch_mgr_alloc() local
|
/drivers/mtd/ubi/ |
D | wl.c | 555 struct ubi_fm_pool *pool) in return_unused_pool_pebs() 575 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in refill_wl_pool() local 600 struct ubi_fm_pool *pool = &ubi->fm_pool; in refill_wl_user_pool() local 630 struct ubi_fm_pool *pool = &ubi->fm_pool; in ubi_wl_get_peb() local 656 struct ubi_fm_pool *pool = &ubi->fm_wl_pool; in get_peb_for_wl() local
|