Lines Matching refs:packet_ptr

76 UINT  _nx_packet_data_adjust(NX_PACKET *packet_ptr, ULONG header_size)  in _nx_packet_data_adjust()  argument
90 NX_PACKET_DEBUG(__FILE__, __LINE__, packet_ptr); in _nx_packet_data_adjust()
93 …if (((ALIGN_TYPE)packet_ptr -> nx_packet_data_end - (ALIGN_TYPE)packet_ptr -> nx_packet_data_start… in _nx_packet_data_adjust()
99 …if (((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_data_st… in _nx_packet_data_adjust()
107 …available_size = (ULONG)(((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr in _nx_packet_data_adjust()
108 … ((ALIGN_TYPE)packet_ptr -> nx_packet_data_end - (ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr)); in _nx_packet_data_adjust()
117 …shift_size = (ULONG)((ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> nx… in _nx_packet_data_adjust()
120 …memmove(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shi… in _nx_packet_data_adjust()
123 packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_data_start + header_size; in _nx_packet_data_adjust()
124 packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + shift_size; in _nx_packet_data_adjust()
145 data_start = packet_ptr -> nx_packet_append_ptr - append_size; in _nx_packet_data_adjust()
148 status = _nx_packet_allocate(packet_ptr -> nx_packet_pool_owner, &work_ptr, 0, NX_NO_WAIT); in _nx_packet_data_adjust()
161 …shift_size = (ULONG)(((ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> n… in _nx_packet_data_adjust()
164 …memmove(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shi… in _nx_packet_data_adjust()
167 packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_data_start + header_size; in _nx_packet_data_adjust()
168 packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + shift_size; in _nx_packet_data_adjust()
172 work_ptr -> nx_packet_next = packet_ptr -> nx_packet_next; in _nx_packet_data_adjust()
173 packet_ptr -> nx_packet_next = work_ptr; in _nx_packet_data_adjust()
176 if (packet_ptr -> nx_packet_last == NX_NULL) in _nx_packet_data_adjust()
178 packet_ptr -> nx_packet_last = work_ptr; in _nx_packet_data_adjust()