Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.6.21/include/linux/
Ddebugfs.h75 struct dentry *debugfs_create_file(const char *name, umode_t mode,
78 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
82 void debugfs_create_file_size(const char *name, umode_t mode,
117 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent,
119 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent,
121 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent,
123 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent,
125 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent,
127 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent,
129 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent,
[all …]
Dproc_fs.h84 struct proc_dir_entry *_proc_mkdir(const char *, umode_t, struct proc_dir_entry *, void *, bool);
86 extern struct proc_dir_entry *proc_mkdir_data(const char *, umode_t,
88 extern struct proc_dir_entry *proc_mkdir_mode(const char *, umode_t,
92 struct proc_dir_entry *proc_create_seq_private(const char *name, umode_t mode,
99 struct proc_dir_entry *proc_create_single_data(const char *name, umode_t mode,
105 extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
110 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, c…
128 struct proc_dir_entry *proc_create_net_data(const char *name, umode_t mode,
133 struct proc_dir_entry *proc_create_net_single(const char *name, umode_t mode,
136 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.h224 umode_t mode;
239 umode_t mode);
418 const char *name, umode_t mode,
424 const char *name, umode_t mode,
517 umode_t mode, kuid_t uid, kgid_t gid, in kernfs_create_dir_ns()
523 umode_t mode, kuid_t uid, kgid_t gid, in __kernfs_create_file()
611 kernfs_create_dir(struct kernfs_node *parent, const char *name, umode_t mode, in kernfs_create_dir()
/linux-6.6.21/fs/smb/server/mgmt/
Dshare_config.h37 static inline umode_t
39 umode_t posix_mode) in share_config_create_mode()
41 umode_t mode = (posix_mode ?: (umode_t)-1) & share->create_mask; in share_config_create_mode()
46 static inline umode_t
48 umode_t posix_mode) in share_config_directory_mode()
50 umode_t mode = (posix_mode ?: (umode_t)-1) & share->directory_mask; in share_config_directory_mode()
/linux-6.6.21/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.6.21/Documentation/translations/zh_TW/filesystems/
Ddebugfs.rst53 struct dentry *debugfs_create_file(const char *name, umode_t mode,
64 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
74 void debugfs_create_u8(const char *name, umode_t mode,
76 void debugfs_create_u16(const char *name, umode_t mode,
78 struct dentry *debugfs_create_u32(const char *name, umode_t mode,
80 void debugfs_create_u64(const char *name, umode_t mode,
87 void debugfs_create_x8(const char *name, umode_t mode,
89 void debugfs_create_x16(const char *name, umode_t mode,
91 void debugfs_create_x32(const char *name, umode_t mode,
93 void debugfs_create_x64(const char *name, umode_t mode,
[all …]
/linux-6.6.21/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.6.21/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.6.21/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()
/linux-6.6.21/fs/udf/
Dudf_sb.h52 #define UDF_INVALID_MODE ((umode_t)-1)
129 umode_t s_umask;
132 umode_t s_fmode;
133 umode_t s_dmode;
/linux-6.6.21/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()
114 struct dentry *dentry, umode_t mode) in ramfs_mkdir()
123 struct dentry *dentry, umode_t mode, bool excl) in ramfs_create()
149 struct inode *dir, struct file *file, umode_t mode) in ramfs_tmpfile()
/linux-6.6.21/fs/debugfs/
Dfile.c420 static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode, in debugfs_create_mode_unsafe()
466 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u8()
502 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u16()
538 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u32()
575 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_u64()
614 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_ulong()
659 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x8()
677 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x16()
695 void debugfs_create_x32(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x32()
713 void debugfs_create_x64(const char *name, umode_t mode, struct dentry *parent, in debugfs_create_x64()
[all …]
/linux-6.6.21/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.6.21/fs/vboxsf/
Dvfsmod.h29 umode_t dmode;
30 umode_t fmode;
31 umode_t dmask;
32 umode_t fmask;
/linux-6.6.21/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.6.21/kernel/bpf/
Dinode.c103 umode_t mode) in bpf_get_inode()
154 struct dentry *dentry, umode_t mode) in bpf_mkdir()
329 static int bpf_mkobj_ops(struct dentry *dentry, umode_t mode, void *raw, in bpf_mkobj_ops()
346 static int bpf_mkprog(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkprog()
352 static int bpf_mkmap(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkmap()
361 static int bpf_mklink(struct dentry *dentry, umode_t mode, void *arg) in bpf_mklink()
419 umode_t mode = S_IFREG | S_IRUSR; in bpf_iter_link_pin_kernel()
442 umode_t mode; in bpf_obj_do_pin()
603 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
638 umode_t mode;
/linux-6.6.21/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.6.21/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.6.21/fs/isofs/
Disofs.h56 umode_t s_fmode;
57 umode_t s_dmode;
63 #define ISOFS_INVALID_MODE ((umode_t) -1)
/linux-6.6.21/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>>...28