/linux/tools/perf/scripts/perl/ |
A D | rw-by-file.pl | 45 $writes{$fd}{bytes_written} += $count; 69 foreach my $fd (sort {$writes{$b}{bytes_written} <=> 70 $writes{$a}{bytes_written}} keys %writes) { 72 my $bytes_written = $writes{$fd}{bytes_written}; 73 printf("%6u %10u %10u\n", $fd, $total_writes, $bytes_written);
|
A D | rwtop.pl | 87 $writes{$common_pid}{bytes_written} += $count; 160 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=> 161 ($writes{$a}{bytes_written} || 0)} keys %writes) { 164 my $bytes_written = $writes{$pid}{bytes_written} || 0; 167 $total_writes, $bytes_written);
|
A D | rw-by-pid.pl | 68 $writes{$common_pid}{bytes_written} += $count; 123 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=> 124 ($writes{$a}{bytes_written} || 0)} keys %writes) { 127 my $bytes_written = $writes{$pid}{bytes_written} || 0; 130 $total_writes, $bytes_written);
|
/linux/drivers/char/ |
A D | adi.c | 134 size_t ver_buf_sz, bytes_written = 0; in adi_write() local 151 if (copy_from_user(ver_buf, &buf[bytes_written], in adi_write() 165 bytes_written += ver_buf_sz; in adi_write() 166 ver_buf_sz = min(count - bytes_written, (size_t)MAX_BUF_SZ); in adi_write() 167 } while (bytes_written < count); in adi_write() 169 (*offp) += bytes_written; in adi_write() 170 ret = bytes_written; in adi_write()
|
A D | ppdev.c | 199 ssize_t bytes_written = 0; in pp_write() local 222 while (bytes_written < count) { in pp_write() 223 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE); in pp_write() 225 if (copy_from_user(kbuffer, buf + bytes_written, n)) { in pp_write() 226 bytes_written = -EFAULT; in pp_write() 244 if (!bytes_written) in pp_write() 245 bytes_written = wrote; in pp_write() 249 bytes_written += wrote; in pp_write() 252 if (!bytes_written) in pp_write() 253 bytes_written = -EAGAIN; in pp_write() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | cq_exch_desc.h | 63 u16 bytes_written; member 96 u32 *bytes_written, in cq_fcp_rq_desc_dec() argument 117 *bytes_written = in cq_fcp_rq_desc_dec() 118 desc_ptr->bytes_written & CQ_FCP_RQ_DESC_BYTES_WRITTEN_MASK; in cq_fcp_rq_desc_dec() 120 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_PACKET_ERR_MASK) >> in cq_fcp_rq_desc_dec() 123 (desc_ptr->bytes_written & CQ_FCP_RQ_DESC_VS_STRIPPED_MASK) >> in cq_fcp_rq_desc_dec()
|
A D | cq_enet_desc.h | 96 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument 126 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
|
/linux/tools/testing/selftests/sparc64/drivers/ |
A D | adi-test.c | 242 int ret, bytes_written = 0; in write_adi() local 247 ret = write(fd, buf + bytes_written, buf_sz - bytes_written); in write_adi() 254 bytes_written += ret; in write_adi() 255 } while (bytes_written < buf_sz); in write_adi() 260 return bytes_written; in write_adi() 266 int ret, bytes_written = 0; in pwrite_adi() local 274 ret = pwrite(fd, buf + bytes_written, in pwrite_adi() 285 bytes_written += ret; in pwrite_adi() 288 } while (bytes_written < buf_sz); in pwrite_adi() 292 bytes_written, buf_sz, offset); in pwrite_adi() [all …]
|
/linux/drivers/ps3/ |
A D | ps3-vuart.c | 366 priv->stats.bytes_written += *bytes_written; in ps3_vuart_raw_write() 369 *bytes_written, bytes, priv->stats.bytes_written); in ps3_vuart_raw_write() 489 u64 bytes_written; in ps3_vuart_write() local 502 if (bytes_written == bytes) { in ps3_vuart_write() 508 bytes -= bytes_written; in ps3_vuart_write() 509 buf += bytes_written; in ps3_vuart_write() 732 u64 bytes_written; in ps3_vuart_handle_interrupt_tx() local 735 &bytes_written); in ps3_vuart_handle_interrupt_tx() 744 bytes_total += bytes_written; in ps3_vuart_handle_interrupt_tx() 747 lb->head += bytes_written; in ps3_vuart_handle_interrupt_tx() [all …]
|
A D | vuart.h | 15 unsigned long bytes_written; member
|
/linux/drivers/w1/slaves/ |
A D | w1_ds2413.c | 90 ssize_t bytes_written = -EIO; in output_write() local 113 bytes_written = 1; in output_write() 125 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write() 126 return bytes_written; in output_write()
|
A D | w1_ds2408.c | 169 ssize_t bytes_written = -EIO; in output_write() local 190 bytes_written = 1; in output_write() 203 (bytes_written > 0) ? "succeeded" : "error", retries); in output_write() 205 return bytes_written; in output_write()
|
/linux/drivers/usb/misc/sisusbvga/ |
A D | sisusb.c | 340 (*bytes_written) = 0; in sisusb_send_bulk_msg() 429 (*bytes_written) = len; in sisusb_send_bulk_msg() 772 (*bytes_written = 0); in sisusb_write_mem_bulk() 789 (*bytes_written)++; in sisusb_write_mem_bulk() 804 (*bytes_written) += 2; in sisusb_write_mem_bulk() 2659 bytes_written = 1; in sisusb_write() 2670 bytes_written = 2; in sisusb_write() 2681 bytes_written = 4; in sisusb_write() 2705 if (bytes_written) in sisusb_write() 2723 if (bytes_written) in sisusb_write() [all …]
|
/linux/tools/hv/ |
A D | hv_fcopy_daemon.c | 90 ssize_t bytes_written; in hv_copy_data() local 93 bytes_written = pwrite(target_fd, cpmsg->data, cpmsg->size, in hv_copy_data() 97 if (bytes_written != cpmsg->size) { in hv_copy_data() 107 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data()
|
/linux/drivers/usb/atm/ |
A D | usbatm.c | 460 unsigned int bytes_written; in usbatm_write_cells() local 463 for (bytes_written = 0; bytes_written < avail_space && ctrl->len; in usbatm_write_cells() 464 bytes_written += stride, target += stride) { in usbatm_write_cells() 506 return bytes_written; in usbatm_write_cells() 575 unsigned int bytes_written = 0; in usbatm_tx_process() local 587 bytes_written = (urb->status == -EAGAIN) ? in usbatm_tx_process() 592 buffer + bytes_written, in usbatm_tx_process() 593 buf_size - bytes_written); in usbatm_tx_process() 597 __func__, bytes_written, skb, urb); in usbatm_tx_process() 608 if (bytes_written == buf_size || (!skb && bytes_written)) { in usbatm_tx_process() [all …]
|
/linux/drivers/nvmem/ |
A D | bcm-ocotp.c | 198 u32 bytes_written; in bcm_otpc_write() local 209 for (bytes_written = 0; bytes_written < bytes;) { in bcm_otpc_write() 215 bytes_written += sizeof(*buf); in bcm_otpc_write()
|
/linux/tools/power/cpupower/lib/ |
A D | cpuidle.c | 233 int bytes_written; in cpuidle_state_disable() local 244 bytes_written = cpuidle_state_write_file(cpu, idlestate, "disable", in cpuidle_state_disable() 246 if (bytes_written) in cpuidle_state_disable()
|
/linux/tools/power/cpupower/utils/helpers/ |
A D | sysfs.c | 303 int bytes_written; in sysfs_idlestate_disable() local 314 bytes_written = sysfs_idlestate_write_file(cpu, idlestate, "disable", in sysfs_idlestate_disable() 316 if (bytes_written) in sysfs_idlestate_disable()
|
/linux/drivers/i2c/busses/ |
A D | i2c-bcm-kona.c | 455 unsigned int bytes_written = 0; in bcm_kona_i2c_write_fifo() local 460 while (bytes_written < msg->len) { in bcm_kona_i2c_write_fifo() 461 if (msg->len - bytes_written <= MAX_TX_FIFO_SIZE) in bcm_kona_i2c_write_fifo() 462 bytes_to_write = msg->len - bytes_written; in bcm_kona_i2c_write_fifo() 469 bytes_written += bytes_to_write; in bcm_kona_i2c_write_fifo()
|
/linux/drivers/net/ethernet/cisco/enic/ |
A D | cq_enet_desc.h | 107 u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, in cq_enet_rq_desc_dec() argument 141 *bytes_written = bytes_written_flags & in cq_enet_rq_desc_dec()
|
/linux/drivers/usb/misc/ |
A D | adutux.c | 508 size_t bytes_written = 0; in adu_write() local 558 retval = bytes_written ? bytes_written : retval; in adu_write() 607 bytes_written += bytes_to_write; in adu_write() 611 return bytes_written; in adu_write()
|
/linux/drivers/media/pci/ivtv/ |
A D | ivtv-fileops.c | 544 int bytes_written = 0; in ivtv_write() local 600 bytes_written += itv->dma_data_req_size; in ivtv_write() 605 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write() 606 return bytes_written; in ivtv_write() 652 bytes_written += rc; in ivtv_write() 704 IVTV_DEBUG_HI_FILE("Wrote %d bytes to %s (%d)\n", bytes_written, s->name, s->q_full.bytesused); in ivtv_write() 705 return bytes_written; in ivtv_write()
|
/linux/net/vmw_vsock/ |
A D | hyperv_transport.c | 634 ssize_t bytes_written = 0; in hvs_stream_enqueue() local 663 bytes_written += to_write; in hvs_stream_enqueue() 668 if (bytes_written) in hvs_stream_enqueue() 669 ret = bytes_written; in hvs_stream_enqueue()
|
/linux/tools/perf/ |
A D | builtin-record.c | 93 u64 bytes_written; member 136 (rec->bytes_written >= rec->switch_output.size); in switch_output_size() 148 (rec->bytes_written >= rec->output_max_size); in record__output_max_size_exceeded() 161 rec->bytes_written += size; in record__write() 166 rec->bytes_written >> 10); in record__write() 360 rec->bytes_written += aio.size; in record__aio_push() 1113 u64 bytes_written = rec->bytes_written; in record__mmap_read_evlist() local 1178 if (bytes_written != rec->bytes_written) in record__mmap_read_evlist() 1240 rec->session->header.data_size += rec->bytes_written; in record__finish_output() 1306 rec->bytes_written = 0; in record__switch_output() [all …]
|
A D | builtin-inject.c | 52 u64 bytes_written; member 76 inject->bytes_written += size; in output_bytes() 324 inject->bytes_written += n; in perf_event__jit_repipe_mmap() 437 inject->bytes_written += n; in perf_event__jit_repipe_mmap2() 866 session->header.data_size = inject->bytes_written; in __cmd_inject()
|