Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 20 of 20) sorted by relevance

/bionic/libc/arch-arm/bionic/
Datomics_arm.c70 int prev; in __atomic_swap() local
72 prev = *ptr; in __atomic_swap()
73 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); in __atomic_swap()
74 return prev; in __atomic_swap()
/bionic/libc/upstream-netbsd/lib/libc/include/isc/
Dlist.h28 #define LINK(type) struct { type *prev, *next; }
31 (elt)->link.prev = (type *)(-1); \
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \
47 (list).head->link.prev = (elt); \
50 (elt)->link.prev = NULL; \
62 (elt)->link.prev = (list).tail; \
71 (elt)->link.next->link.prev = (elt)->link.prev; \
74 (list).tail = (elt)->link.prev; \
76 if ((elt)->link.prev != NULL) \
77 (elt)->link.prev->link.next = (elt)->link.next; \
[all …]
/bionic/libc/include/android/
Dlegacy_sys_atomics_inlines.h55 int prev; in __atomic_swap() local
57 prev = *ptr; in __atomic_swap()
58 } while (__sync_val_compare_and_swap(ptr, prev, _new) != prev); in __atomic_swap()
59 return prev; in __atomic_swap()
/bionic/libc/bionic/
Dpthread_internal.cpp49 thread->prev = NULL; in __pthread_internal_add()
51 thread->next->prev = thread; in __pthread_internal_add()
61 thread->next->prev = thread->prev; in __pthread_internal_remove()
63 if (thread->prev != NULL) { in __pthread_internal_remove()
64 thread->prev->next = thread->next; in __pthread_internal_remove()
Dpthread_atfork.cpp37 atfork_t* prev; member
59 for (atfork_t* it = last_; it != nullptr; it = it->prev) { in walk_backwards()
66 entry->prev = last_; in push_back()
67 if (entry->prev != nullptr) { in push_back()
68 entry->prev->next = entry; in push_back()
92 if (entry->prev != nullptr) { in remove()
93 entry->prev->next = entry->next; in remove()
99 entry->next->prev = entry->prev; in remove()
101 last_ = entry->prev; in remove()
Dmalloc_debug_leak.cpp149 entry->prev = NULL; in record_backtrace()
159 entry->next->prev = entry; in record_backtrace()
185 HashEntry* prev = entry->prev; in remove_entry() local
188 if (prev != NULL) entry->prev->next = next; in remove_entry()
189 if (next != NULL) entry->next->prev = prev; in remove_entry()
191 if (prev == NULL) { in remove_entry()
Dmalloc_debug_check.cpp80 hdr_t* prev; member
174 hdr->prev = NULL; in add_locked()
177 (*head)->prev = hdr; in add_locked()
184 if (hdr->prev) { in del_locked()
185 hdr->prev->next = hdr->next; in del_locked()
190 hdr->next->prev = hdr->prev; in del_locked()
192 *tail = hdr->prev; in del_locked()
Dmalloc_debug_common.h60 HashEntry* prev; member
Dpthread_internal.h56 struct pthread_internal_t* prev; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_limit.h29 unsigned long prev; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_limit.h29 unsigned long prev; member
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_streams.c86 ctx->streams->prev = new; in evWrite()
87 new->prev = NULL; in evWrite()
120 ctx->streams->prev = new; in evRead()
121 new->prev = NULL; in evRead()
169 if (old->prev != NULL) in evCancelRW()
170 old->prev->next = old->next; in evCancelRW()
174 old->next->prev = old->prev; in evCancelRW()
Deventlib_p.h87 struct evConn * prev; member
120 struct evFile * prev; member
142 struct evStream *prev, *next; member
164 struct evWaitList * prev; member
/bionic/tests/
Dsearch_test.cpp142 q_node* prev; member
165 for (q_node* q = &two; q != NULL; q = q->prev) { in TEST()
187 zero.prev = &zero; in TEST()
/bionic/libc/dns/resolv/
Dres_cache.c1278 struct pending_req_info *ri, *prev; in _cache_check_pending_request_locked() local
1283 prev = &(*cache)->pending_requests; in _cache_check_pending_request_locked()
1289 prev = ri; in _cache_check_pending_request_locked()
1298 prev->next = ri; in _cache_check_pending_request_locked()
1318 struct pending_req_info *ri, *prev; in _cache_notify_waiting_tid_locked() local
1322 prev = &cache->pending_requests; in _cache_notify_waiting_tid_locked()
1328 prev = ri; in _cache_notify_waiting_tid_locked()
1334 prev->next = ri->next; in _cache_notify_waiting_tid_locked()
/bionic/libc/kernel/uapi/drm/
Di810_drm.h145 unsigned char next, prev; member
Dvia_drm.h157 unsigned char next, prev; member
Ddrm.h72 unsigned char prev; member
/bionic/libc/upstream-dlmalloc/
Dmalloc.c1846 int prev = 0; in x86_clear_lock() local
1850 : "m" (*(sl)), "0"(prev) in x86_clear_lock()
4390 mchunkptr prev; in dispose_chunk() local
4398 prev = chunk_minus_offset(p, prevsize); in dispose_chunk()
4400 p = prev; in dispose_chunk()
4401 if (RTCHECK(ok_address(m, prev))) { /* consolidate backward */ in dispose_chunk()
4738 mchunkptr prev = chunk_minus_offset(p, prevsize); in dlfree() local
4740 p = prev; in dlfree()
4741 if (RTCHECK(ok_address(fm, prev))) { /* consolidate backward */ in dlfree()
5674 mchunkptr prev = chunk_minus_offset(p, prevsize); in mspace_free() local
[all …]
/bionic/linker/
Dlinker.cpp253 soinfo *prev = nullptr, *trav; in soinfo_free() local
261 prev = trav; in soinfo_free()
275 prev->next = si->next; in soinfo_free()
277 sonext = prev; in soinfo_free()