Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx4/
Dqp.c705 size_t required_cmd_sz; in _mlx4_ib_create_qp_rss() local
716 required_cmd_sz = offsetof(typeof(ucmd), reserved1) + in _mlx4_ib_create_qp_rss()
718 if (udata->inlen < required_cmd_sz) { in _mlx4_ib_create_qp_rss()
4129 int err, required_cmd_sz; in mlx4_ib_create_wq() local
4134 required_cmd_sz = offsetof(typeof(ucmd), comp_mask) + in mlx4_ib_create_wq()
4136 if (udata->inlen < required_cmd_sz) { in mlx4_ib_create_wq()
4266 size_t required_cmd_sz; in mlx4_ib_modify_wq() local
4270 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx4_ib_modify_wq()
4272 if (udata->inlen < required_cmd_sz) in mlx4_ib_modify_wq()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c1606 size_t required_cmd_sz; in create_rss_raw_qp_tir() local
1619 required_cmd_sz = offsetof(typeof(ucmd), flags) + sizeof(ucmd.flags); in create_rss_raw_qp_tir()
1620 if (udata->inlen < required_cmd_sz) { in create_rss_raw_qp_tir()
3899 size_t required_cmd_sz; in mlx5_ib_modify_qp() local
3907 required_cmd_sz = offsetof(typeof(ucmd), reserved) + in mlx5_ib_modify_qp()
3909 if (udata->inlen < required_cmd_sz) in mlx5_ib_modify_qp()
6048 size_t required_cmd_sz; in prepare_user_rq() local
6050 required_cmd_sz = offsetof(typeof(ucmd), single_stride_log_num_of_bytes) in prepare_user_rq()
6052 if (udata->inlen < required_cmd_sz) { in prepare_user_rq()
6284 size_t required_cmd_sz; in mlx5_ib_modify_wq() local
[all …]