Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_module.c41 struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
55 out->len = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
56 out->off = BPF_CORE_READ(read_ctx, off); in BPF_PROG()
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
62 out->len_exists = bpf_core_field_exists(read_ctx->len); in BPF_PROG()
75 struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
89 out->len = read_ctx->len; in BPF_PROG()
90 out->off = read_ctx->off; in BPF_PROG()
94 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
[all …]
H A Dtest_module_attach.c14 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
16 raw_tp_read_sz = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
48 struct task_struct *task, struct bpf_testmod_test_read_ctx *read_ctx) in BPF_PROG() argument
50 tp_btf_read_sz = read_ctx->len; in BPF_PROG()
/openbmc/qemu/io/
H A Dchannel-util.c42 AioContext *read_ctx, in qio_channel_util_set_aio_fd_handler() argument
49 if (read_fd == write_fd && read_ctx == write_ctx) { in qio_channel_util_set_aio_fd_handler()
50 aio_set_fd_handler(read_ctx, read_fd, io_read, io_write, in qio_channel_util_set_aio_fd_handler()
53 if (read_ctx) { in qio_channel_util_set_aio_fd_handler()
54 aio_set_fd_handler(read_ctx, read_fd, io_read, NULL, in qio_channel_util_set_aio_fd_handler()
H A Dchannel.c397 AioContext *read_ctx, in qio_channel_set_aio_fd_handler() argument
405 klass->io_set_aio_fd_handler(ioc, read_ctx, io_read, write_ctx, io_write, in qio_channel_set_aio_fd_handler()
630 AioContext *read_ctx = NULL; in qio_channel_set_fd_handlers() local
637 ioc->read_ctx = ctx; in qio_channel_set_fd_handlers()
638 read_ctx = ctx; in qio_channel_set_fd_handlers()
658 if (ioc->read_coroutine && ioc->read_ctx == ctx) { in qio_channel_set_fd_handlers()
659 read_ctx = ctx; in qio_channel_set_fd_handlers()
666 qio_channel_set_aio_fd_handler(ioc, read_ctx, io_read, in qio_channel_set_fd_handlers()
673 AioContext *read_ctx = NULL; in qio_channel_clear_fd_handlers() local
680 ctx = ioc->read_ctx; in qio_channel_clear_fd_handlers()
[all …]
H A Dchannel-file.c270 AioContext *read_ctx, in qio_channel_file_set_aio_fd_handler() argument
278 qio_channel_util_set_aio_fd_handler(fioc->fd, read_ctx, io_read, in qio_channel_file_set_aio_fd_handler()
H A Dchannel-command.c335 AioContext *read_ctx, in qio_channel_command_set_aio_fd_handler() argument
343 qio_channel_util_set_aio_fd_handler(cioc->readfd, read_ctx, io_read, in qio_channel_command_set_aio_fd_handler()
H A Dchannel-tls.c386 AioContext *read_ctx, in qio_channel_tls_set_aio_fd_handler() argument
394 qio_channel_set_aio_fd_handler(tioc->master, read_ctx, io_read, in qio_channel_tls_set_aio_fd_handler()
H A Dchannel-null.c131 AioContext *read_ctx G_GNUC_UNUSED, in qio_channel_null_set_aio_fd_handler()
H A Dchannel-socket.c929 AioContext *read_ctx, in qio_channel_socket_set_aio_fd_handler() argument
937 qio_channel_util_set_aio_fd_handler(sioc->fd, read_ctx, io_read, in qio_channel_socket_set_aio_fd_handler()
/openbmc/ipmitool/src/plugins/serial/
H A Dserial_basic.c750 struct serial_bm_request_ctx * req_ctx, struct serial_bm_recv_ctx * read_ctx, in serial_bm_wait_response() argument
757 while ((msg_len = serial_bm_recv_msg(intf, read_ctx, msg, max_len)) > 0) { in serial_bm_wait_response()
822 struct serial_bm_recv_ctx * read_ctx, in serial_bm_get_message() argument
856 rv = serial_bm_wait_response(intf, &tmp_ctx, read_ctx, in serial_bm_get_message()
897 struct serial_bm_recv_ctx read_ctx; in serial_bm_send_request() local
905 read_ctx.buffer_size = 0; in serial_bm_send_request()
906 read_ctx.max_buffer_size = SERIAL_BM_MAX_BUFFER_SIZE; in serial_bm_send_request()
923 &read_ctx, msg, sizeof (msg)); in serial_bm_send_request()
941 &read_ctx, msg, sizeof (msg)); in serial_bm_send_request()
956 &read_ctx, msg, sizeof (msg)); in serial_bm_send_request()
/openbmc/qemu/include/io/
H A Dchannel.h85 AioContext *read_ctx; member
156 AioContext *read_ctx,
875 AioContext *read_ctx,
H A Dchannel-util.h68 AioContext *read_ctx,
/openbmc/linux/fs/cachefiles/
H A Dondemand.c668 struct cachefiles_read_ctx *read_ctx = private; in cachefiles_ondemand_init_read_req() local
670 load->off = read_ctx->off; in cachefiles_ondemand_init_read_req()
671 load->len = read_ctx->len; in cachefiles_ondemand_init_read_req()
761 struct cachefiles_read_ctx read_ctx = {pos, len}; in cachefiles_ondemand_read() local
765 cachefiles_ondemand_init_read_req, &read_ctx); in cachefiles_ondemand_read()
/openbmc/qemu/migration/
H A Dchannel-block.c161 AioContext *read_ctx, in qio_channel_block_set_aio_fd_handler() argument
H A Drdma.c3082 AioContext *read_ctx, in qio_channel_rdma_set_aio_fd_handler() argument
3090 aio_set_fd_handler(read_ctx, rioc->rdmain->recv_comp_channel->fd, in qio_channel_rdma_set_aio_fd_handler()
3092 aio_set_fd_handler(read_ctx, rioc->rdmain->send_comp_channel->fd, in qio_channel_rdma_set_aio_fd_handler()