Lines Matching defs:mode
420 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode,
427 if (!(mode & S_IWUGO))
428 return debugfs_create_file_unsafe(name, mode, parent, value,
431 if (!(mode & S_IRUGO))
432 return debugfs_create_file_unsafe(name, mode, parent, value,
435 return debugfs_create_file_unsafe(name, mode, parent, value, fops);
455 * @mode: the permission that the file should have
463 * contains the value of the variable @value. If the @mode variable is so
466 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent,
469 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_u8,
491 * @mode: the permission that the file should have
499 * contains the value of the variable @value. If the @mode variable is so
502 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent,
505 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_u16,
527 * @mode: the permission that the file should have
535 * contains the value of the variable @value. If the @mode variable is so
538 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent,
541 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_u32,
564 * @mode: the permission that the file should have
572 * contains the value of the variable @value. If the @mode variable is so
575 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent,
578 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_u64,
603 * @mode: the permission that the file should have
611 * contains the value of the variable @value. If the @mode variable is so
623 struct dentry *debugfs_create_ulong(const char *name, umode_t mode,
626 return debugfs_create_mode_unsafe(name, mode, parent, value,
662 * @mode: the permission that the file should have
669 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent,
672 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_x8,
680 * @mode: the permission that the file should have
687 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent,
690 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_x16,
698 * @mode: the permission that the file should have
705 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent,
708 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_x32,
716 * @mode: the permission that the file should have
723 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent,
726 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_x64,
750 * @mode: the permission that the file should have
757 void debugfs_create_size_t(const char *name, umode_t mode,
760 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_size_t,
786 * @mode: the permission that the file should have
793 void debugfs_create_atomic_t(const char *name, umode_t mode,
796 debugfs_create_mode_unsafe(name, mode, parent, value, &fops_atomic_t,
868 * @mode: the permission that the file should have
876 * contains the value of the variable @value. If the @mode variable is so
888 struct dentry *debugfs_create_bool(const char *name, umode_t mode,
891 return debugfs_create_mode_unsafe(name, mode, parent, value, &fops_bool,
921 * @mode: the permission that the file should have
929 * @blob->data as a binary blob. If the @mode variable is so set it can be
941 struct dentry *debugfs_create_blob(const char *name, umode_t mode,
945 return debugfs_create_file_unsafe(name, mode, parent, blob, &fops_blob);
1018 * @mode: the permission that the file should have.
1025 * @array as data. If the @mode variable is so set it can be read from.
1029 void debugfs_create_u32_array(const char *name, umode_t mode,
1033 debugfs_create_file_unsafe(name, mode, parent, array, &u32_array_fops);
1106 * @mode: the permission that the file should have
1115 * the names and values of a set of 32-bit registers. If the @mode variable
1118 void debugfs_create_regset32(const char *name, umode_t mode,
1122 debugfs_create_file(name, mode, parent, regset, &fops_regset32);