/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | utlist.h | 42 * Either way, the pointer to the head of the list must be initialized to NULL. 83 * namely, we always reassign our tmp variable to the list head if we need 84 * to dereference its prev/next pointers, and save/restore the real head.*/ 316 #define LL_PREPEND(head,add) \ 317 LL_PREPEND2(head,add,next) 319 #define LL_PREPEND2(head,add,next) \ 321 (add)->next = (head); \ 322 (head) = (add); \ 340 #define LL_APPEND(head,add) \ 341 LL_APPEND2(head,ad [all...] |
H A D | uthash.h | 123 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ 126 if (head) { \ 128 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 129 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 130 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 135 #define HASH_FIND(hh,head,keyptr,keylen,out) \ 139 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ 178 #define HASH_MAKE_TABLE(hh,head) \ 180 (head) [all...] |
/third_party/libcoap/include/coap3/ |
H A D | coap_utlist_internal.h | 40 * Either way, the pointer to the head of the list must be initialized to NULL. 81 * namely, we always reassign our tmp variable to the list head if we need 82 * to dereference its prev/next pointers, and save/restore the real head.*/ 314 #define LL_PREPEND(head,add) \ 315 LL_PREPEND2(head,add,next) 317 #define LL_PREPEND2(head,add,next) \ 319 (add)->next = (head); \ 320 (head) = (add); \ 338 #define LL_APPEND(head,add) \ 339 LL_APPEND2(head,ad [all...] |
H A D | coap_uthash_internal.h | 139 #define HASH_ROLLBACK_BKT(hh, head, itemptrhh) \ 143 HASH_TO_BKT(_hd_hh_item->hashv, (head)->hh.tbl->num_buckets, _hd_bkt); \ 144 (head)->hh.tbl->buckets[_hd_bkt].count++; \ 154 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ 157 if (head) { \ 159 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 160 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 161 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 166 #define HASH_FIND(hh,head,keypt [all...] |
/third_party/libwebsockets/lib/misc/lwsac/ |
H A D | lwsac.c | 29 lws_list_ptr_insert(lws_list_ptr *head, lws_list_ptr *add, in lws_list_ptr_insert() argument 32 while (sort_func && *head) { in lws_list_ptr_insert() 33 if (sort_func(add, *head) <= 0) in lws_list_ptr_insert() 36 head = *head; in lws_list_ptr_insert() 39 *add = *head; in lws_list_ptr_insert() 40 *head = add; in lws_list_ptr_insert() 73 lwsac_extend(struct lwsac *head, size_t amount) in lwsac_extend() argument 78 assert(head); in lwsac_extend() 79 lachead = (struct lwsac_head *)&head[ in lwsac_extend() 96 _lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size, char backfill) _lwsac_use() argument 202 lwsac_use(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use() argument 208 lwsac_use_backfill(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use_backfill() argument 214 lwsac_scan_extant(struct lwsac *head, uint8_t *find, size_t len, int nul) lwsac_scan_extant() argument 237 lwsac_total_overhead(struct lwsac *head) lwsac_total_overhead() argument 251 lwsac_use_zero(struct lwsac **head, size_t ensure, size_t chunk_size) lwsac_use_zero() argument 262 lwsac_free(struct lwsac **head) lwsac_free() argument 278 lwsac_info(struct lwsac *head) lwsac_info() argument 296 lwsac_total_alloc(struct lwsac *head) lwsac_total_alloc() argument 308 lwsac_reference(struct lwsac *head) lwsac_reference() argument 318 lwsac_unreference(struct lwsac **head) lwsac_unreference() argument 342 lwsac_detach(struct lwsac **head) lwsac_detach() argument [all...] |
/third_party/FreeBSD/sys/sys/ |
H A D | queue.h | 46 * added to the list after an existing element or at the head of the list. 47 * Elements being removed from the head of the list should use the explicit 54 * head of the list and the other to the tail of the list. The elements are 57 * to the list after an existing element, at the head of the list, or at the 58 * end of the list. Elements being removed from the head of the tail queue 68 * or after an existing element or at the head of the list. A list 71 * A tail queue is headed by a pair of pointers, one to the head of the 75 * after an existing element, at the head of the list, or at the end of 119 /* Store the last 2 places the queue element or head was altered */ 132 #define QMD_TRACE_HEAD(head) d [all...] |
H A D | tree.h | 88 #define SPLAY_ROOT(head) (head)->sph_root 89 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) 92 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 93 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 94 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 95 (head)->sph_root = tmp; \ 98 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 99 SPLAY_RIGHT((head) [all...] |
/device/soc/rockchip/rk2206/hardware/include/sys/ |
H A D | queue.h | 46 * added to the list after an existing element or at the head of the list. 47 * Elements being removed from the head of the list should use the explicit 54 * head of the list and the other to the tail of the list. The elements are 57 * to the list after an existing element, at the head of the list, or at the 58 * end of the list. Elements being removed from the head of the tail queue 68 * or after an existing element or at the head of the list. A list 71 * A tail queue is headed by a pair of pointers, one to the head of the 75 * after an existing element, at the head of the list, or at the end of 111 /* Store the last 2 places the queue element or head was altered */ 124 #define QMD_TRACE_HEAD(head) d [all...] |
/third_party/libwebsockets/lib/core/ |
H A D | buflist.c | 34 lws_buflist_append_segment(struct lws_buflist **head, const uint8_t *buf, in lws_buflist_append_segment() argument 38 int first = !*head; in lws_buflist_append_segment() 39 void *p = *head; in lws_buflist_append_segment() 46 while (*head) { in lws_buflist_append_segment() 51 if (*head == (*head)->next) { in lws_buflist_append_segment() 55 head = &((*head)->next); in lws_buflist_append_segment() 77 *head = nbuf; in lws_buflist_append_segment() 83 lws_buflist_destroy_segment(struct lws_buflist **head) in lws_buflist_destroy_segment() argument 97 lws_buflist_destroy_all_segments(struct lws_buflist **head) lws_buflist_destroy_all_segments() argument 112 lws_buflist_next_segment_len(struct lws_buflist **head, uint8_t **buf) lws_buflist_next_segment_len() argument 139 lws_buflist_use_segment(struct lws_buflist **head, size_t len) lws_buflist_use_segment() argument 162 lws_buflist_total_len(struct lws_buflist **head) lws_buflist_total_len() argument 176 lws_buflist_linear_copy(struct lws_buflist **head, size_t ofs, uint8_t *buf, size_t len) lws_buflist_linear_copy() argument 201 lws_buflist_linear_use(struct lws_buflist **head, uint8_t *buf, size_t len) lws_buflist_linear_use() argument 221 lws_buflist_fragment_use(struct lws_buflist **head, uint8_t *buf, size_t len, char *frag_first, char *frag_fin) lws_buflist_fragment_use() argument 250 lws_buflist_describe(struct lws_buflist **head, void *id, const char *reason) lws_buflist_describe() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_list.h | 70 * @head: list head to add it after 72 * Insert a new entry after the specified head. 75 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 77 osal___list_add(new, head, head->next); in osal_list_add() 83 * @head: list head to add it before 85 * Insert a new entry before the specified head. 88 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 165 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 176 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 188 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 198 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 216 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 226 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 240 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 245 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 271 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 307 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 320 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 335 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 352 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_list.h | 67 * @head: list head to add it after 69 * Insert a new entry after the specified head. 72 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 74 osal___list_add(new, head, head->next); in osal_list_add() 80 * @head: list head to add it before 82 * Insert a new entry before the specified head. 85 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 162 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 173 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 185 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 195 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 213 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 223 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 237 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 242 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 268 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 304 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 317 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 332 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 349 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
H A D | list.h | 49 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 51 __list_add(_new, head, head->next); in list_add() 54 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 56 __list_add(_new, head->prev, head); in list_add_tail() 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 79 list_add(list, head); in list_move() 83 struct list_head *head) in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 82 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 89 list_empty(struct list_head *head) list_empty() argument 94 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 108 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 115 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_list.h | 66 * @head: list head to add it after 68 * Insert a new entry after the specified head. 71 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 73 osal___list_add(new, head, head->next); in osal_list_add() 79 * @head: list head to add it before 81 * Insert a new entry before the specified head. 84 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 161 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 172 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 184 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 194 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 212 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 222 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 236 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 241 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 267 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 303 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 316 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 331 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 348 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
H A D | list.h | 49 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 51 __list_add(_new, head, head->next); in list_add() 54 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 56 __list_add(_new, head->prev, head); in list_add_tail() 76 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 79 list_add(list, head); in list_move() 83 struct list_head *head) in list_move_tail() 86 list_add_tail(list, head); in list_move_tail() 82 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 89 list_empty(struct list_head *head) list_empty() argument 94 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 108 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 115 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_list.h | 69 * @head: list head to add it after 71 * Insert a new entry after the specified head. 74 static inline void osal_list_add(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add() argument 76 osal___list_add(new, head, head->next); in osal_list_add() 82 * @head: list head to add it before 84 * Insert a new entry before the specified head. 87 static inline void osal_list_add_tail(struct osal_list_head *new, struct osal_list_head *head) in osal_list_add_tail() argument 164 osal_list_move(struct osal_list_head *list, struct osal_list_head *head) osal_list_move() argument 175 osal_list_move_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_move_tail() argument 187 osal_list_is_last(const struct osal_list_head *list, const struct osal_list_head *head) osal_list_is_last() argument 197 osal_list_empty(const struct osal_list_head *head) osal_list_empty() argument 215 osal_list_empty_careful(const struct osal_list_head *head) osal_list_empty_careful() argument 225 osal_list_rotate_left(struct osal_list_head *head) osal_list_rotate_left() argument 239 osal_list_is_singular(const struct osal_list_head *head) osal_list_is_singular() argument 244 osal___list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal___list_cut_position() argument 270 osal_list_cut_position(struct osal_list_head *list, struct osal_list_head *head, struct osal_list_head *entry) osal_list_cut_position() argument 302 osal_list_splice(const struct osal_list_head *list, struct osal_list_head *head) osal_list_splice() argument 315 osal_list_splice_tail(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail() argument 330 osal_list_splice_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_init() argument 347 osal_list_splice_tail_init(struct osal_list_head *list, struct osal_list_head *head) osal_list_splice_tail_init() argument [all...] |
/third_party/ltp/testcases/realtime/include/ |
H A D | list.h | 94 * @head: list head to add it after 96 * Insert a new entry after the specified head. 99 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 101 __list_add(new, head, head->next); in list_add() 107 * @head: list head to add it before 109 * Insert a new entry before the specified head. 112 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 158 list_move(struct list_head *list, struct list_head *head) list_move() argument 169 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 180 list_empty(const struct list_head *head) list_empty() argument 197 list_empty_careful(const struct list_head *head) list_empty_careful() argument 203 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 222 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 235 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/third_party/exfatprogs/include/ |
H A D | list.h | 64 * @head: list head to add it after 66 * Insert a new entry after the specified head. 69 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 71 __list_add(new, head, head->next); in list_add() 77 * @head: list head to add it before 79 * Insert a new entry before the specified head. 82 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 128 list_move(struct list_head *list, struct list_head *head) list_move() argument 139 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 150 list_empty(const struct list_head *head) list_empty() argument 155 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 174 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 187 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/third_party/libdrm/intel/ |
H A D | uthash.h | 119 #define HASH_FIND_BYHASHVALUE(hh,head,keyptr,keylen,hashval,out) \ 122 if (head) { \ 124 HASH_TO_BKT(hashval, (head)->hh.tbl->num_buckets, _hf_bkt); \ 125 if (HASH_BLOOM_TEST((head)->hh.tbl, hashval) != 0) { \ 126 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], keyptr, keylen, hashval, out); \ 131 #define HASH_FIND(hh,head,keyptr,keylen,out) \ 135 HASH_FIND_BYHASHVALUE(hh, head, keyptr, keylen, _hf_hashv, out); \ 172 #define HASH_MAKE_TABLE(hh,head) \ 174 (head) [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | list.h | 73 * @head: list head to add it after 75 * Insert a new entry after the specified head. 78 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument 80 __list_add(new, head, head->next); in list_add() 86 * @head: list head to add it before 88 * Insert a new entry before the specified head. 91 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument 137 list_move(struct list_head *list, struct list_head *head) list_move() argument 148 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 159 list_empty(struct list_head *head) list_empty() argument 164 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 183 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 196 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ptrlist.c | 36 // @head: the head of the list 37 // @return: the size of the list given by @head. 38 int ptr_list_size(struct ptr_list *head) in ptr_list_size() argument 42 if (head) { in ptr_list_size() 43 struct ptr_list *list = head; in ptr_list_size() 46 } while ((list = list->next) != head); in ptr_list_size() 53 // @head: the head of the list 55 bool ptr_list_empty(const struct ptr_list *head) in ptr_list_empty() argument 74 ptr_list_multiple(const struct ptr_list *head) ptr_list_multiple() argument 95 first_ptr_list(struct ptr_list *head) first_ptr_list() argument 114 last_ptr_list(struct ptr_list *head) last_ptr_list() argument 135 struct ptr_list *head = list; ptr_list_nth_entry() local 165 linearize_ptr_list(struct ptr_list *head, void **arr, int max) linearize_ptr_list() argument 197 struct ptr_list *head = *listp; pack_ptr_list() local 235 split_ptr_list_head(struct ptr_list *head) split_ptr_list_head() argument 314 lookup_ptr_list_entry(const struct ptr_list *head, const void *entry) lookup_ptr_list_entry() argument 381 undo_ptr_list_last(struct ptr_list **head) undo_ptr_list_last() argument 405 delete_ptr_list_last(struct ptr_list **head) delete_ptr_list_last() argument 444 struct ptr_list *head, *tail; copy_ptr_list() local [all...] |
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
H A D | list.h | 68 list_empty(const struct list_head *head) in list_empty() argument 71 return (head->next == head); in list_empty() 75 list_empty_careful(const struct list_head *head) in list_empty_careful() argument 77 struct list_head *next = head->next; in list_empty_careful() 79 return ((next == head) && (next == head->prev)); in list_empty_careful() 158 #define list_for_each(p, head) \ 159 for (p = (head)->next; p != (head); 206 list_add(struct list_head *new, struct list_head *head) list_add() argument 213 list_add_tail(struct list_head *new, struct list_head *head) list_add_tail() argument 220 list_move(struct list_head *list, struct list_head *head) list_move() argument 228 list_move_tail(struct list_head *entry, struct list_head *head) list_move_tail() argument 236 list_rotate_to_front(struct list_head *entry, struct list_head *head) list_rotate_to_front() argument 243 list_bulk_move_tail(struct list_head *head, struct list_head *first, struct list_head *last) list_bulk_move_tail() argument 272 list_splice(const struct list_head *list, struct list_head *head) list_splice() argument 279 list_splice_tail(struct list_head *list, struct list_head *head) list_splice_tail() argument 286 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument 294 list_splice_tail_init(struct list_head *list, struct list_head *head) list_splice_tail_init() argument 393 list_is_singular(const struct list_head *head) list_is_singular() argument 398 __list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) __list_cut_position() argument 410 list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry) list_cut_position() argument 424 list_is_first(const struct list_head *list, const struct list_head *head) list_is_first() argument 431 list_is_last(const struct list_head *list, const struct list_head *head) list_is_last() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | list.h | 52 static inline void list_add(struct list_head *_new, struct list_head *head) in list_add() argument 54 __list_add(_new, head, head->next); in list_add() 57 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail() argument 59 __list_add(_new, head->prev, head); in list_add_tail() 79 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument 82 list_add(list, head); in list_move() 86 struct list_head *head) in list_move_tail() 89 list_add_tail(list, head); in list_move_tail() 85 list_move_tail(struct list_head *list, struct list_head *head) list_move_tail() argument 92 list_empty(struct list_head *head) list_empty() argument 97 __list_splice(struct list_head *list, struct list_head *head) __list_splice() argument 111 list_splice(struct list_head *list, struct list_head *head) list_splice() argument 118 list_splice_init(struct list_head *list, struct list_head *head) list_splice_init() argument [all...] |
/third_party/libuv/include/uv/ |
H A D | tree.h | 84 #define SPLAY_ROOT(head) (head)->sph_root 85 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) 88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 91 (head)->sph_root = tmp; \ 94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 95 SPLAY_RIGHT((head) [all...] |
/third_party/node/deps/uv/include/uv/ |
H A D | tree.h | 84 #define SPLAY_ROOT(head) (head)->sph_root 85 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) 88 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ 89 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \ 90 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \ 91 (head)->sph_root = tmp; \ 94 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ 95 SPLAY_RIGHT((head) [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | linux_cbb_list.h | 56 static HPT_INLINE void cbb_list_add(struct cbb_list_head *_new, struct cbb_list_head *head) in cbb_list_add() argument 58 if (_new == NULL || head == NULL) { in cbb_list_add() 62 inline_cbb_list_add(_new, head, head->next); in cbb_list_add() 65 static HPT_INLINE void cbb_list_add_tail(struct cbb_list_head *_new, struct cbb_list_head *head) in cbb_list_add_tail() argument 67 if (_new == NULL || head == NULL) { in cbb_list_add_tail() 71 inline_cbb_list_add(_new, head->prev, head); in cbb_list_add_tail() 99 static HPT_INLINE int cbb_list_empty(const struct cbb_list_head *head) in cbb_list_empty() argument 101 return head in cbb_list_empty() 104 inline_cbb_list_splice(struct cbb_list_head *list, struct cbb_list_head *head) inline_cbb_list_splice() argument 118 cbb_list_splice(struct cbb_list_head *list, struct cbb_list_head *head) cbb_list_splice() argument 125 cbb_list_splice_init(struct cbb_list_head *list, struct cbb_list_head *head) cbb_list_splice_init() argument [all...] |