Searched refs:required_ucmd_sz (Results 1 – 1 of 1) sorted by relevance
1290 size_t min_ucmd_sz, required_ucmd_sz; in mlx5_ib_create_flow() local1307 required_ucmd_sz = min_ucmd_sz + in mlx5_ib_create_flow()1310 if (udata->inlen > required_ucmd_sz && in mlx5_ib_create_flow()1311 !ib_is_udata_cleared(udata, required_ucmd_sz, in mlx5_ib_create_flow()1312 udata->inlen - required_ucmd_sz)) in mlx5_ib_create_flow()1315 ucmd = kzalloc(required_ucmd_sz, GFP_KERNEL); in mlx5_ib_create_flow()1319 err = ib_copy_from_udata(ucmd, udata, required_ucmd_sz); in mlx5_ib_create_flow()