Home
last modified time | relevance | path

Searched refs:WRITE (Results 1 – 25 of 115) sorted by relevance

12345

/linux-2.4.37.9/drivers/block/
Dll_rw_blk.c460 q->rq.pending[READ] = q->rq.pending[WRITE] = 0; in blk_init_free_list()
564 if ((rw == WRITE) || (rw == READ && rl->pending[READ] > rlim)) in get_request()
704 } else if (rw == WRITE) { in drive_stat_acct()
786 case WRITE: in account_io_start()
804 case WRITE: in account_io_end()
901 if (req->cmd == READ || req->cmd == WRITE) in blkdev_release_request()
905 if (rl->pending[WRITE] > q->nr_requests) in blkdev_release_request()
906 printk("blk: writes: %u\n", rl->pending[WRITE]); in blkdev_release_request()
907 if (rl->pending[READ] + rl->pending[WRITE] > q->nr_requests) in blkdev_release_request()
908 printk("blk: r/w: %u + %u > %u\n", rl->pending[READ], rl->pending[WRITE], q->nr_requests); in blkdev_release_request()
[all …]
Dswim3.c341 if (CURRENT->cmd == WRITE) { in start_request()
431 if (CURRENT->cmd == WRITE) in setup_transfer()
444 if (CURRENT->cmd == WRITE) { in setup_transfer()
459 if (CURRENT->cmd == WRITE) in setup_transfer()
608 if (CURRENT->cmd == WRITE) in xfer_timeout()
617 (CURRENT->cmd==WRITE? "writ": "read"), CURRENT->sector); in xfer_timeout()
697 if (CURRENT->cmd == WRITE) in swim3_interrupt()
732 CURRENT->cmd == WRITE? "writ": "read", in swim3_interrupt()
Dloop.c206 transfer_result = lo_do_transfer(lo, WRITE, kaddr + offset, data, size, IV); in lo_send()
325 if (rw == WRITE) in do_bh_filebacked()
480 if (rw == WRITE) { in loop_make_request()
500 if (rw == WRITE) in loop_make_request()
511 if (rw == WRITE) { in loop_make_request()
513 if (lo_do_transfer(lo, WRITE, bh->b_data, rbh->b_data, in loop_make_request()
Dnbd.c210 result = nbd_xmit(1, sock, (char *) &request, sizeof(request), req->cmd == WRITE ? MSG_MORE : 0); in nbd_send_req()
214 if (req->cmd == WRITE) { in nbd_send_req()
379 if ((req->cmd == WRITE) && (lo->flags & NBD_READ_ONLY)) in do_nbd_request()
Drd.c172 if (rw == WRITE) { in rd_blkdev_pagecache_IO()
259 if ((rw != READ) && (rw != WRITE)) { in rd_make_request()
/linux-2.4.37.9/drivers/s390/net/
Dctcmain.c141 #define WRITE 1 macro
1315 if ((CHANNEL_DIRECTION(ch->flags) == WRITE) || in ch_action_firstio()
1769 ch2 = ((ctc_priv *)dev->priv)->channel[WRITE]; in ch_action_rxdisc()
2262 ch->flags |= (direction == WRITE) in channel_get()
2288 ch->flags |= (direction == WRITE) in channel_get_next()
2434 for (direction = READ; direction <= WRITE; direction++) { in dev_action_start()
2454 for (direction = READ; direction <= WRITE; direction++) { in dev_action_stop()
2849 if (transmit_skb(privptr->channel[WRITE], skb) != 0) in ctc_tx()
2985 privptr->channel[WRITE]->max_bufsize = bs1; in ctc_ctrl_write()
2989 privptr->channel[WRITE]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED; in ctc_ctrl_write()
[all …]
/linux-2.4.37.9/drivers/char/
Dtpqic02.c1169 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1177 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1189 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1203 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1227 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1237 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1251 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1262 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1275 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
1285 if ((mode_access == WRITE) && status_bytes_wr) in do_ioctl_cmd()
[all …]
/linux-2.4.37.9/include/linux/
Dblkdev.h163 #define blk_fs_request(rq) ((rq)->cmd == READ || (rq)->cmd == WRITE)
170 else if (rq->cmd == WRITE) in rq_data_dir()
171 return WRITE; in rq_data_dir()
Dhfs_sysdep.h161 ll_rw_block(WRITE, 1, &buffer); in hfs_buffer_sync()
/linux-2.4.37.9/fs/jfs/
Dresize.c248 ll_rw_block(WRITE, 1, &bh); in jfs_extendfs()
515 ll_rw_block(WRITE, 1, &bh2); in jfs_extendfs()
522 ll_rw_block(WRITE, 1, &bh); in jfs_extendfs()
/linux-2.4.37.9/drivers/net/
Datari_pamsnet.c112 #undef WRITE
265 #define WRITE 0x100 macro
310 WRITEMODE((unsigned)(rw_flag ^ WRITE) | DMA_FDC | SEC_COUNT | REG_ACSI |
545 setup_dma(buffer, WRITE, 3);
/linux-2.4.37.9/fs/ufs/
Dballoc.c116 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **)&ucpi); in ufs_free_fragments()
201 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **)&ucpi); in ufs_free_blocks()
231 ll_rw_block (WRITE, 1, &bh); \
367 ll_rw_block (WRITE, 1, &bh); in ufs_new_fragments()
461 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **)&ucpi); in ufs_add_fragments()
586 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **)&ucpi); in ufs_alloc_fragments()
Dialloc.c126 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **) &ucpi); in ufs_free_inode()
246 ubh_ll_rw_block (WRITE, 1, (struct ufs_buffer_head **) &ucpi); in ufs_new_inode()
Dtruncate.c284 ubh_ll_rw_block (WRITE, 1, &ind_ubh); in ufs_trunc_indirect()
351 ubh_ll_rw_block (WRITE, 1, &dind_bh); in ufs_trunc_dindirect()
414 ubh_ll_rw_block (WRITE, 1, &tind_bh); in ufs_trunc_tindirect()
Ddir.c353 ll_rw_block (WRITE, 1, &bh); in ufs_set_link()
454 ll_rw_block (WRITE, 1, &bh); in ufs_add_link()
505 ll_rw_block(WRITE, 1, &bh); in ufs_delete_entry()
/linux-2.4.37.9/fs/
Dread_write.c218 ret = rw_verify_area(WRITE, file, &file->f_pos, count); in sys_write()
298 ret = rw_verify_area((type == VERIFY_WRITE ? READ : WRITE), in do_readv_writev()
435 ret = rw_verify_area(WRITE, file, &pos, count); in sys_pwrite()
/linux-2.4.37.9/drivers/s390/block/
Ddasd_fba.c85 if (rw == WRITE) in define_extent()
105 if (rw == WRITE) in locate_record()
298 } else if (req->cmd == WRITE) { in dasd_fba_build_cp_from_req()
/linux-2.4.37.9/fs/umsdos/
DREADME-WIP.txt29 WRITE:
60 WRITE:
/linux-2.4.37.9/fs/jbd/
Dcommit.c277 ll_rw_block(WRITE, bufs, wbuf); in journal_commit_transaction()
509 submit_bh(WRITE, bh); in journal_commit_transaction()
651 submit_bh(WRITE, bh); in journal_commit_transaction()
/linux-2.4.37.9/mm/
Dswap_state.c30 rw_swap_page(WRITE, page); in swap_writepage()
/linux-2.4.37.9/fs/qnx4/
Dfsync.c56 ll_rw_block(WRITE, 1, &bh); in sync_block()
/linux-2.4.37.9/drivers/md/
Dlvm-snap.c420 if (__brw_kiovec(WRITE, 1, &iobuf, snap_phys_dev, blocks, in lvm_snapshot_COW()
686 if (__brw_kiovec(WRITE, 1, &COW_table_iobuf, snap_phys_dev, in _write_COW_table_block()
714 if (__brw_kiovec(WRITE, 1, &COW_table_iobuf, snap_phys_dev, in _write_COW_table_block()
/linux-2.4.37.9/arch/parisc/mm/
Dfault.c28 #define WRITE 1 macro
/linux-2.4.37.9/fs/ext2/
Dialloc.c213 ll_rw_block (WRITE, 1, &bh); in ext2_free_inode()
356 ll_rw_block (WRITE, 1, &bh); in ext2_new_inode()
/linux-2.4.37.9/fs/reiserfs/
Dresize.c121 ll_rw_block(WRITE, 1, &bitmap[i].bh); in reiserfs_resize()

12345