| /linux/tools/perf/util/ |
| H A D | header.c | 140 int do_write(struct feat_fd *ff, const void *buf, size_t size) in do_write() function 153 ret = do_write(ff, &size, sizeof(size)); in do_write_bitmap() 158 ret = do_write(ff, p + i, sizeof(*p)); in do_write_bitmap() 171 int err = do_write(ff, bf, count); in write_padded() 174 err = do_write(ff, zero_buf, count_aligned - count); in write_padded() 192 ret = do_write(ff, &len, sizeof(len)); in do_write_string() 493 ret = do_write(ff, &nrc, sizeof(nrc)); in write_nrcpus() 497 return do_write(ff, &nra, sizeof(nra)); in write_nrcpus() 512 ret = do_write(ff, &nre, sizeof(nre)); in write_event_desc() 520 ret = do_write(ff, &sz, sizeof(sz)); in write_event_desc() [all …]
|
| H A D | header.h | 194 int do_write(struct feat_fd *fd, const void *buf, size_t size);
|
| H A D | build-id.c | 306 err = do_write(fd, &b, sizeof(b)); in write_buildid()
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | kvm_page_table_test.c | 88 static void guest_code(bool do_write) in guest_code() argument 115 if (do_write) in guest_code() 186 bool do_write = !(vcpu->id % 2); in vcpu_worker() local 192 vcpu_args_set(vcpu, 1, do_write); in vcpu_worker()
|
| /linux/drivers/mtd/tests/ |
| H A D | stresstest.c | 82 static int do_write(void) in do_write() function 124 return do_write(); in do_operation()
|
| /linux/drivers/tty/ |
| H A D | n_tty.c | 530 goto do_write; in process_output_block() 535 goto do_write; in process_output_block() 537 goto do_write; in process_output_block() 541 goto do_write; in process_output_block() 549 goto do_write; in process_output_block() 556 do_write: in process_output_block()
|
| /linux/drivers/ata/ |
| H A D | libata-sff.c | 580 bool do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_xfer() local 584 qc->ap->ops->sff_data_xfer(qc, buf + offset, xfer_size, do_write); in ata_pio_xfer() 587 if (!do_write && !PageSlab(page)) in ata_pio_xfer() 805 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes() local 825 if (unlikely(do_write != i_write)) in atapi_pio_bytes()
|
| /linux/drivers/s390/char/ |
| H A D | vmur.c | 420 static ssize_t do_write(struct urdev *urd, const char __user *udata, in do_write() function 462 return do_write(urf->urd, udata, count, urf->dev_reclen, ppos); in ur_write()
|
| /linux/drivers/mmc/host/ |
| H A D | cavium.c | 334 static void do_write(struct mmc_request *req) in do_write() function 474 do_write(req); in cvm_mmc_interrupt()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.c | 737 static int do_write(struct fsg_common *common) in do_write() function 2102 reply = do_write(common); in do_scsi_command() 2113 reply = do_write(common); in do_scsi_command() 2124 reply = do_write(common); in do_scsi_command() 2135 reply = do_write(common); in do_scsi_command()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 463 static size_t do_write(const int fd, char *buf, const size_t len) in do_write() function 695 do_write(outfd, rbuf, len); in copyfd_io_poll()
|
| /linux/drivers/md/ |
| H A D | dm-raid1.c | 653 static void do_write(struct mirror_set *ms, struct bio *bio) in do_write() function 776 do_write(ms, bio); in do_writes()
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 4154 sdeb_data_sector_lock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_lock() argument 4156 if (do_write) in sdeb_data_sector_lock() 4163 sdeb_data_sector_unlock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_unlock() argument 4165 if (do_write) in sdeb_data_sector_unlock() 4238 bool do_write, bool atomic) in do_device_access() argument 4251 if (!do_write && atomic) in do_device_access() 4254 if (do_write) { in do_device_access() 4266 if (do_write && group_number < ARRAY_SIZE(writes_by_group_number)) in do_device_access() 4277 sdeb_data_sector_lock(sip, do_write); in do_device_access() 4280 sdebug_sector_size, sg_skip, do_write); in do_device_access() [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | sigmatel.c | 435 bool enable, bool do_write) in stac_toggle_power_map() argument 458 if (do_write) in stac_toggle_power_map()
|