Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 10 of 10) sorted by relevance

/trusty/kernel/lib/trusty/
Dhandle.c200 mutex_acquire(&hlist->lock); in handle_list_add()
212 mutex_release(&hlist->lock); in handle_list_add()
240 mutex_acquire(&hlist->lock); in handle_list_del()
242 mutex_release(&hlist->lock); in handle_list_del()
248 mutex_acquire(&hlist->lock); in handle_list_delete_all()
256 mutex_release(&hlist->lock); in handle_list_delete_all()
335 mutex_acquire(&hlist->lock); in handle_list_wait()
347 mutex_release(&hlist->lock); in handle_list_wait()
349 mutex_acquire(&hlist->lock); in handle_list_wait()
375 mutex_release(&hlist->lock); in handle_list_wait()
Dvqueue.c294 mutex_acquire(&mapped_list->lock); in vqueue_map_iovs()
296 mutex_release(&mapped_list->lock); in vqueue_map_iovs()
310 mutex_acquire(&mapped_list->lock); in vqueue_map_iovs()
312 mutex_release(&mapped_list->lock); in vqueue_map_iovs()
339 mutex_acquire(&mapped_list->lock); in vqueue_map_iovs()
342 mutex_release(&mapped_list->lock); in vqueue_map_iovs()
379 mutex_acquire(&mapped_list->lock); in vqueue_unmap_iovs()
395 mutex_release(&mapped_list->lock); in vqueue_unmap_iovs()
Dvqueue.h80 mutex_t lock; member
Dtipc_virtio_dev.c1434 mutex_init(&dev->send_mapped.lock); in create_tipc_device()
1437 mutex_init(&dev->receive_mapped.lock); in create_tipc_device()
/trusty/vendor/google/aosp/scripts/
Dlog_processor.py189 def __init__(self, stream, err, pinned, lock, colored, log_file): argument
195 self.lock = lock
276 self.lock.acquire()
361 self.lock.release()
365 self.lock.acquire()
368 self.lock.release()
399 lock = threading.Lock()
409 pinned=pinned, lock=lock, colored=colored, log_file=self.log_file)
411 pinned=pinned, lock=lock, colored=colored, log_file=self.log_file)
/trusty/kernel/lib/sm/
Dsm.c44 spin_lock_t lock; member
163 spin_lock_save(&stdcallstate.lock, &state, SPIN_LOCK_FLAG_IRQ); in sm_stdcall_loop()
167 spin_unlock_restore(&stdcallstate.lock, state, SPIN_LOCK_FLAG_IRQ); in sm_stdcall_loop()
176 spin_lock(&stdcallstate.lock); in sm_queue_stdcall()
211 spin_unlock(&stdcallstate.lock); in sm_queue_stdcall()
266 spin_lock(&stdcallstate.lock); /* TODO: remove? */ in sm_irq_return_ns()
277 spin_unlock(&stdcallstate.lock); in sm_irq_return_ns()
307 spin_lock(&stdcallstate.lock); in sm_get_stdcall_ret()
335 spin_unlock(&stdcallstate.lock); in sm_get_stdcall_ret()
/trusty/user/app/avb/
DREADME.md6 This includes the verified boot lock state, stored rollback index values, and ATX
22 If the lock state is 1, or LOCKED, then verification errors are fatal, and
23 booting MUST fail. If the lock state is 0, or UNLOCKED, the device may boot
24 even when verification fails. When the device changes lock state, all stored
/trusty/kernel/lib/trusty/include/lib/trusty/
Dhandle.h140 mutex_t lock; member
147 .lock = MUTEX_INITIAL_VALUE((hs).lock), \
/trusty/user/app/storage/
Daidl_service.cpp226 std::shared_ptr<StorageClientSession> session = session_.lock(); in readNextFilenames()
313 std::shared_ptr<StorageClientSession> session = session_.lock(); in ~File()
343 std::shared_ptr<StorageClientSession> session = session_.lock(); in read()
380 std::shared_ptr<StorageClientSession> session = session_.lock(); in write()
405 std::shared_ptr<StorageClientSession> session = session_.lock(); in getSize()
439 std::shared_ptr<StorageClientSession> session = session_.lock(); in setSize()
463 std::shared_ptr<StorageClientSession> session = session_.lock(); in rename()
675 auto session = it->lock(); in DeactivateFilesystem()
/trusty/user/base/lib/libstdc++-trusty/test/
Dlibcxx_test.cpp200 auto t = w.lock(); in TEST_F()