/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_core_reloc_module.c | 41 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 D | test_module_attach.c | 14 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 D | channel-util.c | 42 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 D | channel.c | 397 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 D | channel-file.c | 270 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 D | channel-command.c | 335 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 D | channel-tls.c | 386 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 D | channel-null.c | 131 AioContext *read_ctx G_GNUC_UNUSED, in qio_channel_null_set_aio_fd_handler()
|
H A D | channel-socket.c | 929 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 D | serial_basic.c | 750 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 D | channel.h | 85 AioContext *read_ctx; member 156 AioContext *read_ctx, 875 AioContext *read_ctx,
|
H A D | channel-util.h | 68 AioContext *read_ctx,
|
/openbmc/linux/fs/cachefiles/ |
H A D | ondemand.c | 668 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 D | channel-block.c | 161 AioContext *read_ctx, in qio_channel_block_set_aio_fd_handler() argument
|
H A D | rdma.c | 3082 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()
|