Home
last modified time | relevance | path

Searched refs:required_cmd_sz (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dqp.c676 size_t required_cmd_sz; in _mlx4_ib_create_qp_rss() local
687 required_cmd_sz = offsetof(typeof(ucmd), reserved1) + in _mlx4_ib_create_qp_rss()
689 if (udata->inlen < required_cmd_sz) { in _mlx4_ib_create_qp_rss()
4088 int err, required_cmd_sz; in mlx4_ib_create_wq() local
4093 required_cmd_sz = offsetof(typeof(ucmd), comp_mask) + in mlx4_ib_create_wq()
4095 if (udata->inlen < required_cmd_sz) { in mlx4_ib_create_wq()
4226 size_t required_cmd_sz; in mlx4_ib_modify_wq() local
4230 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx4_ib_modify_wq()
4232 if (udata->inlen < required_cmd_sz) in mlx4_ib_modify_wq()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c5236 size_t required_cmd_sz; in prepare_user_rq() local
5238 required_cmd_sz = offsetofend(struct mlx5_ib_create_wq, in prepare_user_rq()
5240 if (udata->inlen < required_cmd_sz) { in prepare_user_rq()
5473 size_t required_cmd_sz; in mlx5_ib_modify_wq() local
5481 required_cmd_sz = offsetofend(struct mlx5_ib_modify_wq, reserved); in mlx5_ib_modify_wq()
5482 if (udata->inlen < required_cmd_sz) in mlx5_ib_modify_wq()