/bionic/libc/kernel/common/linux/ |
H A D | circ_buf.h | 24 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 D | notifier.h | 34 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 D | genhd.h | 49 unsigned char head; member in struct:partition
|
H A D | skbuff.h | 160 unsigned char *head, member in struct:sk_buff
|
H A D | fd.h | 27 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 D | nftl.h | 46 int head,sect,cyl; member in struct:NFTLrecord
|
/bionic/libc/bionic/ |
H A D | fts.c | 546 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 D | malloc_debug_check.cpp | 117 static hdr_t *head; variable 186 static inline void add_locked(hdr_t *hdr, hdr_t **tail, hdr_t **head) { argument 188 hdr->next = *head; 189 if (*head) 190 (*head)->prev = hdr; 193 *head = hdr; 196 static inline int del_locked(hdr_t *hdr, hdr_t **tail, hdr_t **head) { argument 200 *head = hdr->next; 217 add_locked(hdr, &tail, &head); 226 del_locked(hdr, &tail, &head); 307 del_and_check_locked(hdr_t *hdr, hdr_t **tail, hdr_t **head, unsigned *cnt, int *safe) argument [all...] |
H A D | malloc_debug_common.cpp | 163 uint8_t* head = *info; local 170 memset(head + entrySize, 0, *infoSize - entrySize); 175 memcpy(head, &(entry->size), entrySize); 176 head += *infoSize;
|
/bionic/libc/upstream-dlmalloc/ |
H A D | malloc.c | 1168 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...] |