Lines Matching refs:header
89 el_process_header_subpacket(struct el_subpacket *header) in el_process_header_subpacket() argument
96 if (header->class != EL_CLASS__HEADER) { in el_process_header_subpacket()
99 header->class, header->type); in el_process_header_subpacket()
103 switch(header->type) { in el_process_header_subpacket()
106 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket()
108 header->by_type.sys_err.frame_packet_count; in el_process_header_subpacket()
113 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket()
115 header->by_type.sys_event.frame_packet_count; in el_process_header_subpacket()
116 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket()
120 length = header->by_type.err_halt.frame_length; in el_process_header_subpacket()
122 header->by_type.err_halt.frame_packet_count; in el_process_header_subpacket()
123 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket()
127 length = header->by_type.logout_header.frame_length; in el_process_header_subpacket()
134 header->class, header->type); in el_process_header_subpacket()
142 header->class, header->type); in el_process_header_subpacket()
148 el_process_subpackets(header, packet_count); in el_process_header_subpacket()
151 header = (struct el_subpacket *) in el_process_header_subpacket()
152 ((unsigned long)header + header->length + length); in el_process_header_subpacket()
153 return header; in el_process_header_subpacket()
157 el_process_subpacket_reg(struct el_subpacket *header) in el_process_subpacket_reg() argument
162 for (; h && h->class != header->class; h = h->next); in el_process_subpacket_reg()
163 if (h) next = h->handler(header); in el_process_subpacket_reg()
180 el_process_subpackets(struct el_subpacket *header, int packet_count) in el_process_subpackets() argument
186 ((unsigned long)header + header->length); in el_process_subpackets()
195 el_process_subpacket(struct el_subpacket *header) in el_process_subpacket() argument
199 switch(header->class) { in el_process_subpacket()
204 next = el_process_header_subpacket(header); in el_process_subpacket()
207 if (NULL == (next = el_process_subpacket_reg(header))) { in el_process_subpacket()
211 header->class, header->type); in el_process_subpacket()
220 el_annotate_subpacket(struct el_subpacket *header) in el_annotate_subpacket() argument
226 if (a->class == header->class && in el_annotate_subpacket()
227 a->type == header->type && in el_annotate_subpacket()
228 a->revision == header->revision) { in el_annotate_subpacket()
238 mchk_dump_mem(header, header->length, annotation); in el_annotate_subpacket()
244 struct el_subpacket *header = (struct el_subpacket *) in cdl_process_console_data_log() local
252 for (err = 0; header && (header->class != EL_CLASS__TERMINATION); err++) in cdl_process_console_data_log()
253 header = el_process_subpacket(header); in cdl_process_console_data_log()