Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c3799 size_t min_ucmd_sz, required_ucmd_sz; in mlx5_ib_create_flow() local
3817 required_ucmd_sz = min_ucmd_sz + in mlx5_ib_create_flow()
3820 if (udata->inlen > required_ucmd_sz && in mlx5_ib_create_flow()
3821 !ib_is_udata_cleared(udata, required_ucmd_sz, in mlx5_ib_create_flow()
3822 udata->inlen - required_ucmd_sz)) in mlx5_ib_create_flow()
3825 ucmd = kzalloc(required_ucmd_sz, GFP_KERNEL); in mlx5_ib_create_flow()
3829 err = ib_copy_from_udata(ucmd, udata, required_ucmd_sz); in mlx5_ib_create_flow()