Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dqp.c715 size_t required_cmd_sz; in _mlx4_ib_create_qp_rss() local
726 required_cmd_sz = offsetof(typeof(ucmd), reserved1) + in _mlx4_ib_create_qp_rss()
728 if (udata->inlen < required_cmd_sz) { in _mlx4_ib_create_qp_rss()
4127 int err, required_cmd_sz; in mlx4_ib_create_wq() local
4132 required_cmd_sz = offsetof(typeof(ucmd), comp_mask) + in mlx4_ib_create_wq()
4134 if (udata->inlen < required_cmd_sz) { in mlx4_ib_create_wq()
4265 size_t required_cmd_sz; in mlx4_ib_modify_wq() local
4269 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx4_ib_modify_wq()
4271 if (udata->inlen < required_cmd_sz) in mlx4_ib_modify_wq()
/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dqp.c5352 size_t required_cmd_sz; in prepare_user_rq() local
5354 required_cmd_sz = offsetofend(struct mlx5_ib_create_wq, in prepare_user_rq()
5356 if (udata->inlen < required_cmd_sz) { in prepare_user_rq()
5589 size_t required_cmd_sz; in mlx5_ib_modify_wq() local
5597 required_cmd_sz = offsetofend(struct mlx5_ib_modify_wq, reserved); in mlx5_ib_modify_wq()
5598 if (udata->inlen < required_cmd_sz) in mlx5_ib_modify_wq()