Home
last modified time | relevance | path

Searched refs:pool_id (Results 1 – 23 of 23) sorted by relevance

/linux/mm/
A Dcleancache.c119 if (pool_id < 0) in __cleancache_init_fs()
120 pool_id = CLEANCACHE_NO_POOL; in __cleancache_init_fs()
122 sb->cleancache_poolid = pool_id; in __cleancache_init_fs()
133 if (pool_id < 0) in __cleancache_init_shared_fs()
134 pool_id = CLEANCACHE_NO_POOL; in __cleancache_init_shared_fs()
179 int pool_id; in __cleancache_get_page() local
189 if (pool_id < 0) in __cleancache_get_page()
217 int pool_id; in __cleancache_put_page() local
227 if (pool_id >= 0 && in __cleancache_put_page()
253 if (pool_id >= 0) { in __cleancache_invalidate_page()
[all …]
/linux/drivers/net/ethernet/marvell/
A Dmvneta_bm.c44 val = mvneta_bm_read(priv, MVNETA_BM_POOL_BASE_REG(pool_id)); in mvneta_bm_pool_enable()
46 mvneta_bm_write(priv, MVNETA_BM_POOL_BASE_REG(pool_id), val); in mvneta_bm_pool_enable()
56 val = mvneta_bm_read(priv, MVNETA_BM_POOL_BASE_REG(pool_id)); in mvneta_bm_pool_disable()
58 mvneta_bm_write(priv, MVNETA_BM_POOL_BASE_REG(pool_id), val); in mvneta_bm_pool_disable()
84 val = mvneta_bm_read(priv, MVNETA_BM_XBAR_POOL_REG(pool_id)); in mvneta_bm_pool_target_set()
85 val &= ~MVNETA_BM_TARGET_ID_MASK(pool_id); in mvneta_bm_pool_target_set()
86 val &= ~MVNETA_BM_XBAR_ATTR_MASK(pool_id); in mvneta_bm_pool_target_set()
87 val |= MVNETA_BM_TARGET_ID_VAL(pool_id, target_id); in mvneta_bm_pool_target_set()
88 val |= MVNETA_BM_XBAR_ATTR_VAL(pool_id, attr); in mvneta_bm_pool_target_set()
90 mvneta_bm_write(priv, MVNETA_BM_XBAR_POOL_REG(pool_id), val); in mvneta_bm_pool_target_set()
[all …]
A Dmvneta_bm.h144 struct mvneta_bm_pool *mvneta_bm_pool_use(struct mvneta_bm *priv, u8 pool_id,
175 u8 pool_id, in mvneta_bm_pool_use() argument
A Dmvneta.c1030 u8 pool_id) in mvneta_bm_pool_bufsize_set() argument
1041 val = mvreg_read(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id)); in mvneta_bm_pool_bufsize_set()
1043 mvreg_write(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id), val); in mvneta_bm_pool_bufsize_set()
1961 u8 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rxq_drop_pkts() local
1964 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rxq_drop_pkts()
2491 u8 pool_id; in mvneta_rx_hwbm() local
2498 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rx_hwbm()
2499 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rx_hwbm()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_common.c1121 for (pool_id = pool_start; pool_id < pool_end; pool_id++) { in otx2_free_aura_ptr()
1140 int pool_id; in otx2_aura_pool_free() local
1145 for (pool_id = 0; pool_id < pfvf->hw.pool_cnt; pool_id++) { in otx2_aura_pool_free()
1155 int pool_id, int numptrs) in otx2_aura_init() argument
1186 aq->aura.pool_addr = pool_id; in otx2_aura_init()
1259 aq->aura_id = pool_id; in otx2_pool_init()
1301 err = otx2_aura_init(pfvf, pool_id, pool_id, num_sqbs); in otx2_sq_aura_pool_init()
1346 int stack_pages, pool_id, rq; in otx2_rq_aura_pool_init() local
1359 err = otx2_aura_init(pfvf, pool_id, pool_id, num_ptrs); in otx2_rq_aura_pool_init()
1363 for (pool_id = 0; pool_id < hw->rqpool_cnt; pool_id++) { in otx2_rq_aura_pool_init()
[all …]
/linux/fs/ceph/
A Dutil.c37 fl->pool_id = le32_to_cpu(legacy->fl_pg_pool); in ceph_file_layout_from_legacy()
38 if (fl->pool_id == 0 && fl->stripe_unit == 0 && in ceph_file_layout_from_legacy()
40 fl->pool_id = -1; in ceph_file_layout_from_legacy()
49 if (fl->pool_id >= 0) in ceph_file_layout_to_legacy()
50 legacy->fl_pg_pool = cpu_to_le32(fl->pool_id); in ceph_file_layout_to_legacy()
A Dioctl.c28 l.data_pool = ci->i_layout.pool_id; in ceph_ioctl_get_layout()
98 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout()
211 oloc.pool = ci->i_layout.pool_id; in ceph_ioctl_get_dataloc()
A Dxattr.c53 fl->object_size > 0 || fl->pool_id >= 0 || in ceph_vxattrcb_layout_exists()
63 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout()
166 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout_pool()
A Daddr.c1955 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
1985 if (pool == ci->i_layout.pool_id && in ceph_pool_perm_check()
1989 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
A Dfile.c1749 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
2289 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2291 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
A Dinode.c891 s64 old_pool = ci->i_layout.pool_id; in ceph_fill_inode()
899 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode()
A Dcaps.c3418 s64 old_pool = ci->i_layout.pool_id; in handle_cap_grant()
3426 if (ci->i_layout.pool_id != old_pool || in handle_cap_grant()
/linux/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_cle.c701 u16 pool_id; in xgene_cle_set_rss_idt() local
705 pool_id = pdata->rx_ring[idx]->buf_pool->id; in xgene_cle_set_rss_idt()
706 fpsel = xgene_enet_get_fpsel(pool_id); in xgene_cle_set_rss_idt()
710 pool_id = pdata->rx_ring[idx]->page_pool->id; in xgene_cle_set_rss_idt()
711 nfpsel = xgene_enet_get_fpsel(pool_id); in xgene_cle_set_rss_idt()
764 u32 def_qid, def_fpsel, def_nxtfpsel, pool_id; in xgene_enet_cle_init() local
783 pool_id = pdata->rx_ring[0]->buf_pool->id; in xgene_enet_cle_init()
784 def_fpsel = xgene_enet_get_fpsel(pool_id); in xgene_enet_cle_init()
787 pool_id = pdata->rx_ring[0]->page_pool->id; in xgene_enet_cle_init()
788 def_nxtfpsel = xgene_enet_get_fpsel(pool_id); in xgene_enet_cle_init()
/linux/drivers/block/
A Drbd.c188 u64 pool_id; member
1432 req->r_base_oloc.pool = rbd_dev->layout.pool_id; in __rbd_obj_add_osd_request()
5138 spec->pool_id, spec->pool_name, in rbd_parent_show()
5244 spec->pool_id = CEPH_NOPOOL; in rbd_spec_alloc()
5314 rbd_dev->header_oloc.pool = spec->pool_id; in __rbd_dev_create()
5558 u64 pool_id; member
5754 if (pii.pool_id > (u64)U32_MAX) { in rbd_dev_v2_parent_info()
5756 (unsigned long long)pii.pool_id, U32_MAX); in rbd_dev_v2_parent_info()
5766 parent_spec->pool_id = pii.pool_id; in rbd_dev_v2_parent_info()
5995 rbd_assert(spec->pool_id != CEPH_NOPOOL); in rbd_spec_fill_names()
[all …]
/linux/kernel/
A Dworkqueue.c646 int pool_id) in set_work_pool_and_keep_pending() argument
648 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, in set_work_pool_and_keep_pending()
653 int pool_id) in set_work_pool_and_clear_pending() argument
662 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, 0); in set_work_pool_and_clear_pending()
728 int pool_id; in get_work_pool() local
736 pool_id = data >> WORK_OFFQ_POOL_SHIFT; in get_work_pool()
737 if (pool_id == WORK_OFFQ_POOL_NONE) in get_work_pool()
740 return idr_find(&worker_pool_idr, pool_id); in get_work_pool()
763 unsigned long pool_id = get_work_pool_id(work); in mark_work_canceling() local
765 pool_id <<= WORK_OFFQ_POOL_SHIFT; in mark_work_canceling()
[all …]
/linux/include/xen/interface/
A Dxen.h741 int32_t pool_id; member
/linux/drivers/net/wireless/ath/ath11k/
A Ddp_tx.c92 u8 pool_id; in ath11k_dp_tx() local
105 pool_id = skb_get_queue_mapping(skb) & (ATH11K_HW_MAX_QUEUES - 1); in ath11k_dp_tx()
143 FIELD_PREP(DP_TX_DESC_ID_POOL_ID, pool_id); in ath11k_dp_tx()
/linux/Documentation/ABI/testing/
A Dsysfs-bus-rbd112 What: /sys/bus/rbd/devices/<dev-id>/pool_id
/linux/drivers/s390/block/
A Ddasd_eckd.h423 __u16 pool_id; member
A Ddasd_devmap.c1707 DASD_DEFINE_ATTR(pool_id, device->discipline->ext_pool_id);
A Ddasd_eckd.c1761 int pool_id = dasd_eckd_ext_pool_id(device); in dasd_eckd_cpy_ext_pool_data() local
1767 if (eps.pool_id == pool_id) { in dasd_eckd_cpy_ext_pool_data()
/linux/include/linux/ceph/
A Dceph_fs.h66 s64 pool_id; /* rados pool id */ member
/linux/net/ceph/
A Dosd_client.c1115 req->r_base_oloc.pool = layout->pool_id; in ceph_osdc_new_request()
1471 static bool pool_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_full() argument
1475 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_full()
3794 static bool pool_cleared_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_cleared_full() argument
3798 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_cleared_full()

Completed in 154 milliseconds