Searched refs:bytes_read (Results 1 – 9 of 9) sorted by relevance
| /dpdk/lib/eal/freebsd/ |
| H A D | eal_interrupts.c | 467 int n, bytes_read; in eal_intr_process_interrupts() local 489 bytes_read = 0; in eal_intr_process_interrupts() 494 bytes_read = 0; in eal_intr_process_interrupts() 498 bytes_read = 0; in eal_intr_process_interrupts() 502 bytes_read = 1; in eal_intr_process_interrupts() 506 if (bytes_read > 0) { in eal_intr_process_interrupts() 511 bytes_read = read(event_fd, &buf, bytes_read); in eal_intr_process_interrupts() 512 if (bytes_read < 0) { in eal_intr_process_interrupts() 520 } else if (bytes_read == 0) in eal_intr_process_interrupts()
|
| /dpdk/lib/eal/linux/ |
| H A D | eal_interrupts.c | 901 int n, bytes_read, rv; in eal_intr_process_interrupts() local 953 bytes_read = 0; in eal_intr_process_interrupts() 957 bytes_read = 0; in eal_intr_process_interrupts() 961 bytes_read = 1; in eal_intr_process_interrupts() 965 if (bytes_read > 0) { in eal_intr_process_interrupts() 970 bytes_read = read(events[n].data.fd, &buf, bytes_read); in eal_intr_process_interrupts() 971 if (bytes_read < 0) { in eal_intr_process_interrupts() 997 } else if (bytes_read == 0) in eal_intr_process_interrupts() 1206 int bytes_read = 0; in eal_intr_proc_rxtx_intr() local 1228 bytes_read = 1; in eal_intr_proc_rxtx_intr() [all …]
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_nvm.c | 74 u32 bytes_read = 0; in ice_read_flat_nvm() local 97 inlen - bytes_read); in ice_read_flat_nvm() 99 last_cmd = !(bytes_read + read_size < inlen); in ice_read_flat_nvm() 107 data + bytes_read, last_cmd, in ice_read_flat_nvm() 112 bytes_read += read_size; in ice_read_flat_nvm() 116 *length = bytes_read; in ice_read_flat_nvm()
|
| /dpdk/drivers/net/dpaa/ |
| H A D | dpaa_fmc.c | 400 size_t bytes_read; in dpaa_port_fmc_init() local 415 bytes_read = fread(g_fmc_model, in dpaa_port_fmc_init() 417 if (!bytes_read) { in dpaa_port_fmc_init()
|
| H A D | dpaa_flow.c | 141 size_t bytes_read; in dpaa_read_fm_config_from_file() local 149 bytes_read = fread(&fm_model, sizeof(struct dpaa_fm_model), 1, fp); in dpaa_read_fm_config_from_file() 150 if (!bytes_read) { in dpaa_read_fm_config_from_file()
|
| H A D | dpaa_ethdev.c | 380 int bytes_read; in dpaa_interrupt_handler() local 388 bytes_read = read(rte_intr_fd_get(intr_handle), &buf, in dpaa_interrupt_handler() 390 if (bytes_read < 0) in dpaa_interrupt_handler()
|
| /dpdk/drivers/bus/vmbus/ |
| H A D | vmbus_channel.c | 194 void rte_vmbus_chan_signal_read(struct vmbus_channel *chan, uint32_t bytes_read) in rte_vmbus_chan_signal_read() argument 214 if (write_sz - bytes_read > pending_sz) in rte_vmbus_chan_signal_read()
|
| H A D | rte_bus_vmbus.h | 354 void rte_vmbus_chan_signal_read(struct vmbus_channel *chan, uint32_t bytes_read);
|
| /dpdk/drivers/net/netvsc/ |
| H A D | hn_rxtx.c | 1065 uint32_t bytes_read = 0; in hn_process_events() local 1109 bytes_read += ret; in hn_process_events() 1136 if (bytes_read > 0) in hn_process_events() 1137 rte_vmbus_chan_signal_read(rxq->chan, bytes_read); in hn_process_events()
|