/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | utlist.h | 40 * To use singly-linked lists, your structure must have a "next" pointer. 41 * To use doubly-linked lists, your structure must "prev" and "next" pointers. 47 * struct item *prev, *next; 84 * to dereference its prev/next pointers, and save/restore the real head.*/ 89 #define UTLIST_NEXT(elt,list,next) ((char*)((list)->next)) 90 #define UTLIST_NEXTASGN(elt,list,to,next) { char **_alias = (char**)&((list)->next); *_alias=(char*)(to); } 98 #define UTLIST_NEXT(elt,list,next) ((elt)->next) [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_list.h | 30 * sometimes we already know the next/prev entries and we can 35 struct osal_list_head *next, *prev; member 47 list->next = list; in OSAL_INIT_LIST_HEAD() 55 * the prev/next entries already! 59 struct osal_list_head *next) in osal___list_add() 61 next->prev = new; in osal___list_add() 62 new->next = next; in osal___list_add() 64 prev->next = new; in osal___list_add() 77 osal___list_add(new, head, head->next); in osal_list_add() 57 osal___list_add(struct osal_list_head *new, struct osal_list_head *prev, struct osal_list_head *next) osal___list_add() argument 100 osal___list_del(struct osal_list_head *prev, struct osal_list_head *next) osal___list_del() argument 218 struct osal_list_head *next = head->next; osal_list_empty_careful() local 288 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument 595 struct osal_hlist_node *next, **pprev; global() member 625 struct osal_hlist_node *next = n->next; osal___hlist_del() local 660 osal_hlist_add_before(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_before() argument 669 osal_hlist_add_after(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_after() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_list.h | 27 * sometimes we already know the next/prev entries and we can 32 struct osal_list_head *next, *prev; member 44 list->next = list; in OSAL_INIT_LIST_HEAD() 52 * the prev/next entries already! 56 struct osal_list_head *next) in osal___list_add() 58 next->prev = new; in osal___list_add() 59 new->next = next; in osal___list_add() 61 prev->next = new; in osal___list_add() 74 osal___list_add(new, head, head->next); in osal_list_add() 54 osal___list_add(struct osal_list_head *new, struct osal_list_head *prev, struct osal_list_head *next) osal___list_add() argument 97 osal___list_del(struct osal_list_head *prev, struct osal_list_head *next) osal___list_del() argument 215 struct osal_list_head *next = head->next; osal_list_empty_careful() local 285 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument 592 struct osal_hlist_node *next, **pprev; global() member 622 struct osal_hlist_node *next = n->next; osal___hlist_del() local 657 osal_hlist_add_before(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_before() argument 666 osal_hlist_add_after(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_after() argument [all...] |
H A D | list.h | 31 (ptr)->next = (ptr); \ 38 struct list_head *next, *prev; member 41 static inline void __list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) in __list_add() argument 43 next->prev = _new; in __list_add() 44 _new->next = next; in __list_add() 46 prev->next = _new; in __list_add() 51 __list_add(_new, head, head->next); in list_add() 59 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 61 next in __list_del() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_list.h | 26 * sometimes we already know the next/prev entries and we can 31 struct osal_list_head *next, *prev; member 43 list->next = list; in OSAL_INIT_LIST_HEAD() 51 * the prev/next entries already! 55 struct osal_list_head *next) in osal___list_add() 57 next->prev = new; in osal___list_add() 58 new->next = next; in osal___list_add() 60 prev->next = new; in osal___list_add() 73 osal___list_add(new, head, head->next); in osal_list_add() 53 osal___list_add(struct osal_list_head *new, struct osal_list_head *prev, struct osal_list_head *next) osal___list_add() argument 96 osal___list_del(struct osal_list_head *prev, struct osal_list_head *next) osal___list_del() argument 214 struct osal_list_head *next = head->next; osal_list_empty_careful() local 284 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument 591 struct osal_hlist_node *next, **pprev; global() member 621 struct osal_hlist_node *next = n->next; osal___hlist_del() local 656 osal_hlist_add_before(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_before() argument 665 osal_hlist_add_after(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_after() argument [all...] |
H A D | list.h | 31 (ptr)->next = (ptr); \ 38 struct list_head *next, *prev; member 41 static inline void __list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) in __list_add() argument 43 next->prev = _new; in __list_add() 44 _new->next = next; in __list_add() 46 prev->next = _new; in __list_add() 51 __list_add(_new, head, head->next); in list_add() 59 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 61 next in __list_del() [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | osal_list.h | 29 * sometimes we already know the next/prev entries and we can 34 struct osal_list_head *next, *prev; member 46 list->next = list; in OSAL_INIT_LIST_HEAD() 54 * the prev/next entries already! 58 struct osal_list_head *next) in osal___list_add() 60 next->prev = new; in osal___list_add() 61 new->next = next; in osal___list_add() 63 prev->next = new; in osal___list_add() 76 osal___list_add(new, head, head->next); in osal_list_add() 56 osal___list_add(struct osal_list_head *new, struct osal_list_head *prev, struct osal_list_head *next) osal___list_add() argument 99 osal___list_del(struct osal_list_head *prev, struct osal_list_head *next) osal___list_del() argument 217 struct osal_list_head *next = head->next; osal_list_empty_careful() local 283 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument 590 struct osal_hlist_node *next, **pprev; global() member 620 struct osal_hlist_node *next = n->next; osal___hlist_del() local 655 osal_hlist_add_before(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_before() argument 664 osal_hlist_add_after(struct osal_hlist_node *n, struct osal_hlist_node *next) osal_hlist_add_after() argument [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_list.h | 36 struct hi_list *next; member 46 list->next = list; in hi_list_init() 56 node->next = list->next; in hi_list_head_insert() 58 list->next->prev = node; in hi_list_head_insert() 59 list->next = node; in hi_list_head_insert() 77 if (node->next == HI_NULL || node->prev == HI_NULL) { in hi_list_delete() 81 node->next->prev = node->prev; in hi_list_delete() 82 node->prev->next = node->next; in hi_list_delete() [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_list.h | 31 struct hi_list *next; member 40 list->next = list; in hi_list_init() 50 node->next = list->next; in hi_list_head_insert() 52 list->next->prev = node; in hi_list_head_insert() 53 list->next = node; in hi_list_head_insert() 62 node->next = list->next; in hi_list_head_insert_optimize() 64 list->next->prev = node; in hi_list_head_insert_optimize() 65 list->next in hi_list_head_insert_optimize() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | list.h | 34 (ptr)->next = (ptr); \ 41 struct list_head *next, *prev; member 44 static inline void __list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) in __list_add() argument 46 next->prev = _new; in __list_add() 47 _new->next = next; in __list_add() 49 prev->next = _new; in __list_add() 54 __list_add(_new, head, head->next); in list_add() 62 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 64 next in __list_del() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/ |
H A D | linux_cbb_list.h | 27 struct cbb_list_head *next, *prev; member 40 #define INIT_LIST_HEAD(ptr) do { (ptr)->next = (ptr); (ptr)->prev = (ptr); } while (0) 44 struct cbb_list_head *prev, struct cbb_list_head *next) in inline_cbb_list_add() 46 if (prev == NULL || _new == NULL || next == NULL) { in inline_cbb_list_add() 50 next->prev = _new; in inline_cbb_list_add() 51 _new->next = next; in inline_cbb_list_add() 53 prev->next = _new; in inline_cbb_list_add() 62 inline_cbb_list_add(_new, head, head->next); in cbb_list_add() 74 static HPT_INLINE void inline_cbb_list_del(struct cbb_list_head *prev, struct cbb_list_head *next) in inline_cbb_list_del() argument 43 inline_cbb_list_add(struct cbb_list_head *_new, struct cbb_list_head *prev, struct cbb_list_head *next) inline_cbb_list_add() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_osk_list.h | 26 MALI_STATIC_INLINE void __mali_osk_list_add(_mali_osk_list_t *new_entry, _mali_osk_list_t *prev, _mali_osk_list_t *next) in __mali_osk_list_add() argument 28 next->prev = new_entry; in __mali_osk_list_add() 29 new_entry->next = next; in __mali_osk_list_add() 31 prev->next = new_entry; in __mali_osk_list_add() 34 MALI_STATIC_INLINE void __mali_osk_list_del(_mali_osk_list_t *prev, _mali_osk_list_t *next) in __mali_osk_list_del() argument 36 next->prev = prev; in __mali_osk_list_del() 37 prev->next = next; in __mali_osk_list_del() 73 list->next in _mali_osk_list_init() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_osk_list.h | 27 MALI_STATIC_INLINE void __mali_osk_list_add(_mali_osk_list_t *new_entry, _mali_osk_list_t *prev, _mali_osk_list_t *next) in __mali_osk_list_add() argument 29 next->prev = new_entry; in __mali_osk_list_add() 30 new_entry->next = next; in __mali_osk_list_add() 32 prev->next = new_entry; in __mali_osk_list_add() 35 MALI_STATIC_INLINE void __mali_osk_list_del(_mali_osk_list_t *prev, _mali_osk_list_t *next) in __mali_osk_list_del() argument 37 next->prev = prev; in __mali_osk_list_del() 38 prev->next = next; in __mali_osk_list_del() 74 list->next in mali_osk_list_init() [all...] |
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_list.h | 92 struct list_head *next, *prev; member 101 (ptr)->next = (ptr); (ptr)->prev = (ptr); \ 105 for (pos = (head)->next, n = pos->next; pos != (head); \ 106 pos = n, n = pos->next) 112 list_entry((ptr)->next, type, member) 119 struct list_head *pos__ = head__->next; \ 124 list_entry((pos)->member.next, type, member) 130 for (pos = list_entry((head)->next, type, member); \ 153 struct list_head * next) in __list_add() 151 __list_add(struct list_head * _new, struct list_head * prev, struct list_head * next) __list_add() argument 171 __list_del(struct list_head * prev, struct list_head * next) __list_del() argument [all...] |
H A D | mpp_hash.h | 44 struct hlist_node *next, **pprev; member 65 h->next = NULL; in INIT_HLIST_NODE() 82 struct hlist_node *next = n->next; in __hlist_del() local 85 WRITE_ONCE(*pprev, next); in __hlist_del() 86 if (next) in __hlist_del() 87 next->pprev = pprev; in __hlist_del() 93 n->next = (struct hlist_node*)LIST_POISON1; in hlist_del() 108 n->next = first; in hlist_add_head() 110 first->pprev = &n->next; in hlist_add_head() 115 hlist_add_before(struct hlist_node *n, struct hlist_node *next) hlist_add_before() argument [all...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_list.h | 82 struct list_head *next, *prev; member 94 (ptr)->next = (ptr); \ 100 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); (pos) = (n), (n) = (pos)->next) \ 105 #define list_first_entry(ptr, type, member) list_entry((ptr)->next, type, member) 112 struct list_head *pos__ = head__->next; \ 116 #define list_next_entry(pos, type, member) list_entry((pos)->member.next, type, member) 121 for ((pos) = list_entry((head)->next, type, member); &(pos)->member != (head); \ 136 static __inline void _list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) in _list_add() argument 154 _list_del(struct list_head *prev, struct list_head *next) _list_del() argument [all...] |
H A D | mpp_hash.h | 43 struct hlist_node *next, **pprev; member 66 h->next = NULL; in INIT_HLIST_NODE() 82 struct hlist_node *next = n->next; in _hlist_del() local 85 WRITE_ONCE(*pprev, next); in _hlist_del() 86 if (next) { in _hlist_del() 87 next->pprev = pprev; in _hlist_del() 94 n->next = (struct hlist_node *)LIST_POISON1; in hlist_del() 109 n->next = first; in hlist_add_head() 111 first->pprev = &n->next; in hlist_add_head() 117 hlist_add_before(struct hlist_node *n, struct hlist_node *next) hlist_add_before() argument [all...] |
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_list.h | 83 struct list_head *next, *prev; member 92 (ptr)->next = (ptr); (ptr)->prev = (ptr); \ 97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \ 98 (pos) = (n), (n) = (pos)->next) \ 106 list_entry((ptr)->next, type, member) 113 struct list_head *pos__ = head__->next; \ 118 list_entry((pos)->member.next, type, member) 124 for ((pos) = list_entry((head)->next, type, member); \ 147 struct list_head * next) in _list_add() 145 _list_add(struct list_head * _new, struct list_head * prev, struct list_head * next) _list_add() argument 165 _list_del(struct list_head * prev, struct list_head * next) _list_del() argument [all...] |
H A D | mpp_hash.h | 43 struct hlist_node *next, **pprev; member 64 h->next = NULL; in INIT_HLIST_NODE() 80 struct hlist_node *next = n->next; in _hlist_del() local 83 WRITE_ONCE(*pprev, next); in _hlist_del() 84 if (next) { in _hlist_del() 85 next->pprev = pprev; in _hlist_del() 92 n->next = (struct hlist_node*)LIST_POISON1; in hlist_del() 107 n->next = first; in hlist_add_head() 109 first->pprev = &n->next; in hlist_add_head() 115 hlist_add_before(struct hlist_node *n, struct hlist_node *next) hlist_add_before() argument [all...] |
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_list.h | 83 struct list_head *next, *prev; member 92 (ptr)->next = (ptr); (ptr)->prev = (ptr); \ 97 for ((pos) = (head)->next, (n) = (pos)->next; (pos) != (head); \ 98 (pos) = (n), (n) = (pos)->next) \ 106 list_entry((ptr)->next, type, member) 113 struct list_head *pos__ = head__->next; \ 118 list_entry((pos)->member.next, type, member) 124 for ((pos) = list_entry((head)->next, type, member); \ 147 struct list_head * next) in _list_add() 145 _list_add(struct list_head * _new, struct list_head * prev, struct list_head * next) _list_add() argument 165 _list_del(struct list_head * prev, struct list_head * next) _list_del() argument [all...] |
H A D | mpp_hash.h | 43 struct hlist_node *next, **pprev; member 64 h->next = NULL; in INIT_HLIST_NODE() 80 struct hlist_node *next = n->next; in __hlist_del() local 83 WRITE_ONCE(*pprev, next); in __hlist_del() 84 if (next) { in __hlist_del() 85 next->pprev = pprev; in __hlist_del() 92 n->next = (struct hlist_node*)LIST_POISON1; in hlist_del() 107 n->next = first; in hlist_add_head() 109 first->pprev = &n->next; in hlist_add_head() 115 hlist_add_before(struct hlist_node *n, struct hlist_node *next) hlist_add_before() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_model_error_generator.c | 120 new_elem->next = error_track_list; in job_atom_inject_error() 124 while (walker->next != error_track_list) in job_atom_inject_error() 125 walker = walker->next; in job_atom_inject_error() 127 new_elem->next = error_track_list; in job_atom_inject_error() 128 walker->next = new_elem; in job_atom_inject_error() 141 walker = error_track_list->next; in midgard_set_error() 156 if (walker->next == walker) { in midgard_set_error() 161 auxiliar->next = walker->next; in midgard_set_error() 163 error_track_list = walker->next; in midgard_set_error() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 37 checker->next = NULL; in _mali_osk_locks_debug_init() 77 * - A `next' pointer is added to each lock. This is used to chain the locks together. 98 l = l->next; in dump_lock_tracking_list() 111 l = l->next; in tracking_list_length() 146 if (l->next != NULL) { in add_lock_to_log_and_check() 147 l = l->next; in add_lock_to_log_and_check() 153 l->next = lock; in add_lock_to_log_and_check() 154 l->next = NULL; in add_lock_to_log_and_check() 201 curr = curr->next; in remove_lock_from_log() 206 lock_lookup_list = curr->next; in remove_lock_from_log() [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 36 checker->next = NULL; in _mali_osk_locks_debug_init() 78 * - A `next' pointer is added to each lock. This is used to chain the locks together. 99 l = l->next; in dump_lock_tracking_list() 112 l = l->next; in tracking_list_length() 147 if (NULL != l->next) { in add_lock_to_log_and_check() 148 l = l->next; in add_lock_to_log_and_check() 154 l->next = lock; in add_lock_to_log_and_check() 155 l->next = NULL; in add_lock_to_log_and_check() 204 curr = curr->next; in remove_lock_from_log() 209 lock_lookup_list = curr->next; in remove_lock_from_log() [all...] |
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/ |
H A D | process.c | 448 static void tls_thread_switch(struct task_struct *next) in tls_thread_switch() argument 452 if (is_compat_thread(task_thread_info(next))) { in tls_thread_switch() 453 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch() 458 write_sysreg(*task_user_tls(next), tpidr_el0); in tls_thread_switch() 461 /* Restore the UAO state depending on next's addr_limit */ 462 void uao_thread_switch(struct task_struct *next) in uao_thread_switch() argument 465 if (task_thread_info(next)->addr_limit == KERNEL_DS) { in uao_thread_switch() 477 static void ssbs_thread_switch(struct task_struct *next) in ssbs_thread_switch() argument 483 if (unlikely(next->flags & PF_KTHREAD)) { in ssbs_thread_switch() 495 spectre_v4_enable_task_mitigation(next); in ssbs_thread_switch() 507 entry_task_switch(struct task_struct *next) entry_task_switch() argument 519 erratum_1418040_thread_switch(struct task_struct *next) erratum_1418040_thread_switch() argument 541 __switch_to(struct task_struct *prev, struct task_struct *next) __switch_to() argument [all...] |