taglinefilesource code
ro_bits148drivers/block/ll_rw_blk.cstatic long ro_bits[MAX_BLKDEV][8];
ro_bits157drivers/block/ll_rw_blk.creturn ro_bits[major][minor >> 5] & (1 << (minor & 31));
ro_bits167drivers/block/ll_rw_blk.cif (flag) ro_bits[major][minor >> 5] |= 1 << (minor & 31);
ro_bits168drivers/block/ll_rw_blk.celse ro_bits[major][minor >> 5] &= ~(1 << (minor & 31));
ro_bits534drivers/block/ll_rw_blk.cmemset(ro_bits,0,sizeof(ro_bits));