Searched defs:head (Results 1 - 10 of 10) sorted by relevance

/bionic/libc/kernel/common/linux/
H A Dcirc_buf.h24 int head; member in struct:circ_buf
27 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
29 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
30 #define CIRC_CNT_TO_END(head,tail,size) ({int end = (size) - (tail); int n = ((head) + end) & ((size)-1); n < end ? n : end;})
31 #define CIRC_SPACE_TO_END(head,tail,size) ({int end = (size) - 1 - (head); int n = (end + (tail)) & ((size)-1); n <= end ? n : end+1;})
H A Dnotifier.h34 struct notifier_block *head; member in struct:atomic_notifier_head
39 struct notifier_block *head; member in struct:blocking_notifier_head
42 struct notifier_block *head; member in struct:raw_notifier_head
45 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
46 #define BLOCKING_INIT_NOTIFIER_HEAD(name) do { init_rwsem(&(name)->rwsem); (name)->head = NULL; } while (0)
47 #define RAW_INIT_NOTIFIER_HEAD(name) do { (name)->head = NULL; } while (0)
49 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
50 #define BLOCKING_NOTIFIER_INIT(name) { .rwsem = __RWSEM_INITIALIZER((name).rwsem), .head = NULL }
51 #define RAW_NOTIFIER_INIT(name) { .head = NULL }
H A Dgenhd.h49 unsigned char head; member in struct:partition
H A Dskbuff.h160 unsigned char *head, member in struct:sk_buff
H A Dfd.h27 head, member in struct:floppy_struct
62 unsigned int device,head,track; member in struct:format_descr
/bionic/libc/kernel/common/linux/mtd/
H A Dnftl.h46 int head,sect,cyl; member in struct:NFTLrecord
/bionic/libc/bionic/
H A Dfts.c546 FTSENT *p, *head; local
648 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) {
665 fts_lfree(head);
691 fts_lfree(head);
733 if (head == NULL)
734 head = tail = p;
749 fts_padjust(sp, head);
785 head = fts_sort(sp, head, nitems);
786 return (head);
859 fts_sort(FTS *sp, FTSENT *head, int nitems) argument
925 fts_lfree(FTSENT *head) argument
975 fts_padjust(FTS *sp, FTSENT *head) argument
[all...]
H A Dmalloc_debug_check.cpp114 static hdr_t* head; variable
161 static inline void add_locked(hdr_t* hdr, hdr_t** tail, hdr_t** head) { argument
163 hdr->next = *head;
164 if (*head)
165 (*head)->prev = hdr;
168 *head = hdr;
171 static inline int del_locked(hdr_t* hdr, hdr_t** tail, hdr_t** head) { argument
175 *head = hdr->next;
192 add_locked(hdr, &tail, &head);
201 del_locked(hdr, &tail, &head);
282 del_and_check_locked(hdr_t* hdr, hdr_t** tail, hdr_t** head, unsigned* cnt, int* safe) argument
[all...]
H A Dmalloc_debug_common.cpp166 uint8_t* head = *info; local
173 memset(head + entrySize, 0, *infoSize - entrySize);
178 memcpy(head, &(entry->size), entrySize);
179 head += *infoSize;
/bionic/libc/upstream-dlmalloc/
H A Dmalloc.c1168 struct Head* head = (struct Head*)(chunks[0]);
2061 chunks into bigger chunks fast. The head fields also hold bits
2066 the high 31 bits of the head field of its header through the
2175 cleared in their head fields. Because they are allocated
2186 size_t head; /* Size and inuse bits. */ member in struct:malloc_chunk
2236 /* ------------------ Operations on head and foot fields ----------------- */
2239 The head field of a chunk is or'ed with PINUSE_BIT when previous
2255 /* extraction of fields from head words */
2256 #define cinuse(p) ((p)->head & CINUSE_BIT)
2257 #define pinuse(p) ((p)->head
2396 size_t head; member in struct:malloc_tree_chunk
3316 tchunkptr head = 0; local
[all...]

Completed in 1871 milliseconds