Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_coredump.c272 static int __bnxt_get_coredump(struct bnxt *bp, void *buf, u32 *dump_len) in __bnxt_get_coredump() argument
284 buf_len = *dump_len; in __bnxt_get_coredump()
291 *dump_len = seg_hdr_len + ver_get_resp_len; in __bnxt_get_coredump()
307 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump()
357 *dump_len += seg_len; in __bnxt_get_coredump()
369 *dump_len += sizeof(struct bnxt_coredump_record); in __bnxt_get_coredump()
379 return tee_bnxt_copy_coredump(buf, 0, *dump_len); in bnxt_get_coredump()
384 return __bnxt_get_coredump(bp, buf, dump_len); in bnxt_get_coredump()
415 *dump_len = le32_to_cpu(resp->crashdump_size); in bnxt_hwrm_get_dump_len()
423 *dump_len = le32_to_cpu(resp->coredump_size) + hdr_len; in bnxt_hwrm_get_dump_len()
[all …]
A Dbnxt_devlink.c188 u32 dump_len; in bnxt_fw_dump() local
196 dump_len = bnxt_get_coredump_length(bp, BNXT_DUMP_LIVE); in bnxt_fw_dump()
197 if (!dump_len) in bnxt_fw_dump()
200 data = vmalloc(dump_len); in bnxt_fw_dump()
204 rc = bnxt_get_coredump(bp, BNXT_DUMP_LIVE, data, &dump_len); in bnxt_fw_dump()
209 rc = devlink_fmsg_binary_pair_put(fmsg, "data", data, dump_len); in bnxt_fw_dump()
212 rc = devlink_fmsg_u32_pair_put(fmsg, "size", dump_len); in bnxt_fw_dump()
A Dbnxt_coredump.h114 int bnxt_get_coredump(struct bnxt *bp, u16 dump_type, void *buf, u32 *dump_len);
/linux-6.3-rc2/drivers/mtd/ubi/
A Dio.c1315 int dump_len; in self_check_write() local
1323 dump_len = max_t(int, 128, len - i); in self_check_write()
1325 i, i + dump_len); in self_check_write()
1327 buf + i, dump_len, 1); in self_check_write()
1329 i, i + dump_len); in self_check_write()
1331 buf1 + i, dump_len, 1); in self_check_write()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/
A Dnfp_main.h125 u32 dump_len; member
A Dnfp_net_ethtool.c1589 app->pf->dump_len = len; in nfp_app_set_dump()
1606 dump->len = app->pf->dump_len; in nfp_app_get_dump_flag()
1624 dump->len = app->pf->dump_len; in nfp_app_get_dump_data()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dmain.c1230 u32 dump_len = 0; in mwifiex_prepare_fw_dump_info() local
1237 dump_len += (strlen("========Start dump ") + in mwifiex_prepare_fw_dump_info()
1245 if (dump_len + 1 + adapter->devdump_len > MWIFIEX_FW_DUMP_SIZE) { in mwifiex_prepare_fw_dump_info()
1247 fw_dump_ptr = vzalloc(dump_len + 1 + adapter->devdump_len); in mwifiex_prepare_fw_dump_info()
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/
A Dbe_ethtool.c303 static int be_read_dump_data(struct be_adapter *adapter, u32 dump_len, in be_read_dump_data() argument
310 dump_len, buf); in be_read_dump_data()
312 status = be_cmd_get_fat_dump(adapter, dump_len, buf); in be_read_dump_data()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dcmd.c862 int dump_len; in dump_command() local
893 dump_len = min_t(int, MLX5_CMD_DATA_BLOCK_SIZE, msg->len - offset); in dump_command()
894 dump_buf(next->buf, dump_len, 1, offset, ent->idx); in dump_command()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Ddebug.c767 u32 dump_len, remain; in rtw89_debug_dump_mac_mem() local
778 dump_len = min_t(u32, remain, MAC_MEM_DUMP_PAGE_SIZE); in rtw89_debug_dump_mac_mem()
781 i < R_AX_INDIR_ACCESS_ENTRY + dump_len;) { in rtw89_debug_dump_mac_mem()
784 j < 4 && i < R_AX_INDIR_ACCESS_ENTRY + dump_len; in rtw89_debug_dump_mac_mem()

Completed in 31 milliseconds