Home
last modified time | relevance | path

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

12345

/linux-3.4.99/drivers/md/
Ddm-thin.c502 struct pool { struct
504 struct dm_target *ti; /* Only set if a pool target is bound */ argument
506 struct mapped_device *pool_md; argument
508 struct dm_pool_metadata *pmd; argument
515 struct pool_features pf; argument
516 unsigned low_water_triggered:1; /* A dm event has been sent */
517 unsigned no_free_space:1; /* A -ENOSPC warning has been issued */
541 mempool_t *mapping_pool; argument
542 mempool_t *endio_hook_pool; argument
546 * Target context for a pool. argument
[all …]
/linux-3.4.99/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.4.99/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, int type, in ceph_msgpool_init()
48 void ceph_msgpool_destroy(struct ceph_msgpool *pool) in ceph_msgpool_destroy()
54 struct ceph_msg *ceph_msgpool_get(struct ceph_msgpool *pool, in ceph_msgpool_get()
73 void ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) in ceph_msgpool_put()
/linux-3.4.99/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.4.99/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.4.99/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.4.99/mm/
Ddmapool.c73 struct dma_pool *pool; in show_pools() local
196 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
212 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
240 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
260 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
302 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
342 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
364 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free()
437 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local
461 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.4.99/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.4.99/drivers/staging/ramster/
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()
274 static int grow_pool(struct xv_pool *pool, gfp_t flags) in grow_pool()
308 struct xv_pool *pool; in xv_create_pool() local
321 void xv_destroy_pool(struct xv_pool *pool) in xv_destroy_pool()
340 int xv_malloc(struct xv_pool *pool, u32 size, struct page **page, in xv_malloc()
419 void xv_free(struct xv_pool *pool, struct page *page, u32 offset) in xv_free()
505 u64 xv_get_total_size_bytes(struct xv_pool *pool) in xv_get_total_size_bytes()
Dtmem.c108 struct tmem_pool *pool; in tmem_obj_free() local
131 struct tmem_pool *pool, in tmem_obj_init()
177 static void tmem_pool_flush(struct tmem_pool *pool, bool destroy) in tmem_pool_flush()
258 struct tmem_pool *pool; in tmem_objnode_free() local
535 int tmem_put(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_put()
593 void *tmem_localify_get_pampd(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_localify_get_pampd()
629 struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_repatriate()
664 int tmem_get(struct tmem_pool *pool, struct tmem_oid *oidp, uint32_t index, in tmem_get()
736 int tmem_flush_page(struct tmem_pool *pool, in tmem_flush_page()
769 int tmem_replace(struct tmem_pool *pool, struct tmem_oid *oidp, in tmem_replace()
[all …]
/linux-3.4.99/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.4.99/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.4.99/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c156 struct dma_pool *pool; member
305 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
325 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
333 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
368 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
377 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
394 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
414 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free) in ttm_dma_page_pool_free()
510 struct dma_pool *pool; in ttm_dma_free_pool() local
551 struct dma_pool *pool = *(struct dma_pool **)res; in ttm_dma_pool_release() local
[all …]
/linux-3.4.99/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.4.99/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.4.99/drivers/xen/
Dtmem.c149 static void tmem_cleancache_put_page(int pool, struct cleancache_filekey key, in tmem_cleancache_put_page()
164 static int tmem_cleancache_get_page(int pool, struct cleancache_filekey key, in tmem_cleancache_get_page()
184 static void tmem_cleancache_flush_page(int pool, struct cleancache_filekey key, in tmem_cleancache_flush_page()
197 static void tmem_cleancache_flush_inode(int pool, struct cleancache_filekey key) in tmem_cleancache_flush_inode()
206 static void tmem_cleancache_flush_fs(int pool) in tmem_cleancache_flush_fs()
278 int pool = tmem_frontswap_poolid; in tmem_frontswap_put_page() local
304 int pool = tmem_frontswap_poolid; in tmem_frontswap_get_page() local
324 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_page() local
336 int pool = tmem_frontswap_poolid; in tmem_frontswap_flush_area() local
/linux-3.4.99/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.4.99/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.4.99/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.4.99/tools/hv/
Dhv_kvp_daemon.c102 static void kvp_acquire_lock(int pool) in kvp_acquire_lock()
113 static void kvp_release_lock(int pool) in kvp_release_lock()
125 static void kvp_update_file(int pool) in kvp_update_file()
156 static void kvp_update_mem_state(int pool) in kvp_update_mem_state()
284 static int kvp_key_delete(int pool, __u8 *key, int key_size) in kvp_key_delete()
327 static int kvp_key_add_or_modify(int pool, __u8 *key, int key_size, __u8 *value, in kvp_key_add_or_modify()
382 static int kvp_get_value(int pool, __u8 *key, int key_size, __u8 *value, in kvp_get_value()
414 static void kvp_pool_enumerate(int pool, int index, __u8 *key, int key_size, in kvp_pool_enumerate()
/linux-3.4.99/drivers/staging/zsmalloc/
Dzsmalloc-main.c148 static enum fullness_group fix_fullness_group(struct zs_pool *pool, in fix_fullness_group()
488 struct zs_pool *pool; in zs_create_pool() local
521 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()
554 void *zs_malloc(struct zs_pool *pool, size_t size) in zs_malloc()
604 void zs_free(struct zs_pool *pool, void *obj) in zs_free()
646 void *zs_map_object(struct zs_pool *pool, void *handle) in zs_map_object()
686 void zs_unmap_object(struct zs_pool *pool, void *handle) in zs_unmap_object()
716 u64 zs_get_total_size_bytes(struct zs_pool *pool) in zs_get_total_size_bytes()

12345