Home
last modified time | relevance | path

Searched refs:umode_t (Results 1 – 25 of 768) sorted by relevance

12345678910>>...31

/linux-6.12.1/include/linux/
Ddebugfs.h74 struct dentry *debugfs_create_file(const char *name, umode_t mode,
77 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
81 void debugfs_create_file_size(const char *name, umode_t mode,
116 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent,
118 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent,
120 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent,
122 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent,
124 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent,
126 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent,
128 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent,
[all …]
Dproc_fs.h85 struct proc_dir_entry *_proc_mkdir(const char *, umode_t, struct proc_dir_entry *, void *, bool);
87 extern struct proc_dir_entry *proc_mkdir_data(const char *, umode_t,
89 extern struct proc_dir_entry *proc_mkdir_mode(const char *, umode_t,
93 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode,
100 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode,
106 extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
111 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c…
129 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode,
134 struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode,
137 struct proc_dir_entry *proc_create_net_data_write(const char *name, umode_t mode,
[all …]
Dposix_acl.h66 extern struct posix_acl *posix_acl_from_mode(umode_t, gfp_t);
67 extern int posix_acl_equiv_mode(const struct posix_acl *, umode_t *);
68 extern int __posix_acl_create(struct posix_acl **, gfp_t, umode_t *);
69 extern int __posix_acl_chmod(struct posix_acl **, gfp_t, umode_t);
79 int posix_acl_chmod(struct mnt_idmap *, struct dentry *, umode_t);
80 extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
82 int posix_acl_update_mode(struct mnt_idmap *, struct inode *, umode_t *,
113 struct dentry *dentry, umode_t mode) in posix_acl_chmod()
128 static inline int posix_acl_create(struct inode *inode, umode_t *mode, in posix_acl_create()
Discsi_boot_sysfs.h93 umode_t (*is_visible) (void *data, int type);
112 umode_t (*is_visible) (void *data, int type),
119 umode_t (*is_visible) (void *data, int type),
125 umode_t (*is_visible) (void *data, int type),
132 umode_t (*is_visible)(void *data, int type),
Dinit_syscalls.h9 int __init init_chmod(const char *filename, umode_t mode);
12 int __init init_mknod(const char *filename, umode_t mode, unsigned int dev);
16 int __init init_mkdir(const char *pathname, umode_t mode);
Dfs_types.h72 extern unsigned char fs_umode_to_ftype(umode_t mode);
73 extern unsigned char fs_umode_to_dtype(umode_t mode);
Dkernfs.h210 umode_t mode;
241 umode_t mode);
421 const char *name, umode_t mode,
427 const char *name, umode_t mode,
520 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns()
526 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
614 kernfs_create_dir(struct kernfs_node *parent, const char *name, umode_t mode, in kernfs_create_dir()
/linux-6.12.1/Documentation/translations/zh_TW/filesystems/
Ddebugfs.rst52 struct dentry *debugfs_create_file(const char *name, umode_t mode,
63 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
73 void debugfs_create_u8(const char *name, umode_t mode,
75 void debugfs_create_u16(const char *name, umode_t mode,
77 struct dentry *debugfs_create_u32(const char *name, umode_t mode,
79 void debugfs_create_u64(const char *name, umode_t mode,
86 void debugfs_create_x8(const char *name, umode_t mode,
88 void debugfs_create_x16(const char *name, umode_t mode,
90 void debugfs_create_x32(const char *name, umode_t mode,
92 void debugfs_create_x64(const char *name, umode_t mode,
[all …]
/linux-6.12.1/Documentation/translations/zh_CN/filesystems/
Ddebugfs.rst51 struct dentry *debugfs_create_file(const char *name, umode_t mode,
62 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
72 void debugfs_create_u8(const char *name, umode_t mode,
74 void debugfs_create_u16(const char *name, umode_t mode,
76 struct dentry *debugfs_create_u32(const char *name, umode_t mode,
78 void debugfs_create_u64(const char *name, umode_t mode,
85 void debugfs_create_x8(const char *name, umode_t mode,
87 void debugfs_create_x16(const char *name, umode_t mode,
89 void debugfs_create_x32(const char *name, umode_t mode,
91 void debugfs_create_x64(const char *name, umode_t mode,
[all …]
/linux-6.12.1/fs/smb/server/mgmt/
Dshare_config.h39 static inline umode_t
41 umode_t posix_mode) in share_config_create_mode()
43 umode_t mode = (posix_mode ?: (umode_t)-1) & share->create_mask; in share_config_create_mode()
48 static inline umode_t
50 umode_t posix_mode) in share_config_directory_mode()
52 umode_t mode = (posix_mode ?: (umode_t)-1) & share->directory_mask; in share_config_directory_mode()
/linux-6.12.1/drivers/edac/
Dedac_module.h73 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
75 void edac_debugfs_create_x8(const char *name, umode_t mode,
77 void edac_debugfs_create_x16(const char *name, umode_t mode,
79 void edac_debugfs_create_x32(const char *name, umode_t mode,
89 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file()
91 static inline void edac_debugfs_create_x8(const char *name, umode_t mode, in edac_debugfs_create_x8()
93 static inline void edac_debugfs_create_x16(const char *name, umode_t mode, in edac_debugfs_create_x16()
95 static inline void edac_debugfs_create_x32(const char *name, umode_t mode, in edac_debugfs_create_x32()
Ddebugfs.c110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file()
121 void edac_debugfs_create_x8(const char *name, umode_t mode, in edac_debugfs_create_x8()
132 void edac_debugfs_create_x16(const char *name, umode_t mode, in edac_debugfs_create_x16()
143 void edac_debugfs_create_x32(const char *name, umode_t mode, in edac_debugfs_create_x32()
/linux-6.12.1/Documentation/filesystems/
Ddebugfs.rst48 struct dentry *debugfs_create_file(const char *name, umode_t mode,
65 void debugfs_create_file_size(const char *name, umode_t mode,
78 void debugfs_create_u8(const char *name, umode_t mode,
80 void debugfs_create_u16(const char *name, umode_t mode,
82 void debugfs_create_u32(const char *name, umode_t mode,
84 void debugfs_create_u64(const char *name, umode_t mode,
92 void debugfs_create_x8(const char *name, umode_t mode,
94 void debugfs_create_x16(const char *name, umode_t mode,
96 void debugfs_create_x32(const char *name, umode_t mode,
98 void debugfs_create_x64(const char *name, umode_t mode,
[all …]
/linux-6.12.1/fs/
Dbad_inode.c32 umode_t mode, bool excl) in bad_inode_create()
62 struct dentry *dentry, umode_t mode) in bad_inode_mkdir()
73 struct dentry *dentry, umode_t mode, dev_t rdev) in bad_inode_mknod()
143 umode_t create_mode) in bad_inode_atomic_open()
150 umode_t mode) in bad_inode_tmpfile()
Dopen.c636 int chmod_common(const struct path *path, umode_t mode) in chmod_common()
666 int vfs_fchmod(struct file *file, umode_t mode) in vfs_fchmod()
672 SYSCALL_DEFINE2(fchmod, unsigned int, fd, umode_t, mode) in SYSCALL_DEFINE2() argument
684 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode, in do_fchmodat()
712 umode_t, mode, unsigned int, flags) in SYSCALL_DEFINE4() argument
718 umode_t, mode) in SYSCALL_DEFINE3() argument
723 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument
1138 struct file *dentry_create(const struct path *path, int flags, umode_t mode, in dentry_create()
1199 inline struct open_how build_open_how(int flags, umode_t mode) in build_open_how()
1353 struct file *file_open_name(struct filename *name, int flags, umode_t mode) in file_open_name()
[all …]
/linux-6.12.1/fs/udf/
Dudf_sb.h53 #define UDF_INVALID_MODE ((umode_t)-1)
130 umode_t s_umask;
133 umode_t s_fmode;
134 umode_t s_dmode;
/linux-6.12.1/fs/ramfs/
Dinode.c45 umode_t mode;
58 const struct inode *dir, umode_t mode, dev_t dev) in ramfs_get_inode()
99 struct dentry *dentry, umode_t mode, dev_t dev) in ramfs_mknod()
123 struct dentry *dentry, umode_t mode) in ramfs_mkdir()
132 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
169 struct inode *dir, struct file *file, umode_t mode) in ramfs_tmpfile()
/linux-6.12.1/fs/configfs/
Dconfigfs_internal.h38 umode_t s_mode;
66 extern struct inode * configfs_new_inode(umode_t mode, struct configfs_dirent *, struct super_block…
67 extern struct inode *configfs_create(struct dentry *, umode_t mode);
73 void *, umode_t, int, struct configfs_fragment *);
/linux-6.12.1/fs/debugfs/
Dfile.c504 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
550 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8()
586 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16()
622 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32()
659 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64()
698 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong()
743 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8()
761 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16()
779 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32()
797 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x64()
[all …]
/linux-6.12.1/drivers/scsi/
Discsi_boot_sysfs.c107 static umode_t iscsi_boot_tgt_attr_is_visible(struct kobject *kobj, in iscsi_boot_tgt_attr_is_visible()
190 static umode_t iscsi_boot_eth_attr_is_visible(struct kobject *kobj, in iscsi_boot_eth_attr_is_visible()
265 static umode_t iscsi_boot_ini_attr_is_visible(struct kobject *kobj, in iscsi_boot_ini_attr_is_visible()
314 static umode_t iscsi_boot_acpitbl_attr_is_visible(struct kobject *kobj, in iscsi_boot_acpitbl_attr_is_visible()
342 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_kobj()
405 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_target()
430 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_initiator()
456 umode_t (*is_visible) (void *data, int type), in iscsi_boot_create_ethernet()
482 umode_t (*is_visible)(void *data, int type), in iscsi_boot_create_acpitbl()
/linux-6.12.1/fs/vboxsf/
Dvfsmod.h29 umode_t dmode;
30 umode_t fmode;
31 umode_t dmask;
32 umode_t fmask;
/linux-6.12.1/fs/smb/client/
Dcifsfs.h53 struct dentry *, umode_t, bool excl);
55 struct file *, unsigned, umode_t);
61 umode_t, dev_t);
63 umode_t);
/linux-6.12.1/fs/sysfs/
Dsysfs.h31 const struct attribute *attr, umode_t amode, kuid_t uid,
34 const struct bin_attribute *battr, umode_t mode,
/linux-6.12.1/fs/isofs/
Disofs.h56 umode_t s_fmode;
57 umode_t s_dmode;
63 #define ISOFS_INVALID_MODE ((umode_t) -1)
/linux-6.12.1/drivers/hwmon/
Dcorsair-psu.c351 static umode_t corsairpsu_hwmon_temp_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_temp_is_visible()
354 umode_t res = 0444; in corsairpsu_hwmon_temp_is_visible()
370 static umode_t corsairpsu_hwmon_fan_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_fan_is_visible()
382 static umode_t corsairpsu_hwmon_pwm_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_pwm_is_visible()
394 static umode_t corsairpsu_hwmon_power_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_power_is_visible()
406 static umode_t corsairpsu_hwmon_in_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_in_is_visible()
409 umode_t res = 0444; in corsairpsu_hwmon_in_is_visible()
429 static umode_t corsairpsu_hwmon_curr_is_visible(const struct corsairpsu_data *priv, u32 attr, in corsairpsu_hwmon_curr_is_visible()
432 umode_t res = 0444; in corsairpsu_hwmon_curr_is_visible()
451 static umode_t corsairpsu_hwmon_ops_is_visible(const void *data, enum hwmon_sensor_types type, in corsairpsu_hwmon_ops_is_visible()

12345678910>>...31