Searched refs:lock_type (Results 1 – 8 of 8) sorted by relevance
75 typedef uint32_t lock_type; typedef80 lock_type83 return static_cast<lock_type>(x >> 32); in get_lock()88 set_lock(uint64_t& x, lock_type y) in set_lock()96 lock_type99 return static_cast<lock_type>(x); in get_lock()104 set_lock(uint64_t& x, lock_type y) in set_lock()113 typedef bool lock_type; typedef118 inline lock_type get_lock(uint64_t x) in get_lock()128 inline void set_lock(uint64_t& x, lock_type y) in set_lock()[all …]
109 lock_type = lock_status.get(112 if lock_type is None:115 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PIN121 lock_type = lock_status.get(124 if lock_type is None:127 return lock_type == self.test_env.shill.VALUE_SIM_LOCK_TYPE_PUK
68 lock_type="spin_lock spin_lock_irq rw_lock rw_lock_irq mutex_lock rwsem_lock"73 for type in $lock_type; do
174 def lock_type(self): member in SIM310 def _ResetRetries(self, lock_type): argument311 if lock_type == mm1_constants.MM_MODEM_LOCK_SIM_PIN:313 elif lock_type == mm1_constants.MM_MODEM_LOCK_SIM_PUK:317 self._lock_data[lock_type]['retries'] = value
355 self.sim.lock_type)
75 lock_type = fcntl.LOCK_SH77 lock_type = fcntl.LOCK_EX80 fcntl.lockf(f, lock_type)
40 lock_type = type(threading.Lock())41 self.assertIsInstance(store._lock, lock_type)
357 int lock_file(int fd, short lock_type, char *file) in lock_file() argument377 flock_ptr->l_type = lock_type; in lock_file()