Home
last modified time | relevance | path

Searched refs:seg_hdr_len (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_coredump.c388 u32 offset = 0, seg_hdr_len, seg_record_len, buf_len = 0; in __bnxt_get_coredump() local
401 seg_hdr_len = sizeof(seg_hdr); in __bnxt_get_coredump()
406 *dump_len = seg_hdr_len + ver_get_resp_len; in __bnxt_get_coredump()
410 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in __bnxt_get_coredump()
411 offset += seg_hdr_len; in __bnxt_get_coredump()
434 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump()
445 if (buf && ((offset + seg_hdr_len) > in __bnxt_get_coredump()
464 offset + seg_hdr_len); in __bnxt_get_coredump()
480 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in __bnxt_get_coredump()
481 offset += seg_hdr_len + seg_len; in __bnxt_get_coredump()