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 | 361 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) /* Writing */ |
rw | 427 | drivers/scsi/st.c | STp->rw = ST_IDLE; |
rw | 621 | drivers/scsi/st.c | if ( STp->rw == ST_WRITING) { |
rw | 717 | drivers/scsi/st.c | if (STp->rw == ST_READING) { |
rw | 721 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 768 | drivers/scsi/st.c | STp->rw = ST_WRITING; |
rw | 952 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) { |
rw | 956 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 970 | drivers/scsi/st.c | STp->rw = ST_READING; |
rw | 1695 | drivers/scsi/st.c | STp->rw = ST_IDLE; /* Prevent automatic WEOF */ |
rw | 1716 | drivers/scsi/st.c | if (STp->rw == ST_WRITING) |
rw | 1719 | drivers/scsi/st.c | else if (STp->rw == ST_READING) |
rw | 1930 | 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 | 204 | 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 | 106 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
rw | 132 | mm/swap.c | if (rw == READ) |
rw | 137 | mm/swap.c | ll_rw_page(rw,p->swap_device,offset,buf); |
rw | 176 | 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) |