Searched refs:locked_shared_perm (Results 1 – 1 of 1) sorted by relevance
151 uint64_t locked_shared_perm; member861 uint64_t locked_perm, locked_shared_perm; in raw_apply_lock_bytes() local865 locked_shared_perm = s->locked_shared_perm; in raw_apply_lock_bytes()873 locked_shared_perm = BLK_PERM_ALL; in raw_apply_lock_bytes()876 locked_shared_perm = 0; in raw_apply_lock_bytes()905 if ((shared_perm_lock_bits & bit) && !(locked_shared_perm & bit)) { in raw_apply_lock_bytes()912 s->locked_shared_perm |= bit; in raw_apply_lock_bytes()914 } else if (unlock && (locked_shared_perm & bit) && in raw_apply_lock_bytes()921 s->locked_shared_perm &= ~bit; in raw_apply_lock_bytes()