Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c1290 size_t min_ucmd_sz, required_ucmd_sz; in mlx5_ib_create_flow() local
1307 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()