Home
last modified time | relevance | path

Searched refs:coredump (Results 1 – 25 of 34) sorted by relevance

12

/drivers/net/wireless/mediatek/mt76/mt7996/
Dcoredump.c86 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_new()
164 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_build()
235 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7996_coredump_register()
239 dev->coredump.crash_data = crash_data; in mt7996_coredump_register()
259 if (dev->coredump.crash_data->memdump_buf) { in mt7996_coredump_unregister()
260 vfree(dev->coredump.crash_data->memdump_buf); in mt7996_coredump_unregister()
261 dev->coredump.crash_data->memdump_buf = NULL; in mt7996_coredump_unregister()
262 dev->coredump.crash_data->memdump_buf_len = 0; in mt7996_coredump_unregister()
265 vfree(dev->coredump.crash_data); in mt7996_coredump_unregister()
266 dev->coredump.crash_data = NULL; in mt7996_coredump_unregister()
DMakefile8 mt7996e-$(CONFIG_DEV_COREDUMP) += coredump.o
Dmt7996.h218 } coredump; member
/drivers/net/wireless/mediatek/mt76/mt7915/
Dcoredump.c133 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_new()
304 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_build()
378 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7915_coredump_register()
382 dev->coredump.crash_data = crash_data; in mt7915_coredump_register()
402 if (dev->coredump.crash_data->memdump_buf) { in mt7915_coredump_unregister()
403 vfree(dev->coredump.crash_data->memdump_buf); in mt7915_coredump_unregister()
404 dev->coredump.crash_data->memdump_buf = NULL; in mt7915_coredump_unregister()
405 dev->coredump.crash_data->memdump_buf_len = 0; in mt7915_coredump_unregister()
408 vfree(dev->coredump.crash_data); in mt7915_coredump_unregister()
409 dev->coredump.crash_data = NULL; in mt7915_coredump_unregister()
DMakefile10 mt7915e-$(CONFIG_DEV_COREDUMP) += coredump.o
Dmt7915.h285 } coredump; member
/drivers/net/wireless/ath/ath10k/
Dcoredump.c1476 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new()
1493 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build()
1621 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create()
1622 if (!ar->coredump.fw_crash_data) in ath10k_coredump_create()
1630 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_register()
1648 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_unregister()
1655 if (ar->coredump.fw_crash_data->ramdump_buf) { in ath10k_coredump_destroy()
1656 vfree(ar->coredump.fw_crash_data->ramdump_buf); in ath10k_coredump_destroy()
1657 ar->coredump.fw_crash_data->ramdump_buf = NULL; in ath10k_coredump_destroy()
1658 ar->coredump.fw_crash_data->ramdump_buf_len = 0; in ath10k_coredump_destroy()
[all …]
DMakefile24 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
Dcore.h1247 } coredump; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_coredump.c94 struct bnxt_coredump *coredump) in bnxt_hwrm_dbg_coredump_list() argument
111 coredump->data = info.dest_buf; in bnxt_hwrm_dbg_coredump_list()
112 coredump->data_size = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_list()
113 coredump->total_segs = info.segs; in bnxt_hwrm_dbg_coredump_list()
278 struct bnxt_coredump coredump = {NULL}; in __bnxt_get_coredump() local
301 rc = bnxt_hwrm_dbg_coredump_list(bp, &coredump); in __bnxt_get_coredump()
307 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump()
309 seg_record = (struct coredump_segment_record *)coredump.data; in __bnxt_get_coredump()
312 for (i = 0; i < coredump.total_segs; i++) { in __bnxt_get_coredump()
366 start_utc, coredump.total_segs + 1, in __bnxt_get_coredump()
[all …]
/drivers/connector/
Dcn_proc.c305 ev->event_data.coredump.process_pid = task->pid; in proc_coredump_connector()
306 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector()
311 ev->event_data.coredump.parent_pid = parent->pid; in proc_coredump_connector()
312 ev->event_data.coredump.parent_tgid = parent->tgid; in proc_coredump_connector()
/drivers/net/wireless/mediatek/mt76/mt7921/
Dinit.c205 INIT_DELAYED_WORK(&dev->coredump.work, mt7921_coredump_work); in mt7921_register_device()
211 skb_queue_head_init(&dev->coredump.msg_list); in mt7921_register_device()
Dmac.c710 coredump.work.work); in mt7921_coredump_work()
712 if (time_is_after_jiffies(dev->coredump.last_activity + in mt7921_coredump_work()
714 queue_delayed_work(dev->mt76.wq, &dev->coredump.work, in mt7921_coredump_work()
726 skb = __skb_dequeue(&dev->coredump.msg_list); in mt7921_coredump_work()
Dmcu.c276 &dev->coredump); in mt7921_mcu_rx_unsolicited_event()
/drivers/base/
Ddd.c428 dev->driver->coredump(dev); in coredump_store()
433 static DEVICE_ATTR_WO(coredump);
451 if (!IS_ENABLED(CONFIG_DEV_COREDUMP) || !dev->driver->coredump) in driver_sysfs_add()
473 if (drv->coredump) in driver_sysfs_remove()
DKconfig110 device coredump mechanism.
113 bool "Allow device coredump" if EXPERT
116 This option controls if the device coredump mechanism is available or
/drivers/remoteproc/
Dremoteproc_sysfs.c135 static DEVICE_ATTR_RW(coredump);
Dremoteproc_core.c1803 rproc->ops->coredump(rproc); in rproc_boot_recovery()
2407 if (!rproc->ops->coredump) in rproc_alloc_ops()
2408 rproc->ops->coredump = rproc_coredump; in rproc_alloc_ops()
Dqcom_q6v5_pas.c432 .coredump = adsp_minidump,
/drivers/net/wireless/mediatek/mt76/mt7615/
Dinit.c628 INIT_DELAYED_WORK(&dev->coredump.work, mt7615_coredump_work); in mt7615_init_device()
630 skb_queue_head_init(&dev->coredump.msg_list); in mt7615_init_device()
Dmac.c2334 coredump.work.work); in mt7615_coredump_work()
2336 if (time_is_after_jiffies(dev->coredump.last_activity + in mt7615_coredump_work()
2338 queue_delayed_work(dev->mt76.wq, &dev->coredump.work, in mt7615_coredump_work()
2350 skb = __skb_dequeue(&dev->coredump.msg_list); in mt7615_coredump_work()
Dmt7615.h287 struct mt76_connac_coredump coredump; member
/drivers/net/wireless/mediatek/mt76/
Dmt792x.h178 struct mt76_connac_coredump coredump; member
Dmt76_connac_mcu.c1919 struct mt76_connac_coredump *coredump) in mt76_connac_mcu_coredump_event() argument
1922 __skb_queue_tail(&coredump->msg_list, skb); in mt76_connac_mcu_coredump_event()
1925 coredump->last_activity = jiffies; in mt76_connac_mcu_coredump_event()
1927 queue_delayed_work(dev->wq, &coredump->work, in mt76_connac_mcu_coredump_event()
/drivers/bluetooth/
Dhci_qca.c2640 if (hdev->dump.coredump) in hciqca_coredump()
2641 hdev->dump.coredump(hdev); in hciqca_coredump()
2655 .coredump = hciqca_coredump,

12