Home
last modified time | relevance | path

Searched refs:cur_sz (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dwq.h56 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()
275 return !wq->cur_sz; in mlx5_wq_ll_is_empty()
299 wq->cur_sz++; in mlx5_wq_ll_push()
[all …]
A Dwq.c88 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-6.3-rc2/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c1258 unsigned int sz = cur_sz - (ndigits - 1) * sizeof(u64); in fill_curve_param()
1267 hpre_key_to_big_end((u8 *)addr, cur_sz); in fill_curve_param()
1271 unsigned int cur_sz) in hpre_ecdh_fill_curve() argument
1275 void *p = ctx->ecdh.p + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1276 void *a = ctx->ecdh.p + shifta - cur_sz; in hpre_ecdh_fill_curve()
1277 void *b = ctx->ecdh.p + shiftb - cur_sz; in hpre_ecdh_fill_curve()
1278 void *x = ctx->ecdh.g + ctx->key_sz - cur_sz; in hpre_ecdh_fill_curve()
1279 void *y = ctx->ecdh.g + shifta - cur_sz; in hpre_ecdh_fill_curve()
1290 fill_curve_param(p, curve->p, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
1291 fill_curve_param(a, curve->a, cur_sz, curve->g.ndigits); in hpre_ecdh_fill_curve()
[all …]
/linux-6.3-rc2/fs/xfs/scrub/
A Dbtree.c640 size_t cur_sz; in xchk_btree() local
649 cur_sz = xchk_btree_sizeof(cur->bc_nlevels); in xchk_btree()
650 if (cur_sz > PAGE_SIZE) { in xchk_btree()
654 bs = kzalloc(cur_sz, XCHK_GFP_FLAGS); in xchk_btree()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtxrx.h372 return rq->mpwqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz()
374 return rq->wqe.wq.cur_sz; in mlx5e_rqwq_get_cur_sz()

Completed in 13 milliseconds