/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() 30 new_entry->prev = prev; 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() 74 list->prev 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() 31 new_entry->prev = prev; 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() 75 list->prev in mali_osk_list_init() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_list.h | 35 struct hi_list *prev; member 47 list->prev = list; in hi_list_init() 57 node->prev = list; in hi_list_head_insert() 58 list->next->prev = node; in hi_list_head_insert() 68 hi_list_head_insert(node, list->prev); in hi_list_tail_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() 84 node->prev in hi_list_delete() [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
H A D | hi_list.h | 30 struct hi_list *prev; member 41 list->prev = list; in hi_list_init() 51 node->prev = list; in hi_list_head_insert() 52 list->next->prev = node; in hi_list_head_insert() 63 node->prev = list; in hi_list_head_insert_optimize() 64 list->next->prev = node; in hi_list_head_insert_optimize() 74 hi_list_head_insert(node, list->prev); in hi_list_tail_insert() 83 hi_list_head_insert_optimize(node, list->prev); in hi_list_tail_insert_optimize() 92 if (node->next == HI_NULL || node->prev == HI_NULL) { in hi_list_delete() 96 node->next->prev in hi_list_delete() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
H A D | utlist.h | 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.*/ 91 /* #define UTLIST_PREV(elt,list,prev) ((char*)((list)->prev)) */ 92 #define UTLIST_PREVASGN(elt,list,to,prev) { char **_alias = (char**)&((list)->prev); *_alias=(char*)(to); } 100 /* #define UTLIST_PREV(elt,list,prev) ((elt)->prev) */ 101 #define UTLIST_PREVASGN(elt,list,to,prev) ((el [all...] |
H A D | uthash.h | 237 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ 275 (add)->hh.prev = NULL; \ 284 if (((add)->hh.prev = HH_FROM_ELMT((head)->hh.tbl, _hs_iter)->prev)) { \ 285 HH_FROM_ELMT((head)->hh.tbl, (add)->hh.prev)->next = (add); \ 289 HH_FROM_ELMT((head)->hh.tbl, _hs_iter)->prev = (add); \ 323 (add)->hh.prev = NULL; \ 374 if ((_hd_hh_del->prev == NULL) && (_hd_hh_del->next == NULL)) { \ 383 (head)->hh.tbl->tail = HH_FROM_ELMT((head)->hh.tbl, _hd_hh_del->prev); \ 385 if (_hd_hh_del->prev ! 1099 void *prev; /* prev element in app order */ global() member [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/ |
H A D | list.h | 35 (ptr)->prev = (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() 48 _new->prev = prev; in __list_add() 49 prev->next = _new; in __list_add() 59 __list_add(_new, head->prev, head); in list_add_tail() 62 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 64 next->prev in __list_del() [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | list.h | 32 (ptr)->prev = (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() 45 _new->prev = prev; in __list_add() 46 prev->next = _new; in __list_add() 56 __list_add(_new, head->prev, head); in list_add_tail() 59 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 61 next->prev in __list_del() [all...] |
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 44 list->prev = list; in OSAL_INIT_LIST_HEAD() 51 * the prev/next entries already! 54 struct osal_list_head *prev, in osal___list_add() 57 next->prev = new; in osal___list_add() 59 new->prev = prev; in osal___list_add() 60 prev->next = new; in osal___list_add() 86 osal___list_add(new, head->prev, hea in osal_list_add_tail() 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 284 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | list.h | 32 (ptr)->prev = (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() 45 _new->prev = prev; in __list_add() 46 prev->next = _new; in __list_add() 56 __list_add(_new, head->prev, head); in list_add_tail() 59 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 61 next->prev in __list_del() [all...] |
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 45 list->prev = list; in OSAL_INIT_LIST_HEAD() 52 * the prev/next entries already! 55 struct osal_list_head *prev, in osal___list_add() 58 next->prev = new; in osal___list_add() 60 new->prev = prev; in osal___list_add() 61 prev->next = new; in osal___list_add() 87 osal___list_add(new, head->prev, hea in osal_list_add_tail() 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 285 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument [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 48 list->prev = list; in OSAL_INIT_LIST_HEAD() 55 * the prev/next entries already! 58 struct osal_list_head *prev, in osal___list_add() 61 next->prev = new; in osal___list_add() 63 new->prev = prev; in osal___list_add() 64 prev->next = new; in osal___list_add() 90 osal___list_add(new, head->prev, hea in osal_list_add_tail() 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 288 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument [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 47 list->prev = list; in OSAL_INIT_LIST_HEAD() 54 * the prev/next entries already! 57 struct osal_list_head *prev, in osal___list_add() 60 next->prev = new; in osal___list_add() 62 new->prev = prev; in osal___list_add() 63 prev->next = new; in osal___list_add() 89 osal___list_add(new, head->prev, hea in osal_list_add_tail() 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 283 osal___list_splice(const struct osal_list_head *list, struct osal_list_head *prev, struct osal_list_head *next) osal___list_splice() argument [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() 52 _new->prev = prev; in inline_cbb_list_add() 53 prev->next = _new; in inline_cbb_list_add() 71 inline_cbb_list_add(_new, head->prev, head); in cbb_list_add_tail() 74 static HPT_INLINE void inline_cbb_list_del(struct cbb_list_head *prev, struc 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/rk3588/hardware/mpp/include/ |
H A D | mpp_list.h | 92 struct list_head *next, *prev; member 101 (ptr)->next = (ptr); (ptr)->prev = (ptr); \ 115 list_entry((ptr)->prev, type, member) 127 list_entry((pos)->member.prev, type, member) 152 struct list_head * prev, in __list_add() 155 next->prev = _new; in __list_add() 157 _new->prev = prev; in __list_add() 158 prev->next = _new; in __list_add() 168 __list_add(_new, head->prev, hea in list_add_tail() 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...] |
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_list.h | 82 struct list_head *next, *prev; member 95 (ptr)->prev = (ptr); \ 107 #define list_last_entry(ptr, type, member) list_entry((ptr)->prev, type, member) 118 #define list_prev_entry(pos, type, member) list_entry((pos)->member.prev, type, member) 136 static __inline void _list_add(struct list_head *_new, struct list_head *prev, struct list_head *next) in _list_add() argument 138 next->prev = _new; in _list_add() 140 _new->prev = prev; in _list_add() 141 prev->next = _new; in _list_add() 151 _list_add(_new, head->prev, hea in list_add_tail() 154 _list_del(struct list_head *prev, struct list_head *next) _list_del() 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); \ 109 list_entry((ptr)->prev, type, member) 121 list_entry((pos)->member.prev, type, member) 146 struct list_head * prev, in _list_add() 149 next->prev = _new; in _list_add() 151 _new->prev = prev; in _list_add() 152 prev->next = _new; in _list_add() 162 _list_add(_new, head->prev, hea in list_add_tail() 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...] |
/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); \ 109 list_entry((ptr)->prev, type, member) 121 list_entry((pos)->member.prev, type, member) 146 struct list_head * prev, in _list_add() 149 next->prev = _new; in _list_add() 151 _new->prev = prev; in _list_add() 152 prev->next = _new; in _list_add() 162 _list_add(_new, head->prev, hea in list_add_tail() 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...] |
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/ |
H A D | rk_list.cpp | 35 rk_list_node* prev; member 43 node->prev = node->next = node; in list_node_init() 68 static inline void _rk_list_add(rk_list_node * _new, rk_list_node * prev, rk_list_node * next) in _rk_list_add() argument 70 next->prev = _new; in _rk_list_add() 72 _new->prev = prev; in _rk_list_add() 73 prev->next = _new; in _rk_list_add() 83 _rk_list_add(_new, head->prev, head); in rk_list_add_tail() 139 static inline void _rk_list_del(rk_list_node *prev, rk_list_node *next) in _rk_list_del() argument 141 next->prev in _rk_list_del() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 181 struct _mali_osk_lock_debug_s *prev = NULL; in remove_lock_from_log() local 198 prev = curr; in remove_lock_from_log() 205 if (prev == NULL) { in remove_lock_from_log() 209 MALI_DEBUG_ASSERT_POINTER(prev); in remove_lock_from_log() 210 prev->next = curr->next; in remove_lock_from_log()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_osk_locks.c | 183 struct _mali_osk_lock_debug_s *prev = NULL; in remove_lock_from_log() local 201 prev = curr; in remove_lock_from_log() 208 if (NULL == prev) { in remove_lock_from_log() 212 MALI_DEBUG_ASSERT_POINTER(prev); in remove_lock_from_log() 213 prev->next = curr->next; in remove_lock_from_log()
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_netbuf.h | 138 #define oal_netbuf_prev(nb) (nb->dlist.prev == NULL ? NULL : CONTAINER_OF(nb->dlist.prev, NetBuf, dlist))
146 (nb)->dlist.prev = (new == NULL ? NULL : &new->dlist);
in set_oal_netbuf_prev() 150 #define oal_netbuf_head_prev(q) ((q)->dlist.prev)
191 #define oal_netbuf_append(q, nb, prev) do { \
192 DListInsertHead(&nb->dlist, &prev->dlist); \
203 #define oal_netbuf_prev(nb) ((nb)->prev)
205 #define set_oal_netbuf_prev(nb, new) ((nb)->prev = new)
208 #define oal_netbuf_head_prev(q) ((q)->prev)
244 #define oal_netbuf_append(q, nb, prev) __skb_queue_afte [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | hnd_pktq.c | 270 void *p, *prev; in pktq_pdeq_tail() local 283 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail() 284 prev = p; in pktq_pdeq_tail() 286 if (prev) in pktq_pdeq_tail() 287 PKTSETLINK(prev, NULL); in pktq_pdeq_tail() 291 q->tail = prev; in pktq_pdeq_tail() 311 void *p, *prev; in spktq_deq_tail() local 322 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in spktq_deq_tail() 323 prev = p; in spktq_deq_tail() 325 if (prev) in spktq_deq_tail() 628 void *p, *prev = NULL; pktq_pdeq_with_fn() local 1040 void *p = NULL, *prev; pktq_deq_tail() local [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | core.c | 3264 * this task as prev, considering queueing p on the remote CPUs wake_list in try_to_wake_up() 3288 * this task as prev, wait until its done referencing the task. in try_to_wake_up() 3862 static inline void finish_task(struct task_struct *prev) in finish_task() argument 3866 * This must be the very last reference to @prev from this CPU. After in finish_task() 3871 * In particular, the load of prev->state in finish_task_switch() must in finish_task() 3876 smp_store_release(&prev->on_cpu, 0); in finish_task() 3902 * prev into current: in finish_lock_switch() 3927 * @prev: the current task that is being switched out 3937 static inline void prepare_task_switch(struct rq *rq, struct task_struct *prev, in prepare_task_switch() argument 3940 kcov_prepare_switch(prev); in prepare_task_switch() 4006 vtime_task_switch(prev); global() variable 4008 finish_task(prev); global() variable 4039 kprobe_flush_task(prev); global() variable 4042 put_task_stack(prev); global() variable 4044 put_task_struct_rcu_user(prev); global() variable 4121 context_switch(struct rq *rq, struct task_struct *prev, struct task_struct *next, struct rq_flags *rf) context_switch() argument 4670 __schedule_bug(struct task_struct *prev) __schedule_bug() argument 4702 schedule_debug(struct task_struct *prev, bool preempt) schedule_debug() argument 4734 put_prev_task_balance(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) put_prev_task_balance() argument 4762 pick_next_task(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) pick_next_task() argument 4845 struct task_struct *prev, *next; __schedule() local [all...] |
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | fpsimd.h | 16 TP_PROTO(struct task_struct *prev, struct task_struct *next), 17 TP_ARGS(prev, next))
|