Home
last modified time | relevance | path

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

1234567891011

/ThreadX-v6.4.1/common/src/
Dtx_event_flags_create.c74 UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr) in _tx_event_flags_create() argument
84 TX_MEMSET(group_ptr, 0, (sizeof(TX_EVENT_FLAGS_GROUP))); in _tx_event_flags_create()
87 group_ptr -> tx_event_flags_group_name = name_ptr; in _tx_event_flags_create()
93 group_ptr -> tx_event_flags_group_id = TX_EVENT_FLAGS_ID; in _tx_event_flags_create()
101 _tx_event_flags_created_ptr = group_ptr; in _tx_event_flags_create()
102 group_ptr -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
103 group_ptr -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
113 next_group -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
114 previous_group -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
117 group_ptr -> tx_event_flags_group_created_previous = previous_group; in _tx_event_flags_create()
[all …]
Dtx_event_flags_set.c83 UINT _tx_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _tx_event_flags_set() argument
121 group_ptr -> tx_event_flags_group_performance_set_count++; in _tx_event_flags_set()
125 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET, group_ptr, flags_to_set, set_option, group_ptr -… in _tx_event_flags_set()
141 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_set()
144 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_set()
160 group_ptr -> tx_event_flags_group_delayed_clear = in _tx_event_flags_set()
161group_ptr -> tx_event_flags_group_delayed_clear | ~flags_to_set; in _tx_event_flags_set()
170 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_set()
171 group_ptr -> tx_event_flags_group_current & flags_to_set; in _tx_event_flags_set()
187 events_set_notify = group_ptr -> tx_event_flags_group_set_notify; in _tx_event_flags_set()
[all …]
Dtx_event_flags_cleanup.c84 TX_EVENT_FLAGS_GROUP *group_ptr; in _tx_event_flags_cleanup() local
105group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
108 if (group_ptr != TX_NULL) in _tx_event_flags_cleanup()
112 if (group_ptr -> tx_event_flags_group_id == TX_EVENT_FLAGS_ID) in _tx_event_flags_cleanup()
116 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_cleanup()
121group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
130 suspended_count = group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_cleanup()
133 suspension_head = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_cleanup()
148 group_ptr -> tx_event_flags_group_suspended_count = suspended_count; in _tx_event_flags_cleanup()
157 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_cleanup()
[all …]
Dtx_event_flags_delete.c76 UINT _tx_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _tx_event_flags_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_DELETE, group_ptr, TX_POINTER_TO_ULONG_CONVERT(&threa… in _tx_event_flags_delete()
95 TX_EVENT_FLAGS_GROUP_DELETE_EXTENSION(group_ptr) in _tx_event_flags_delete()
98 TX_TRACE_OBJECT_UNREGISTER(group_ptr) in _tx_event_flags_delete()
104 group_ptr -> tx_event_flags_group_id = TX_CLEAR_ID; in _tx_event_flags_delete()
120 …next_group = group_ptr -> tx_event_flags_group_created_n… in _tx_event_flags_delete()
121 …previous_group = group_ptr -> tx_event_flags_group_created_p… in _tx_event_flags_delete()
126 if (_tx_event_flags_created_ptr == group_ptr) in _tx_event_flags_delete()
138 …thread_ptr = group_ptr -> tx_event_flags_group_suspension_… in _tx_event_flags_delete()
139 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_delete()
[all …]
Dtx_event_flags_get.c86 UINT _tx_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, in _tx_event_flags_get() argument
118 group_ptr -> tx_event_flags_group__performance_get_count++; in _tx_event_flags_get()
122 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_GET, group_ptr, requested_flags, group_ptr -> tx_even… in _tx_event_flags_get()
128 current_flags = group_ptr -> tx_event_flags_group_current; in _tx_event_flags_get()
131 *actual_flags_ptr = current_flags & ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
174 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_get()
175group_ptr -> tx_event_flags_group_current & (~requested_flags); in _tx_event_flags_get()
185 delayed_clear_flags = group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
238 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_get()
241 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_get()
[all …]
Dtx_event_flags_info_get.c81 UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _tx_event_flags_info_get() argument
93 …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()
105 *name = group_ptr -> tx_event_flags_group_name; in _tx_event_flags_info_get()
113 *current_flags = group_ptr -> tx_event_flags_group_current & in _tx_event_flags_info_get()
114 … ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_info_get()
121 *first_suspended = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_info_get()
128 *suspended_count = (ULONG) group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_info_get()
135 *next_group = group_ptr -> tx_event_flags_group_created_next; in _tx_event_flags_info_get()
Dtx_event_flags_performance_info_get.c83 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
94 if (group_ptr == TX_NULL) in _tx_event_flags_performance_info_get()
102 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _tx_event_flags_performance_info_get()
115 …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()
127 *sets = group_ptr -> tx_event_flags_group_performance_set_count; in _tx_event_flags_performance_info_get()
134 *gets = group_ptr -> tx_event_flags_group__performance_get_count; in _tx_event_flags_performance_info_get()
141 *suspensions = group_ptr -> tx_event_flags_group___performance_suspension_count; in _tx_event_flags_performance_info_get()
148 *timeouts = group_ptr -> tx_event_flags_group____performance_timeout_count; in _tx_event_flags_performance_info_get()
162 if (group_ptr != TX_NULL) in _tx_event_flags_performance_info_get()
Dtxe_event_flags_set_notify.c74 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
81 if (group_ptr == TX_NULL) in _txe_event_flags_set_notify()
89 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set_notify()
99 status = _tx_event_flags_set_notify(group_ptr, events_set_notify); in _txe_event_flags_set_notify()
Dtx_event_flags_set_notify.c74 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
79 TX_EVENT_FLAGS_GROUP_NOT_USED(group_ptr); in _tx_event_flags_set_notify()
93 …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()
99 group_ptr -> tx_event_flags_group_set_notify = events_set_notify; in _tx_event_flags_set_notify()
Dtxe_event_flags_info_get.c82 UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _txe_event_flags_info_get() argument
91 if (group_ptr == TX_NULL) in _txe_event_flags_info_get()
99 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_info_get()
109 status = _tx_event_flags_info_get(group_ptr, name, current_flags, first_suspended, in _txe_event_flags_info_get()
Dtxe_event_flags_set.c76 UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _txe_event_flags_set() argument
86 if (group_ptr == TX_NULL) in _txe_event_flags_set()
94 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set()
121 status = _tx_event_flags_set(group_ptr, flags_to_set, set_option); in _txe_event_flags_set()
Dtxe_event_flags_delete.c75 UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _txe_event_flags_delete() argument
91 if (group_ptr == TX_NULL) in _txe_event_flags_delete()
99 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_delete()
137 status = _tx_event_flags_delete(group_ptr); in _txe_event_flags_delete()
Dtxe_event_flags_create.c80 UINT _txe_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr, UINT event_control_b… in _txe_event_flags_create() argument
97 if (group_ptr == TX_NULL) in _txe_event_flags_create()
129 if (group_ptr == next_group) in _txe_event_flags_create()
155 if (group_ptr == next_group) in _txe_event_flags_create()
198 status = _tx_event_flags_create(group_ptr, name_ptr); in _txe_event_flags_create()
/ThreadX-v6.4.1/common_smp/src/
Dtx_event_flags_create.c74 UINT _tx_event_flags_create(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR *name_ptr) in _tx_event_flags_create() argument
84 TX_MEMSET(group_ptr, 0, (sizeof(TX_EVENT_FLAGS_GROUP))); in _tx_event_flags_create()
87 group_ptr -> tx_event_flags_group_name = name_ptr; in _tx_event_flags_create()
93 group_ptr -> tx_event_flags_group_id = TX_EVENT_FLAGS_ID; in _tx_event_flags_create()
101 _tx_event_flags_created_ptr = group_ptr; in _tx_event_flags_create()
102 group_ptr -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
103 group_ptr -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
113 next_group -> tx_event_flags_group_created_previous = group_ptr; in _tx_event_flags_create()
114 previous_group -> tx_event_flags_group_created_next = group_ptr; in _tx_event_flags_create()
117 group_ptr -> tx_event_flags_group_created_previous = previous_group; in _tx_event_flags_create()
[all …]
Dtx_event_flags_set.c83 UINT _tx_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _tx_event_flags_set() argument
121 group_ptr -> tx_event_flags_group_performance_set_count++; in _tx_event_flags_set()
125 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_SET, group_ptr, flags_to_set, set_option, group_ptr -… in _tx_event_flags_set()
141 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_set()
144 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_set()
160 group_ptr -> tx_event_flags_group_delayed_clear = in _tx_event_flags_set()
161group_ptr -> tx_event_flags_group_delayed_clear | ~flags_to_set; in _tx_event_flags_set()
170 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_set()
171 group_ptr -> tx_event_flags_group_current & flags_to_set; in _tx_event_flags_set()
187 events_set_notify = group_ptr -> tx_event_flags_group_set_notify; in _tx_event_flags_set()
[all …]
Dtx_event_flags_cleanup.c84 TX_EVENT_FLAGS_GROUP *group_ptr; in _tx_event_flags_cleanup() local
105group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
108 if (group_ptr != TX_NULL) in _tx_event_flags_cleanup()
112 if (group_ptr -> tx_event_flags_group_id == TX_EVENT_FLAGS_ID) in _tx_event_flags_cleanup()
116 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_cleanup()
121group_ptr = TX_VOID_TO_EVENT_FLAGS_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_block); in _tx_event_flags_cleanup()
130 suspended_count = group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_cleanup()
133 suspension_head = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_cleanup()
148 group_ptr -> tx_event_flags_group_suspended_count = suspended_count; in _tx_event_flags_cleanup()
157 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_cleanup()
[all …]
Dtx_event_flags_delete.c76 UINT _tx_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _tx_event_flags_delete() argument
92 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_DELETE, group_ptr, TX_POINTER_TO_ULONG_CONVERT(&threa… in _tx_event_flags_delete()
95 TX_EVENT_FLAGS_GROUP_DELETE_EXTENSION(group_ptr) in _tx_event_flags_delete()
98 TX_TRACE_OBJECT_UNREGISTER(group_ptr) in _tx_event_flags_delete()
104 group_ptr -> tx_event_flags_group_id = TX_CLEAR_ID; in _tx_event_flags_delete()
120 …next_group = group_ptr -> tx_event_flags_group_created_n… in _tx_event_flags_delete()
121 …previous_group = group_ptr -> tx_event_flags_group_created_p… in _tx_event_flags_delete()
126 if (_tx_event_flags_created_ptr == group_ptr) in _tx_event_flags_delete()
138 …thread_ptr = group_ptr -> tx_event_flags_group_suspension_… in _tx_event_flags_delete()
139 group_ptr -> tx_event_flags_group_suspension_list = TX_NULL; in _tx_event_flags_delete()
[all …]
Dtx_event_flags_get.c86 UINT _tx_event_flags_get(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG requested_flags, in _tx_event_flags_get() argument
118 group_ptr -> tx_event_flags_group__performance_get_count++; in _tx_event_flags_get()
122 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_EVENT_FLAGS_GET, group_ptr, requested_flags, group_ptr -> tx_even… in _tx_event_flags_get()
128 current_flags = group_ptr -> tx_event_flags_group_current; in _tx_event_flags_get()
131 *actual_flags_ptr = current_flags & ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
174 group_ptr -> tx_event_flags_group_current = in _tx_event_flags_get()
175group_ptr -> tx_event_flags_group_current & (~requested_flags); in _tx_event_flags_get()
185 delayed_clear_flags = group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_get()
238 if (group_ptr -> tx_event_flags_group_suspended_count != TX_NO_SUSPENSIONS) in _tx_event_flags_get()
241 if (group_ptr -> tx_event_flags_group_suspension_list == TX_NULL) in _tx_event_flags_get()
[all …]
Dtx_event_flags_info_get.c81 UINT _tx_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _tx_event_flags_info_get() argument
93 …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()
105 *name = group_ptr -> tx_event_flags_group_name; in _tx_event_flags_info_get()
113 *current_flags = group_ptr -> tx_event_flags_group_current & in _tx_event_flags_info_get()
114 … ~group_ptr -> tx_event_flags_group_delayed_clear; in _tx_event_flags_info_get()
121 *first_suspended = group_ptr -> tx_event_flags_group_suspension_list; in _tx_event_flags_info_get()
128 *suspended_count = (ULONG) group_ptr -> tx_event_flags_group_suspended_count; in _tx_event_flags_info_get()
135 *next_group = group_ptr -> tx_event_flags_group_created_next; in _tx_event_flags_info_get()
Dtx_event_flags_performance_info_get.c83 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
94 if (group_ptr == TX_NULL) in _tx_event_flags_performance_info_get()
102 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _tx_event_flags_performance_info_get()
115 …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()
127 *sets = group_ptr -> tx_event_flags_group_performance_set_count; in _tx_event_flags_performance_info_get()
134 *gets = group_ptr -> tx_event_flags_group__performance_get_count; in _tx_event_flags_performance_info_get()
141 *suspensions = group_ptr -> tx_event_flags_group___performance_suspension_count; in _tx_event_flags_performance_info_get()
148 *timeouts = group_ptr -> tx_event_flags_group____performance_timeout_count; in _tx_event_flags_performance_info_get()
162 if (group_ptr != TX_NULL) in _tx_event_flags_performance_info_get()
Dtxe_event_flags_set_notify.c74 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
81 if (group_ptr == TX_NULL) in _txe_event_flags_set_notify()
89 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set_notify()
99 status = _tx_event_flags_set_notify(group_ptr, events_set_notify); in _txe_event_flags_set_notify()
Dtx_event_flags_set_notify.c74 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
79 TX_EVENT_FLAGS_GROUP_NOT_USED(group_ptr); in _tx_event_flags_set_notify()
93 …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()
99 group_ptr -> tx_event_flags_group_set_notify = events_set_notify; in _tx_event_flags_set_notify()
Dtxe_event_flags_info_get.c82 UINT _txe_event_flags_info_get(TX_EVENT_FLAGS_GROUP *group_ptr, CHAR **name, ULONG *current_flags, in _txe_event_flags_info_get() argument
91 if (group_ptr == TX_NULL) in _txe_event_flags_info_get()
99 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_info_get()
109 status = _tx_event_flags_info_get(group_ptr, name, current_flags, first_suspended, in _txe_event_flags_info_get()
Dtxe_event_flags_set.c76 UINT _txe_event_flags_set(TX_EVENT_FLAGS_GROUP *group_ptr, ULONG flags_to_set, UINT set_option) in _txe_event_flags_set() argument
86 if (group_ptr == TX_NULL) in _txe_event_flags_set()
94 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_set()
121 status = _tx_event_flags_set(group_ptr, flags_to_set, set_option); in _txe_event_flags_set()
Dtxe_event_flags_delete.c75 UINT _txe_event_flags_delete(TX_EVENT_FLAGS_GROUP *group_ptr) in _txe_event_flags_delete() argument
91 if (group_ptr == TX_NULL) in _txe_event_flags_delete()
99 else if (group_ptr -> tx_event_flags_group_id != TX_EVENT_FLAGS_ID) in _txe_event_flags_delete()
137 status = _tx_event_flags_delete(group_ptr); in _txe_event_flags_delete()

1234567891011