/linux-6.14.4/kernel/cgroup/ |
D | dmem.c | 106 static void free_cg_pool(struct dmem_cgroup_pool_state *pool) in free_cg_pool() 113 set_resource_min(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_min() 119 set_resource_low(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_low() 125 set_resource_max(struct dmem_cgroup_pool_state *pool, u64 val) in set_resource_max() 130 static u64 get_resource_low(struct dmem_cgroup_pool_state *pool) in get_resource_low() 135 static u64 get_resource_min(struct dmem_cgroup_pool_state *pool) in get_resource_min() 140 static u64 get_resource_max(struct dmem_cgroup_pool_state *pool) in get_resource_max() 145 static u64 get_resource_current(struct dmem_cgroup_pool_state *pool) in get_resource_current() 160 struct dmem_cgroup_pool_state *pool; in dmemcs_offline() local 171 struct dmem_cgroup_pool_state *pool, *next; in dmemcs_free() local [all …]
|
/linux-6.14.4/net/core/ |
D | page_pool.c | 43 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument 45 #define recycle_stat_inc(pool, __stat) \ argument 51 #define recycle_stat_add(pool, __stat, val) \ argument 82 bool page_pool_get_stats(const struct page_pool *pool, in page_pool_get_stats() 153 #define alloc_stat_inc(pool, __stat) argument 154 #define recycle_stat_inc(pool, __stat) argument 155 #define recycle_stat_add(pool, __stat, val) argument 158 static bool page_pool_producer_lock(struct page_pool *pool) in page_pool_producer_lock() 171 static void page_pool_producer_unlock(struct page_pool *pool, in page_pool_producer_unlock() 190 static int page_pool_init(struct page_pool *pool, in page_pool_init() [all …]
|
D | xdp.c | 380 int xdp_reg_page_pool(struct page_pool *pool) in xdp_reg_page_pool() 395 void xdp_unreg_page_pool(const struct page_pool *pool) in xdp_unreg_page_pool() 415 const struct page_pool *pool) in xdp_rxq_info_attach_page_pool() 1004 void xdp_set_features_flag(struct net_device *dev, xdp_features_t val) in xdp_set_features_flag() 1019 xdp_features_t val = (dev->xdp_features | NETDEV_XDP_ACT_NDO_XMIT); in xdp_features_set_redirect_target() local 1029 xdp_features_t val = dev->xdp_features; in xdp_features_clear_redirect_target() local
|
/linux-6.14.4/mm/ |
D | zswap.c | 200 struct zswap_pool *pool; member 251 struct zswap_pool *pool; in zswap_pool_create() local 362 static void zswap_pool_destroy(struct zswap_pool *pool) in zswap_pool_destroy() 375 struct zswap_pool *pool = container_of(work, typeof(*pool), in __zswap_pool_release() local 392 struct zswap_pool *pool; in __zswap_pool_empty() local 408 static int __must_check zswap_pool_tryget(struct zswap_pool *pool) in zswap_pool_tryget() 417 static void zswap_pool_get(struct zswap_pool *pool) in zswap_pool_get() 422 static void zswap_pool_put(struct zswap_pool *pool) in zswap_pool_put() 429 struct zswap_pool *pool; in __zswap_pool_current() local 447 struct zswap_pool *pool; in zswap_pool_current_get() local [all …]
|
D | zsmalloc.c | 271 struct zs_pool *pool; member 304 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free() 305 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free() 306 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable() 309 static int create_cache(struct zs_pool *pool) in create_cache() 337 static void destroy_cache(struct zs_pool *pool) in destroy_cache() 343 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle() 349 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle() 354 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) in cache_alloc_zspage() 360 static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage) in cache_free_zspage() [all …]
|
/linux-6.14.4/kernel/dma/ |
D | swiotlb.c | 242 static inline unsigned long io_tlb_offset(unsigned long val) in io_tlb_offset() 247 static inline unsigned long nr_slots(u64 val) in nr_slots() 306 static void add_mem_pool(struct io_tlb_mem *mem, struct io_tlb_pool *pool) in add_mem_pool() 687 struct io_tlb_pool *pool; in swiotlb_alloc_pool() local 738 struct io_tlb_pool *pool; in swiotlb_dyn_alloc() local 756 struct io_tlb_pool *pool = container_of(rcu, struct io_tlb_pool, rcu); in swiotlb_dyn_free() local 780 struct io_tlb_pool *pool; in __swiotlb_find_pool() local 803 static void swiotlb_del_pool(struct device *dev, struct io_tlb_pool *pool) in swiotlb_del_pool() 1016 static int swiotlb_search_pool_area(struct device *dev, struct io_tlb_pool *pool, in swiotlb_search_pool_area() 1146 struct io_tlb_pool *pool; in swiotlb_search_area() local [all …]
|
/linux-6.14.4/lib/ |
D | genalloc.c | 48 unsigned long val = READ_ONCE(*addr); in set_bits_ll() local 62 unsigned long val = READ_ONCE(*addr); in clear_bits_ll() local 155 struct gen_pool *pool; in gen_pool_create() local 184 int gen_pool_add_owner(struct gen_pool *pool, unsigned long virt, phys_addr_t phys, in gen_pool_add_owner() 217 phys_addr_t gen_pool_virt_to_phys(struct gen_pool *pool, unsigned long addr) in gen_pool_virt_to_phys() 242 void gen_pool_destroy(struct gen_pool *pool) in gen_pool_destroy() 277 unsigned long gen_pool_alloc_algo_owner(struct gen_pool *pool, size_t size, in gen_pool_alloc_algo_owner() 341 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc() 362 void *gen_pool_dma_alloc_algo(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_algo() 395 void *gen_pool_dma_alloc_align(struct gen_pool *pool, size_t size, in gen_pool_dma_alloc_align() [all …]
|
/linux-6.14.4/sound/core/seq/oss/ |
D | seq_oss_writeq.c | 28 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_new() local 141 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_get_free_size() local 152 snd_seq_oss_writeq_set_output(struct seq_oss_writeq *q, int val) in snd_seq_oss_writeq_set_output() 154 struct snd_seq_client_pool pool; in snd_seq_oss_writeq_set_output() local
|
/linux-6.14.4/drivers/soc/ti/ |
D | knav_qmss_queue.c | 488 u32 val = 0; in knav_queue_pdsp_wait() local 638 u32 val; in knav_queue_push() local 660 u32 val, idx; in knav_queue_pop() local 687 static void kdesc_fill_pool(struct knav_pool *pool) in kdesc_fill_pool() 707 static void kdesc_empty_pool(struct knav_pool *pool) in kdesc_empty_pool() 735 struct knav_pool *pool = ph; in knav_pool_desc_virt_to_dma() local 742 struct knav_pool *pool = ph; in knav_pool_desc_dma_to_virt() local 761 struct knav_pool *pool, *pi = NULL, *iter; in knav_pool_create() local 861 struct knav_pool *pool = ph; in knav_pool_destroy() local 891 struct knav_pool *pool = ph; in knav_pool_desc_get() local [all …]
|
/linux-6.14.4/kernel/ |
D | workqueue.c | 257 struct worker_pool *pool; /* I: the associated pool */ member 544 #define for_each_bh_worker_pool(pool, cpu) \ argument 549 #define for_each_cpu_worker_pool(pool, cpu) \ argument 566 #define for_each_pool(pool, pi) \ argument 581 #define for_each_pool_worker(worker, pool) \ argument 706 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id() 767 static unsigned long pool_offq_flags(struct worker_pool *pool) in pool_offq_flags() 932 static bool need_more_worker(struct worker_pool *pool) in need_more_worker() 938 static bool may_start_working(struct worker_pool *pool) in may_start_working() 944 static bool keep_working(struct worker_pool *pool) in keep_working() [all …]
|
/linux-6.14.4/net/sunrpc/ |
D | svc.c | 76 __param_set_pool_mode(const char *val, struct svc_pool_map *m) in __param_set_pool_mode() 107 param_set_pool_mode(const char *val, const struct kernel_param *kp) in param_set_pool_mode() 114 int sunrpc_set_pool_mode(const char *val) in sunrpc_set_pool_mode() 535 struct svc_pool *pool = &serv->sv_pools[i]; in __svc_create() local 627 struct svc_pool *pool = &serv->sv_pools[i]; in svc_destroy() local 686 svc_prepare_thread(struct svc_serv *serv, struct svc_pool *pool, int node) in svc_prepare_thread() 740 void svc_pool_wake_idle_thread(struct svc_pool *pool) in svc_pool_wake_idle_thread() 764 svc_pool_next(struct svc_serv *serv, struct svc_pool *pool, unsigned int *state) in svc_pool_next() 773 struct svc_pool *pool; in svc_pool_victim() local 795 svc_start_kthreads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) in svc_start_kthreads() [all …]
|
/linux-6.14.4/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | qos_sq.c | 21 struct otx2_pool *pool; in otx2_qos_aura_pool_free() local 39 struct otx2_pool *pool; in otx2_qos_sq_aura_pool_init() local 154 u64 incr, *ptr, val; in otx2_qos_sqb_flush() local
|
D | otx2_common.c | 533 static int otx2_alloc_pool_buf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_alloc_pool_buf() 551 static int __otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool, in __otx2_alloc_rbuf() 573 int otx2_alloc_rbuf(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_alloc_rbuf() 854 u64 incr, *ptr, val; in otx2_sqb_flush() local 961 struct otx2_pool *pool; in otx2_sq_init() local 1270 void otx2_free_bufs(struct otx2_nic *pfvf, struct otx2_pool *pool, in otx2_free_bufs() 1293 struct otx2_pool *pool; in otx2_free_aura_ptr() local 1324 struct otx2_pool *pool; in otx2_aura_pool_free() local 1345 struct otx2_pool *pool; in otx2_aura_init() local 1423 struct otx2_pool *pool; in otx2_pool_init() local [all …]
|
/linux-6.14.4/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 100 struct cpdma_desc_pool *pool; member 192 struct cpdma_desc_pool *pool = ctlr->pool; in cpdma_desc_pool_destroy() local 215 struct cpdma_desc_pool *pool; in cpdma_desc_pool_create() local 279 static inline dma_addr_t desc_phys(struct cpdma_desc_pool *pool, in desc_phys() 288 desc_from_phys(struct cpdma_desc_pool *pool, dma_addr_t dma) in desc_from_phys() 294 cpdma_desc_alloc(struct cpdma_desc_pool *pool) in cpdma_desc_alloc() 300 static void cpdma_desc_free(struct cpdma_desc_pool *pool, in cpdma_desc_free() 309 u32 val; in _cpdma_control_set() local 378 struct cpdma_desc_pool *pool = ctlr->pool; in cpdma_chan_on() local 985 struct cpdma_desc_pool *pool = ctlr->pool; in __cpdma_chan_submit() local [all …]
|
D | cpsw_priv.c | 794 u32 shift, mask, val; in cpsw_shp_is_off() local 810 u32 shift, mask, val; in cpsw_fifo_shp_on() local 825 u32 val = 0, send_pct, shift; in cpsw_set_fifo_bw() local 886 u32 tx_in_ctl_rg, val; in cpsw_set_fifo_rlimit() local 1106 struct page_pool *pool; in cpsw_fill_rx_channels() local 1151 struct page_pool *pool; in cpsw_create_page_pool() local 1169 struct page_pool *pool; in cpsw_create_rx_pool() local 1186 struct page_pool *pool; in cpsw_ndev_create_xdp_rxq() local
|
/linux-6.14.4/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 205 __le64 val = cpu_to_le64(addr); in mvpp2_txdesc_dma_addr_set() local 360 static void *mvpp2_frag_alloc(const struct mvpp2_bm_pool *pool, in mvpp2_frag_alloc() 372 static void mvpp2_frag_free(const struct mvpp2_bm_pool *pool, in mvpp2_frag_free() 389 u32 val; in mvpp2_bm_pool_create() local 453 u32 val; in mvpp2_bm_pool_bufsize_set() local 473 u32 val; in mvpp2_bm_bufs_get_addrs() local 552 u32 val; in mvpp2_bm_pool_destroy() local 610 int val; in mvpp23_bm_set_8pool_mode() local 621 u32 val; in mvpp2_bm_pool_cleanup() local 723 u32 val, mask; in mvpp2_rxq_long_pool_set() local [all …]
|
D | mvpp2.h | 45 #define MVPP2_POOL_BUF_SIZE_REG(pool) (0x180 + 4 * (pool)) argument 71 #define MVPP2_PRS_PORT_LU_VAL(port, val) ((val) << ((port) * 4)) argument 74 #define MVPP2_PRS_INIT_OFF_VAL(port, val) ((val) << (((port) % 4) * 8)) argument 77 #define MVPP2_PRS_MAX_LOOP_VAL(port, val) ((val) << (((port) % 4) * 8)) argument 201 #define MVPP2_PREF_BUF_THRESH(val) ((val) << 17) argument 302 #define MVPP2_BM_POOL_BASE_REG(pool) (0x6000 + ((pool) * 4)) argument 304 #define MVPP2_BM_POOL_SIZE_REG(pool) (0x6040 + ((pool) * 4)) argument 306 #define MVPP2_BM_POOL_READ_PTR_REG(pool) (0x6080 + ((pool) * 4)) argument 308 #define MVPP2_BM_POOL_PTRS_NUM_REG(pool) (0x60c0 + ((pool) * 4)) argument 310 #define MVPP2_BM_BPPI_READ_PTR_REG(pool) (0x6100 + ((pool) * 4)) argument [all …]
|
/linux-6.14.4/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 92 u32 val; in ice_qvec_dis_irq() local 269 struct xsk_buff_pool *pool = xsk_get_pool_from_qid(vsi->netdev, qid); in ice_xsk_pool_disable() local 288 ice_xsk_pool_enable(struct ice_vsi *vsi, struct xsk_buff_pool *pool, u16 qid) in ice_xsk_pool_enable() 373 int ice_xsk_pool_setup(struct ice_vsi *vsi, struct xsk_buff_pool *pool, u16 qid) in ice_xsk_pool_setup() 437 static u16 ice_fill_rx_descs(struct xsk_buff_pool *pool, struct xdp_buff **xdp, in ice_fill_rx_descs()
|
/linux-6.14.4/drivers/soc/fsl/qbman/ |
D | bman.c | 196 static inline void bm_out(struct bm_portal *p, u32 offset, u32 val) in bm_out() 697 struct bman_pool *pool = NULL; in bman_new_pool() local 716 void bman_free_pool(struct bman_pool *pool) in bman_free_pool() 724 int bman_get_bpid(const struct bman_pool *pool) in bman_get_bpid() 738 int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num) in bman_release() 786 int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num) in bman_acquire()
|
/linux-6.14.4/fs/ceph/ |
D | xattr.c | 57 static ssize_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_layout() 64 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout() local 122 int ceph_fmt_xattr(char *val, size_t size, const char *fmt, ...) in ceph_fmt_xattr() 144 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit() 150 char *val, size_t size) in ceph_vxattrcb_layout_stripe_count() 156 char *val, size_t size) in ceph_vxattrcb_layout_object_size() 162 char *val, size_t size) in ceph_vxattrcb_layout_pool() 167 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout_pool() local 184 char *val, size_t size) in ceph_vxattrcb_layout_pool_namespace() 200 static ssize_t ceph_vxattrcb_dir_entries(struct ceph_inode_info *ci, char *val, in ceph_vxattrcb_dir_entries() [all …]
|
/linux-6.14.4/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 18 u32 command, val; in wx_phy_read_reg_mdi() local 47 u32 command, val; in wx_phy_write_reg_mdi() local 167 u32 cmd_val = 0, val = 0; in wx_fmgr_cmd_op() local 834 static int wx_add_mac_filter(struct wx *wx, u8 *addr, u16 pool) in wx_add_mac_filter() 865 static int wx_del_mac_filter(struct wx *wx, u8 *addr, u16 pool) in wx_del_mac_filter() 911 static int wx_write_uc_addr_list(struct net_device *netdev, int pool) in wx_write_uc_addr_list() 1769 u32 val; in wx_disable_pcie_master() local
|
/linux-6.14.4/drivers/accel/habanalabs/common/mmu/ |
D | mmu.c | 752 static void mmu_dma_mem_free_from_chunk(struct gen_pool *pool, in mmu_dma_mem_free_from_chunk() 783 struct gen_pool **pool = &hr_priv->mmu_pgt_pool; in hl_mmu_hr_pool_destroy() local 971 u64 val, u32 hop_table_size) in hl_mmu_hr_write_pte() 1276 void hl_mmu_dr_write_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, u64 val) in hl_mmu_dr_write_pte() 1286 void hl_mmu_dr_write_final_pte(struct hl_ctx *ctx, u64 shadow_pte_addr, u64 val) in hl_mmu_dr_write_final_pte()
|
/linux-6.14.4/drivers/i3c/master/mipi-i3c-hci/ |
D | pio.c | 113 struct i3c_generic_ibi_pool *pool; member 142 u32 val, size_val, rx_thresh, tx_thresh, ibi_val; in hci_pio_init() local 945 struct i3c_generic_ibi_pool *pool; in hci_pio_request_ibi() local
|
/linux-6.14.4/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 343 struct panthor_heap_pool *pool; member 507 u32 val; in wait_ready() local 1502 struct panthor_vm_pool *pool, in panthor_vm_pool_create_vm() 1562 int panthor_vm_pool_destroy_vm(struct panthor_vm_pool *pool, u32 handle) in panthor_vm_pool_destroy_vm() 1581 panthor_vm_pool_get_vm(struct panthor_vm_pool *pool, u32 handle) in panthor_vm_pool_get_vm() 1923 struct panthor_heap_pool *pool; in panthor_vm_get_heap_pool() local
|
/linux-6.14.4/drivers/dma/ |
D | loongson2-apb-dma.c | 126 void *pool; member 187 u64 val; in ls2x_dma_write_cmd() local 199 u64 val; in ls2x_dma_start_transfer() local
|