Searched refs:cur_sz (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | wq.h | 56 u16 cur_sz; member 76 u16 cur_sz; member 107 return wq->cur_sz == wq->sz; in mlx5_wq_cyc_is_full() 112 return wq->sz - wq->cur_sz; in mlx5_wq_cyc_missing() 117 return !wq->cur_sz; in mlx5_wq_cyc_is_empty() 123 wq->cur_sz++; in mlx5_wq_cyc_push() 129 wq->cur_sz += n; in mlx5_wq_cyc_push_n() 134 wq->cur_sz--; in mlx5_wq_cyc_pop() 154 return mlx5_wq_cyc_ctr2ix(wq, wq->wqe_ctr - wq->cur_sz); in mlx5_wq_cyc_get_tail() 253 return wq->cur_sz == wq->fbc.sz_m1; in mlx5_wq_ll_is_full() [all …]
|
| D | wq.c | 88 mlx5_wq_cyc_get_size(wq), wq->cur_sz, ix, len); in mlx5_wq_cyc_wqe_dump() 95 wq->cur_sz = 0; in mlx5_wq_cyc_reset() 251 wq->cur_sz = 0; in mlx5_wq_ll_reset()
|
| /Linux-v5.15/drivers/crypto/hisilicon/hpre/ |
| D | hpre_crypto.c | 1238 static void fill_curve_param(void *addr, u64 *param, unsigned int cur_sz, u8 ndigits) in fill_curve_param() argument 1240 unsigned int sz = cur_sz - (ndigits - 1) * sizeof(u64); in fill_curve_param() 1249 hpre_key_to_big_end((u8 *)addr, cur_sz); in fill_curve_param() 1253 unsigned int cur_sz) in hpre_ecdh_fill_curve() argument 1257 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve() 1258 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve() 1259 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve() 1260 void *x = ctx->ecdh.g + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve() 1261 void *y = ctx->ecdh.g + shifta - cur_sz; in hpre_ecdh_fill_curve() 1272 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve() [all …]
|
| /Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | txrx.h | 345 return rq->mpwqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz() 347 return rq->wqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz()
|