| /linux/tools/perf/util/ |
| H A D | header.c | 151 int do_write(struct feat_fd *ff, const void *buf, size_t size) in do_write_bitmap() 164 ret = do_write(ff, &size, sizeof(size)); in do_write_bitmap() 169 ret = do_write(ff, p + i, sizeof(*p)); in write_padded() 182 int err = do_write(ff, bf, count); 185 err = do_write(ff, zero_buf, count_aligned - count); in do_write_string() 203 ret = do_write(ff, &len, sizeof(len)); in __do_read_fd() 403 ret = do_write(ff, &e_machine, sizeof(e_machine)); in __write_cpudesc() 407 return do_write(ff, &e_flags, sizeof(e_flags)); in __write_cpudesc() 522 ret = do_write(ff, &nrc, sizeof(nrc)); in write_event_desc() 526 return do_write(f in write_event_desc() 141 int do_write(struct feat_fd *ff, const void *buf, size_t size) do_write() function [all...] |
| H A D | header.h | 201 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 | 419 static ssize_t do_write(struct urdev *urd, const char __user *udata, in do_write() function 461 return do_write(urf->urd, udata, count, urf->dev_reclen, ppos); in ur_write()
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.c | 738 static int do_write(struct fsg_common *common) in do_write() function 2110 reply = do_write(common); in do_scsi_command() 2121 reply = do_write(common); in do_scsi_command() 2132 reply = do_write(common); in do_scsi_command() 2143 reply = do_write(common); in do_scsi_command()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.c | 462 static size_t do_write(const int fd, char *buf, const size_t len) in do_write() function 694 do_write(outfd, rbuf, len); in copyfd_io_poll()
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 4148 sdeb_data_sector_lock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_lock() argument 4150 if (do_write) in sdeb_data_sector_lock() 4157 sdeb_data_sector_unlock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_unlock() argument 4159 if (do_write) in sdeb_data_sector_unlock() 4232 bool do_write, bool atomic) in do_device_access() argument 4245 if (!do_write && atomic) in do_device_access() 4248 if (do_write) { in do_device_access() 4260 if (do_write && group_number < ARRAY_SIZE(writes_by_group_number)) in do_device_access() 4271 sdeb_data_sector_lock(sip, do_write); in do_device_access() 4274 sdebug_sector_size, sg_skip, do_write); in do_device_access() [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | sigmatel.c | 427 bool enable, bool do_write) in stac_update_outputs() 450 if (do_write) in stac_toggle_power_map() 435 stac_toggle_power_map(struct hda_codec * codec,hda_nid_t nid,bool enable,bool do_write) stac_toggle_power_map() argument
|
| H A D | generic.c | 217 unsigned int val, bool do_write) in set_pin_target() argument 223 if (do_write) in set_pin_target()
|