READ 297 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); READ 307 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); READ 319 block/blk-core.c q->rq.count[READ] + q->rq.count[WRITE]); READ 462 block/blk-core.c rl->count[READ] = rl->count[WRITE] = 0; READ 463 block/blk-core.c rl->starved[READ] = rl->starved[WRITE] = 0; READ 465 block/blk-core.c init_waitqueue_head(&rl->wait[READ]); READ 865 block/blk-core.c BUG_ON(rw != READ && rw != WRITE); READ 51 block/blk-map.c reading = rq_data_dir(rq) == READ; READ 124 block/blk-map.c if (!map_data || rq_data_dir(rq) != READ) READ 195 block/blk-map.c int i, read = rq_data_dir(rq) == READ; READ 283 block/blk-map.c int reading = rq_data_dir(rq) == READ; READ 51 block/blk-sysfs.c if (rl->count[READ] >= queue_congestion_on_threshold(q)) READ 52 block/blk-sysfs.c blk_set_queue_congested(q, READ); READ 53 block/blk-sysfs.c else if (rl->count[READ] < queue_congestion_off_threshold(q)) READ 54 block/blk-sysfs.c blk_clear_queue_congested(q, READ); READ 61 block/blk-sysfs.c if (rl->count[READ] >= q->nr_requests) { READ 62 block/blk-sysfs.c blk_set_queue_full(q, READ); READ 63 block/blk-sysfs.c } else if (rl->count[READ]+1 <= q->nr_requests) { READ 64 block/blk-sysfs.c blk_clear_queue_full(q, READ); READ 65 block/blk-sysfs.c wake_up(&rl->wait[READ]); READ 237 block/bsg.c *rw = hdr->dout_xfer_len ? WRITE : READ; READ 277 block/bsg.c next_rq = blk_get_request(q, READ, GFP_KERNEL); READ 449 block/bsg.c } else if (rq_data_dir(rq) == READ) READ 241 block/cfq-iosched.c if (bio_data_dir(bio) == READ || bio_sync(bio)) READ 1177 block/cfq-iosched.c BUG_ON(cfqq->allocated[READ] + cfqq->allocated[WRITE]); READ 61 block/cmd-filter.c if (rw == READ) READ 82 block/cmd-filter.c return rcf_cmds_show(filter, page, READ); READ 98 block/cmd-filter.c if (rw == READ) { READ 135 block/cmd-filter.c return rcf_cmds_store(filter, page, count, READ); READ 211 block/deadline-iosched.c dd->next_rq[READ] = NULL; READ 248 block/deadline-iosched.c const int reads = !list_empty(&dd->fifo_list[READ]); READ 259 block/deadline-iosched.c rq = dd->next_rq[READ]; READ 271 block/deadline-iosched.c BUG_ON(RB_EMPTY_ROOT(&dd->sort_list[READ])); READ 276 block/deadline-iosched.c data_dir = READ; READ 334 block/deadline-iosched.c && list_empty(&dd->fifo_list[READ]); READ 341 block/deadline-iosched.c BUG_ON(!list_empty(&dd->fifo_list[READ])); READ 358 block/deadline-iosched.c INIT_LIST_HEAD(&dd->fifo_list[READ]); READ 360 block/deadline-iosched.c dd->sort_list[READ] = RB_ROOT; READ 362 block/deadline-iosched.c dd->fifo_expire[READ] = read_expire; READ 398 block/deadline-iosched.c SHOW_FUNCTION(deadline_read_expire_show, dd->fifo_expire[READ], 1); READ 421 block/deadline-iosched.c STORE_FUNCTION(deadline_read_expire_store, &dd->fifo_expire[READ], 0, INT_MAX, 1); READ 673 block/elevator.c int nrq = q->rq.count[READ] + q->rq.count[WRITE] READ 292 block/scsi_ioctl.c rq = blk_get_request(q, writing ? WRITE : READ, GFP_KERNEL); READ 414 block/scsi_ioctl.c rq = blk_get_request(q, in_len ? WRITE : READ, __GFP_WAIT); READ 1489 fs/aio.c ret = aio_setup_vectored_rw(READ, kiocb); READ 161 fs/bio-integrity.c if (rw == READ && bi->verify_fn != NULL && READ 288 fs/bio-integrity.c BUG_ON(bio_data_dir(bio) != READ); READ 423 fs/bio-integrity.c if (bio_data_dir(bio) == READ) { READ 549 fs/bio.c int read = bio_data_dir(bio) == READ; READ 918 fs/bio.c if (bio_data_dir(bio) == READ) READ 1017 fs/bio.c const int read = bio_data_dir(bio) == READ; READ 1247 fs/buffer.c submit_bh(READ, bh); READ 1912 fs/buffer.c ll_rw_block(READ, 1, &bh); READ 2233 fs/buffer.c submit_bh(READ, bh); READ 2568 fs/buffer.c submit_bh(READ, bh); READ 2838 fs/buffer.c ll_rw_block(READ, 1, &bh); READ 3314 fs/buffer.c submit_bh(READ, bh); READ 1110 fs/compat.c if (type == READ) { READ 1127 fs/compat.c if ((ret + (type == READ)) > 0) { READ 1129 fs/compat.c if (type == READ) READ 1154 fs/compat.c ret = compat_do_readv_writev(READ, file, vec, vlen, &file->f_pos); READ 156 fs/direct-io.c dio->rw == READ, /* Write to memory? */ READ 236 fs/direct-io.c if ((dio->rw == READ) && ((offset + transferred) > dio->i_size)) READ 342 fs/direct-io.c if (dio->is_async && dio->rw == READ) READ 408 fs/direct-io.c if (dio->is_async && dio->rw == READ) { READ 414 fs/direct-io.c if (dio->rw == READ && !PageCompound(page)) READ 1047 fs/direct-io.c if ((rw == READ) && (dio->lock_type == DIO_LOCKING)) READ 1059 fs/direct-io.c ((rw & READ) || (dio->result == dio->size))) READ 1173 fs/direct-io.c if (rw == READ && end > offset) { READ 1212 fs/direct-io.c if (rw == READ && dio_lock_type == DIO_LOCKING) READ 1896 fs/ext3/inode.c ll_rw_block(READ, 1, &bh); READ 2101 fs/ext3/super.c ll_rw_block(READ, 1, &journal->j_sb_buffer); READ 3232 fs/ext4/inode.c ll_rw_block(READ, 1, &bh); READ 802 fs/ext4/mballoc.c submit_bh(READ, bh[i]); READ 2668 fs/ext4/super.c ll_rw_block(READ, 1, &journal->j_sb_buffer); READ 285 fs/fuse/dev.c clear_bdi_congested(&fc->bdi, READ); READ 410 fs/fuse/dev.c set_bdi_congested(&fc->bdi, READ); READ 1000 fs/gfs2/bmap.c ll_rw_block(READ, 1, &bh); READ 117 fs/isofs/compress.c ll_rw_block(READ, indexblocks, ptrbh); READ 187 fs/isofs/compress.c ll_rw_block(READ, haveblocks, bhs); READ 995 fs/jbd/journal.c ll_rw_block(READ, 1, &bh); READ 106 fs/jbd/recovery.c ll_rw_block(READ, nbufs, bufs); READ 115 fs/jbd/recovery.c ll_rw_block(READ, nbufs, bufs); READ 1325 fs/jbd2/journal.c ll_rw_block(READ, 1, &bh); READ 107 fs/jbd2/recovery.c ll_rw_block(READ, nbufs, bufs); READ 116 fs/jbd2/recovery.c ll_rw_block(READ, nbufs, bufs); READ 507 fs/jfs/jfs_metapage.c submit_bio(READ, bio); READ 523 fs/jfs/jfs_metapage.c submit_bio(READ, bio); READ 294 fs/mpage.c bio = mpage_bio_submit(READ, bio); READ 307 fs/mpage.c bio = mpage_bio_submit(READ, bio); READ 312 fs/mpage.c bio = mpage_bio_submit(READ, bio); READ 320 fs/mpage.c bio = mpage_bio_submit(READ, bio); READ 399 fs/mpage.c mpage_bio_submit(READ, bio); READ 418 fs/mpage.c mpage_bio_submit(READ, bio); READ 743 fs/nfs/nfs2xdr.c PROC(READ, readargs, readres, 3), READ 1168 fs/nfs/nfs3xdr.c PROC(READ, readargs, readres, 3), READ 4721 fs/nfs/nfs4xdr.c PROC(READ, enc_read, dec_read), READ 365 fs/ntfs/aops.c submit_bh(READ, tbh); READ 676 fs/ntfs/compress.c submit_bh(READ, tbh); READ 463 fs/ntfs/file.c return submit_bh(READ, bh); READ 845 fs/ocfs2/aops.c ll_rw_block(READ, 1, &bh); READ 144 fs/ocfs2/buffer_head_io.c submit_bh(READ, bh); READ 309 fs/ocfs2/buffer_head_io.c submit_bh(READ, bh); READ 307 fs/ocfs2/cluster/heartbeat.c submit_bio(READ, bio); READ 1228 fs/ocfs2/super.c ll_rw_block(READ, 1, bh); READ 227 fs/partitions/check.c part_stat_read(p, ios[READ]), READ 228 fs/partitions/check.c part_stat_read(p, merges[READ]), READ 229 fs/partitions/check.c (unsigned long long)part_stat_read(p, sectors[READ]), READ 230 fs/partitions/check.c jiffies_to_msecs(part_stat_read(p, ticks[READ])), READ 203 fs/qnx4/inode.c ll_rw_block(READ, 1, &bh); READ 195 fs/read_write.c read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE, READ 201 fs/read_write.c read_write == READ ? MAY_READ : MAY_WRITE); READ 253 fs/read_write.c ret = rw_verify_area(READ, file, pos, count); READ 491 fs/read_write.c #define vrfy_dir(type) ((type) == READ ? VERIFY_WRITE : VERIFY_READ) READ 588 fs/read_write.c if (type == READ) { READ 605 fs/read_write.c if ((ret + (type == READ)) > 0) { READ 606 fs/read_write.c if (type == READ) READ 622 fs/read_write.c return do_readv_writev(READ, file, vec, vlen, pos); READ 712 fs/read_write.c retval = rw_verify_area(READ, in_file, ppos, count); READ 2241 fs/reiserfs/journal.c ll_rw_block(READ, get_desc_trans_len(desc), log_blocks); READ 2335 fs/reiserfs/journal.c ll_rw_block(READ, j, bhlist); READ 669 fs/reiserfs/stree.c ll_rw_block(READ, 1, &p_s_bh); READ 1408 fs/reiserfs/super.c ll_rw_block(READ, 1, &(SB_BUFFER_WITH_SB(s))); READ 926 fs/splice.c ret = rw_verify_area(READ, in, ppos, len); READ 1002 fs/udf/inode.c ll_rw_block(READ, 1, &bh); READ 308 fs/ufs/balloc.c ll_rw_block(READ, 1, &bh); READ 353 fs/ufs/inode.c ll_rw_block (READ, 1, &bh); READ 549 fs/ufs/inode.c ll_rw_block (READ, 1, &bh); READ 1168 fs/xfs/linux-2.6/xfs_buf.c (bp->b_flags & XBF_READ_AHEAD) ? READA : READ; READ 590 include/linux/blkdev.h #define rq_is_sync(rq) (rq_data_dir((rq)) == READ || (rq)->cmd_flags & REQ_RW_SYNC) READ 595 include/linux/blkdev.h if (rw == READ) READ 602 include/linux/blkdev.h if (rw == READ) READ 610 include/linux/blkdev.h if (rw == READ) READ 85 include/linux/fs.h #define READ_SYNC (READ | (1 << BIO_RW_SYNC)) READ 86 include/linux/fs.h #define READ_META (READ | (1 << BIO_RW_META)) READ 85 kernel/power/swap.c if (rw == READ) READ 89 kernel/power/swap.c if (rw == READ) READ 100 kernel/power/swap.c return submit(READ, page_off, virt_to_page(addr), bio_chain); READ 251 mm/bounce.c if (rw == READ) READ 255 mm/bounce.c if (rw == READ) READ 1309 mm/filemap.c retval = mapping->a_ops->direct_IO(READ, iocb, READ 138 mm/page_io.c submit_bio(READ, bio); READ 59 sound/isa/es1688/es1688_lib.c return inb(ES1688P(chip, READ)); READ 111 sound/isa/es1688/es1688_lib.c if (inb(ES1688P(chip, READ)) != 0xaa) { READ 143 sound/isa/es1688/es1688_lib.c snd_printdd("ESS: [0x%lx] reset failed... 0x%x\n", chip->port, inb(ES1688P(chip, READ))); READ 152 sound/isa/es1688/es1688_lib.c major = inb(ES1688P(chip, READ)); READ 154 sound/isa/es1688/es1688_lib.c minor = inb(ES1688P(chip, READ)); READ 53 sound/isa/sb/sb8_midi.c byte = inb(SBP(chip, READ)); READ 64 sound/isa/sb/sb_common.c val = inb(SBP(chip, READ)); READ 85 sound/isa/sb/sb_common.c if (inb(SBP(chip, READ)) == 0xaa) READ 89 sound/isa/sgalaxy.c if (inb(SBP1(port, READ)) != 0xaa) {