tag | line | file | source code |
rw | 222 | drivers/block/ll_rw_blk.c | static void make_request(int major,int rw, struct buffer_head * bh) |
rw | 230 | drivers/block/ll_rw_blk.c | rw_ahead = (rw == READA || rw == WRITEA); |
rw | 234 | drivers/block/ll_rw_blk.c | if (rw == READA) |
rw | 235 | drivers/block/ll_rw_blk.c | rw = READ; |
rw | 237 | drivers/block/ll_rw_blk.c | rw = WRITE; |
rw | 239 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) { |
rw | 256 | drivers/block/ll_rw_blk.c | if ((rw == WRITE && !bh->b_dirt) || (rw == READ && bh->b_uptodate)) { |
rw | 265 | drivers/block/ll_rw_blk.c | max_req = (rw == READ) ? NR_REQUEST : ((NR_REQUEST*2)/3); |
rw | 292 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
rw | 306 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
rw | 344 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
rw | 357 | drivers/block/ll_rw_blk.c | void ll_rw_page(int rw, int dev, int page, char * buffer) |
rw | 367 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) |
rw | 369 | drivers/block/ll_rw_blk.c | if (rw == WRITE && is_read_only(dev)) { |
rw | 377 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
rw | 394 | drivers/block/ll_rw_blk.c | void ll_rw_block(int rw, int nr, struct buffer_head * bh[]) |
rw | 438 | drivers/block/ll_rw_blk.c | if ((rw == WRITE || rw == WRITEA) && is_read_only(bh[0]->b_dev)) { |
rw | 460 | drivers/block/ll_rw_blk.c | make_request(major, rw, bh[i]); |
rw | 461 | drivers/block/ll_rw_blk.c | if (rw == READ || rw == READA) |
rw | 483 | drivers/block/ll_rw_blk.c | void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buf) |
rw | 496 | drivers/block/ll_rw_blk.c | if (rw!=READ && rw!=WRITE) { |
rw | 500 | drivers/block/ll_rw_blk.c | if (rw == WRITE && is_read_only(dev)) { |
rw | 512 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
rw | 385 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) /* Writing */ |
rw | 452 | drivers/scsi/st.c | STp->rw = ST_IDLE; |
rw | 669 | drivers/scsi/st.c | if ( STp->rw == ST_WRITING) { |
rw | 772 | drivers/scsi/st.c | if (STp->rw == ST_READING) { |
rw | 776 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 823 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 1013 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) { |
rw | 1017 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 1031 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 1769 | drivers/scsi/st.c | STp->rw = ST_IDLE; /* Prevent automatic WEOF */ |
rw | 1790 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) |
rw | 1793 | drivers/scsi/st.c | else if (STp->rw == ST_READING) |
rw | 2010 | drivers/scsi/st.c | STp->rw = ST_IDLE; |
rw | 29 | drivers/scsi/st.h | unsigned char rw; |
rw | 486 | include/linux/fs.h | extern void ll_rw_block(int rw, int nr, struct buffer_head * bh[]); |
rw | 487 | include/linux/fs.h | extern void ll_rw_page(int rw, int dev, int nr, char * buffer); |
rw | 488 | include/linux/fs.h | extern void ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buffer); |
rw | 205 | include/linux/mm.h | extern void rw_swap_page(int rw, unsigned long nr, char * buf); |
rw | 105 | include/linux/skbuff.h | extern void kfree_skb(struct sk_buff *skb, int rw); |
rw | 107 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
rw | 133 | mm/swap.c | if (rw == READ) |
rw | 138 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
rw | 177 | mm/swap.c | ll_rw_swap_file(rw,swapf->i_dev, zones, i,buf); |
rw | 333 | net/inet/skbuff.c | void kfree_skb(struct sk_buff *skb, int rw) |
rw | 360 | net/inet/skbuff.c | if (rw) |
rw | 372 | net/inet/skbuff.c | if (rw) |