Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dqp.c4971 size_t required_cmd_sz; in prepare_user_rq() local
4973 required_cmd_sz = offsetofend(struct mlx5_ib_create_wq, in prepare_user_rq()
4975 if (udata->inlen < required_cmd_sz) { in prepare_user_rq()
5208 size_t required_cmd_sz; in mlx5_ib_modify_wq() local
5216 required_cmd_sz = offsetofend(struct mlx5_ib_modify_wq, reserved); in mlx5_ib_modify_wq()
5217 if (udata->inlen < required_cmd_sz) in mlx5_ib_modify_wq()