Searched refs:qstr (Results 1 - 25 of 183) sorted by relevance

12345678

/linux-master/fs/proc/
H A Dutil.c4 unsigned name_to_int(const struct qstr *qstr) argument
6 const char *name = qstr->name;
7 int len = qstr->len;
/linux-master/fs/hpfs/
H A Ddentry.c16 static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) argument
20 unsigned l = qstr->len;
22 if (l == 1) if (qstr->name[0]=='.') goto x;
23 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x;
24 hpfs_adjust_length(qstr->name, &l);
25 /*if (hpfs_chk_name(qstr->name,&l))*/
32 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash);
33 qstr
[all...]
/linux-master/fs/bcachefs/
H A Dfs-common.h15 const struct qstr *,
24 const struct qstr *);
29 const struct qstr *, bool);
36 const struct qstr *,
37 const struct qstr *,
H A Ddirent.h20 struct qstr;
27 struct qstr bch2_dirent_get_name(struct bkey_s_c_dirent d);
40 const struct qstr *, u64, u64 *,
44 const struct qstr *, u64, u64 *,
61 const struct qstr *, subvol_inum *, u64 *,
62 const struct qstr *, subvol_inum *, u64 *,
67 const struct qstr *, subvol_inum *, unsigned);
70 const struct qstr *, subvol_inum *);
/linux-master/include/linux/
H A Dunicode.h56 int utf8_validate(const struct unicode_map *um, const struct qstr *str);
59 const struct qstr *s1, const struct qstr *s2);
62 const struct qstr *s1, const struct qstr *s2);
64 const struct qstr *cf,
65 const struct qstr *s1);
67 int utf8_normalize(const struct unicode_map *um, const struct qstr *str,
70 int utf8_casefold(const struct unicode_map *um, const struct qstr *str,
74 struct qstr *st
[all...]
H A Devm.h22 const struct qstr *qstr, struct xattr *xattrs,
55 const struct qstr *qstr,
54 evm_inode_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct xattr *xattrs, int *xattr_count) argument
H A Ddcache.h49 struct qstr { struct
61 extern const struct qstr empty_name;
62 extern const struct qstr slash_name;
63 extern const struct qstr dotdot_name;
88 struct qstr d_name;
136 int (*d_hash)(const struct dentry *, struct qstr *);
138 unsigned int, const char *, const struct qstr *);
231 extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
233 extern struct dentry * d_alloc_parallel(struct dentry *, const struct qstr *,
236 extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *);
[all...]
/linux-master/fs/xfs/
H A Dxfs_iops.h20 const struct qstr *qstr);
/linux-master/fs/gfs2/
H A Ddir.h27 const struct qstr *filename,
29 int gfs2_dir_check(struct inode *dir, const struct qstr *filename,
31 int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
41 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
47 const struct qstr *filename,
59 static inline void gfs2_str2qstr(struct qstr *name, const char *fname)
67 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent)
79 extern struct qstr gfs2_qdot;
80 extern struct qstr gfs2_qdotdot;
/linux-master/fs/btrfs/
H A Dxattr.h11 struct qstr;
27 const struct qstr *qstr);
/linux-master/fs/jfs/
H A Djfs_xattr.h53 const struct qstr *);
56 struct inode *dir, const struct qstr *qstr)
55 jfs_init_security(tid_t tid, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
/linux-master/arch/hexagon/include/asm/
H A Dthread_info.h69 #define qqstr(s) qstr(s)
70 #define qstr(s) #s macro
/linux-master/fs/hfsplus/
H A Dxattr.h39 const struct qstr *qstr);
H A Dxattr_security.c69 const struct qstr *qstr)
71 return security_inode_init_security(inode, dir, qstr,
68 hfsplus_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
/linux-master/fs/autofs/
H A Dwaitq.c180 autofs_find_wait(struct autofs_sb_info *sbi, const struct qstr *qstr) argument
185 if (wq->name.hash == qstr->hash &&
186 wq->name.len == qstr->len &&
188 !memcmp(wq->name.name, qstr->name, qstr->len))
204 const struct qstr *qstr,
215 wq = autofs_find_wait(sbi, qstr);
249 wq = autofs_find_wait(sbi, qstr);
202 validate_request(struct autofs_wait_queue **wait, struct autofs_sb_info *sbi, const struct qstr *qstr, const struct path *path, enum autofs_notify notify) argument
308 struct qstr qstr; local
[all...]
/linux-master/fs/ext2/
H A Dxattr.h109 const struct qstr *qstr);
112 const struct qstr *qstr)
111 ext2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
H A Dxattr_security.c49 const struct qstr *qstr)
51 return security_inode_init_security(inode, dir, qstr,
48 ext2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
/linux-master/fs/ext4/
H A Dxattr_security.c56 const struct qstr *qstr)
58 return security_inode_init_security(inode, dir, qstr,
55 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
/linux-master/fs/jffs2/
H A Dsecurity.c44 const struct qstr *qstr)
46 return security_inode_init_security(inode, dir, qstr,
43 jffs2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
/linux-master/fs/ocfs2/
H A Dxattr.h48 const struct qstr *,
87 const struct qstr *qstr);
/linux-master/fs/unicode/
H A Dutf8-core.c12 int utf8_validate(const struct unicode_map *um, const struct qstr *str)
21 const struct qstr *s1, const struct qstr *s2)
47 const struct qstr *s1, const struct qstr *s2)
76 const struct qstr *cf,
77 const struct qstr *s1)
99 int utf8_casefold(const struct unicode_map *um, const struct qstr *str,
122 struct qstr *str)
141 int utf8_normalize(const struct unicode_map *um, const struct qstr *st
[all...]
/linux-master/fs/adfs/
H A Ddir.c332 static int __adfs_compare(const unsigned char *qstr, u32 qlen, argument
341 if (adfs_tolower(qstr[i]) != adfs_tolower(str[i]))
347 static int adfs_dir_lookup_byname(struct inode *inode, const struct qstr *qstr, argument
367 name = qstr->name;
368 name_len = qstr->len;
395 adfs_hash(const struct dentry *parent, struct qstr *qstr) argument
401 if (qstr->len > ADFS_SB(parent->d_sb)->s_namelen)
404 len = qstr
418 adfs_compare(const struct dentry *dentry, unsigned int len, const char *str, const struct qstr *qstr) argument
[all...]
/linux-master/fs/reiserfs/
H A Dxattr.h37 const struct qstr *qstr,
103 const struct qstr *qstr,
101 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
/linux-master/fs/hfs/
H A Dhfs_fs.h181 extern int hfs_cat_create(u32, struct inode *, const struct qstr *, struct inode *);
182 extern int hfs_cat_delete(u32, struct inode *, const struct qstr *);
183 extern int hfs_cat_move(u32, struct inode *, const struct qstr *,
184 struct inode *, const struct qstr *);
185 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, const struct qstr *);
206 extern struct inode *hfs_new_inode(struct inode *, const struct qstr *, umode_t);
232 extern int hfs_hash_dentry(const struct dentry *, struct qstr *);
236 unsigned int len, const char *str, const struct qstr *name);
239 extern void hfs_asc2mac(struct super_block *, struct hfs_name *, const struct qstr *);
/linux-master/fs/isofs/
H A Dnamei.c21 struct qstr qstr; local
22 qstr.name = compare;
23 qstr.len = dlen;
26 return dentry->d_op->d_compare(NULL, dentry->d_name.len, dentry->d_name.name, &qstr);

Completed in 179 milliseconds

12345678