Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vdpa/mlx5/core/
Dmr.c220 struct mlx5_create_mkey_mem *cmd_mem; in create_direct_keys() local
224 mttcount = mttlen / sizeof(cmd_mem->mtt[0]); in create_direct_keys()
225 cmd_mem = kvcalloc(1, struct_size(cmd_mem, mtt, mttcount), GFP_KERNEL); in create_direct_keys()
226 if (!cmd_mem) { in create_direct_keys()
231 cmds[i].out = cmd_mem->out; in create_direct_keys()
232 cmds[i].outlen = sizeof(cmd_mem->out); in create_direct_keys()
233 cmds[i].in = cmd_mem->in; in create_direct_keys()
234 cmds[i].inlen = struct_size(cmd_mem, mtt, mttcount); in create_direct_keys()
236 fill_create_direct_mr(mvdev, dmr, cmd_mem); in create_direct_keys()
251 struct mlx5_create_mkey_mem *cmd_mem; in create_direct_keys() local
[all …]
/linux-6.12.1/tools/perf/
Dbuiltin.h53 int cmd_mem(int argc, const char **argv);
Dperf.c91 { "mem", cmd_mem, 0 },
Dbuiltin-mem.c468 int cmd_mem(int argc, const char **argv) in cmd_mem() function
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1227 struct mlx5_virtqueue_query_mem *cmd_mem; in query_virtqueues() local
1235 cmd_mem = kvcalloc(num_vqs, sizeof(*cmd_mem), GFP_KERNEL); in query_virtqueues()
1236 if (!cmds || !cmd_mem) { in query_virtqueues()
1242 cmds[i].in = &cmd_mem[i].in; in query_virtqueues()
1243 cmds[i].inlen = sizeof(cmd_mem[i].in); in query_virtqueues()
1244 cmds[i].out = &cmd_mem[i].out; in query_virtqueues()
1245 cmds[i].outlen = sizeof(cmd_mem[i].out); in query_virtqueues()
1246 fill_query_virtqueue_cmd(ndev, &ndev->vqs[start_vq + i], &cmd_mem[i]); in query_virtqueues()
1267 query_virtqueue_end(ndev, &cmd_mem[i], &attrs[i]); in query_virtqueues()
1271 kvfree(cmd_mem); in query_virtqueues()
[all …]