Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c275 u32 offset = 0, seg_hdr_len, seg_record_len, buf_len = 0; in __bnxt_get_coredump() local
288 seg_hdr_len = sizeof(seg_hdr); in __bnxt_get_coredump()
291 *dump_len = seg_hdr_len + ver_get_resp_len; in __bnxt_get_coredump()
295 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in __bnxt_get_coredump()
296 offset += seg_hdr_len; in __bnxt_get_coredump()
307 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump()
318 if (buf && ((offset + seg_hdr_len) > in __bnxt_get_coredump()
337 offset + seg_hdr_len); in __bnxt_get_coredump()
353 memcpy(buf + offset, &seg_hdr, seg_hdr_len); in __bnxt_get_coredump()
354 offset += seg_hdr_len + seg_len; in __bnxt_get_coredump()