Home
last modified time | relevance | path

Searched refs:lk (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/upstream-dlmalloc/
Dmalloc.c1922 static FORCEINLINE void recursive_release_lock(MLOCK_T *lk) { in recursive_release_lock() argument
1923 assert(lk->sl != 0); in recursive_release_lock()
1924 if (--lk->c == 0) { in recursive_release_lock()
1925 CLEAR_LOCK(&lk->sl); in recursive_release_lock()
1929 static FORCEINLINE int recursive_acquire_lock(MLOCK_T *lk) { in recursive_acquire_lock() argument
1933 if (*((volatile int *)(&lk->sl)) == 0) { in recursive_acquire_lock()
1934 if (!CAS_LOCK(&lk->sl)) { in recursive_acquire_lock()
1935 lk->threadid = mythreadid; in recursive_acquire_lock()
1936 lk->c = 1; in recursive_acquire_lock()
1940 else if (EQ_OWNER(lk->threadid, mythreadid)) { in recursive_acquire_lock()
[all …]
/bionic/libc/kernel/uapi/linux/
Dfuse.h372 struct fuse_file_lock lk; member
379 struct fuse_file_lock lk; member