Home
last modified time | relevance | path

Searched refs:debugfs_dir (Results 1 – 25 of 77) sorted by relevance

1234

/Linux-v4.19/drivers/media/usb/uvc/
Duvc_debugfs.c96 stream->debugfs_dir = dent; in uvc_debugfs_init_stream()
98 dent = debugfs_create_file("stats", 0444, stream->debugfs_dir, in uvc_debugfs_init_stream()
109 if (stream->debugfs_dir == NULL) in uvc_debugfs_cleanup_stream()
112 debugfs_remove_recursive(stream->debugfs_dir); in uvc_debugfs_cleanup_stream()
113 stream->debugfs_dir = NULL; in uvc_debugfs_cleanup_stream()
/Linux-v4.19/fs/ceph/
Ddebugfs.c243 BUG_ON(!fsc->client->debugfs_dir); in ceph_fs_debugfs_init()
247 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
257 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
264 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
272 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
280 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
288 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
296 fsc->client->debugfs_dir, in ceph_fs_debugfs_init()
/Linux-v4.19/block/
Dblk-mq-debugfs.c827 q->debugfs_dir = debugfs_create_dir(kobject_name(q->kobj.parent), in blk_mq_debugfs_register()
829 if (!q->debugfs_dir) in blk_mq_debugfs_register()
832 if (!debugfs_create_files(q->debugfs_dir, q, in blk_mq_debugfs_register()
846 if (!hctx->debugfs_dir && blk_mq_debugfs_register_hctx(q, hctx)) in blk_mq_debugfs_register()
862 debugfs_remove_recursive(q->debugfs_dir); in blk_mq_debugfs_unregister()
864 q->debugfs_dir = NULL; in blk_mq_debugfs_unregister()
874 ctx_dir = debugfs_create_dir(name, hctx->debugfs_dir); in blk_mq_debugfs_register_ctx()
891 if (!q->debugfs_dir) in blk_mq_debugfs_register_hctx()
895 hctx->debugfs_dir = debugfs_create_dir(name, q->debugfs_dir); in blk_mq_debugfs_register_hctx()
896 if (!hctx->debugfs_dir) in blk_mq_debugfs_register_hctx()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs.c1958 mvm->debugfs_dir = dbgfs_dir; in iwl_mvm_dbgfs_register()
1960 MVM_DEBUGFS_ADD_FILE(tx_flush, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
1961 MVM_DEBUGFS_ADD_FILE(sta_drain, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
1962 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
1963 MVM_DEBUGFS_ADD_FILE(set_nic_temperature, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
1971 MVM_DEBUGFS_ADD_FILE(disable_power_off, mvm->debugfs_dir, 0600); in iwl_mvm_dbgfs_register()
1972 MVM_DEBUGFS_ADD_FILE(fw_ver, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
1973 MVM_DEBUGFS_ADD_FILE(fw_rx_stats, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
1974 MVM_DEBUGFS_ADD_FILE(drv_rx_stats, mvm->debugfs_dir, 0400); in iwl_mvm_dbgfs_register()
1975 MVM_DEBUGFS_ADD_FILE(fw_restart, mvm->debugfs_dir, 0200); in iwl_mvm_dbgfs_register()
[all …]
/Linux-v4.19/drivers/usb/host/whci/
Ddebug.c127 if (whc->wusbhc.pal.debugfs_dir == NULL) in whc_dbg_init()
135 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init()
138 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init()
141 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init()
/Linux-v4.19/net/ceph/
Ddebugfs.c415 BUG_ON(client->debugfs_dir); in ceph_debugfs_client_init()
416 client->debugfs_dir = debugfs_create_dir(name, ceph_debugfs_dir); in ceph_debugfs_client_init()
417 if (!client->debugfs_dir) in ceph_debugfs_client_init()
422 client->debugfs_dir, in ceph_debugfs_client_init()
430 client->debugfs_dir, in ceph_debugfs_client_init()
438 client->debugfs_dir, in ceph_debugfs_client_init()
446 client->debugfs_dir, in ceph_debugfs_client_init()
454 client->debugfs_dir, in ceph_debugfs_client_init()
475 debugfs_remove(client->debugfs_dir); in ceph_debugfs_client_cleanup()
/Linux-v4.19/net/mac80211/
Ddebugfs_sta.c499 sta->debugfs_dir, sta, &sta_ ##name## _ops);
503 debugfs_create_u32(#name, 0400, sta->debugfs_dir, \
506 debugfs_create_u64(#name, 0400, sta->debugfs_dir, \
530 sta->debugfs_dir = debugfs_create_dir(mac, stations_dir); in ieee80211_sta_debugfs_add()
531 if (!sta->debugfs_dir) in ieee80211_sta_debugfs_add()
551 sta->debugfs_dir, in ieee80211_sta_debugfs_add()
555 sta->debugfs_dir, in ieee80211_sta_debugfs_add()
558 drv_sta_add_debugfs(local, sdata, &sta->sta, sta->debugfs_dir); in ieee80211_sta_debugfs_add()
563 debugfs_remove_recursive(sta->debugfs_dir); in ieee80211_sta_debugfs_remove()
564 sta->debugfs_dir = NULL; in ieee80211_sta_debugfs_remove()
Ddebugfs_netdev.c647 debugfs_create_file(#name, mode, sdata->vif.debugfs_dir, \
693 debugfs_create_file("num_mcast_sta", 0400, sdata->vif.debugfs_dir, in add_vlan_files()
718 sdata->vif.debugfs_dir); in add_mesh_stats()
734 sdata->vif.debugfs_dir); in add_mesh_config()
771 if (!sdata->vif.debugfs_dir) in add_files()
816 sdata->vif.debugfs_dir = debugfs_create_dir(buf, in ieee80211_debugfs_add_netdev()
818 if (sdata->vif.debugfs_dir) in ieee80211_debugfs_add_netdev()
820 sdata->vif.debugfs_dir); in ieee80211_debugfs_add_netdev()
826 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_remove_netdev()
829 debugfs_remove_recursive(sdata->vif.debugfs_dir); in ieee80211_debugfs_remove_netdev()
[all …]
Drate.h60 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs()
62 sta->debugfs_dir); in rate_control_add_sta_debugfs()
Ddebugfs_key.c384 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_update_default()
398 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default()
410 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_update_default()
419 if (!sdata->vif.debugfs_dir) in ieee80211_debugfs_key_add_mgmt_default()
428 sdata->vif.debugfs_dir, buf); in ieee80211_debugfs_key_add_mgmt_default()
/Linux-v4.19/tools/testing/selftests/gpio/
Dgpio-mockup-chardev.c202 int debugfs_dir = IN; in gpio_pin_test() local
214 ret = gpio_debugfs_get(CONSUMER, &debugfs_dir, &debugfs_value); in gpio_pin_test()
220 if (debugfs_dir != IN) { in gpio_pin_test()
228 if (!(debugfs_dir == OUT && value == debugfs_value)) { in gpio_pin_test()
/Linux-v4.19/drivers/uwb/
Dpal.c61 pal->debugfs_dir = uwb_dbg_create_pal_dir(pal); in uwb_pal_register()
119 debugfs_remove(pal->debugfs_dir); in uwb_pal_unregister()
/Linux-v4.19/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
179 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
180 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
179 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
180 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
179 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
180 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/crypto/bcm/
Dutil.c540 if (!iproc_priv.debugfs_dir) in spu_setup_debugfs()
541 iproc_priv.debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, in spu_setup_debugfs()
546 debugfs_create_file("stats", 0400, iproc_priv.debugfs_dir, in spu_setup_debugfs()
552 debugfs_remove_recursive(iproc_priv.debugfs_dir); in spu_free_debugfs()
553 iproc_priv.debugfs_dir = NULL; in spu_free_debugfs()
/Linux-v4.19/drivers/ntb/hw/amd/
Dntb_hw_amd.c74 static struct dentry *debugfs_dir; variable
810 if (!debugfs_dir) { in ndev_init_debugfs()
811 ndev->debugfs_dir = NULL; in ndev_init_debugfs()
814 ndev->debugfs_dir = in ndev_init_debugfs()
816 debugfs_dir); in ndev_init_debugfs()
817 if (!ndev->debugfs_dir) in ndev_init_debugfs()
822 ndev->debugfs_dir, ndev, in ndev_init_debugfs()
829 debugfs_remove_recursive(ndev->debugfs_dir); in ndev_deinit_debugfs()
1144 debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); in amd_ntb_pci_driver_init()
1153 debugfs_remove_recursive(debugfs_dir); in amd_ntb_pci_driver_exit()
/Linux-v4.19/drivers/nvdimm/
Dbtt.h199 struct dentry *debugfs_dir; member
229 struct dentry *debugfs_dir; member
/Linux-v4.19/drivers/crypto/qat/qat_c3xxx/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
195 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
196 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/crypto/qat/qat_c62x/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
195 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
196 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c115 debugfs_remove(accel_dev->debugfs_dir); in adf_cleanup_accel()
195 accel_dev->debugfs_dir = debugfs_create_dir(name, NULL); in adf_probe()
196 if (!accel_dev->debugfs_dir) { in adf_probe()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_debugfs.c217 nn->debugfs_dir = debugfs_create_dir(name, ddir); in nfp_net_debugfs_vnic_add()
218 if (IS_ERR_OR_NULL(nn->debugfs_dir)) in nfp_net_debugfs_vnic_add()
222 queues = debugfs_create_dir("queue", nn->debugfs_dir); in nfp_net_debugfs_vnic_add()
/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Ddebugfs.c710 priv->debugfs_dir = debugfs_create_dir(dev->name, lbs_dir); in lbs_debugfs_init_one()
711 if (!priv->debugfs_dir) in lbs_debugfs_init_one()
718 priv->debugfs_dir, in lbs_debugfs_init_one()
723 priv->events_dir = debugfs_create_dir("subscribed_events", priv->debugfs_dir); in lbs_debugfs_init_one()
736 priv->regs_dir = debugfs_create_dir("registers", priv->debugfs_dir); in lbs_debugfs_init_one()
774 debugfs_remove(priv->debugfs_dir); in lbs_debugfs_remove_one()
927 if (!priv->debugfs_dir) in lbs_debug_init()
934 priv->debugfs_dir, &items[0], in lbs_debug_init()
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/
Ddebug.c487 rtlpriv->dbg.debugfs_dir = in rtl_debug_add_one()
489 if (!rtlpriv->dbg.debugfs_dir) { in rtl_debug_add_one()
495 parent = rtlpriv->dbg.debugfs_dir; in rtl_debug_add_one()
548 debugfs_remove_recursive(rtlpriv->dbg.debugfs_dir); in rtl_debug_remove_one()
549 rtlpriv->dbg.debugfs_dir = NULL; in rtl_debug_remove_one()
/Linux-v4.19/drivers/block/rsxx/
Dcore.c245 card->debugfs_dir = debugfs_create_dir(card->gendisk->disk_name, NULL); in rsxx_debugfs_dev_new()
246 if (IS_ERR_OR_NULL(card->debugfs_dir)) in rsxx_debugfs_dev_new()
250 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
256 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
262 card->debugfs_dir, card, in rsxx_debugfs_dev_new()
273 debugfs_remove(card->debugfs_dir); in rsxx_debugfs_dev_new()
275 card->debugfs_dir = NULL; in rsxx_debugfs_dev_new()
1027 debugfs_remove_recursive(card->debugfs_dir); in rsxx_pci_remove()

1234