/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_coredump.c | 272 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 …]
|
D | bnxt_devlink.c | 188 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()
|
D | bnxt_coredump.h | 114 int bnxt_get_coredump(struct bnxt *bp, u16 dump_type, void *buf, u32 *dump_len);
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | io.c | 1315 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.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.h | 125 u32 dump_len; member
|
D | nfp_net_ethtool.c | 1382 app->pf->dump_len = len; in nfp_app_set_dump() 1399 dump->len = app->pf->dump_len; in nfp_app_get_dump_flag() 1417 dump->len = app->pf->dump_len; in nfp_app_get_dump_data()
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | main.c | 1230 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.1.9/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 303 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.1.9/drivers/net/wireless/realtek/rtw89/ |
D | debug.c | 739 u32 dump_len, remain; in rtw89_debug_dump_mac_mem() local 750 dump_len = min_t(u32, remain, MAC_MEM_DUMP_PAGE_SIZE); in rtw89_debug_dump_mac_mem() 753 i < R_AX_INDIR_ACCESS_ENTRY + dump_len;) { in rtw89_debug_dump_mac_mem() 756 j < 4 && i < R_AX_INDIR_ACCESS_ENTRY + dump_len; in rtw89_debug_dump_mac_mem()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 838 int dump_len; in dump_command() local 869 dump_len = min_t(int, MLX5_CMD_DATA_BLOCK_SIZE, msg->len - offset); in dump_command() 870 dump_buf(next->buf, dump_len, 1, offset, ent->idx); in dump_command()
|