Searched refs:required_cmd_sz (Results 1 – 2 of 2) sorted by relevance
715 size_t required_cmd_sz; in _mlx4_ib_create_qp_rss() local726 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() local4132 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() local4269 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx4_ib_modify_wq()4271 if (udata->inlen < required_cmd_sz) in mlx4_ib_modify_wq()
5352 size_t required_cmd_sz; in prepare_user_rq() local5354 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() local5597 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()