Home
last modified time | relevance | path

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

/linux-3.4.99/Documentation/arm/SH-Mobile/
Dvrl4.c101 ssize_t do_write(int fd, const void *buf, size_t count) in do_write() function
126 if (do_write(fd, &x, 1) < 0) in write_zero()
149 if (do_write(1, &hdr, sizeof(hdr)) < 0) in main()
154 if (do_write(1, boot_program, prog_len) < 0) in main()
164 if (do_write(1, boot_program, prog_len) < 0) in main()
/linux-3.4.99/tools/perf/util/
Dheader.c101 static int do_write(int fd, const void *buf, size_t size) in do_write() function
122 int err = do_write(fd, bf, count); in write_padded()
125 err = do_write(fd, zero_buf, count_aligned - count); in write_padded()
139 ret = do_write(fd, &len, sizeof(len)); in do_write_string()
224 err = do_write(fd, &b, sizeof(b)); in __dsos__write_buildid_table()
597 ret = do_write(fd, &nrc, sizeof(nrc)); in write_nrcpus()
601 return do_write(fd, &nra, sizeof(nra)); in write_nrcpus()
617 ret = do_write(fd, &nre, sizeof(nre)); in write_event_desc()
625 ret = do_write(fd, &sz, sizeof(sz)); in write_event_desc()
631 ret = do_write(fd, &attr->attr, sz); in write_event_desc()
[all …]
/linux-3.4.99/drivers/block/
Dosdblk.c305 bool do_write, do_flush; in osdblk_rq_fn() local
326 do_write = (rq_data_dir(rq) == WRITE); in osdblk_rq_fn()
353 else if (do_write) in osdblk_rq_fn()
361 do_flush ? "flush" : do_write ? in osdblk_rq_fn()
Drbd.c1395 bool do_write; in rbd_rq_fn() local
1415 do_write = (rq_data_dir(rq) == WRITE); in rbd_rq_fn()
1420 if (do_write && rbd_dev->read_only) { in rbd_rq_fn()
1442 do_write ? "write" : "read", in rbd_rq_fn()
1472 if (do_write) in rbd_rq_fn()
/linux-3.4.99/drivers/mtd/tests/
Dmtd_stresstest.c169 static int do_write(void) in do_write() function
217 return do_write(); in do_operation()
/linux-3.4.99/sound/pcmcia/vx/
Dvxp_ops.c324 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) in vx_setup_pseudo_dma() argument
329 vx_outb(chip, ICR, do_write ? ICR_TREQ : ICR_RREQ); in vx_setup_pseudo_dma()
336 chip->regDIALOG |= do_write ? VXP_DLG_DMAWRITE_SEL_MASK : VXP_DLG_DMAREAD_SEL_MASK; in vx_setup_pseudo_dma()
/linux-3.4.99/drivers/net/irda/
Dsir_dev.c380 ret = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_raw_write()
447 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_write_complete()
655 actual = dev->drv->do_write(dev, dev->tx_buff.data, dev->tx_buff.len); in sirdev_hard_xmit()
889 if (!drv || !drv->do_write) in sirdev_get_instance()
Dsir-dev.h96 int (*do_write)(struct sir_dev *dev, const unsigned char *ptr, size_t len); member
Dirtty-sir.c365 .do_write = irtty_do_write,
/linux-3.4.99/drivers/mmc/card/
Dmmc_test.c163 bool do_write; member
2133 tdata->do_write, 0, 1, size / reqsize, in mmc_test_rw_multiple()
2192 .do_write = true, in mmc_test_profile_mult_write_blocking_perf()
2211 .do_write = true, in mmc_test_profile_mult_write_nonblock_perf()
2230 .do_write = false, in mmc_test_profile_mult_read_blocking_perf()
2249 .do_write = false, in mmc_test_profile_mult_read_nonblock_perf()
2268 .do_write = true, in mmc_test_profile_sglen_wr_blocking_perf()
2287 .do_write = true, in mmc_test_profile_sglen_wr_nonblock_perf()
2306 .do_write = false, in mmc_test_profile_sglen_r_blocking_perf()
2325 .do_write = false, in mmc_test_profile_sglen_r_nonblock_perf()
/linux-3.4.99/drivers/net/appletalk/
Dltpc.c646 static int do_write(struct net_device *dev, void *cbuf, int cbuflen, in do_write() function
712 return do_write(dev, &c, sizeof(c.setflags),&c,0); in set_30()
920 do_write(dev, &cbuf, sizeof(cbuf), hdr, skb->len); in ltpc_xmit()
/linux-3.4.99/drivers/ata/
Dlibata-sff.c700 int do_write = (qc->tf.flags & ATA_TFLAG_WRITE); in ata_pio_sector() local
727 do_write); in ata_pio_sector()
734 do_write); in ata_pio_sector()
737 if (!do_write && !PageSlab(page)) in ata_pio_sector()
917 int i_write, do_write = (qc->tf.flags & ATA_TFLAG_WRITE) ? 1 : 0; in atapi_pio_bytes() local
937 if (unlikely(do_write != i_write)) in atapi_pio_bytes()
/linux-3.4.99/sound/pci/vx222/
Dvx222_ops.c228 static void vx2_setup_pseudo_dma(struct vx_core *chip, int do_write) in vx2_setup_pseudo_dma() argument
233 vx_outl(chip, ICR, do_write ? ICR_TREQ : ICR_RREQ); in vx2_setup_pseudo_dma()
/linux-3.4.99/drivers/s390/char/
Dvmur.c414 static ssize_t do_write(struct urdev *urd, const char __user *udata, in do_write() function
456 return do_write(urf->urd, udata, count, urf->dev_reclen, ppos); in ur_write()
/linux-3.4.99/drivers/usb/gadget/
Df_mass_storage.c872 static int do_write(struct fsg_common *common) in do_write() function
2152 reply = do_write(common); in do_scsi_command()
2163 reply = do_write(common); in do_scsi_command()
2174 reply = do_write(common); in do_scsi_command()
Dfile_storage.c1276 static int do_write(struct fsg_dev *fsg) in do_write() function
2546 reply = do_write(fsg); in do_scsi_command()
2555 reply = do_write(fsg); in do_scsi_command()
2564 reply = do_write(fsg); in do_scsi_command()
/linux-3.4.99/drivers/md/
Ddm-raid1.c624 static void do_write(struct mirror_set *ms, struct bio *bio) in do_write() function
746 do_write(ms, bio); in do_writes()
/linux-3.4.99/drivers/tty/serial/
Dioc3_serial.c679 static inline int do_write(struct ioc3_port *port, char *buf, int len) in do_write() function
925 result = do_write(port, start, xmit_count); in transmit_chars()
Dioc4_serial.c1402 static inline int do_write(struct ioc4_port *port, char *buf, int len) in do_write() function
1654 result = do_write(port, start, xmit_count); in transmit_chars()