/linux-6.6.21/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.6.21/drivers/net/wireless/realtek/rtw89/ |
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() 118 u32 dump_addr, u32 dump_size) in rtw89_dump_physical_efuse_map_dav() argument 125 for (addr = dump_addr; addr < dump_addr + dump_size; addr++) { in rtw89_dump_physical_efuse_map_dav() 161 u32 dump_addr, u32 dump_size, bool dav) in rtw89_dump_physical_efuse_map() argument 165 if (!map || dump_size == 0) in rtw89_dump_physical_efuse_map() 171 ret = rtw89_dump_physical_efuse_map_dav(rtwdev, map, dump_addr, dump_size); in rtw89_dump_physical_efuse_map() 175 ret = rtw89_dump_physical_efuse_map_ddv(rtwdev, map, dump_addr, dump_size); in rtw89_dump_physical_efuse_map()
|
/linux-6.6.21/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.6.21/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.6.21/sound/soc/intel/avs/ |
D | apl.c | 108 size_t dump_size; in apl_coredump() local 112 dump_size = AVS_FW_REGS_SIZE + msg->ext.coredump.stack_dump_size; in apl_coredump() 113 dump = vzalloc(dump_size); in apl_coredump() 163 dev_coredumpv(adev->dev, dump, dump_size, GFP_KERNEL); in apl_coredump()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/include/linux/ |
D | coredump.h | 14 unsigned long dump_size; member
|
/linux-6.6.21/fs/ |
D | coredump.c | 1176 m->dump_size = vma_dump_size(vma, cprm->mm_flags); in dump_vma_snapshot() 1189 if (m->dump_size == DUMP_SIZE_MAYBE_ELFHDR_PLACEHOLDER) { in dump_vma_snapshot() 1194 m->dump_size = 0; in dump_vma_snapshot() 1196 m->dump_size = PAGE_SIZE; in dump_vma_snapshot() 1200 cprm->vma_data_size += m->dump_size; in dump_vma_snapshot()
|
/linux-6.6.21/include/net/ |
D | udp_tunnel.h | 292 size_t (*dump_size)(struct net_device *dev, unsigned int table); member 368 return udp_tunnel_nic_ops->dump_size(dev, table); in udp_tunnel_nic_dump_size()
|
/linux-6.6.21/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 | 3772 uint32_t dump_size, fixed_size, mem_size, req_q_size, rsp_q_size, in qla2x00_alloc_fw_dump() local 3787 dump_size = fixed_size = mem_size = eft_size = fce_size = mq_size = 0; in qla2x00_alloc_fw_dump() 3843 fwdt->dump_size = qla27xx_fwdt_calculate_dump_size( in qla2x00_alloc_fw_dump() 3847 j, fwdt->dump_size); in qla2x00_alloc_fw_dump() 3848 dump_size += fwdt->dump_size; in qla2x00_alloc_fw_dump() 3851 dump_size += ha->fwdt[1].dump_size; in qla2x00_alloc_fw_dump() 3855 dump_size = offsetof(struct qla2xxx_fw_dump, isp); in qla2x00_alloc_fw_dump() 3856 dump_size += fixed_size + mem_size + req_q_size + rsp_q_size in qla2x00_alloc_fw_dump() 3858 ha->chain_offset = dump_size; in qla2x00_alloc_fw_dump() 3859 dump_size += mq_size + fce_size; in qla2x00_alloc_fw_dump() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | evsel.c | 890 attr->sample_stack_user = param->dump_size; in __evsel__config_callchain() 938 u32 dump_size = 0; in evsel__apply_config_terms() local 976 dump_size = term->val.stack_user; in evsel__apply_config_terms() 1014 if ((callgraph_buf != NULL) || (dump_size > 0) || max_stack) { in evsel__apply_config_terms() 1040 if (dump_size > 0) { in evsel__apply_config_terms() 1041 dump_size = round_up(dump_size, sizeof(u64)); in evsel__apply_config_terms() 1042 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.6.21/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.6.21/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.6.21/drivers/net/wireless/realtek/rtw88/ |
D | main.c | 507 u32 dump_size, done_size = 0; in rtw_dump_fw() local 516 dump_size = size > rxff ? rxff : size; in rtw_dump_fw() 519 dump_size); in rtw_dump_fw() 528 dump_size, (u32 *)(buf + done_size)); in rtw_dump_fw() 536 size -= dump_size; in rtw_dump_fw() 537 done_size += dump_size; in rtw_dump_fw()
|
/linux-6.6.21/drivers/bluetooth/ |
D | btusb.c | 3479 u32 dump_size; in handle_dump_pkt_qca() local 3519 dump_size = le32_to_cpu(dump_hdr->ram_dump_size); in handle_dump_pkt_qca() 3520 if (!dump_size || (dump_size > QCA_MEMDUMP_SIZE_MAX)) { in handle_dump_pkt_qca() 3523 dump_size); in handle_dump_pkt_qca() 3527 ret = hci_devcd_init(hdev, dump_size); in handle_dump_pkt_qca() 3533 btdata->qca_dump.ram_dump_size = dump_size; in handle_dump_pkt_qca() 3541 dump_size); in handle_dump_pkt_qca() 3554 dump_size = QCA_MEMDUMP_PKT_SIZE * (seqno - btdata->qca_dump.ram_dump_seqno - 1); in handle_dump_pkt_qca() 3555 hci_devcd_append_pattern(hdev, 0x0, dump_size); in handle_dump_pkt_qca()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | opal.h | 179 int64_t opal_dump_info(__be32 *dump_id, __be32 *dump_size); 180 int64_t opal_dump_info2(__be32 *dump_id, __be32 *dump_size, __be32 *dump_type);
|