tag | line | file | source code |
rw | 281 | drivers/block/ll_rw_blk.c | static void make_request(int major,int rw, struct buffer_head * bh) |
rw | 289 | drivers/block/ll_rw_blk.c | rw_ahead = (rw == READA || rw == WRITEA); |
rw | 293 | drivers/block/ll_rw_blk.c | if (rw == READA) |
rw | 294 | drivers/block/ll_rw_blk.c | rw = READ; |
rw | 296 | drivers/block/ll_rw_blk.c | rw = WRITE; |
rw | 298 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) { |
rw | 315 | drivers/block/ll_rw_blk.c | if ((rw == WRITE && !bh->b_dirt) || (rw == READ && bh->b_uptodate)) { |
rw | 324 | drivers/block/ll_rw_blk.c | max_req = (rw == READ) ? NR_REQUEST : ((NR_REQUEST*2)/3); |
rw | 349 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
rw | 363 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
rw | 396 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
rw | 409 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, unsigned long page, char * buffer) |
rw | 420 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) |
rw | 422 | drivers/block/ll_rw_blk.c | if (rw == WRITE && is_read_only(dev)) { |
rw | 428 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
rw | 445 | drivers/block/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
rw | 488 | drivers/block/ll_rw_blk.c | if ((rw == WRITE || rw == WRITEA) && is_read_only(bh[0]->b_dev)) { |
rw | 503 | drivers/block/ll_rw_blk.c | make_request(major, rw, bh[i]); |
rw | 504 | drivers/block/ll_rw_blk.c | if (rw == READ || rw == READA) |
rw | 521 | drivers/block/ll_rw_blk.c | void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buf) |
rw | 534 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) { |
rw | 538 | drivers/block/ll_rw_blk.c | if (rw == WRITE && is_read_only(dev)) { |
rw | 558 | drivers/block/ll_rw_blk.c | req[j]->cmd = rw; |
rw | 390 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) /* Writing */ |
rw | 457 | drivers/scsi/st.c | STp->rw = ST_IDLE; |
rw | 681 | drivers/scsi/st.c | if ( STp->rw == ST_WRITING) { |
rw | 785 | drivers/scsi/st.c | if (STp->rw == ST_READING) { |
rw | 789 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 836 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 1026 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) { |
rw | 1030 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 1044 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 1781 | drivers/scsi/st.c | STp->rw = ST_IDLE; /* Prevent automatic WEOF */ |
rw | 1802 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) |
rw | 1805 | drivers/scsi/st.c | else if (STp->rw == ST_READING) |
rw | 2022 | drivers/scsi/st.c | STp->rw = ST_IDLE; |
rw | 29 | drivers/scsi/st.h | unsigned char rw; |
rw | 496 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
rw | 497 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, unsigned long nr, char * buffer); |
rw | 498 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
rw | 206 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
rw | 117 | include/linux/skbuff.h | extern void kfree_skb(struct sk_buff *skb, int rw); |
rw | 109 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
rw | 135 | mm/swap.c | if (rw == READ) |
rw | 140 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
rw | 179 | mm/swap.c | ll_rw_swap_file(rw,swapf->i_dev, zones, i,buf); |
rw | 435 | net/core/skbuff.c | void kfree_skb(struct sk_buff *skb, int rw) |
rw | 462 | net/core/skbuff.c | if (rw) |
rw | 474 | net/core/skbuff.c | if (rw) |