Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c102 ring->ring_debug->ring_name); in adf_ring_show()
152 struct adf_etr_ring_debug_entry *ring_debug; in adf_ring_debugfs_add() local
155 ring_debug = kzalloc(sizeof(*ring_debug), GFP_KERNEL); in adf_ring_debugfs_add()
156 if (!ring_debug) in adf_ring_debugfs_add()
159 strlcpy(ring_debug->ring_name, name, sizeof(ring_debug->ring_name)); in adf_ring_debugfs_add()
163 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
166 ring->ring_debug = ring_debug; in adf_ring_debugfs_add()
172 if (ring->ring_debug) { in adf_ring_debugfs_rm()
173 debugfs_remove(ring->ring_debug->debug); in adf_ring_debugfs_rm()
174 kfree(ring->ring_debug); in adf_ring_debugfs_rm()
[all …]
Dadf_transport_internal.h72 struct adf_etr_ring_debug_entry *ring_debug; member