Searched refs:lock_state (Results 1 – 3 of 3) sorted by relevance
116 if (LS_LOCKED == entry->lock_state) in LockResource()118 if ((LS_UNLOCKED == entry->lock_state) && (entry->accessors > 0)) in LockResource()124 entry->lock_state = LS_LOCKED; in LockResource()130 if (LS_LOCKED != entry->lock_state) in WriteResource()158 if (LS_LOCKED != entry->lock_state) in UnlockResource()162 entry->lock_state = LS_UNLOCKING; in UnlockResource()164 entry->lock_state = LS_UNLOCKED; in UnlockResource()174 if (LS_UNLOCKED != entry->lock_state) in ReadResource()208 if ((LS_UNLOCKED != entry->lock_state) || (entry->accessors > 0)) in DeleteResource()244 if ((LS_UNLOCKED != it->second.lock_state) || (it->second.accessors > 0)) in CheckLimit()[all …]
81 LockState lock_state; member
357 chromeos::SIMLockState lock_state = device->sim_lock_state(); in OnNetworkDeviceChanged() local359 VLOG(1) << "OnNetworkDeviceChanged, lock: " << lock_state in OnNetworkDeviceChanged()414 chromeos::SIMLockState lock_state = cellular->sim_lock_state(); in EnterCode() local420 if (lock_state != chromeos::SIM_UNLOCKED) { in EnterCode()429 if (lock_state != chromeos::SIM_UNLOCKED) { in EnterCode()555 chromeos::SIMLockState lock_state = cellular->sim_lock_state(); in ProcessSimCardState() local557 VLOG(1) << "Current state: " << state_ << " lock_state: " << lock_state in ProcessSimCardState()561 if (lock_state == chromeos::SIM_LOCKED_PIN) { in ProcessSimCardState()563 } else if (lock_state == chromeos::SIM_LOCKED_PUK) { in ProcessSimCardState()568 } else if (lock_state == chromeos::SIM_UNLOCKED) { in ProcessSimCardState()[all …]