Home
last modified time | relevance | path

Searched refs:qstr (Results 1 – 25 of 100) sorted by relevance

1234

/linux/fs/hpfs/
H A Ddentry.c16 static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in hpfs_hash_dentry() argument
20 unsigned l = qstr->len; in hpfs_hash_dentry()
22 if (l == 1) if (qstr->name[0]=='.') goto x; in hpfs_hash_dentry()
23 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x; in hpfs_hash_dentry()
24 hpfs_adjust_length(qstr->name, &l); in hpfs_hash_dentry()
32 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); in hpfs_hash_dentry()
33 qstr->hash = end_name_hash(hash); in hpfs_hash_dentry()
39 unsigned int len, const char *str, const struct qstr *name) in hpfs_compare_dentry()
/linux/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) in gfs2_str2qstr()
67 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent) in gfs2_qstr2dirent()
79 extern struct qstr gfs2_qdot;
80 extern struct qstr gfs2_qdotdot;
H A Ddir.c84 struct qstr gfs2_qdot __read_mostly;
85 struct qstr gfs2_qdotdot __read_mostly;
88 const struct qstr *name, void *opaque);
403 const struct qstr *name, int ret) in __gfs2_dirent_find()
414 const struct qstr *name, in gfs2_dirent_find()
421 const struct qstr *name, in gfs2_dirent_prev()
432 const struct qstr *name, in gfs2_dirent_last()
445 const struct qstr *name, in gfs2_dirent_find_offset()
464 const struct qstr *name, in gfs2_dirent_find_space()
484 const struct qstr *name, in gfs2_dirent_gather()
[all …]
H A Ddentry.c35 static int gfs2_drevalidate(struct inode *dir, const struct qstr *name, in gfs2_drevalidate()
75 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash()
/linux/fs/autofs/
H A Dwaitq.c180 autofs_find_wait(struct autofs_sb_info *sbi, const struct qstr *qstr) in autofs_find_wait() argument
185 if (wq->name.hash == qstr->hash && in autofs_find_wait()
186 wq->name.len == qstr->len && in autofs_find_wait()
188 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs_find_wait()
204 const struct qstr *qstr, in validate_request() argument
215 wq = autofs_find_wait(sbi, qstr); in validate_request()
249 wq = autofs_find_wait(sbi, qstr); in validate_request()
308 struct qstr qstr; in autofs_wait() local
350 qstr.name = name; in autofs_wait()
351 qstr.len = sprintf(name, "%p", dentry); in autofs_wait()
[all …]
/linux/fs/unicode/
H A Dutf8-core.c12 int utf8_validate(const struct unicode_map *um, const struct qstr *str) in utf8_validate()
21 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp()
47 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp()
76 const struct qstr *cf, in utf8_strncasecmp_folded()
77 const struct qstr *s1) in utf8_strncasecmp_folded()
99 int utf8_casefold(const struct unicode_map *um, const struct qstr *str, in utf8_casefold()
122 struct qstr *str) in utf8_casefold_hash()
141 int utf8_normalize(const struct unicode_map *um, const struct qstr *str, in utf8_normalize()
/linux/fs/proc/
H A Dutil.c4 unsigned name_to_int(const struct qstr *qstr) in name_to_int() argument
6 const char *name = qstr->name; in name_to_int()
7 int len = qstr->len; in name_to_int()
/linux/fs/ext2/
H A Dxattr.h109 const struct qstr *qstr);
112 const struct qstr *qstr) in ext2_init_security() argument
H A Dxattr_security.c49 const struct qstr *qstr) in ext2_init_security() argument
51 return security_inode_init_security(inode, dir, qstr, in ext2_init_security()
/linux/fs/btrfs/
H A Dxattr.h13 struct qstr;
29 const struct qstr *qstr);
/linux/fs/jfs/
H A Djfs_xattr.h53 const struct qstr *);
56 struct inode *dir, const struct qstr *qstr) in jfs_init_security() argument
/linux/fs/jffs2/
H A Dsecurity.c44 const struct qstr *qstr) in jffs2_init_security() argument
46 return security_inode_init_security(inode, dir, qstr, in jffs2_init_security()
H A Dwrite.c443 const struct qstr *qstr) in jffs2_do_create() argument
485 ret = jffs2_init_security(&f->vfs_inode, &dir_f->vfs_inode, qstr); in jffs2_do_create()
492 ret = jffs2_reserve_space(c, sizeof(*rd)+qstr->len, &alloclen, in jffs2_do_create()
493 ALLOC_NORMAL, JFFS2_SUMMARY_DIRENT_SIZE(qstr->len)); in jffs2_do_create()
512 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create()
519 rd->nsize = qstr->len; in jffs2_do_create()
522 rd->name_crc = cpu_to_je32(crc32(0, qstr->name, qstr->len)); in jffs2_do_create()
524 fd = jffs2_write_dirent(c, dir_f, rd, qstr->name, qstr->len, ALLOC_NORMAL); in jffs2_do_create()
H A Dxattr.h121 const struct qstr *qstr);
124 #define jffs2_init_security(inode,dir,qstr) (0) argument
/linux/fs/ext4/
H A Dxattr_security.c56 const struct qstr *qstr) in ext4_init_security() argument
58 return security_inode_init_security(inode, dir, qstr, in ext4_init_security()
H A Dxattr.h221 struct inode *dir, const struct qstr *qstr);
224 struct inode *dir, const struct qstr *qstr) in ext4_init_security() argument
/linux/fs/ocfs2/
H A Dxattr.h48 const struct qstr *,
87 const struct qstr *qstr);
/linux/fs/hfsplus/
H A Dxattr_security.c69 const struct qstr *qstr) in hfsplus_init_security() argument
71 return security_inode_init_security(inode, dir, qstr, in hfsplus_init_security()
H A Dxattr.h39 const struct qstr *qstr);
/linux/fs/efivarfs/
H A Dsuper.c151 const struct qstr *name) in efivarfs_d_compare()
170 static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) in efivarfs_d_hash() argument
173 const unsigned char *s = qstr->name; in efivarfs_d_hash()
174 unsigned int len = qstr->len; in efivarfs_d_hash()
183 qstr->hash = end_name_hash(hash); in efivarfs_d_hash()
194 struct qstr q = QSTR(name); in efivarfs_alloc_dentry()
/linux/fs/f2fs/
H A Dxattr.h161 const struct qstr *, struct folio *);
164 const struct qstr *qstr, struct folio *ifolio) in f2fs_init_security() argument
/linux/arch/hexagon/include/asm/
H A Dthread_info.h69 #define qqstr(s) qstr(s)
70 #define qstr(s) #s macro
/linux/fs/orangefs/
H A Ddcache.c16 static int orangefs_revalidate_lookup(struct inode *parent_inode, const struct qstr *name, in orangefs_revalidate_lookup()
92 static int orangefs_d_revalidate(struct inode *dir, const struct qstr *name, in orangefs_d_revalidate()
/linux/include/linux/
H A Dnfs_xdr.h493 const struct qstr * name;
734 struct qstr name;
751 const struct qstr *old_name;
752 const struct qstr *new_name;
1064 const struct qstr * name;
1115 const struct qstr * name;
1130 const struct qstr * name;
1280 const struct qstr *name;
1306 const struct qstr *name;
1796 int (*lookup) (struct inode *, struct dentry *, const struct qstr *,
[all …]
/linux/fs/
H A Dnamei.c725 struct qstr last;
1026 static inline int d_revalidate(struct inode *dir, const struct qstr *name, in d_revalidate()
1759 static struct dentry *lookup_dcache(const struct qstr *name, in lookup_dcache()
1785 static struct dentry *lookup_one_qstr_excl(const struct qstr *name, in lookup_one_qstr_excl()
1888 static struct dentry *__lookup_slow(const struct qstr *name, in __lookup_slow()
1925 static noinline struct dentry *lookup_slow(const struct qstr *name, in lookup_slow()
1937 static struct dentry *lookup_slow_killable(const struct qstr *name, in lookup_slow_killable()
2871 struct qstr *last, int *type, in __filename_parentat()
2896 struct qstr *last, int *type) in filename_parentat()
2901 static struct dentry *__start_dirop(struct dentry *parent, struct qstr *name, in __start_dirop()
[all …]

1234