Searched refs:required_cmd_sz (Results 1 – 2 of 2) sorted by relevance
676 size_t required_cmd_sz; in _mlx4_ib_create_qp_rss() local687 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() local4093 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() local4230 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx4_ib_modify_wq()4232 if (udata->inlen < required_cmd_sz) in mlx4_ib_modify_wq()
5236 size_t required_cmd_sz; in prepare_user_rq() local5238 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() local5481 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()