Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dheader.c133 int do_write(struct feat_fd *ff, const void *buf, size_t size) in do_write() function
146 ret = do_write(ff, &size, sizeof(size)); in do_write_bitmap()
151 ret = do_write(ff, p + i, sizeof(*p)); in do_write_bitmap()
164 int err = do_write(ff, bf, count); in write_padded()
167 err = do_write(ff, zero_buf, count_aligned - count); in write_padded()
185 ret = do_write(ff, &len, sizeof(len)); in do_write_string()
483 ret = do_write(ff, &nrc, sizeof(nrc)); in write_nrcpus()
487 return do_write(ff, &nra, sizeof(nra)); in write_nrcpus()
502 ret = do_write(ff, &nre, sizeof(nre)); in write_event_desc()
510 ret = do_write(ff, &sz, sizeof(sz)); in write_event_desc()
[all …]
Dheader.h173 int do_write(struct feat_fd *fd, const void *buf, size_t size);
Dbuild-id.c321 err = do_write(fd, &b, sizeof(b)); in write_buildid()
/linux-6.1.9/tools/testing/selftests/kvm/
Dkvm_page_table_test.c90 static void guest_code(bool do_write) in guest_code() argument
117 if (do_write) in guest_code()
188 bool do_write = !(vcpu->id % 2); in vcpu_worker() local
194 vcpu_args_set(vcpu, 1, do_write); in vcpu_worker()
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
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.1.9/drivers/mtd/tests/
Dstresstest.c82 static int do_write(void) in do_write() function
124 return do_write(); in do_operation()
/linux-6.1.9/sound/pcmcia/vx/
Dvxp_ops.c313 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) in vx_setup_pseudo_dma() argument
318 vx_outb(chip, ICR, do_write ? ICR_TREQ : ICR_RREQ); in vx_setup_pseudo_dma()
325 chip->regDIALOG |= do_write ? VXP_DLG_DMAWRITE_SEL_MASK : VXP_DLG_DMAREAD_SEL_MASK; in vx_setup_pseudo_dma()
/linux-6.1.9/drivers/mmc/core/
Dmmc_test.c166 bool do_write; member
2122 tdata->do_write, 0, 1, size / reqsize, in mmc_test_rw_multiple()
2181 .do_write = true, in mmc_test_profile_mult_write_blocking_perf()
2200 .do_write = true, in mmc_test_profile_mult_write_nonblock_perf()
2219 .do_write = false, in mmc_test_profile_mult_read_blocking_perf()
2238 .do_write = false, in mmc_test_profile_mult_read_nonblock_perf()
2257 .do_write = true, in mmc_test_profile_sglen_wr_blocking_perf()
2276 .do_write = true, in mmc_test_profile_sglen_wr_nonblock_perf()
2295 .do_write = false, in mmc_test_profile_sglen_r_blocking_perf()
2314 .do_write = false, in mmc_test_profile_sglen_r_nonblock_perf()
/linux-6.1.9/sound/pci/vx222/
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.1.9/drivers/s390/char/
Dvmur.c418 static ssize_t do_write(struct urdev *urd, const char __user *udata, in do_write() function
460 return do_write(urf->urd, udata, count, urf->dev_reclen, ppos); in ur_write()
/linux-6.1.9/drivers/ata/
Dlibata-sff.c637 bool do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_xfer() local
641 qc->ap->ops->sff_data_xfer(qc, buf + offset, xfer_size, do_write); in ata_pio_xfer()
644 if (!do_write && !PageSlab(page)) in ata_pio_xfer()
860 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes() local
880 if (unlikely(do_write != i_write)) in atapi_pio_bytes()
/linux-6.1.9/drivers/mmc/host/
Dcavium.c334 static void do_write(struct mmc_request *req) in do_write() function
474 do_write(req); in cvm_mmc_interrupt()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c405 static size_t do_write(const int fd, char *buf, const size_t len) in do_write() function
637 do_write(outfd, rbuf, len); in copyfd_io_poll()
/linux-6.1.9/drivers/usb/gadget/function/
Df_mass_storage.c720 static int do_write(struct fsg_common *common) in do_write() function
2085 reply = do_write(common); in do_scsi_command()
2096 reply = do_write(common); in do_scsi_command()
2107 reply = do_write(common); in do_scsi_command()
2118 reply = do_write(common); in do_scsi_command()
/linux-6.1.9/drivers/md/
Ddm-raid1.c644 static void do_write(struct mirror_set *ms, struct bio *bio) in do_write() function
767 do_write(ms, bio); in do_writes()
/linux-6.1.9/sound/pci/hda/
Dpatch_sigmatel.c435 bool enable, bool do_write) in stac_toggle_power_map() argument
458 if (do_write) in stac_toggle_power_map()
Dhda_generic.c217 unsigned int val, bool do_write) in set_pin_target() argument
223 if (do_write) in set_pin_target()
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.c3037 goto do_write; in rvt_ruc_loopback()
3042 do_write: in rvt_ruc_loopback()
/linux-6.1.9/drivers/scsi/
Dscsi_debug.c3018 u32 sg_skip, u64 lba, u32 num, bool do_write) in do_device_access() argument
3026 if (do_write) { in do_device_access()
3045 (num - rest) * sdebug_sector_size, sg_skip, do_write); in do_device_access()
3053 do_write); in do_device_access()