Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dcleancache.c115 int pool_id = CLEANCACHE_NO_BACKEND; in __cleancache_init_fs() local
118 pool_id = cleancache_ops->init_fs(PAGE_SIZE); in __cleancache_init_fs()
119 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()
129 int pool_id = CLEANCACHE_NO_BACKEND_SHARED; in __cleancache_init_shared_fs() local
132 pool_id = cleancache_ops->init_shared_fs(&sb->s_uuid, PAGE_SIZE); in __cleancache_init_shared_fs()
133 if (pool_id < 0) in __cleancache_init_shared_fs()
134 pool_id = CLEANCACHE_NO_POOL; in __cleancache_init_shared_fs()
136 sb->cleancache_poolid = pool_id; in __cleancache_init_shared_fs()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta_bm.c40 static void mvneta_bm_pool_enable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_enable() argument
44 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()
52 static void mvneta_bm_pool_disable(struct mvneta_bm *priv, int pool_id) in mvneta_bm_pool_disable() argument
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()
79 static void mvneta_bm_pool_target_set(struct mvneta_bm *priv, int pool_id, in mvneta_bm_pool_target_set() argument
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()
[all …]
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
Dmvneta.c1027 u8 pool_id) in mvneta_bm_pool_bufsize_set() argument
1038 val = mvreg_read(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id)); in mvneta_bm_pool_bufsize_set()
1040 mvreg_write(pp, MVNETA_PORT_POOL_BUFFER_SZ_REG(pool_id), val); in mvneta_bm_pool_bufsize_set()
1954 u8 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rxq_drop_pkts() local
1957 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rxq_drop_pkts()
2477 u8 pool_id; in mvneta_rx_hwbm() local
2484 pool_id = MVNETA_RX_GET_BM_POOL_ID(rx_desc); in mvneta_rx_hwbm()
2485 bm_pool = &pp->bm_priv->bm_pools[pool_id]; in mvneta_rx_hwbm()
/kernel/linux/linux-5.10/fs/ceph/
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()
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()
Dxattr.c52 fl->object_size > 0 || fl->pool_id >= 0 || in ceph_vxattrcb_layout_exists()
62 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout()
165 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout_pool()
Daddr.c2095 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
2125 if (pool == ci->i_layout.pool_id && in ceph_pool_perm_check()
2129 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
Dfile.c1762 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
2251 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2253 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
Dinode.c866 s64 old_pool = ci->i_layout.pool_id; in ceph_fill_inode()
874 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode()
Dcaps.c3473 s64 old_pool = ci->i_layout.pool_id; in handle_cap_grant()
3481 if (ci->i_layout.pool_id != old_pool || in handle_cap_grant()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c819 int err, pool_id; in otx2_cq_init() local
844 pool_id = ((cq->cq_type == CQ_RX) && in otx2_cq_init()
846 cq->rbpool = &qset->pool[pool_id]; in otx2_cq_init()
1038 int pool_id, pool_start = 0, pool_end = 0, size = 0; in otx2_free_aura_ptr() local
1053 for (pool_id = pool_start; pool_id < pool_end; pool_id++) { in otx2_free_aura_ptr()
1054 iova = otx2_aura_allocptr(pfvf, pool_id); in otx2_free_aura_ptr()
1064 iova = otx2_aura_allocptr(pfvf, pool_id); in otx2_free_aura_ptr()
1072 int pool_id; in otx2_aura_pool_free() local
1077 for (pool_id = 0; pool_id < pfvf->hw.pool_cnt; pool_id++) { in otx2_aura_pool_free()
1078 pool = &pfvf->qset.pool[pool_id]; in otx2_aura_pool_free()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
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()
/kernel/linux/linux-5.10/drivers/block/
Drbd.c188 u64 pool_id; member
1045 rbd_dev->layout.pool_id = rbd_dev->header.data_pool_id == CEPH_NOPOOL ? in rbd_init_layout()
1046 rbd_dev->spec->pool_id : rbd_dev->header.data_pool_id; in rbd_init_layout()
1494 req->r_base_oloc.pool = rbd_dev->layout.pool_id; in __rbd_obj_add_osd_request()
5135 (unsigned long long) rbd_dev->spec->pool_id); in rbd_pool_id_show()
5211 spec->pool_id, spec->pool_name, in rbd_parent_show()
5248 static DEVICE_ATTR(pool_id, 0444, rbd_pool_id_show, NULL);
5317 spec->pool_id = CEPH_NOPOOL; in rbd_spec_alloc()
5387 rbd_dev->header_oloc.pool = spec->pool_id; in __rbd_dev_create()
5631 u64 pool_id; member
[all …]
/kernel/linux/linux-5.10/include/xen/interface/
Dxen.h756 int32_t pool_id; member
/kernel/linux/linux-5.10/kernel/
Dworkqueue.c628 int pool_id) in set_work_pool_and_keep_pending() argument
630 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, in set_work_pool_and_keep_pending()
635 int pool_id) in set_work_pool_and_clear_pending() argument
644 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, 0); in set_work_pool_and_clear_pending()
710 int pool_id; in get_work_pool() local
718 pool_id = data >> WORK_OFFQ_POOL_SHIFT; in get_work_pool()
719 if (pool_id == WORK_OFFQ_POOL_NONE) in get_work_pool()
722 return idr_find(&worker_pool_idr, pool_id); in get_work_pool()
745 unsigned long pool_id = get_work_pool_id(work); in mark_work_canceling() local
747 pool_id <<= WORK_OFFQ_POOL_SHIFT; in mark_work_canceling()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
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()
146 FIELD_PREP(DP_TX_DESC_ID_POOL_ID, pool_id); in ath11k_dp_tx()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-rbd112 What: /sys/bus/rbd/devices/<dev-id>/pool_id
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_eckd.h421 __u16 pool_id; member
Ddasd_devmap.c1666 DASD_DEFINE_ATTR(pool_id, device->discipline->ext_pool_id);
Ddasd_eckd.c1709 int pool_id = dasd_eckd_ext_pool_id(device); in dasd_eckd_cpy_ext_pool_data() local
1715 if (eps.pool_id == pool_id) { in dasd_eckd_cpy_ext_pool_data()
/kernel/linux/linux-5.10/include/linux/ceph/
Dceph_fs.h66 s64 pool_id; /* rados pool id */ member
/kernel/linux/linux-5.10/net/ceph/
Dosd_client.c1094 req->r_base_oloc.pool = layout->pool_id; in ceph_osdc_new_request()
1450 static bool pool_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_full() argument
1454 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_full()
3815 static bool pool_cleared_full(struct ceph_osd_client *osdc, s64 pool_id) in pool_cleared_full() argument
3819 pi = ceph_pg_pool_by_id(osdc->osdmap, pool_id); in pool_cleared_full()