Searched refs:IOP_READ (Results 1 – 3 of 3) sorted by relevance
254 char rw = IOP_READ(iop) ? 'r' : 'w'; in seeki_add()257 FILE *fp = IOP_READ(iop) ? sip->rfp : sip->wfp; in seeki_add()
75 FILE *fp = IOP_READ(iop) ? bdp->rfp : bdp->wfp; in bno_dump_add()
43 #define IOP_READ(iop) ((iop)->t.action & BLK_TC_ACT(BLK_TC_READ)) macro44 #define IOP_RW(iop) (IOP_READ(iop) ? 1 : 0)