Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.4/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-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c73 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_get() local
74 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get()
78 if (!debugfs) in nouveau_debugfs_pstate_get()
144 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_set() local
145 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_set()
150 if (!debugfs) in nouveau_debugfs_pstate_set()
260 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init()
261 if (!drm->debugfs) in nouveau_debugfs_init()
266 &drm->debugfs->ctrl); in nouveau_debugfs_init()
276 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini()
[all …]
/Linux-v5.4/net/mac80211/
Ddebugfs_key.c321 debugfs_create_file(#name, 0400, key->debugfs.dir, \
324 debugfs_create_file(#name, 0600, key->debugfs.dir, \
333 if (!key->local->debugfs.keys) in ieee80211_debugfs_key_add()
337 key->debugfs.cnt = keycount; in ieee80211_debugfs_key_add()
339 key->debugfs.dir = debugfs_create_dir(buf, in ieee80211_debugfs_key_add()
340 key->local->debugfs.keys); in ieee80211_debugfs_key_add()
346 key->debugfs.stalink = in ieee80211_debugfs_key_add()
347 debugfs_create_symlink("station", key->debugfs.dir, buf); in ieee80211_debugfs_key_add()
369 debugfs_remove_recursive(key->debugfs.dir); in ieee80211_debugfs_key_remove()
370 key->debugfs.dir = NULL; in ieee80211_debugfs_key_remove()
[all …]
/Linux-v5.4/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 indication that the kernel has been built without debugfs support and none
[all …]
Dapi-summary.rst137 The debugfs filesystem
140 debugfs interface
143 .. kernel-doc:: fs/debugfs/inode.c
146 .. kernel-doc:: fs/debugfs/file.c
/Linux-v5.4/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-v5.4/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-v5.4/drivers/misc/cxl/
Ddebugfs.c67 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
77 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove()
101 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add()
105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
106 afu->debugfs = dir; in cxl_debugfs_afu_add()
120 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()
/Linux-v5.4/drivers/net/wireless/ti/wl1251/
Ddebugfs.c41 wl->debugfs.name = debugfs_create_file(#name, 0400, parent, \
46 debugfs_remove(wl->debugfs.name); \
47 wl->debugfs.name = NULL; \
73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
431 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
432 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
433 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
434 DEBUGFS_ADD(excessive_retries, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
451 wl->debugfs.rootdir = debugfs_create_dir(KBUILD_MODNAME, NULL); in wl1251_debugfs_init()
453 wl->debugfs.fw_statistics = debugfs_create_dir("fw-statistics", in wl1251_debugfs_init()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gvt/
Ddebugfs.c198 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
200 debugfs_create_bool("active", 0444, vgpu->debugfs, &vgpu->active); in intel_gvt_debugfs_add_vgpu()
201 debugfs_create_file("mmio_diff", 0444, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
203 debugfs_create_file("scan_nonprivbb", 0644, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
213 debugfs_remove_recursive(vgpu->debugfs); in intel_gvt_debugfs_remove_vgpu()
214 vgpu->debugfs = NULL; in intel_gvt_debugfs_remove_vgpu()
/Linux-v5.4/Documentation/admin-guide/mm/
Dcma_debugfs.rst5 The CMA debugfs interface is useful to retrieve basic information out of the
8 Each CMA zone represents a directory under <debugfs>/cma/, indexed by the
11 <debugfs>/cma/cma-0
21 echo 5 > <debugfs>/cma/cma-2/alloc
/Linux-v5.4/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-v5.4/drivers/soundwire/
Ddebugfs.c23 bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root); in sdw_bus_debugfs_init()
28 debugfs_remove_recursive(bus->debugfs); in sdw_bus_debugfs_exit()
127 master = slave->bus->debugfs; in sdw_slave_debugfs_init()
135 slave->debugfs = d; in sdw_slave_debugfs_init()
140 debugfs_remove_recursive(slave->debugfs); in sdw_slave_debugfs_exit()
/Linux-v5.4/Documentation/fault-injection/
Dprovoke-crashes.rst13 the module, or through a debugfs interface.
39 You can also induce failures by mounting debugfs and writing the type to
42 mount -t debugfs debugfs /mnt
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
DKconfig16 appropriate flags in <debugfs>/dynamic_debug/control.
22 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
30 Collect DSS IRQ statistics, printable via debugfs.
33 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
34 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/Linux-v5.4/tools/kvm/kvm_stat/
Dkvm_stat.txt32 *b*:: toggle events by guests (debugfs only, honors filters)
76 --debugfs::
77 retrieve statistics from debugfs
80 --debugfs-include-past::
81 include all available data on past events for debugfs
/Linux-v5.4/fs/debugfs/
DMakefile2 debugfs-objs := inode.o file.o
4 obj-$(CONFIG_DEBUG_FS) += debugfs.o
/Linux-v5.4/drivers/hwmon/pmbus/
Ducd9000.c64 struct dentry *debugfs; member
423 struct dentry *debugfs; in ucd9000_init_debugfs() local
428 debugfs = pmbus_get_debugfs_dir(client); in ucd9000_init_debugfs()
429 if (!debugfs) in ucd9000_init_debugfs()
432 data->debugfs = debugfs_create_dir(client->name, debugfs); in ucd9000_init_debugfs()
433 if (!data->debugfs) in ucd9000_init_debugfs()
454 debugfs_create_file(name, 0444, data->debugfs, in ucd9000_init_debugfs()
461 debugfs_create_file(name, 0444, data->debugfs, client, in ucd9000_init_debugfs()
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/
DKconfig25 appropriate flags in <debugfs>/dynamic_debug/control.
32 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
41 Collect DSS IRQ statistics, printable via debugfs.
44 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
45 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/Linux-v5.4/drivers/base/regmap/
Dregmap-debugfs.c590 map->debugfs = debugfs_create_dir(name, regmap_debugfs_root); in regmap_debugfs_init()
592 debugfs_create_file("name", 0400, map->debugfs, in regmap_debugfs_init()
595 debugfs_create_file("range", 0400, map->debugfs, in regmap_debugfs_init()
607 debugfs_create_file("registers", registers_mode, map->debugfs, in regmap_debugfs_init()
609 debugfs_create_file("access", 0400, map->debugfs, in regmap_debugfs_init()
614 debugfs_create_file("cache_only", 0600, map->debugfs, in regmap_debugfs_init()
616 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init()
618 debugfs_create_file("cache_bypass", 0600, map->debugfs, in regmap_debugfs_init()
629 map->debugfs, range_node, in regmap_debugfs_init()
641 if (map->debugfs) { in regmap_debugfs_exit()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
DKconfig28 registers with debugfs. If COR were used, ISR would
46 bool "wil6210 debugfs support"
51 Say Y here to enable wil6210 debugfs support, using the
52 kernel debugfs infrastructure. Select this
/Linux-v5.4/net/sunrpc/
Ddebugfs.c127 if (IS_ERR_OR_NULL(xprt->debugfs)) in do_xprt_debugfs()
130 xprt->debugfs->d_name.name); in do_xprt_debugfs()
233 xprt->debugfs = debugfs_create_dir(name, rpc_xprt_dir); in rpc_xprt_debugfs_register()
236 debugfs_create_file("info", S_IFREG | 0400, xprt->debugfs, xprt, in rpc_xprt_debugfs_register()
245 debugfs_remove_recursive(xprt->debugfs); in rpc_xprt_debugfs_unregister()
246 xprt->debugfs = NULL; in rpc_xprt_debugfs_unregister()
/Linux-v5.4/drivers/net/caif/
Dcaif_virtio.c126 struct dentry *debugfs; member
626 cfv->debugfs = debugfs_create_dir(netdev_name(cfv->ndev), NULL); in debugfs_init()
628 debugfs_create_u32("rx-napi-complete", 0400, cfv->debugfs, in debugfs_init()
630 debugfs_create_u32("rx-napi-resched", 0400, cfv->debugfs, in debugfs_init()
632 debugfs_create_u32("rx-nomem", 0400, cfv->debugfs, in debugfs_init()
634 debugfs_create_u32("rx-kicks", 0400, cfv->debugfs, in debugfs_init()
636 debugfs_create_u32("tx-full-ring", 0400, cfv->debugfs, in debugfs_init()
638 debugfs_create_u32("tx-no-mem", 0400, cfv->debugfs, in debugfs_init()
640 debugfs_create_u32("tx-kicks", 0400, cfv->debugfs, in debugfs_init()
642 debugfs_create_u32("tx-flow-on", 0400, cfv->debugfs, in debugfs_init()
[all …]
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_debugfs.c109 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files()
121 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files()
122 qdev->debugfs[qdev->debugfs_count].num_files = nfiles; in qxl_debugfs_add_files()
/Linux-v5.4/Documentation/ABI/testing/
Ddebugfs-pktcdvd7 debugfs interface
11 these files in debugfs:

12345678910>>...15