Searched refs:seg_hdr_len (Results 1 – 1 of 1) sorted by relevance
3679 u32 offset = 0, seg_hdr_len, seg_record_len, buf_len = 0; in bnxt_get_coredump() local3692 seg_hdr_len = sizeof(seg_hdr); in bnxt_get_coredump()3695 *dump_len = seg_hdr_len + ver_get_resp_len; in bnxt_get_coredump()3699 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in bnxt_get_coredump()3700 offset += seg_hdr_len; in bnxt_get_coredump()3711 *dump_len += seg_hdr_len * coredump.total_segs; in bnxt_get_coredump()3722 if (buf && ((offset + seg_hdr_len) > in bnxt_get_coredump()3741 offset + seg_hdr_len); in bnxt_get_coredump()3757 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in bnxt_get_coredump()3758 offset += seg_hdr_len + seg_len; in bnxt_get_coredump()