Home
last modified time | relevance | path

Searched refs:group_ptr (Results 1 – 25 of 247) sorted by relevance

12345678910

/ThreadX-v6.2.1/common_smp/src/
Dtx_event_flags_create.c75 UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr) in _tx_event_flags_create() argument
85 TX_MEMSET(group_ptr, 0, (sizeof(TX_EVENT_FLAGS_GROUP))); in _tx_event_flags_create()
88 group_ptr -> tx_event_flags_group_name = name_ptr; in _tx_event_flags_create()
94 group_ptr -> tx_event_flags_group_id = TX_EVENT_FLAGS_ID; in _tx_event_flags_create()
102 _tx_event_flags_created_ptr = group_ptr; in _tx_event_flags_create()
103 group_ptr -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
104 group_ptr -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
114 next_group -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
115 previous_group -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
118 group_ptr -> tx_event_flags_group_created_previous = previous_group; in _tx_event_flags_create()
[all …]
Dtx_event_flags_set.c84 UINT _tx_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _tx_event_flags_set() argument
122 group_ptr -> tx_event_flags_group_performance_set_count++; in _tx_event_flags_set()
126 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET, group_ptr, flags_to_set, set_option, group_ptr -… in _tx_event_flags_set()
142 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_set()
145 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_set()
161 group_ptr -> tx_event_flags_group_delayed_clear = in _tx_event_flags_set()
162group_ptr -> tx_event_flags_group_delayed_clear | ~flags_to_set; in _tx_event_flags_set()
171 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_set()
172 group_ptr -> tx_event_flags_group_current & flags_to_set; in _tx_event_flags_set()
188 events_set_notify = group_ptr -> tx_event_flags_group_set_notify; in _tx_event_flags_set()
[all …]
Dtx_event_flags_cleanup.c85 TX_EVENT_FLAGS_GROUP *group_ptr; in _tx_event_flags_cleanup() local
106group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
109 if (group_ptr != TX_NULL) in _tx_event_flags_cleanup()
113 if (group_ptr -> tx_event_flags_group_id == TX_EVENT_FLAGS_ID) in _tx_event_flags_cleanup()
117 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_cleanup()
122group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
131 suspended_count = group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_cleanup()
134 suspension_head = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_cleanup()
149 group_ptr -> tx_event_flags_group_suspended_count = suspended_count; in _tx_event_flags_cleanup()
158 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_cleanup()
[all …]
Dtx_event_flags_delete.c77 UINT _tx_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _tx_event_flags_delete() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_DELETE, group_ptr, TX_POINTER_TO_ULONG_CONVERT(&threa… in _tx_event_flags_delete()
96 TX_EVENT_FLAGS_GROUP_DELETE_EXTENSION(group_ptr) in _tx_event_flags_delete()
99 TX_TRACE_OBJECT_UNREGISTER(group_ptr) in _tx_event_flags_delete()
105 group_ptr -> tx_event_flags_group_id = TX_CLEAR_ID; in _tx_event_flags_delete()
121 …next_group = group_ptr -> tx_event_flags_group_created_n… in _tx_event_flags_delete()
122 …previous_group = group_ptr -> tx_event_flags_group_created_p… in _tx_event_flags_delete()
127 if (_tx_event_flags_created_ptr == group_ptr) in _tx_event_flags_delete()
139 …thread_ptr = group_ptr -> tx_event_flags_group_suspension_… in _tx_event_flags_delete()
140 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_delete()
[all …]
Dtx_event_flags_get.c87 UINT _tx_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, in _tx_event_flags_get() argument
119 group_ptr -> tx_event_flags_group__performance_get_count++; in _tx_event_flags_get()
123 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_GET, group_ptr, requested_flags, group_ptr -> tx_even… in _tx_event_flags_get()
129 current_flags = group_ptr -> tx_event_flags_group_current; in _tx_event_flags_get()
132 *actual_flags_ptr = current_flags & ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
175 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_get()
176group_ptr -> tx_event_flags_group_current & (~requested_flags); in _tx_event_flags_get()
186 delayed_clear_flags = group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
239 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_get()
242 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_get()
[all …]
Dtx_event_flags_info_get.c82 UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _tx_event_flags_info_get() argument
94 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_INFO_GET, group_ptr, 0, 0, 0, TX_TRACE_EVENT_FLAGS_EV… in _tx_event_flags_info_get()
106 *name = group_ptr -> tx_event_flags_group_name; in _tx_event_flags_info_get()
114 *current_flags = group_ptr -> tx_event_flags_group_current & in _tx_event_flags_info_get()
115 … ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_info_get()
122 *first_suspended = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_info_get()
129 *suspended_count = (ULONG) group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_info_get()
136 *next_group = group_ptr -> tx_event_flags_group_created_next; in _tx_event_flags_info_get()
Dtx_event_flags_performance_info_get.c84 UINT _tx_event_flags_performance_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *get… in _tx_event_flags_performance_info_get() argument
95 if (group_ptr == TX_NULL) in _tx_event_flags_performance_info_get()
103 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _tx_event_flags_performance_info_get()
116 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_PERFORMANCE_INFO_GET, group_ptr, 0, 0, 0, TX_TRACE_EV… in _tx_event_flags_performance_info_get()
128 *sets = group_ptr -> tx_event_flags_group_performance_set_count; in _tx_event_flags_performance_info_get()
135 *gets = group_ptr -> tx_event_flags_group__performance_get_count; in _tx_event_flags_performance_info_get()
142 *suspensions = group_ptr -> tx_event_flags_group___performance_suspension_count; in _tx_event_flags_performance_info_get()
149 *timeouts = group_ptr -> tx_event_flags_group____performance_timeout_count; in _tx_event_flags_performance_info_get()
163 if (group_ptr != TX_NULL) in _tx_event_flags_performance_info_get()
Dtxe_event_flags_set_notify.c75 UINT _txe_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVE… in _txe_event_flags_set_notify() argument
82 if (group_ptr == TX_NULL) in _txe_event_flags_set_notify()
90 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set_notify()
100 status = _tx_event_flags_set_notify(group_ptr, events_set_notify); in _txe_event_flags_set_notify()
Dtx_event_flags_set_notify.c75 UINT _tx_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVEN… in _tx_event_flags_set_notify() argument
80 TX_EVENT_FLAGS_GROUP_NOT_USED(group_ptr); in _tx_event_flags_set_notify()
94 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET_NOTIFY, group_ptr, 0, 0, 0, TX_TRACE_EVENT_FLAGS_… in _tx_event_flags_set_notify()
100 group_ptr -> tx_event_flags_group_set_notify = events_set_notify; in _tx_event_flags_set_notify()
Dtxe_event_flags_info_get.c83 UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _txe_event_flags_info_get() argument
92 if (group_ptr == TX_NULL) in _txe_event_flags_info_get()
100 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_info_get()
110 status = _tx_event_flags_info_get(group_ptr, name, current_flags, first_suspended, in _txe_event_flags_info_get()
Dtxe_event_flags_set.c77 UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _txe_event_flags_set() argument
87 if (group_ptr == TX_NULL) in _txe_event_flags_set()
95 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set()
122 status = _tx_event_flags_set(group_ptr, flags_to_set, set_option); in _txe_event_flags_set()
Dtxe_event_flags_delete.c76 UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _txe_event_flags_delete() argument
92 if (group_ptr == TX_NULL) in _txe_event_flags_delete()
100 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_delete()
138 status = _tx_event_flags_delete(group_ptr); in _txe_event_flags_delete()
/ThreadX-v6.2.1/common/src/
Dtx_event_flags_create.c75 UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr) in _tx_event_flags_create() argument
85 TX_MEMSET(group_ptr, 0, (sizeof(TX_EVENT_FLAGS_GROUP))); in _tx_event_flags_create()
88 group_ptr -> tx_event_flags_group_name = name_ptr; in _tx_event_flags_create()
94 group_ptr -> tx_event_flags_group_id = TX_EVENT_FLAGS_ID; in _tx_event_flags_create()
102 _tx_event_flags_created_ptr = group_ptr; in _tx_event_flags_create()
103 group_ptr -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
104 group_ptr -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
114 next_group -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
115 previous_group -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
118 group_ptr -> tx_event_flags_group_created_previous = previous_group; in _tx_event_flags_create()
[all …]
Dtx_event_flags_set.c84 UINT _tx_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _tx_event_flags_set() argument
122 group_ptr -> tx_event_flags_group_performance_set_count++; in _tx_event_flags_set()
126 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET, group_ptr, flags_to_set, set_option, group_ptr -… in _tx_event_flags_set()
142 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_set()
145 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_set()
161 group_ptr -> tx_event_flags_group_delayed_clear = in _tx_event_flags_set()
162group_ptr -> tx_event_flags_group_delayed_clear | ~flags_to_set; in _tx_event_flags_set()
171 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_set()
172 group_ptr -> tx_event_flags_group_current & flags_to_set; in _tx_event_flags_set()
188 events_set_notify = group_ptr -> tx_event_flags_group_set_notify; in _tx_event_flags_set()
[all …]
Dtx_event_flags_cleanup.c85 TX_EVENT_FLAGS_GROUP *group_ptr; in _tx_event_flags_cleanup() local
106group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
109 if (group_ptr != TX_NULL) in _tx_event_flags_cleanup()
113 if (group_ptr -> tx_event_flags_group_id == TX_EVENT_FLAGS_ID) in _tx_event_flags_cleanup()
117 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_cleanup()
122group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
131 suspended_count = group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_cleanup()
134 suspension_head = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_cleanup()
149 group_ptr -> tx_event_flags_group_suspended_count = suspended_count; in _tx_event_flags_cleanup()
158 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_cleanup()
[all …]
Dtx_event_flags_delete.c77 UINT _tx_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _tx_event_flags_delete() argument
93 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_DELETE, group_ptr, TX_POINTER_TO_ULONG_CONVERT(&threa… in _tx_event_flags_delete()
96 TX_EVENT_FLAGS_GROUP_DELETE_EXTENSION(group_ptr) in _tx_event_flags_delete()
99 TX_TRACE_OBJECT_UNREGISTER(group_ptr) in _tx_event_flags_delete()
105 group_ptr -> tx_event_flags_group_id = TX_CLEAR_ID; in _tx_event_flags_delete()
121 …next_group = group_ptr -> tx_event_flags_group_created_n… in _tx_event_flags_delete()
122 …previous_group = group_ptr -> tx_event_flags_group_created_p… in _tx_event_flags_delete()
127 if (_tx_event_flags_created_ptr == group_ptr) in _tx_event_flags_delete()
139 …thread_ptr = group_ptr -> tx_event_flags_group_suspension_… in _tx_event_flags_delete()
140 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_delete()
[all …]
Dtx_event_flags_get.c87 UINT _tx_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, in _tx_event_flags_get() argument
119 group_ptr -> tx_event_flags_group__performance_get_count++; in _tx_event_flags_get()
123 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_GET, group_ptr, requested_flags, group_ptr -> tx_even… in _tx_event_flags_get()
129 current_flags = group_ptr -> tx_event_flags_group_current; in _tx_event_flags_get()
132 *actual_flags_ptr = current_flags & ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
175 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_get()
176group_ptr -> tx_event_flags_group_current & (~requested_flags); in _tx_event_flags_get()
186 delayed_clear_flags = group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
239 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_get()
242 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_get()
[all …]
Dtx_event_flags_info_get.c82 UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _tx_event_flags_info_get() argument
94 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_INFO_GET, group_ptr, 0, 0, 0, TX_TRACE_EVENT_FLAGS_EV… in _tx_event_flags_info_get()
106 *name = group_ptr -> tx_event_flags_group_name; in _tx_event_flags_info_get()
114 *current_flags = group_ptr -> tx_event_flags_group_current & in _tx_event_flags_info_get()
115 … ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_info_get()
122 *first_suspended = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_info_get()
129 *suspended_count = (ULONG) group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_info_get()
136 *next_group = group_ptr -> tx_event_flags_group_created_next; in _tx_event_flags_info_get()
Dtx_event_flags_performance_info_get.c84 UINT _tx_event_flags_performance_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG *sets, ULONG *get… in _tx_event_flags_performance_info_get() argument
95 if (group_ptr == TX_NULL) in _tx_event_flags_performance_info_get()
103 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _tx_event_flags_performance_info_get()
116 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_PERFORMANCE_INFO_GET, group_ptr, 0, 0, 0, TX_TRACE_EV… in _tx_event_flags_performance_info_get()
128 *sets = group_ptr -> tx_event_flags_group_performance_set_count; in _tx_event_flags_performance_info_get()
135 *gets = group_ptr -> tx_event_flags_group__performance_get_count; in _tx_event_flags_performance_info_get()
142 *suspensions = group_ptr -> tx_event_flags_group___performance_suspension_count; in _tx_event_flags_performance_info_get()
149 *timeouts = group_ptr -> tx_event_flags_group____performance_timeout_count; in _tx_event_flags_performance_info_get()
163 if (group_ptr != TX_NULL) in _tx_event_flags_performance_info_get()
Dtxe_event_flags_set_notify.c75 UINT _txe_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVE… in _txe_event_flags_set_notify() argument
82 if (group_ptr == TX_NULL) in _txe_event_flags_set_notify()
90 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set_notify()
100 status = _tx_event_flags_set_notify(group_ptr, events_set_notify); in _txe_event_flags_set_notify()
Dtx_event_flags_set_notify.c75 UINT _tx_event_flags_set_notify(TX_EVENT_FLAGS_GROUP *group_ptr, VOID (*events_set_notify)(TX_EVEN… in _tx_event_flags_set_notify() argument
80 TX_EVENT_FLAGS_GROUP_NOT_USED(group_ptr); in _tx_event_flags_set_notify()
94 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET_NOTIFY, group_ptr, 0, 0, 0, TX_TRACE_EVENT_FLAGS_… in _tx_event_flags_set_notify()
100 group_ptr -> tx_event_flags_group_set_notify = events_set_notify; in _tx_event_flags_set_notify()
Dtxe_event_flags_info_get.c83 UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _txe_event_flags_info_get() argument
92 if (group_ptr == TX_NULL) in _txe_event_flags_info_get()
100 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_info_get()
110 status = _tx_event_flags_info_get(group_ptr, name, current_flags, first_suspended, in _txe_event_flags_info_get()
Dtxe_event_flags_set.c77 UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _txe_event_flags_set() argument
87 if (group_ptr == TX_NULL) in _txe_event_flags_set()
95 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set()
122 status = _tx_event_flags_set(group_ptr, flags_to_set, set_option); in _txe_event_flags_set()
Dtxe_event_flags_delete.c76 UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _txe_event_flags_delete() argument
92 if (group_ptr == TX_NULL) in _txe_event_flags_delete()
100 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_delete()
138 status = _tx_event_flags_delete(group_ptr); in _txe_event_flags_delete()
Dtxe_event_flags_create.c81 UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_b… in _txe_event_flags_create() argument
98 if (group_ptr == TX_NULL) in _txe_event_flags_create()
130 if (group_ptr == next_group) in _txe_event_flags_create()
156 if (group_ptr == next_group) in _txe_event_flags_create()
199 status = _tx_event_flags_create(group_ptr, name_ptr); in _txe_event_flags_create()

12345678910