/linux-6.12.1/net/bluetooth/ |
D | coredump.c | 149 static int hci_devcd_prepare(struct hci_dev *hdev, u32 dump_size) in hci_devcd_prepare() argument 161 if (hci_devcd_alloc(hdev, dump_hdr_size + dump_size)) { in hci_devcd_prepare() 183 u32 dump_size; in hci_devcd_handle_pkt_init() local 190 if (skb->len != sizeof(dump_size)) { in hci_devcd_handle_pkt_init() 195 dump_size = get_unaligned_le32(skb_pull_data(skb, 4)); in hci_devcd_handle_pkt_init() 196 if (!dump_size) { in hci_devcd_handle_pkt_init() 201 if (hci_devcd_prepare(hdev, dump_size)) { in hci_devcd_handle_pkt_init() 246 u32 dump_size; in hci_devcd_handle_pkt_complete() local 254 dump_size = hdev->dump.tail - hdev->dump.head; in hci_devcd_handle_pkt_complete() 256 bt_dev_dbg(hdev, "complete with size %u (expect %zu)", dump_size, in hci_devcd_handle_pkt_complete() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/ |
D | efuse_be.c | 77 u32 dump_addr, u32 dump_size) in rtw89_dump_physical_efuse_map_ddv_be() argument 84 if (!IS_ALIGNED(dump_addr, 4) || !IS_ALIGNED(dump_size, 4)) { in rtw89_dump_physical_efuse_map_ddv_be() 86 dump_addr, dump_size); in rtw89_dump_physical_efuse_map_ddv_be() 92 for (addr = dump_addr; addr < dump_addr + dump_size; addr += 4, map += 4) { in rtw89_dump_physical_efuse_map_ddv_be() 112 u32 dump_addr, u32 dump_size) in rtw89_dump_physical_efuse_map_dav_be() argument 119 for (addr = dump_addr; addr < dump_addr + dump_size; addr++) { in rtw89_dump_physical_efuse_map_dav_be() 177 u32 dump_addr, u32 dump_size, bool dav) in rtw89_dump_physical_efuse_map_be() argument 181 if (!map || dump_size == 0) in rtw89_dump_physical_efuse_map_be() 188 dump_addr, dump_size); in rtw89_dump_physical_efuse_map_be() 192 rtw89_hex_dump(rtwdev, RTW89_DBG_FW, "phy_map dav: ", map, dump_size); in rtw89_dump_physical_efuse_map_be() [all …]
|
D | efuse.c | 91 u32 dump_addr, u32 dump_size) in rtw89_dump_physical_efuse_map_ddv() argument 99 for (addr = dump_addr; addr < dump_addr + dump_size; addr++) { in rtw89_dump_physical_efuse_map_ddv() 123 u32 dump_addr, u32 dump_size) in rtw89_dump_physical_efuse_map_dav() argument 130 for (addr = dump_addr; addr < dump_addr + dump_size; addr++) { in rtw89_dump_physical_efuse_map_dav() 166 u32 dump_addr, u32 dump_size, bool dav) in rtw89_dump_physical_efuse_map() argument 170 if (!map || dump_size == 0) in rtw89_dump_physical_efuse_map() 176 ret = rtw89_dump_physical_efuse_map_dav(rtwdev, map, dump_addr, dump_size); in rtw89_dump_physical_efuse_map() 180 ret = rtw89_dump_physical_efuse_map_ddv(rtwdev, map, dump_addr, dump_size); in rtw89_dump_physical_efuse_map()
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
D | wil_crash_dump.c | 52 u32 host_min, dump_size, offset, len; in wil_fw_copy_crash_dump() local 54 if (wil_fw_get_crash_dump_bounds(wil, &dump_size, &host_min)) { in wil_fw_copy_crash_dump() 59 if (dump_size > size) { in wil_fw_copy_crash_dump() 61 dump_size, size); in wil_fw_copy_crash_dump()
|
/linux-6.12.1/sound/soc/intel/catpt/ |
D | dsp.c | 459 size_t dump_size, regs_size; in catpt_coredump() local 468 dump_size = resource_size(&cdev->dram); in catpt_coredump() 469 dump_size += resource_size(&cdev->iram); in catpt_coredump() 470 dump_size += regs_size; in catpt_coredump() 472 dump_size += 4 * sizeof(*hdr) + CATPT_DUMP_HASH_SIZE; in catpt_coredump() 474 dump = vzalloc(dump_size); in catpt_coredump() 484 hdr->size = dump_size - sizeof(*hdr); in catpt_coredump() 542 dev_coredumpv(cdev->dev, dump, dump_size, GFP_KERNEL); in catpt_coredump()
|
/linux-6.12.1/sound/soc/intel/avs/ |
D | apl.c | 127 size_t dump_size; in avs_apl_coredump() local 131 dump_size = AVS_FW_REGS_SIZE + msg->ext.coredump.stack_dump_size; in avs_apl_coredump() 132 dump = vzalloc(dump_size); in avs_apl_coredump() 182 dev_coredumpv(adev->dev, dump, dump_size, GFP_KERNEL); in avs_apl_coredump()
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | opal-dump.c | 219 static int64_t dump_read_info(uint32_t *dump_id, uint32_t *dump_size, uint32_t *dump_type) in dump_read_info() argument 237 *dump_size = be32_to_cpu(size); in dump_read_info() 392 uint32_t dump_id, dump_size, dump_type; in process_dump() local 396 rc = dump_read_info(&dump_id, &dump_size, &dump_type); in process_dump() 413 create_dump_obj(dump_id, dump_size, dump_type); in process_dump()
|
/linux-6.12.1/include/net/bluetooth/ |
D | coredump.h | 69 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size); 88 static inline int hci_devcd_init(struct hci_dev *hdev, u32 dump_size) in hci_devcd_init() argument
|
/linux-6.12.1/drivers/gpu/drm/etnaviv/ |
D | etnaviv_iommu_v2.c | 141 size_t dump_size = SZ_4K; in etnaviv_iommuv2_dump_size() local 146 dump_size += SZ_4K; in etnaviv_iommuv2_dump_size() 148 return dump_size; in etnaviv_iommuv2_dump_size() 264 .dump_size = etnaviv_iommuv2_dump_size,
|
D | etnaviv_mmu.h | 29 size_t (*dump_size)(struct etnaviv_iommu_context *); member
|
D | etnaviv_iommu.c | 121 .dump_size = etnaviv_iommuv1_dump_size,
|
/linux-6.12.1/fs/ |
D | coredump.c | 1189 if (vma_meta_lhs->dump_size < vma_meta_rhs->dump_size) in cmp_vma_size() 1191 if (vma_meta_lhs->dump_size > vma_meta_rhs->dump_size) in cmp_vma_size() 1231 m->dump_size = vma_dump_size(vma, cprm->mm_flags); in dump_vma_snapshot() 1244 if (m->dump_size == DUMP_SIZE_MAYBE_ELFHDR_PLACEHOLDER) { in dump_vma_snapshot() 1249 m->dump_size = 0; in dump_vma_snapshot() 1251 m->dump_size = PAGE_SIZE; in dump_vma_snapshot() 1255 cprm->vma_data_size += m->dump_size; in dump_vma_snapshot()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | elfcore.c | 20 return (m->dump_size >> PAGE_SHIFT) * MTE_PAGE_TAG_STORAGE; in mte_vma_tag_dump_size() 133 if (!mte_dump_tag_range(cprm, m->start, m->dump_size)) in elf_core_write_extra_data()
|
/linux-6.12.1/fs/pstore/ |
D | platform.c | 308 size_t dump_size; in pstore_dump() local 328 dst_size, &dump_size)) in pstore_dump() 333 header_size + dump_size, in pstore_dump() 351 record.size = header_size + dump_size; in pstore_dump()
|
/linux-6.12.1/include/linux/ |
D | coredump.h | 14 unsigned long dump_size; member
|
/linux-6.12.1/include/net/ |
D | udp_tunnel.h | 309 size_t (*dump_size)(struct net_device *dev, unsigned int table); member 385 return udp_tunnel_nic_ops->dump_size(dev, table); in udp_tunnel_nic_dump_size()
|
/linux-6.12.1/drivers/scsi/qla2xxx/ |
D | qla_tmpl.c | 1022 buf += fwdt->dump_size; in qla27xx_mpi_fwdump() 1038 } else if (len != fwdt->dump_size) { in qla27xx_mpi_fwdump() 1041 fwdt->dump_size - len); in qla27xx_mpi_fwdump() 1086 } else if (len != fwdt->dump_size) { in qla27xx_fwdump() 1089 fwdt->dump_size - len); in qla27xx_fwdump()
|
D | qla_init.c | 3796 uint32_t dump_size, fixed_size, mem_size, req_q_size, rsp_q_size, in qla2x00_alloc_fw_dump() local 3811 dump_size = fixed_size = mem_size = eft_size = fce_size = mq_size = 0; in qla2x00_alloc_fw_dump() 3867 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump() 3871 j, fwdt->dump_size); in qla2x00_alloc_fw_dump() 3872 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump() 3875 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump() 3879 dump_size = offsetof(struct qla2xxx_fw_dump, isp); in qla2x00_alloc_fw_dump() 3880 dump_size += fixed_size + mem_size + req_q_size + rsp_q_size in qla2x00_alloc_fw_dump() 3882 ha->chain_offset = dump_size; in qla2x00_alloc_fw_dump() 3883 dump_size += mq_size + fce_size; in qla2x00_alloc_fw_dump() [all …]
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 1291 int i, k, ops_cnt, ops_index, dump_size = 0; in qlcnic_dump_fw() local 1323 dump_size += qlcnic_get_cap_size(adapter, tmpl_hdr, k); in qlcnic_dump_fw() 1325 if (!dump_size) in qlcnic_dump_fw() 1328 fw_dump->data = vzalloc(dump_size); in qlcnic_dump_fw() 1333 fw_dump->size = dump_size; in qlcnic_dump_fw()
|
/linux-6.12.1/tools/perf/util/ |
D | evsel.c | 907 attr->sample_stack_user = param->dump_size; in __evsel__config_callchain() 955 u32 dump_size = 0; in evsel__apply_config_terms() local 993 dump_size = term->val.stack_user; in evsel__apply_config_terms() 1031 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in evsel__apply_config_terms() 1057 if (dump_size > 0) { in evsel__apply_config_terms() 1058 dump_size = round_up(dump_size, sizeof(u64)); in evsel__apply_config_terms() 1059 param.dump_size = dump_size; in evsel__apply_config_terms()
|
D | callchain.h | 102 u32 dump_size; member
|
D | callchain.c | 217 callchain_param.dump_size = size; in __parse_callchain_report_opt() 290 param->dump_size = default_stack_dump_size; in parse_callchain_record() 298 param->dump_size = size; in parse_callchain_record() 335 callchain_param.dump_size = size; in perf_callchain_config()
|
/linux-6.12.1/drivers/bluetooth/ |
D | btusb.c | 2901 u32 dump_size; in handle_dump_pkt_qca() local 2941 dump_size = le32_to_cpu(dump_hdr->ram_dump_size); in handle_dump_pkt_qca() 2942 if (!dump_size || (dump_size > QCA_MEMDUMP_SIZE_MAX)) { in handle_dump_pkt_qca() 2945 dump_size); in handle_dump_pkt_qca() 2949 ret = hci_devcd_init(hdev, dump_size); in handle_dump_pkt_qca() 2955 btdata->qca_dump.ram_dump_size = dump_size; in handle_dump_pkt_qca() 2963 dump_size); in handle_dump_pkt_qca() 2976 dump_size = QCA_MEMDUMP_PKT_SIZE * (seqno - btdata->qca_dump.ram_dump_seqno - 1); in handle_dump_pkt_qca() 2977 hci_devcd_append_pattern(hdev, 0x0, dump_size); in handle_dump_pkt_qca()
|
/linux-6.12.1/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 251 u32 dump_size = 0; in be_get_dump_len() local 254 dump_size = lancer_cmd_get_file_len(adapter, in be_get_dump_len() 257 dump_size = adapter->fat_dump_len; in be_get_dump_len() 259 return dump_size; in be_get_dump_len()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | main.c | 504 u32 dump_size, done_size = 0; in rtw_dump_fw() local 513 dump_size = size > rxff ? rxff : size; in rtw_dump_fw() 516 dump_size); in rtw_dump_fw() 525 dump_size, (u32 *)(buf + done_size)); in rtw_dump_fw() 533 size -= dump_size; in rtw_dump_fw() 534 done_size += dump_size; in rtw_dump_fw()
|