Searched refs:work_ptr (Results 1 – 6 of 6) sorted by relevance
| /USBX-v6.2.1/common/core/src/ |
| D | ux_utility_memory_free.c | 80 UCHAR *work_ptr; in _ux_utility_memory_free() local 130 work_ptr = UX_VOID_TO_UCHAR_POINTER_CONVERT(memory); in _ux_utility_memory_free() 131 if (work_ptr != UX_NULL) in _ux_utility_memory_free() 135 work_ptr = UX_UCHAR_POINTER_SUB(work_ptr, UX_MEMORY_BLOCK_HEADER_SIZE); in _ux_utility_memory_free() 138 temp_ptr = UX_UCHAR_POINTER_ADD(work_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_free() 144 temp_ptr = UX_UCHAR_POINTER_ADD(work_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_free() 195 temp_ptr = UX_UCHAR_POINTER_ADD(work_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_free() 200 block_link_ptr = UX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(work_ptr); in _ux_utility_memory_free() 203 pool_ptr -> ux_byte_pool_available + UX_UCHAR_POINTER_DIF(next_block_ptr, work_ptr); in _ux_utility_memory_free() 206 if (work_ptr < (pool_ptr -> ux_byte_pool_search)) in _ux_utility_memory_free() [all …]
|
| D | ux_utility_memory_set.c | 74 UCHAR * work_ptr; in _ux_utility_memory_set() local 78 work_ptr = (UCHAR *) destination; in _ux_utility_memory_set() 85 *work_ptr++ = value; in _ux_utility_memory_set()
|
| D | ux_utility_memory_allocate.c | 89 UCHAR *work_ptr; in _ux_utility_memory_allocate() local 259 work_ptr = UX_UCHAR_POINTER_ADD(next_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_allocate() 260 free_ptr = UX_UCHAR_TO_ALIGN_TYPE_POINTER_CONVERT(work_ptr); in _ux_utility_memory_allocate() 287 work_ptr = UX_UCHAR_POINTER_ADD(next_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_allocate() 288 free_ptr = UX_UCHAR_TO_ALIGN_TYPE_POINTER_CONVERT(work_ptr); in _ux_utility_memory_allocate() 302 work_ptr = UX_UCHAR_POINTER_ADD(current_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_allocate() 303 this_block_link_ptr = UX_UCHAR_TO_INDIRECT_UCHAR_POINTER_CONVERT(work_ptr); in _ux_utility_memory_allocate() 320 work_ptr = UX_UCHAR_POINTER_ADD(current_ptr, UX_MEMORY_BLOCK_HEADER_SIZE); in _ux_utility_memory_allocate() 323 _ux_utility_memory_set(work_ptr, 0, available_bytes); /* Use case of memset is verified. */ in _ux_utility_memory_allocate() 351 return(work_ptr); in _ux_utility_memory_allocate()
|
| D | ux_utility_memory_byte_pool_search.c | 82 UCHAR *work_ptr; in _ux_utility_memory_byte_pool_search() local 111 work_ptr = UX_UCHAR_POINTER_ADD(current_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_byte_pool_search() 112 free_ptr = UX_UCHAR_TO_ALIGN_TYPE_POINTER_CONVERT(work_ptr); in _ux_utility_memory_byte_pool_search() 153 work_ptr = UX_UCHAR_POINTER_ADD(next_ptr, (sizeof(UCHAR *))); in _ux_utility_memory_byte_pool_search() 154 free_ptr = UX_UCHAR_TO_ALIGN_TYPE_POINTER_CONVERT(work_ptr); in _ux_utility_memory_byte_pool_search()
|
| /USBX-v6.2.1/test/regression/ |
| D | ux_test_utility_sim.c | 2528 NX_PACKET *work_ptr; /* Working packet pointer */ in _nx_packet_allocate() local 2575 work_ptr = pool_ptr -> nx_packet_pool_available_list; in _nx_packet_allocate() 2578 pool_ptr -> nx_packet_pool_available_list = work_ptr -> nx_packet_queue_next; in _nx_packet_allocate() 2581 work_ptr -> nx_packet_queue_next = NX_NULL; in _nx_packet_allocate() 2583 work_ptr -> nx_packet_next = NX_NULL; in _nx_packet_allocate() 2584 work_ptr -> nx_packet_last = NX_NULL; in _nx_packet_allocate() 2586 work_ptr -> nx_packet_length = 0; in _nx_packet_allocate() 2587 work_ptr -> nx_packet_prepend_ptr = work_ptr -> nx_packet_data_start + packet_type; in _nx_packet_allocate() 2588 work_ptr -> nx_packet_append_ptr = work_ptr -> nx_packet_prepend_ptr; in _nx_packet_allocate() 2589 work_ptr -> nx_packet_address.nx_packet_interface_ptr = NX_NULL; in _nx_packet_allocate() [all …]
|
| D | ux_test.h | 521 UCHAR *work_ptr; in ux_test_memory_is_freed() local 527 work_ptr = UX_VOID_TO_UCHAR_POINTER_CONVERT(memory); in ux_test_memory_is_freed() 529 work_ptr = UX_UCHAR_POINTER_SUB(work_ptr, UX_MEMORY_BLOCK_HEADER_SIZE); in ux_test_memory_is_freed() 530 temp_ptr = UX_UCHAR_POINTER_ADD(work_ptr, (sizeof(UCHAR *))); in ux_test_memory_is_freed()
|