Home
last modified time | relevance | path

Searched refs:ring_debug (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c59 ring->ring_debug->ring_name); in adf_ring_show()
92 struct adf_etr_ring_debug_entry *ring_debug; in adf_ring_debugfs_add() local
95 ring_debug = kzalloc(sizeof(*ring_debug), GFP_KERNEL); in adf_ring_debugfs_add()
96 if (!ring_debug) in adf_ring_debugfs_add()
99 strlcpy(ring_debug->ring_name, name, sizeof(ring_debug->ring_name)); in adf_ring_debugfs_add()
103 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
106 ring->ring_debug = ring_debug; in adf_ring_debugfs_add()
112 if (ring->ring_debug) { in adf_ring_debugfs_rm()
113 debugfs_remove(ring->ring_debug->debug); in adf_ring_debugfs_rm()
114 kfree(ring->ring_debug); in adf_ring_debugfs_rm()
[all …]
Dadf_transport_internal.h21 struct adf_etr_ring_debug_entry *ring_debug; member