Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dheader.c153 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()
192 ret = do_write(ff, &len, sizeof(len)); in do_write_string()
494 ret = do_write(ff, &nrc, sizeof(nrc)); in write_nrcpus()
513 ret = do_write(ff, &nre, sizeof(nre)); in write_event_desc()
521 ret = do_write(ff, &sz, sizeof(sz)); in write_event_desc()
569 ret = do_write(ff, &n, sizeof(n)); in write_cmdline()
1078 ret = do_write(ff, &node->id, in write_bpf_btf()
1473 ret = do_write(ff, &nr, sizeof(nr)); in write_mem_topology()
[all …]
H A Dheader.h191 int do_write(struct feat_fd *fd, const void *buf, size_t size);
H A Dbuild-id.c291 err = do_write(fd, &b, sizeof(b)); in write_buildid()
/linux-6.15/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-6.15/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c60 static inline void do_write(const volatile void *addr) in do_write() function
124 do_write(addr); in run_test()
/linux-6.15/drivers/mtd/tests/
H A Dstresstest.c82 static int do_write(void) in do_write() function
124 return do_write(); in do_operation()
/linux-6.15/sound/pcmcia/vx/
H A Dvxp_ops.c315 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) in vx_setup_pseudo_dma() argument
320 vx_outb(chip, ICR, do_write ? ICR_TREQ : ICR_RREQ); in vx_setup_pseudo_dma()
327 chip->regDIALOG |= do_write ? VXP_DLG_DMAWRITE_SEL_MASK : VXP_DLG_DMAREAD_SEL_MASK; in vx_setup_pseudo_dma()
/linux-6.15/drivers/mmc/core/
H A Dmmc_test.c166 bool do_write; member
2130 tdata->do_write, 0, 1, size / reqsize, in mmc_test_rw_multiple()
2189 .do_write = true, in mmc_test_profile_mult_write_blocking_perf()
2208 .do_write = true, in mmc_test_profile_mult_write_nonblock_perf()
2227 .do_write = false, in mmc_test_profile_mult_read_blocking_perf()
2246 .do_write = false, in mmc_test_profile_mult_read_nonblock_perf()
2265 .do_write = true, in mmc_test_profile_sglen_wr_blocking_perf()
2284 .do_write = true, in mmc_test_profile_sglen_wr_nonblock_perf()
2303 .do_write = false, in mmc_test_profile_sglen_r_blocking_perf()
2322 .do_write = false, in mmc_test_profile_sglen_r_nonblock_perf()
/linux-6.15/drivers/tty/
H A Dn_tty.c534 goto do_write; in process_output_block()
539 goto do_write; in process_output_block()
541 goto do_write; in process_output_block()
545 goto do_write; in process_output_block()
553 goto do_write; in process_output_block()
560 do_write: in process_output_block()
/linux-6.15/sound/pci/vx222/
H A Dvx222_ops.c220 static void vx2_setup_pseudo_dma(struct vx_core *chip, int do_write) in vx2_setup_pseudo_dma() argument
225 vx_outl(chip, ICR, do_write ? ICR_TREQ : ICR_RREQ); in vx2_setup_pseudo_dma()
/linux-6.15/drivers/s390/char/
H A Dvmur.c421 static ssize_t do_write(struct urdev *urd, const char __user *udata, in do_write() function
463 return do_write(urf->urd, udata, count, urf->dev_reclen, ppos); in ur_write()
/linux-6.15/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-6.15/drivers/mmc/host/
H A Dcavium.c334 static void do_write(struct mmc_request *req) in do_write() function
474 do_write(req); in cvm_mmc_interrupt()
/linux-6.15/drivers/usb/gadget/function/
H A Df_mass_storage.c737 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-6.15/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c449 static size_t do_write(const int fd, char *buf, const size_t len) in do_write() function
681 do_write(outfd, rbuf, len); in copyfd_io_poll()
/linux-6.15/drivers/md/
H A Ddm-raid1.c654 static void do_write(struct mirror_set *ms, struct bio *bio) in do_write() function
777 do_write(ms, bio); in do_writes()
/linux-6.15/drivers/scsi/
H A Dscsi_debug.c4056 sdeb_data_sector_lock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_lock() argument
4058 if (do_write) in sdeb_data_sector_lock()
4065 sdeb_data_sector_unlock(struct sdeb_store_info *sip, bool do_write) in sdeb_data_sector_unlock() argument
4067 if (do_write) in sdeb_data_sector_unlock()
4140 bool do_write, bool atomic) in do_device_access() argument
4153 if (!do_write && atomic) in do_device_access()
4156 if (do_write) { in do_device_access()
4168 if (do_write && group_number < ARRAY_SIZE(writes_by_group_number)) in do_device_access()
4179 sdeb_data_sector_lock(sip, do_write); in do_device_access()
4182 sdebug_sector_size, sg_skip, do_write); in do_device_access()
[all …]
/linux-6.15/fs/bcachefs/
H A Dio_write.c996 goto do_write; in bch2_write_extent()
1167 do_write: in bch2_write_extent()
H A Dbtree_io.c2250 goto do_write; in __bch2_btree_node_write()
2296 do_write: in __bch2_btree_node_write()
/linux-6.15/sound/pci/hda/
H A Dpatch_sigmatel.c435 bool enable, bool do_write) in stac_toggle_power_map() argument
458 if (do_write) in stac_toggle_power_map()
H A Dhda_generic.c217 unsigned int val, bool do_write) in set_pin_target() argument
223 if (do_write) in set_pin_target()
/linux-6.15/drivers/infiniband/sw/rdmavt/
H A Dqp.c3034 goto do_write; in rvt_ruc_loopback()
3039 do_write: in rvt_ruc_loopback()