Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.h183 return session->ds_count + MLX5E_XDP_INLINE_WQE_MAX_DS_CNT > in mlx5e_xdp_mpwqe_is_full()
201 (struct mlx5_wqe_data_seg *)session->wqe + session->ds_count; in mlx5e_xdp_mpwqe_add_dseg()
216 session->ds_count += ds_cnt; in mlx5e_xdp_mpwqe_add_dseg()
224 session->ds_count++; in mlx5e_xdp_mpwqe_add_dseg()
H A Dxdp.c346 .ds_count = MLX5E_TX_WQE_EMPTY_DS_COUNT, in mlx5e_xdp_mpwqe_session_start()
359 u16 ds_count = session->ds_count; in mlx5e_xdp_mpwqe_complete() local
365 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete()
367 wi->num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xdp_mpwqe_complete()
H A Dtxrx.h342 return session->ds_count == max_sq_mpw_wqebbs * MLX5_SEND_WQEBB_NUM_DS; in mlx5e_tx_mpwqe_is_full()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tx.c537 .ds_count = MLX5E_TX_WQE_EMPTY_DS_COUNT, in mlx5e_tx_mpwqe_session_start()
557 dseg = (struct mlx5_wqe_data_seg *)session->wqe + session->ds_count; in mlx5e_tx_mpwqe_add_dseg()
565 session->ds_count++; in mlx5e_tx_mpwqe_add_dseg()
573 u8 ds_count = session->ds_count; in mlx5e_tx_mpwqe_session_complete() local
580 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_tx_mpwqe_session_complete()
587 .num_wqebbs = DIV_ROUND_UP(ds_count, MLX5_SEND_WQEBB_NUM_DS), in mlx5e_tx_mpwqe_session_complete()
H A Den.h404 u8 ds_count; member
/openbmc/linux/fs/nfs/
H A 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()
H A Dpnfs.h63 refcount_t ds_count; member
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.h77 u32 ds_count; member
H A 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()