Searched refs:locked_shared_perm (Results 1 – 1 of 1) sorted by relevance
151 uint64_t locked_shared_perm; member853 uint64_t locked_perm, locked_shared_perm; in raw_apply_lock_bytes() local857 locked_shared_perm = s->locked_shared_perm; in raw_apply_lock_bytes()865 locked_shared_perm = BLK_PERM_ALL; in raw_apply_lock_bytes()868 locked_shared_perm = 0; in raw_apply_lock_bytes()897 if ((shared_perm_lock_bits & bit) && !(locked_shared_perm & bit)) { in raw_apply_lock_bytes()904 s->locked_shared_perm |= bit; in raw_apply_lock_bytes()906 } else if (unlock && (locked_shared_perm & bit) && in raw_apply_lock_bytes()913 s->locked_shared_perm &= ~bit; in raw_apply_lock_bytes()