Searched refs:CURRENT_DEV (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/block/ |
D | ps2esdi.c | 473 CURRENT_DEV, MINOR(CURRENT->rq_dev), in do_ps2esdi_request() 486 else if ((CURRENT_DEV < ps2esdi_drives) && in do_ps2esdi_request() 492 CURRENT_DEV, MINOR(CURRENT->rq_dev), in do_ps2esdi_request() 506 ps2esdi_readwrite(READ, CURRENT_DEV, block, count); in do_ps2esdi_request() 509 ps2esdi_readwrite(WRITE, CURRENT_DEV, block, count); in do_ps2esdi_request()
|
D | xd.c | 299 …if (CURRENT_DEV < xd_drives && CURRENT->sector + CURRENT->nr_sectors <= xd_struct[MINOR(CURRENT->r… in do_xd_request() 307 code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); in do_xd_request()
|
/linux-2.4.37.9/drivers/mtd/ |
D | mtdblock_ro.c | 136 printk("MTD device %d doesn't appear to exist any more\n", CURRENT_DEV); in mtdblock_request()
|
/linux-2.4.37.9/include/linux/ |
D | blk.h | 348 #define CURRENT_DEV DEVICE_NR(CURRENT->rq_dev) macro
|