Searched refs:lockid (Results 1 – 2 of 2) sorted by relevance
37 char lockid[32]; in main() local100 snprintf(lockid, 32, "daemonize%d", (int) getpid()); in main()101 acquire_wake_lock(PARTIAL_WAKE_LOCK, lockid); in main()118 release_wake_lock(lockid); in main()
1145 char lockid[32] = { 0 }; in cryptfs_enable() local1198 snprintf(lockid, sizeof(lockid), "enablecrypto%d", (int) getpid()); in cryptfs_enable()1199 acquire_wake_lock(PARTIAL_WAKE_LOCK, lockid); in cryptfs_enable()1413 release_wake_lock(lockid); in cryptfs_enable()1423 release_wake_lock(lockid); in cryptfs_enable()1429 if (lockid[0]) { in cryptfs_enable()1430 release_wake_lock(lockid); in cryptfs_enable()1445 if (lockid[0]) { in cryptfs_enable()1446 release_wake_lock(lockid); in cryptfs_enable()