Lines Matching refs:header
88 el_process_header_subpacket(struct el_subpacket *header) in el_process_header_subpacket() argument
95 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket()
98 header->class, header->type); in el_process_header_subpacket()
102 switch(header->type) { in el_process_header_subpacket()
105 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket()
107 header->by_type.sys_err.frame_packet_count; in el_process_header_subpacket()
112 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket()
114 header->by_type.sys_event.frame_packet_count; in el_process_header_subpacket()
115 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket()
119 length = header->by_type.err_halt.frame_length; in el_process_header_subpacket()
121 header->by_type.err_halt.frame_packet_count; in el_process_header_subpacket()
122 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket()
126 length = header->by_type.logout_header.frame_length; in el_process_header_subpacket()
133 header->class, header->type); in el_process_header_subpacket()
141 header->class, header->type); in el_process_header_subpacket()
147 el_process_subpackets(header, packet_count); in el_process_header_subpacket()
150 header = (struct el_subpacket *) in el_process_header_subpacket()
151 ((unsigned long)header + header->length + length); in el_process_header_subpacket()
152 return header; in el_process_header_subpacket()
156 el_process_subpacket_reg(struct el_subpacket *header) in el_process_subpacket_reg() argument
161 for (; h && h->class != header->class; h = h->next); in el_process_subpacket_reg()
162 if (h) next = h->handler(header); in el_process_subpacket_reg()
179 el_process_subpackets(struct el_subpacket *header, int packet_count) in el_process_subpackets() argument
185 ((unsigned long)header + header->length); in el_process_subpackets()
194 el_process_subpacket(struct el_subpacket *header) in el_process_subpacket() argument
198 switch(header->class) { in el_process_subpacket()
203 next = el_process_header_subpacket(header); in el_process_subpacket()
206 if (NULL == (next = el_process_subpacket_reg(header))) { in el_process_subpacket()
210 header->class, header->type); in el_process_subpacket()
219 el_annotate_subpacket(struct el_subpacket *header) in el_annotate_subpacket() argument
225 if (a->class == header->class && in el_annotate_subpacket()
226 a->type == header->type && in el_annotate_subpacket()
227 a->revision == header->revision) { in el_annotate_subpacket()
237 mchk_dump_mem(header, header->length, annotation); in el_annotate_subpacket()
243 struct el_subpacket *header = (struct el_subpacket *) in cdl_process_console_data_log() local
251 for (err = 0; header && (header->class != EL_CLASS__TERMINATION); err++) in cdl_process_console_data_log()
252 header = el_process_subpacket(header); in cdl_process_console_data_log()