Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/ofed/libibverbs/
H A Ddevice.c180 int cmd_fd, ret; in __ibv_open_device() local
191 cmd_fd = open(devpath, O_RDWR | O_CLOEXEC); in __ibv_open_device()
194 if (cmd_fd < 0) in __ibv_open_device()
198 context = verbs_device->ops->alloc_context(device, cmd_fd); in __ibv_open_device()
224 ret = verbs_device->ops->init_context(verbs_device, context, cmd_fd); in __ibv_open_device()
249 context->cmd_fd = cmd_fd; in __ibv_open_device()
258 close(cmd_fd); in __ibv_open_device()
266 int cmd_fd = context->cmd_fd; in __ibv_close_device() local
280 close(cmd_fd); in __ibv_close_device()
H A Dcmd.c56 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_get_context()
122 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_query_device()
165 err = write(context->cmd_fd, cmd, cmd_size); in ibv_cmd_query_device_ex()
254 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_query_port()
289 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_alloc_pd()
330 if (write(context->cmd_fd, cmd, cmd_size) != cmd_size) in ibv_cmd_open_xrcd()
402 if (write(mr->context->cmd_fd, cmd, cmd_sz) != cmd_sz) in ibv_cmd_rereg_mr()
525 err = write(context->cmd_fd, cmd, cmd_size); in ibv_cmd_create_cq_ex()
980 err = write(context->cmd_fd, cmd, cmd_size); in ibv_cmd_create_qp_ex2()
1944 err = write(context->cmd_fd, cmd, cmd_size); in ibv_cmd_create_wq()
[all …]
H A Ddriver.h106 int cmd_fd);
111 struct ibv_context *ctx, int cmd_fd);
H A Dverbs.h1381 struct ibv_context * (*_dummy1)(struct ibv_device *device, int cmd_fd);
1465 int cmd_fd; member
H A Dverbs.c405 if (write(context->cmd_fd, &cmd, sizeof cmd) != sizeof cmd) { in ibv_create_comp_channel()
H A Dcompat-1_0.c220 int cmd_fd; member
/freebsd-13.1/contrib/ofed/libmlx4/
H A Dmlx4.c128 PROT_READ, MAP_SHARED, ibv_ctx->cmd_fd, in mlx4_map_internal_clock()
144 struct ibv_context *ibv_ctx, int cmd_fd) in mlx4_init_context() argument
160 ibv_ctx->cmd_fd = cmd_fd; in mlx4_init_context()
199 MAP_SHARED, cmd_fd, 0); in mlx4_init_context()
205 PROT_WRITE, MAP_SHARED, cmd_fd, in mlx4_init_context()
/freebsd-13.1/contrib/ofed/libcxgb4/
H A Dverbs.c204 MAP_SHARED, context->cmd_fd, resp.key); in c4iw_create_cq()
209 context->cmd_fd, resp.gts_key); in c4iw_create_cq()
343 pd->context->cmd_fd, resp.sq_db_gts_key); in create_qp_v0()
350 pd->context->cmd_fd, resp.sq_key); in create_qp_v0()
355 pd->context->cmd_fd, resp.rq_db_gts_key); in create_qp_v0()
361 pd->context->cmd_fd, resp.rq_key); in create_qp_v0()
454 pd->context->cmd_fd, resp.sq_db_gts_key); in create_qp()
472 pd->context->cmd_fd, resp.sq_key); in create_qp()
477 pd->context->cmd_fd, resp.rq_db_gts_key); in create_qp()
494 pd->context->cmd_fd, resp.rq_key); in create_qp()
[all …]
H A Ddev.c107 int cmd_fd) in c4iw_alloc_context() argument
122 context->ibv_ctx.cmd_fd = cmd_fd; in c4iw_alloc_context()
137 PROT_READ, MAP_SHARED, cmd_fd, in c4iw_alloc_context()
/freebsd-13.1/contrib/ofed/libmlx5/
H A Dmlx5.c595 PROT_READ, MAP_SHARED, ibv_ctx->cmd_fd, in mlx5_map_internal_clock()
747 struct ibv_context *ctx, int cmd_fd) in mlx5_init_context() argument
773 context->ibv_ctx.cmd_fd = cmd_fd; in mlx5_init_context()
861 cmd_fd, page_size * offset); in mlx5_init_context()
H A Dbuf.c509 context->cmd_fd, page_size * offset); in mlx5_alloc_buf_contig()