Searched refs:BDEV_W_BIT (Results 1 – 10 of 10) sorted by relevance
23 if (bdev_open(fs_dev, readonly ? BDEV_R_BIT : (BDEV_R_BIT|BDEV_W_BIT) ) != in fs_mount()
31 if (bdev_open(fs_dev, readonly ? BDEV_R_BIT : (BDEV_R_BIT|BDEV_W_BIT)) != in fs_mount()
93 if (bits & W_BIT) access |= BDEV_W_BIT; in bdev_open()
80 if (access & BDEV_W_BIT) { in vnd_open()
127 if ((access & BDEV_W_BIT) && in virtio_blk_open()
983 # define BDEV_W_BIT 0x02 /* open with write access */ macro
34 msg.m_lbdev_lblockdriver_msg.access = BDEV_R_BIT | BDEV_W_BIT; in driver_open()
229 m.m_lbdev_lblockdriver_msg.access = (may_write) ? (BDEV_R_BIT | BDEV_W_BIT) : BDEV_R_BIT; in reopen_device()1112 m.m_lbdev_lblockdriver_msg.access = may_write ? (BDEV_R_BIT | BDEV_W_BIT) : BDEV_R_BIT; in open_device()
496 if ((wn->state & ATAPI) && (access & BDEV_W_BIT)) in w_do_open()
2496 if ((ps->flags & FLAG_READONLY) && (access & BDEV_W_BIT)) in ahci_open()