| /rockchip-linux_mpp/osal/inc/ |
| H A D | mpp_list.h | 36 MppListNode *head; member 87 #define list_for_each_safe(pos, n, head) \ argument 88 for (pos = (head)->next, n = pos->next; pos != (head); \ 112 #define list_for_each_entry(pos, head, type, member) \ argument 113 for (pos = list_entry((head)->next, type, member); \ 114 &pos->member != (head); \ 117 #define list_for_each_entry_safe(pos, n, head, type, member) \ argument 118 for (pos = list_first_entry(head, type, member), \ 120 &pos->member != (head); \ 123 #define list_for_each_entry_reverse(pos, head, type, member) \ argument [all …]
|
| H A D | mpp_hash.h | 146 #define hlist_for_each(pos, head) \ argument 147 for (pos = (head)->first; pos ; pos = pos->next) 149 #define hlist_for_each_safe(pos, n, head) \ argument 150 for (pos = (head)->first; pos && ({ n = pos->next; 1; }); \ 158 #define hlist_for_each_entry(pos, head, member) \ argument 159 for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\ 172 #define hlist_for_each_entry_safe(pos, n, head, member) \ argument 173 for (pos = hlist_entry_safe((head)->first, typeof(*pos), member);\
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_list.c | 55 static inline void mpp_list_add(MppListNode *_new, MppListNode *head) in mpp_list_add() argument 57 _mpp_list_add(_new, head, head->next); in mpp_list_add() 60 static inline void mpp_list_add_tail(MppListNode *_new, MppListNode *head) in mpp_list_add_tail() argument 62 _mpp_list_add(_new, head->prev, head); in mpp_list_add_tail() 69 if (list->head) { in mpp_list_add_at_head() 72 mpp_list_add(node, list->head); in mpp_list_add_at_head() 86 if (list->head) { in mpp_list_add_at_tail() 90 mpp_list_add_tail(node, list->head); in mpp_list_add_at_tail() 138 if (list->head && list->count) { in mpp_list_del_at_head() 139 _list_del_node_no_lock(list->head->next, data, size); in mpp_list_del_at_head() [all …]
|
| /rockchip-linux_mpp/mpp/legacy/ |
| H A D | rk_list.cpp | 65 static inline void rk_list_add(rk_list_node *_new, rk_list_node *head) in rk_list_add() argument 67 _rk_list_add(_new, head, head->next); in rk_list_add() 70 static inline void rk_list_add_tail(rk_list_node *_new, rk_list_node *head) in rk_list_add_tail() argument 72 _rk_list_add(_new, head->prev, head); in rk_list_add_tail() 79 if (head) { in add_at_head() 82 rk_list_add(node, head); in add_at_head() 97 if (head) { in add_at_tail() 100 rk_list_add_tail(node, head); in add_at_tail() 146 if (head && count) { in del_at_head() 147 _list_del_node_no_lock(head->next, data, size); in del_at_head() [all …]
|
| H A D | rk_list.h | 41 struct rk_list_node *head; variable
|
| /rockchip-linux_mpp/tools/ |
| H A D | changelog.sh | 166 …prev_changelog_version=$(echo $prev_changelog | grep -E "## *.*.* *" | head -1 | awk '{ print $2 }… 188 unreleased_count=$(echo ${curr_ver} | grep -E "## *.*.* *" | head -1 | awk -F "-" '{ printf $2 }')
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_rc.c | 179 MPP_RET mpp_rc_param_ops(struct list_head *head, RK_U32 frm_cnt, in mpp_rc_param_ops() argument 188 list_for_each_entry_safe(pos, n, head, RecordNode, list) { in mpp_rc_param_ops() 196 mpp_err("frame %d is not found in list_head %p!\n", frm_cnt, head); in mpp_rc_param_ops()
|