Searched refs:ring_debug (Results 1 – 2 of 2) sorted by relevance
59 ring->ring_debug->ring_name); in adf_ring_show()92 struct adf_etr_ring_debug_entry *ring_debug; in adf_ring_debugfs_add() local95 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 …]
21 struct adf_etr_ring_debug_entry *ring_debug; member