Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dfs.c1287 size_t min_ucmd_sz, required_ucmd_sz; in mlx5_ib_create_flow() local
1304 required_ucmd_sz = min_ucmd_sz + in mlx5_ib_create_flow()
1307 if (udata->inlen > required_ucmd_sz && in mlx5_ib_create_flow()
1308 !ib_is_udata_cleared(udata, required_ucmd_sz, in mlx5_ib_create_flow()
1309 udata->inlen - required_ucmd_sz)) in mlx5_ib_create_flow()
1312 ucmd = kzalloc(required_ucmd_sz, GFP_KERNEL); in mlx5_ib_create_flow()
1316 err = ib_copy_from_udata(ucmd, udata, required_ucmd_sz); in mlx5_ib_create_flow()