Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_coredump.c87 uint32_t dump_len) in bnxt_copy_crash_data() argument
97 if (data_copied + data_len > dump_len) in bnxt_copy_crash_data()
98 data_len = dump_len - data_copied; in bnxt_copy_crash_data()
102 if (data_copied >= dump_len) in bnxt_copy_crash_data()
110 bnxt_copy_crash_dump(struct bnxt_softc *softc, void *buf, uint32_t dump_len) in bnxt_copy_crash_dump() argument
131 dump_len - offset); in bnxt_copy_crash_dump()
132 if (offset >= dump_len) in bnxt_copy_crash_dump()
136 bnxt_copy_crash_data(rmem, buf, dump_len); in bnxt_copy_crash_dump()
156 uint32_t *dump_len) in bnxt_get_coredump() argument
160 return (bnxt_copy_crash_dump(softc, buf, *dump_len)); in bnxt_get_coredump()
H A Dbnxt_mgmt.c69 uint32_t dump_len = 0; in bnxt_get_driver_coredump_len() local
74 return (dump_len); in bnxt_get_driver_coredump_len()
187 uint32_t dump_len, data_offset, record_len, seg_hdr_len; in bnxt_retrieve_driver_coredump() local
190 dump_len = 0; in bnxt_retrieve_driver_coredump()
219 dump_len += rmem2->page_size; in bnxt_retrieve_driver_coredump()
230 dump_len += rmem->page_size; in bnxt_retrieve_driver_coredump()
235 *seg_len = dump_len + record_len; in bnxt_retrieve_driver_coredump()
280 uint32_t dump_len; in bnxt_mgmt_crash_dump() local
340 mgmt_crash_dump.req.get_flag.dump_len = in bnxt_mgmt_crash_dump()
350 dump_len = bnxt_get_coredump_length(softc, in bnxt_mgmt_crash_dump()
[all …]
H A Dbnxt_coredump.h42 uint32_t *dump_len);
47 uint32_t *dump_len);
H A Dbnxt_mgmt.h183 uint32_t dump_len; member
188 uint32_t dump_len; member
H A Dbnxt_hwrm.c3508 uint32_t *dump_len) in bnxt_hwrm_get_dump_len() argument
3542 *dump_len = BNXT_CRASH_DUMP_LEN; in bnxt_hwrm_get_dump_len()
3544 *dump_len = le32toh(resp->crashdump_size); in bnxt_hwrm_get_dump_len()
3546 *dump_len = le32_to_cpu(resp->coredump_size); in bnxt_hwrm_get_dump_len()
3548 if (*dump_len <= 0) in bnxt_hwrm_get_dump_len()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c728 int dump_len; in dump_command() local
763 dump_len = min_t(int, in dump_command()
766 dump_buf(block->data, dump_len, 1, offset); in dump_command()
/freebsd/sys/contrib/dev/rtw89/
H A Ddebug.c1134 u32 dump_len, remain; in rtw89_debug_dump_mac_mem() local
1145 dump_len = min_t(u32, remain, mem_page_size); in rtw89_debug_dump_mac_mem()
1148 i < indir_access_addr + dump_len;) { in rtw89_debug_dump_mac_mem()
1151 j < 4 && i < indir_access_addr + dump_len; in rtw89_debug_dump_mac_mem()