Home
last modified time | relevance | path

Searched refs:do_write (Results 1 – 13 of 13) sorted by relevance

/linux/tools/perf/util/
H A Dheader.c151 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 Dheader.h201 int do_write(struct feat_fd *fd, const void *buf, size_t size);
H A Dbuild-id.c306 err = do_write(fd, &b, sizeof(b)); in write_buildid()
/linux/tools/testing/selftests/kvm/
H A Dkvm_page_table_test.c88 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 Dstresstest.c82 static int do_write(void) in do_write() function
124 return do_write(); in do_operation()
/linux/drivers/tty/
H A Dn_tty.c530 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 Dlibata-sff.c580 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 Dvmur.c419 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 Df_mass_storage.c738 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 Dmptcp_connect.c462 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 Dscsi_debug.c4148 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 Dsigmatel.c427 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 Dgeneric.c217 unsigned int val, bool do_write) in set_pin_target() argument
223 if (do_write) in set_pin_target()