Home
last modified time | relevance | path

Searched refs:ds_count (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h128 return session->ds_count + MLX5E_XDP_INLINE_WQE_MAX_DS_CNT > in mlx5e_xdp_mpwqe_is_full()
146 (struct mlx5_wqe_data_seg *)session->wqe + session->ds_count; in mlx5e_xdp_mpwqe_add_dseg()
161 session->ds_count += ds_cnt; in mlx5e_xdp_mpwqe_add_dseg()
169 session->ds_count++; in mlx5e_xdp_mpwqe_add_dseg()
Dxdp.c242 .ds_count = MLX5E_TX_WQE_EMPTY_DS_COUNT, in mlx5e_xdp_mpwqe_session_start()
255 u16 ds_count = session->ds_count; in mlx5e_xdp_mpwqe_complete() local
261 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete()
263 wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xdp_mpwqe_complete()
Dtxrx.h323 return session->ds_count == max_sq_mpw_wqebbs * MLX5_SEND_WQEBB_NUM_DS; in mlx5e_tx_mpwqe_is_full()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c524 .ds_count = MLX5E_TX_WQE_EMPTY_DS_COUNT, in mlx5e_tx_mpwqe_session_start()
544 dseg = (struct mlx5_wqe_data_seg *)session->wqe + session->ds_count; in mlx5e_tx_mpwqe_add_dseg()
552 session->ds_count++; in mlx5e_tx_mpwqe_add_dseg()
560 u8 ds_count = session->ds_count; in mlx5e_tx_mpwqe_session_complete() local
567 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_tx_mpwqe_session_complete()
574 .num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS), in mlx5e_tx_mpwqe_session_complete()
Den.h402 u8 ds_count; member
/linux-6.1.9/fs/nfs/
Dpnfs_nfs.c576 refcount_read(&ds->ds_count), ds->ds_clp, in print_ds()
703 if (refcount_dec_and_lock(&ds->ds_count, in nfs4_pnfs_ds_put()
789 refcount_set(&ds->ds_count, 1); in nfs4_pnfs_ds_add()
798 refcount_inc(&tmp_ds->ds_count); in nfs4_pnfs_ds_add()
801 refcount_read(&tmp_ds->ds_count)); in nfs4_pnfs_ds_add()
Dpnfs.h63 refcount_t ds_count; member
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.h77 u32 ds_count; member
Dflexfilelayout.c419 u32 ds_count, fh_count, id; in ff_layout_alloc_lseg() local
426 ds_count = be32_to_cpup(p); in ff_layout_alloc_lseg()
429 if (ds_count != 1) in ff_layout_alloc_lseg()
438 fls->mirror_array[i]->ds_count = ds_count; in ff_layout_alloc_lseg()