/fs/hpfs/ |
H A D | dentry.c | 15 static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) argument 19 unsigned l = qstr->len; 21 if (l == 1) if (qstr->name[0]=='.') goto x; 22 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x; 23 hpfs_adjust_length(qstr->name, &l); 24 /*if (hpfs_chk_name(qstr->name,&l))*/ 31 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); 32 qstr [all...] |
/fs/hfsplus/ |
H A D | xattr.h | 44 const struct qstr *qstr); 47 const struct qstr *qstr);
|
H A D | xattr_security.c | 101 const struct qstr *qstr) 103 return security_inode_init_security(inode, dir, qstr, 109 const struct qstr *qstr) 115 err = hfsplus_init_security(inode, dir, qstr); 100 hfsplus_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument 107 hfsplus_init_inode_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
/fs/gfs2/ |
H A D | dir.h | 30 const struct qstr *filename, 32 extern int gfs2_dir_check(struct inode *dir, const struct qstr *filename, 34 extern int gfs2_dir_add(struct inode *inode, const struct qstr *filename, 45 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 51 const struct qstr *filename, 63 static inline void gfs2_str2qstr(struct qstr *name, const char *fname) 71 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent) 83 extern struct qstr gfs2_qdot; 84 extern struct qstr gfs2_qdotdot;
|
/fs/btrfs/ |
H A D | xattr.h | 39 const struct qstr *qstr);
|
/fs/ext2/ |
H A D | xattr.h | 118 const struct qstr *qstr); 121 const struct qstr *qstr) 120 ext2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
H A D | xattr_security.c | 63 const struct qstr *qstr) 65 return security_inode_init_security(inode, dir, qstr, 62 ext2_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
/fs/ext3/ |
H A D | xattr.h | 129 struct inode *dir, const struct qstr *qstr); 132 struct inode *dir, const struct qstr *qstr) 131 ext3_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
H A D | xattr_security.c | 67 const struct qstr *qstr) 69 return security_inode_init_security(inode, dir, qstr, 66 ext3_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
/fs/jfs/ |
H A D | jfs_xattr.h | 68 const struct qstr *); 71 struct inode *dir, const struct qstr *qstr) 70 jfs_init_security(tid_t tid, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
/fs/ocfs2/ |
H A D | xattr.h | 58 const struct qstr *, 97 const struct qstr *qstr,
|
/fs/affs/ |
H A D | namei.c | 16 static int affs_hash_dentry(const struct dentry *, struct qstr *); 18 unsigned int len, const char *str, const struct qstr *name); 20 static int affs_intl_hash_dentry(const struct dentry *, struct qstr *); 22 unsigned int len, const char *str, const struct qstr *name); 63 __affs_hash_dentry(struct qstr *qstr, toupper_t toupper, bool notruncate) argument 65 const u8 *name = qstr->name; 69 i = affs_check_name(qstr->name, qstr->len, notruncate); 74 i = min(qstr 83 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) argument 91 affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr) argument [all...] |
/fs/autofs4/ |
H A D | waitq.c | 226 autofs4_find_wait(struct autofs_sb_info *sbi, struct qstr *qstr) argument 231 if (wq->name.hash == qstr->hash && 232 wq->name.len == qstr->len && 234 !memcmp(wq->name.name, qstr->name, qstr->len)) 250 struct qstr *qstr, 260 wq = autofs4_find_wait(sbi, qstr); 294 wq = autofs4_find_wait(sbi, qstr); 248 validate_request(struct autofs_wait_queue **wait, struct autofs_sb_info *sbi, struct qstr *qstr, struct dentry*dentry, enum autofs_notify notify) argument 347 struct qstr qstr; local [all...] |
/fs/ext4/ |
H A D | xattr_security.c | 71 const struct qstr *qstr) 73 return security_inode_init_security(inode, dir, qstr, 70 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
H A D | xattr.h | 129 struct inode *dir, const struct qstr *qstr); 132 struct inode *dir, const struct qstr *qstr) 131 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, const struct qstr *qstr) argument
|
/fs/f2fs/ |
H A D | xattr.h | 142 const struct qstr *, struct page *); 145 const struct qstr *qstr, struct page *ipage) 144 f2fs_init_security(struct inode *inode, struct inode *dir, const struct qstr *qstr, struct page *ipage) argument
|
/fs/jffs2/ |
H A D | security.c | 44 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
|
H A D | xattr.h | 127 const struct qstr *qstr); 130 #define jffs2_init_security(inode,dir,qstr) (0)
|
/fs/reiserfs/ |
H A D | xattr.h | 39 const struct qstr *qstr, 108 const struct qstr *qstr, 106 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
|
H A D | xattr_security.c | 57 const struct qstr *qstr, 69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, 56 reiserfs_security_init(struct inode *dir, struct inode *inode, const struct qstr *qstr, struct reiserfs_security_handle *sec) argument
|
/fs/adfs/ |
H A D | dir.c | 104 adfs_match(struct qstr *name, struct object_info *obj) 129 adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj) 194 adfs_hash(const struct dentry *parent, struct qstr *qstr) argument 201 if (qstr->len < name_len) 208 qstr->len = i = name_len; 209 name = qstr->name; 220 qstr->hash = end_name_hash(hash); 231 unsigned int len, const char *str, const struct qstr *name)
|
/fs/hfs/ |
H A D | hfs_fs.h | 180 extern int hfs_cat_create(u32, struct inode *, struct qstr *, struct inode *); 181 extern int hfs_cat_delete(u32, struct inode *, struct qstr *); 182 extern int hfs_cat_move(u32, struct inode *, struct qstr *, 183 struct inode *, struct qstr *); 184 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, struct qstr *); 203 extern struct inode *hfs_new_inode(struct inode *, 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 *, struct qstr *);
|
/fs/isofs/ |
H A D | namei.c | 20 struct qstr qstr; local 21 qstr.name = compare; 22 qstr.len = dlen; 25 return dentry->d_op->d_compare(NULL, NULL, dentry->d_name.len, dentry->d_name.name, &qstr);
|
/fs/efivarfs/ |
H A D | super.c | 51 const struct qstr *name) 66 static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) argument 69 const unsigned char *s = qstr->name; 70 unsigned int len = qstr->len; 82 qstr->hash = end_name_hash(hash); 95 struct qstr q;
|
/fs/sysv/ |
H A D | namei.c | 30 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) argument 34 if (qstr->len > SYSV_NAMELEN) { 35 qstr->len = SYSV_NAMELEN; 36 qstr->hash = full_name_hash(qstr->name, qstr->len);
|