Home
last modified time | relevance | path

Searched refs:debugfs (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/Linux-v4.19/net/bluetooth/
Dhci_debugfs.c296 debugfs_create_file("features", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
298 debugfs_create_u16("manufacturer", 0444, hdev->debugfs, in hci_debugfs_create_common()
300 debugfs_create_u8("hci_version", 0444, hdev->debugfs, &hdev->hci_ver); in hci_debugfs_create_common()
301 debugfs_create_u16("hci_revision", 0444, hdev->debugfs, &hdev->hci_rev); in hci_debugfs_create_common()
302 debugfs_create_u8("hardware_error", 0444, hdev->debugfs, in hci_debugfs_create_common()
304 debugfs_create_file("device_id", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
307 debugfs_create_file("device_list", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
309 debugfs_create_file("blacklist", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
311 debugfs_create_file("uuids", 0444, hdev->debugfs, hdev, &uuids_fops); in hci_debugfs_create_common()
312 debugfs_create_file("remote_oob", 0400, hdev->debugfs, hdev, in hci_debugfs_create_common()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c53 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_get() local
54 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get()
58 if (!debugfs) in nouveau_debugfs_pstate_get()
124 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_set() local
125 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_set()
130 if (!debugfs) in nouveau_debugfs_pstate_set()
224 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init()
225 if (!drm->debugfs) in nouveau_debugfs_init()
230 &drm->debugfs->ctrl); in nouveau_debugfs_init()
240 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini()
[all …]
/Linux-v4.19/net/mac80211/
Ddebugfs_key.c324 debugfs_create_file(#name, 0400, key->debugfs.dir, \
327 debugfs_create_file(#name, 0600, key->debugfs.dir, \
336 if (!key->local->debugfs.keys) in ieee80211_debugfs_key_add()
340 key->debugfs.cnt = keycount; in ieee80211_debugfs_key_add()
342 key->debugfs.dir = debugfs_create_dir(buf, in ieee80211_debugfs_key_add()
343 key->local->debugfs.keys); in ieee80211_debugfs_key_add()
345 if (!key->debugfs.dir) in ieee80211_debugfs_key_add()
352 key->debugfs.stalink = in ieee80211_debugfs_key_add()
353 debugfs_create_symlink("station", key->debugfs.dir, buf); in ieee80211_debugfs_key_add()
375 debugfs_remove_recursive(key->debugfs.dir); in ieee80211_debugfs_key_remove()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Ddebugfs.c55 wl->debugfs.name = debugfs_create_file(#name, 0400, parent, \
57 if (IS_ERR(wl->debugfs.name)) { \
58 ret = PTR_ERR(wl->debugfs.name); \
59 wl->debugfs.name = NULL; \
65 debugfs_remove(wl->debugfs.name); \
66 wl->debugfs.name = NULL; \
92 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
452 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
453 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
454 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
[all …]
/Linux-v4.19/Documentation/filesystems/
Ddebugfs.txt6 debugfs has no rules at all. Developers can put any information they want
7 there. The debugfs filesystem is also intended to not serve as a stable
10 even debugfs interfaces are best designed with the idea that they will need
15 mount -t debugfs none /sys/kernel/debug
18 The debugfs root directory is accessible only to the root user by
22 Note that the debugfs API is exported GPL-only to modules.
24 Code using debugfs should include <linux/debugfs.h>. Then, the first order
26 debugfs files:
32 created in the debugfs root. On success, the return value is a struct
36 kernel has been built without debugfs support and none of the functions
[all …]
/Linux-v4.19/arch/sh/mm/
DMakefile25 debugfs-y := asids-debugfs.o
27 debugfs-$(CONFIG_CPU_SH4) += cache-debugfs.o
31 debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs.o
39 obj-$(CONFIG_DEBUG_FS) += $(debugfs-y)
/Linux-v4.19/Documentation/admin-guide/
Ddynamic-debug-howto.rst34 * Provides a debugfs control file: ``<debugfs>/dynamic_debug/control``
42 control file in the 'debugfs' filesystem. Thus, you must first mount
43 the debugfs filesystem, in order to make use of this feature.
45 ``<debugfs>/dynamic_debug/control``. For example, if you want to enable
49 <debugfs>/dynamic_debug/control
54 <debugfs>/dynamic_debug/control
63 nullarbor:~ # cat <debugfs>/dynamic_debug/control
75 nullarbor:~ # grep -i rdma <debugfs>/dynamic_debug/control | wc -l
78 nullarbor:~ # grep -i tcp <debugfs>/dynamic_debug/control | wc -l
86 nullarbor:~ # awk '$3 != "=_"' <debugfs>/dynamic_debug/control
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Ddebugfs.c202 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
203 if (!vgpu->debugfs) in intel_gvt_debugfs_add_vgpu()
206 ent = debugfs_create_bool("active", 0444, vgpu->debugfs, in intel_gvt_debugfs_add_vgpu()
211 ent = debugfs_create_file("mmio_diff", 0444, vgpu->debugfs, in intel_gvt_debugfs_add_vgpu()
216 ent = debugfs_create_file("scan_nonprivbb", 0644, vgpu->debugfs, in intel_gvt_debugfs_add_vgpu()
230 debugfs_remove_recursive(vgpu->debugfs); in intel_gvt_debugfs_remove_vgpu()
231 vgpu->debugfs = NULL; in intel_gvt_debugfs_remove_vgpu()
/Linux-v4.19/drivers/dma/qcom/
Dhidma_dbg.c167 debugfs_remove_recursive(dmadev->debugfs); in hidma_debug_uninit()
176 dmadev->debugfs = debugfs_create_dir(dev_name(dmadev->ddev.dev), NULL); in hidma_debug_init()
177 if (!dmadev->debugfs) { in hidma_debug_init()
189 chan->debugfs = debugfs_create_dir(chan->dbg_name, in hidma_debug_init()
190 dmadev->debugfs); in hidma_debug_init()
191 if (!chan->debugfs) { in hidma_debug_init()
196 chan->debugfs, chan, in hidma_debug_init()
206 dmadev->debugfs, dmadev, in hidma_debug_init()
/Linux-v4.19/drivers/misc/cxl/
Ddebugfs.c73 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
84 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove()
108 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add()
112 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
115 afu->debugfs = dir; in cxl_debugfs_afu_add()
131 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()
/Linux-v4.19/net/sunrpc/
Ddebugfs.c149 if (!xprt->debugfs) { in rpc_clnt_debugfs_register()
154 xprt->debugfs->d_name.name); in rpc_clnt_debugfs_register()
239 xprt->debugfs = debugfs_create_dir(name, rpc_xprt_dir); in rpc_xprt_debugfs_register()
240 if (!xprt->debugfs) in rpc_xprt_debugfs_register()
244 if (!debugfs_create_file("info", S_IFREG | 0400, xprt->debugfs, in rpc_xprt_debugfs_register()
246 debugfs_remove_recursive(xprt->debugfs); in rpc_xprt_debugfs_register()
247 xprt->debugfs = NULL; in rpc_xprt_debugfs_register()
256 debugfs_remove_recursive(xprt->debugfs); in rpc_xprt_debugfs_unregister()
257 xprt->debugfs = NULL; in rpc_xprt_debugfs_unregister()
/Linux-v4.19/Documentation/cma/
Ddebugfs.txt1 The CMA debugfs interface is useful to retrieve basic information out of the
4 Each CMA zone represents a directory under <debugfs>/cma/, indexed by the
7 <debugfs>/cma/cma-0
17 echo 5 > <debugfs>/cma/cma-2/alloc
/Linux-v4.19/drivers/usb/chipidea/
Ddebug.c345 ci->debugfs = debugfs_create_dir(dev_name(ci->dev), NULL); in dbg_create_files()
347 debugfs_create_file("device", S_IRUGO, ci->debugfs, ci, in dbg_create_files()
349 debugfs_create_file("port_test", S_IRUGO | S_IWUSR, ci->debugfs, ci, in dbg_create_files()
351 debugfs_create_file("qheads", S_IRUGO, ci->debugfs, ci, in dbg_create_files()
353 debugfs_create_file("requests", S_IRUGO, ci->debugfs, ci, in dbg_create_files()
357 debugfs_create_file("otg", S_IRUGO, ci->debugfs, ci, in dbg_create_files()
361 debugfs_create_file("role", S_IRUGO | S_IWUSR, ci->debugfs, ci, in dbg_create_files()
363 debugfs_create_file("registers", S_IRUGO, ci->debugfs, ci, in dbg_create_files()
373 debugfs_remove_recursive(ci->debugfs); in dbg_remove_files()
/Linux-v4.19/tools/kvm/kvm_stat/
Dkvm_stat.txt32 *b*:: toggle events by guests (debugfs only, honors filters)
74 --debugfs::
75 retrieve statistics from debugfs
78 --debugfs-include-past::
79 include all available data on past events for debugfs
/Linux-v4.19/Documentation/fault-injection/
Dprovoke-crashes.txt9 the module, or through a debugfs interface.
29 You can also induce failures by mounting debugfs and writing the type to
32 mount -t debugfs debugfs /mnt
/Linux-v4.19/drivers/base/regmap/
Dregmap-debugfs.c584 map->debugfs = debugfs_create_dir(name, regmap_debugfs_root); in regmap_debugfs_init()
585 if (!map->debugfs) { in regmap_debugfs_init()
594 debugfs_create_file("name", 0400, map->debugfs, in regmap_debugfs_init()
597 debugfs_create_file("range", 0400, map->debugfs, in regmap_debugfs_init()
609 debugfs_create_file("registers", registers_mode, map->debugfs, in regmap_debugfs_init()
611 debugfs_create_file("access", 0400, map->debugfs, in regmap_debugfs_init()
616 debugfs_create_file("cache_only", 0600, map->debugfs, in regmap_debugfs_init()
618 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init()
620 debugfs_create_file("cache_bypass", 0600, map->debugfs, in regmap_debugfs_init()
631 map->debugfs, range_node, in regmap_debugfs_init()
[all …]
/Linux-v4.19/fs/debugfs/
DMakefile1 debugfs-objs := inode.o file.o
3 obj-$(CONFIG_DEBUG_FS) += debugfs.o
/Linux-v4.19/drivers/hwmon/pmbus/
Ducd9000.c78 struct dentry *debugfs; member
437 struct dentry *debugfs; in ucd9000_init_debugfs() local
442 debugfs = pmbus_get_debugfs_dir(client); in ucd9000_init_debugfs()
443 if (!debugfs) in ucd9000_init_debugfs()
446 data->debugfs = debugfs_create_dir(client->name, debugfs); in ucd9000_init_debugfs()
447 if (!data->debugfs) in ucd9000_init_debugfs()
468 debugfs_create_file(name, 0444, data->debugfs, in ucd9000_init_debugfs()
475 debugfs_create_file(name, 0444, data->debugfs, client, in ucd9000_init_debugfs()
/Linux-v4.19/drivers/gpu/drm/omapdrm/dss/
DKconfig24 appropriate flags in <debugfs>/dynamic_debug/control.
31 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
40 Collect DSS IRQ statistics, printable via debugfs.
43 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
44 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
DKconfig17 appropriate flags in <debugfs>/dynamic_debug/control.
24 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
33 Collect DSS IRQ statistics, printable via debugfs.
36 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
37 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/Linux-v4.19/drivers/watchdog/
Dbcm_kona_wdt.c54 struct dentry *debugfs; member
153 wdt->debugfs = NULL; in bcm_kona_wdt_debug_init()
161 wdt->debugfs = dir; in bcm_kona_wdt_debug_init()
170 if (wdt && wdt->debugfs) { in bcm_kona_wdt_debug_exit()
171 debugfs_remove_recursive(wdt->debugfs); in bcm_kona_wdt_debug_exit()
172 wdt->debugfs = NULL; in bcm_kona_wdt_debug_exit()
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
DKconfig27 registers with debugfs. If COR were used, ISR would
45 bool "wil6210 debugfs support"
50 Say Y here to enable wil6210 debugfs support, using the
51 kernel debugfs infrastructure. Select this
/Linux-v4.19/drivers/net/caif/
Dcaif_virtio.c126 struct dentry *debugfs; member
626 cfv->debugfs = in debugfs_init()
629 if (IS_ERR(cfv->debugfs)) in debugfs_init()
632 debugfs_create_u32("rx-napi-complete", 0400, cfv->debugfs, in debugfs_init()
634 debugfs_create_u32("rx-napi-resched", 0400, cfv->debugfs, in debugfs_init()
636 debugfs_create_u32("rx-nomem", 0400, cfv->debugfs, in debugfs_init()
638 debugfs_create_u32("rx-kicks", 0400, cfv->debugfs, in debugfs_init()
640 debugfs_create_u32("tx-full-ring", 0400, cfv->debugfs, in debugfs_init()
642 debugfs_create_u32("tx-no-mem", 0400, cfv->debugfs, in debugfs_init()
644 debugfs_create_u32("tx-kicks", 0400, cfv->debugfs, in debugfs_init()
[all …]
/Linux-v4.19/drivers/thermal/
Dx86_pkg_temp_thermal.c86 static struct dentry *debugfs; variable
94 debugfs = debugfs_create_dir("pkg_temp_thermal", NULL); in pkg_temp_debugfs_init()
95 if (!debugfs) in pkg_temp_debugfs_init()
98 d = debugfs_create_u32("pkg_thres_interrupt", S_IRUGO, debugfs, in pkg_temp_debugfs_init()
103 d = debugfs_create_u32("pkg_thres_work", S_IRUGO, debugfs, in pkg_temp_debugfs_init()
111 debugfs_remove_recursive(debugfs); in pkg_temp_debugfs_init()
551 debugfs_remove_recursive(debugfs); in module_init()
/Linux-v4.19/drivers/gpu/drm/qxl/
Dqxl_debugfs.c110 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files()
122 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files()
123 qdev->debugfs[qdev->debugfs_count].num_files = nfiles; in qxl_debugfs_add_files()

12345678910>>...14