Chapter 5. The debugfs filesystem

Table of Contents

debugfs interface

debugfs interface

debugfs_create_file — create a file in the debugfs filesystem
debugfs_create_file_unsafe — create a file in the debugfs filesystem
debugfs_create_file_size — create a file in the debugfs filesystem
debugfs_create_dir — create a directory in the debugfs filesystem
debugfs_create_automount — create automount point in the debugfs filesystem
debugfs_create_symlink — create a symbolic link in the debugfs filesystem
debugfs_remove — removes a file or directory from the debugfs filesystem
debugfs_remove_recursive — recursively removes a directory
debugfs_rename — rename a file/directory in the debugfs filesystem
debugfs_initialized — Tells whether debugfs has been registered
debugfs_use_file_start — mark the beginning of file data access
debugfs_use_file_finish — mark the end of file data access
debugfs_create_u8 — create a debugfs file that is used to read and write an unsigned 8-bit value
debugfs_create_u16 — create a debugfs file that is used to read and write an unsigned 16-bit value
debugfs_create_u32 — create a debugfs file that is used to read and write an unsigned 32-bit value
debugfs_create_u64 — create a debugfs file that is used to read and write an unsigned 64-bit value
debugfs_create_ulong — create a debugfs file that is used to read and write an unsigned long value.
debugfs_create_x8 — create a debugfs file that is used to read and write an unsigned 8-bit value
debugfs_create_x16 — create a debugfs file that is used to read and write an unsigned 16-bit value
debugfs_create_x32 — create a debugfs file that is used to read and write an unsigned 32-bit value
debugfs_create_x64 — create a debugfs file that is used to read and write an unsigned 64-bit value
debugfs_create_size_t — create a debugfs file that is used to read and write an size_t value
debugfs_create_atomic_t — create a debugfs file that is used to read and write an atomic_t value
debugfs_create_bool — create a debugfs file that is used to read and write a boolean value
debugfs_create_blob — create a debugfs file that is used to read a binary blob
debugfs_create_u32_array — create a debugfs file that is used to read u32 array.
debugfs_print_regs32 — use seq_print to describe a set of registers
debugfs_create_regset32 — create a debugfs file that returns register values
debugfs_create_devm_seqfile — create a debugfs file that is bound to device.