Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
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()
375 int bnxt_get_coredump(struct bnxt *bp, u16 dump_type, void *buf, u32 *dump_len) in bnxt_get_coredump() argument
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()
388 static int bnxt_hwrm_get_dump_len(struct bnxt *bp, u16 dump_type, u32 *dump_len) in bnxt_hwrm_get_dump_len() argument
[all …]
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()
Dbnxt_coredump.h114 int bnxt_get_coredump(struct bnxt *bp, u16 dump_type, void *buf, u32 *dump_len);
/Linux-v6.6/drivers/mtd/ubi/
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-v6.6/drivers/net/ethernet/netronome/nfp/
Dnfp_main.h125 u32 dump_len; member
Dnfp_net_ethtool.c1581 app->pf->dump_len = len; in nfp_app_set_dump()
1598 dump->len = app->pf->dump_len; in nfp_app_get_dump_flag()
1616 dump->len = app->pf->dump_len; in nfp_app_get_dump_data()
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dmain.c1225 u32 dump_len = 0; in mwifiex_prepare_fw_dump_info() local
1232 dump_len += (strlen("========Start dump ") + in mwifiex_prepare_fw_dump_info()
1240 if (dump_len + 1 + adapter->devdump_len > MWIFIEX_FW_DUMP_SIZE) { in mwifiex_prepare_fw_dump_info()
1242 fw_dump_ptr = vzalloc(dump_len + 1 + adapter->devdump_len); in mwifiex_prepare_fw_dump_info()
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
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-v6.6/drivers/net/wireless/realtek/rtw89/
Ddebug.c803 u32 dump_len, remain; in rtw89_debug_dump_mac_mem() local
814 dump_len = min_t(u32, remain, MAC_MEM_DUMP_PAGE_SIZE); in rtw89_debug_dump_mac_mem()
817 i < indir_access_addr + dump_len;) { in rtw89_debug_dump_mac_mem()
820 j < 4 && i < indir_access_addr + dump_len; in rtw89_debug_dump_mac_mem()