|
debugfs_create_u32_array - create a debugfs file that is used to read u32 array.
: the permission that the file should have. : a pointer to the parent dentry for this file. This should be a directory dentry if set. If this parameter is NULL, then the file will be created in the root of the debugfs filesystem. : u32 array that provides data. : total number of elements in the array.
This function creates a file in debugfs with the given name that exports as data. If the variable is so set it can be read from. Writing is not supported. Seek within the file is also not supported. Once array is created its size can not be changed.
The function returns a pointer to dentry on success. If debugfs is not enabled in the kernel, the value -ENODEV will be returned.
|
struct dentry * | debugfs_create_u8 (const char *name, umode_t mode, struct dentry *parent, u8 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_u8) |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u16, debugfs_u16_get, debugfs_u16_set,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u16_ro, debugfs_u16_get, NULL,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u16_wo, NULL, debugfs_u16_set,"%llu\n") |
|
struct dentry * | debugfs_create_u16 (const char *name, umode_t mode, struct dentry *parent, u16 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_u16) |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u32, debugfs_u32_get, debugfs_u32_set,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u32_ro, debugfs_u32_get, NULL,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u32_wo, NULL, debugfs_u32_set,"%llu\n") |
|
struct dentry * | debugfs_create_u32 (const char *name, umode_t mode, struct dentry *parent, u32 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_u32) |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u64, debugfs_u64_get, debugfs_u64_set,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u64_ro, debugfs_u64_get, NULL,"%llu\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_u64_wo, NULL, debugfs_u64_set,"%llu\n") |
|
struct dentry * | debugfs_create_u64 (const char *name, umode_t mode, struct dentry *parent, u64 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_u64) |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x8, debugfs_u8_get, debugfs_u8_set,"0x%02llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x8_ro, debugfs_u8_get, NULL,"0x%02llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x8_wo, NULL, debugfs_u8_set,"0x%02llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x16, debugfs_u16_get, debugfs_u16_set,"0x%04llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x16_ro, debugfs_u16_get, NULL,"0x%04llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x16_wo, NULL, debugfs_u16_set,"0x%04llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x32, debugfs_u32_get, debugfs_u32_set,"0x%08llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x32_ro, debugfs_u32_get, NULL,"0x%08llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x32_wo, NULL, debugfs_u32_set,"0x%08llx\n") |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_x64, debugfs_u64_get, debugfs_u64_set,"0x%016llx\n") |
|
struct dentry * | debugfs_create_x8 (const char *name, umode_t mode, struct dentry *parent, u8 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_x8) |
|
struct dentry * | debugfs_create_x16 (const char *name, umode_t mode, struct dentry *parent, u16 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_x16) |
|
struct dentry * | debugfs_create_x32 (const char *name, umode_t mode, struct dentry *parent, u32 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_x32) |
|
struct dentry * | debugfs_create_x64 (const char *name, umode_t mode, struct dentry *parent, u64 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_x64) |
|
| DEFINE_SIMPLE_ATTRIBUTE (fops_size_t, debugfs_size_t_get, debugfs_size_t_set,"%llu\n") |
|
struct dentry * | debugfs_create_size_t (const char *name, umode_t mode, struct dentry *parent, size_t *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_size_t) |
|
struct dentry * | debugfs_create_bool (const char *name, umode_t mode, struct dentry *parent, u32 *value) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_bool) |
|
struct dentry * | debugfs_create_blob (const char *name, umode_t mode, struct dentry *parent, struct debugfs_blob_wrapper *blob) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_blob) |
|
struct dentry * | debugfs_create_u32_array (const char *name, umode_t mode, struct dentry *parent, u32 *array, u32 elements) |
|
| EXPORT_SYMBOL_GPL (debugfs_create_u32_array) |
|