/linux-4.1.27/fs/hpfs/ |
D | dentry.c | 15 static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in hpfs_hash_dentry() argument 19 unsigned l = qstr->len; in hpfs_hash_dentry() 21 if (l == 1) if (qstr->name[0]=='.') goto x; in hpfs_hash_dentry() 22 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x; in hpfs_hash_dentry() 23 hpfs_adjust_length(qstr->name, &l); in hpfs_hash_dentry() 31 hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash); in hpfs_hash_dentry() 32 qstr->hash = end_name_hash(hash); in hpfs_hash_dentry() 38 unsigned int len, const char *str, const struct qstr *name) in hpfs_compare_dentry()
|
/linux-4.1.27/fs/gfs2/ |
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) in gfs2_str2qstr() 71 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent) in gfs2_qstr2dirent() 83 extern struct qstr gfs2_qdot; 84 extern struct qstr gfs2_qdotdot;
|
D | dir.c | 86 struct qstr gfs2_qdot __read_mostly; 87 struct qstr gfs2_qdotdot __read_mostly; 90 const struct qstr *name, void *opaque); 402 const struct qstr *name, int ret) in __gfs2_dirent_find() 413 const struct qstr *name, in gfs2_dirent_find() 420 const struct qstr *name, in gfs2_dirent_prev() 431 const struct qstr *name, in gfs2_dirent_last() 442 const struct qstr *name, in gfs2_dirent_find_space() 462 const struct qstr *name, in gfs2_dirent_gather() 533 const struct qstr *name, in gfs2_dirent_scan() [all …]
|
D | dentry.c | 106 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash()
|
D | inode.c | 252 struct qstr qstr; in gfs2_lookup_simple() local 254 gfs2_str2qstr(&qstr, name); in gfs2_lookup_simple() 255 inode = gfs2_lookupi(dip, &qstr, 1); in gfs2_lookup_simple() 283 struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name, in gfs2_lookupi() 336 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() 520 static int link_dinode(struct gfs2_inode *dip, const struct qstr *name, in link_dinode() 589 const struct qstr *name = &dentry->d_name; in gfs2_create_inode() 1020 static int gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, in gfs2_unlink_ok()
|
D | inode.h | 106 extern struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
|
D | ops_fstype.c | 548 struct qstr name; in gfs2_jindex_hold()
|
/linux-4.1.27/fs/autofs4/ |
D | waitq.c | 226 autofs4_find_wait(struct autofs_sb_info *sbi, struct qstr *qstr) in autofs4_find_wait() argument 231 if (wq->name.hash == qstr->hash && in autofs4_find_wait() 232 wq->name.len == qstr->len && in autofs4_find_wait() 234 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs4_find_wait() 250 struct qstr *qstr, in validate_request() argument 260 wq = autofs4_find_wait(sbi, qstr); in validate_request() 294 wq = autofs4_find_wait(sbi, qstr); in validate_request() 347 struct qstr qstr; in autofs4_wait() local 388 qstr.len = sprintf(name, "%p", dentry); in autofs4_wait() 390 qstr.len = autofs4_getpath(sbi, dentry, &name); in autofs4_wait() [all …]
|
D | root.c | 162 struct qstr *name = &dentry->d_name; in autofs4_lookup_active() 175 struct qstr *qstr; in autofs4_lookup_active() local 186 qstr = &active->d_name; in autofs4_lookup_active() 193 if (qstr->len != len) in autofs4_lookup_active() 195 if (memcmp(qstr->name, str, len)) in autofs4_lookup_active() 217 struct qstr *name = &dentry->d_name; in autofs4_lookup_expiring() 230 struct qstr *qstr; in autofs4_lookup_expiring() local 246 qstr = &expiring->d_name; in autofs4_lookup_expiring() 253 if (qstr->len != len) in autofs4_lookup_expiring() 255 if (memcmp(qstr->name, str, len)) in autofs4_lookup_expiring()
|
D | autofs_i.h | 93 struct qstr name;
|
/linux-4.1.27/fs/affs/ |
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); 64 __affs_hash_dentry(struct qstr *qstr, toupper_t toupper, bool notruncate) in __affs_hash_dentry() argument 66 const u8 *name = qstr->name; in __affs_hash_dentry() 71 retval = affs_check_name(qstr->name, qstr->len, notruncate); in __affs_hash_dentry() 76 len = min(qstr->len, AFFSNAMEMAX); in __affs_hash_dentry() 79 qstr->hash = end_name_hash(hash); in __affs_hash_dentry() 85 affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr) in affs_hash_dentry() argument [all …]
|
/linux-4.1.27/fs/hfsplus/ |
D | xattr_security.c | 75 const struct qstr *qstr) in hfsplus_init_security() argument 77 return security_inode_init_security(inode, dir, qstr, in hfsplus_init_security() 83 const struct qstr *qstr) in hfsplus_init_inode_security() argument 89 err = hfsplus_init_security(inode, dir, qstr); in hfsplus_init_inode_security()
|
D | xattr.h | 38 const struct qstr *qstr); 41 const struct qstr *qstr);
|
D | hfsplus_fs.h | 447 u32 parent, struct qstr *str); 453 int hfsplus_create_cat(u32 cnid, struct inode *dir, struct qstr *str, 455 int hfsplus_delete_cat(u32 cnid, struct inode *dir, struct qstr *str); 456 int hfsplus_rename_cat(u32 cnid, struct inode *src_dir, struct qstr *src_name, 457 struct inode *dst_dir, struct qstr *dst_name); 521 int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str); 524 const char *str, const struct qstr *name);
|
D | catalog.c | 43 hfsplus_btree_key *key, u32 parent, struct qstr *str) in hfsplus_cat_build_key() 177 u32 parentid, struct qstr *str) in hfsplus_fill_cat_thread() 253 struct qstr *str, struct inode *inode) in hfsplus_create_cat() 321 int hfsplus_delete_cat(u32 cnid, struct inode *dir, struct qstr *str) in hfsplus_delete_cat() 415 struct inode *src_dir, struct qstr *src_name, in hfsplus_rename_cat() 416 struct inode *dst_dir, struct qstr *dst_name) in hfsplus_rename_cat()
|
D | dir.c | 87 struct qstr str; in hfsplus_lookup() 301 struct qstr str; in hfsplus_link() 357 struct qstr str; in hfsplus_unlink()
|
D | unicode.c | 337 int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str) in hfsplus_hash_dentry() 389 unsigned int len, const char *str, const struct qstr *name) in hfsplus_compare_dentry()
|
D | super.c | 377 struct qstr str; in hfsplus_fill_super()
|
/linux-4.1.27/include/linux/ |
D | dcache.h | 44 struct qstr { struct 114 struct qstr d_name; 153 int (*d_hash)(const struct dentry *, struct qstr *); 155 unsigned int, const char *, const struct qstr *); 245 extern struct dentry * d_alloc(struct dentry *, const struct qstr *); 246 extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *); 248 extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *); 308 extern void dentry_update_name_case(struct dentry *, struct qstr *); 316 extern struct dentry *d_lookup(const struct dentry *, const struct qstr *); 317 extern struct dentry *d_hash_and_lookup(struct dentry *, struct qstr *); [all …]
|
D | nfs_xdr.h | 345 const struct qstr * name; 556 struct qstr name; 573 const struct qstr *old_name; 574 const struct qstr *new_name; 867 const struct qstr * name; 912 const struct qstr * name; 929 const struct qstr * name; 1057 const struct qstr *name; 1083 const struct qstr *name; 1459 int (*lookup) (struct inode *, struct qstr *, [all …]
|
D | security.h | 45 struct qstr; 1515 struct qstr *name, void **ctx, 1540 const struct qstr *qstr, const char **name, 1818 struct qstr *name, void **ctx, 1824 const struct qstr *qstr, 1827 const struct qstr *qstr, const char **name, 2157 struct qstr *name, in security_dentry_init_security() 2167 const struct qstr *qstr, in security_inode_init_security() argument 2176 const struct qstr *qstr, in security_old_inode_init_security() argument
|
/linux-4.1.27/fs/hfs/ |
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 *);
|
D | string.c | 54 int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this) in hfs_hash_dentry() 96 unsigned int len, const char *str, const struct qstr *name) in hfs_compare_dentry()
|
D | catalog.c | 23 void hfs_cat_build_key(struct super_block *sb, btree_key *key, u32 parent, struct qstr *name) in hfs_cat_build_key() 67 u32 parentid, struct qstr *name) in hfs_cat_build_thread() 82 int hfs_cat_create(u32 cnid, struct inode *dir, struct qstr *str, struct inode *inode) in hfs_cat_create() 213 int hfs_cat_delete(u32 cnid, struct inode *dir, struct qstr *str) in hfs_cat_delete() 279 int hfs_cat_move(u32 cnid, struct inode *src_dir, struct qstr *src_name, in hfs_cat_move() 280 struct inode *dst_dir, struct qstr *dst_name) in hfs_cat_move()
|
D | trans.c | 97 void hfs_asc2mac(struct super_block *sb, struct hfs_name *out, struct qstr *in) in hfs_asc2mac()
|
D | inode.c | 181 struct inode *hfs_new_inode(struct inode *dir, struct qstr *name, umode_t mode) in hfs_new_inode()
|
/linux-4.1.27/fs/adfs/ |
D | dir.c | 104 adfs_match(struct qstr *name, struct object_info *obj) in adfs_match() 129 adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj) in adfs_dir_lookup_byname() 194 adfs_hash(const struct dentry *parent, struct qstr *qstr) in adfs_hash() argument 201 if (qstr->len < name_len) in adfs_hash() 208 qstr->len = i = name_len; in adfs_hash() 209 name = qstr->name; in adfs_hash() 220 qstr->hash = end_name_hash(hash); in adfs_hash() 231 unsigned int len, const char *str, const struct qstr *name) in adfs_compare()
|
/linux-4.1.27/fs/isofs/ |
D | inode.c | 31 static int isofs_hashi(const struct dentry *parent, struct qstr *qstr); 34 unsigned int len, const char *str, const struct qstr *name); 37 static int isofs_hashi_ms(const struct dentry *parent, struct qstr *qstr); 38 static int isofs_hash_ms(const struct dentry *parent, struct qstr *qstr); 41 unsigned int len, const char *str, const struct qstr *name); 44 unsigned int len, const char *str, const struct qstr *name); 177 isofs_hashi_common(struct qstr *qstr, int ms) in isofs_hashi_common() argument 184 len = qstr->len; in isofs_hashi_common() 185 name = qstr->name; in isofs_hashi_common() 196 qstr->hash = end_name_hash(hash); in isofs_hashi_common() [all …]
|
D | namei.c | 20 struct qstr qstr; in isofs_cmp() local 21 qstr.name = compare; in isofs_cmp() 22 qstr.len = dlen; in isofs_cmp() 25 return dentry->d_op->d_compare(NULL, NULL, dentry->d_name.len, dentry->d_name.name, &qstr); in isofs_cmp()
|
/linux-4.1.27/fs/ext2/ |
D | xattr.h | 118 const struct qstr *qstr); 121 const struct qstr *qstr) in ext2_init_security() argument
|
D | xattr_security.c | 63 const struct qstr *qstr) in ext2_init_security() argument 65 return security_inode_init_security(inode, dir, qstr, in ext2_init_security()
|
D | ialloc.c | 431 const struct qstr *qstr) in ext2_new_inode() argument 589 err = ext2_init_security(inode, dir, qstr); in ext2_new_inode()
|
D | ext2.h | 743 extern ino_t ext2_inode_by_name(struct inode *, struct qstr *); 745 extern struct ext2_dir_entry_2 * ext2_find_entry (struct inode *,struct qstr *, struct page **); 752 extern struct inode * ext2_new_inode (struct inode *, umode_t, const struct qstr *);
|
D | dir.c | 367 struct qstr *child, struct page ** res_page) in ext2_find_entry() 443 ino_t ext2_inode_by_name(struct inode *dir, struct qstr *child) in ext2_inode_by_name()
|
D | namei.c | 81 struct qstr dotdot = QSTR_INIT("..", 2); in ext2_get_parent()
|
/linux-4.1.27/fs/efivarfs/ |
D | super.c | 51 const struct qstr *name) in efivarfs_d_compare() 66 static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) in efivarfs_d_hash() argument 69 const unsigned char *s = qstr->name; in efivarfs_d_hash() 70 unsigned int len = qstr->len; in efivarfs_d_hash() 82 qstr->hash = end_name_hash(hash); in efivarfs_d_hash() 95 struct qstr q; in efivarfs_alloc_dentry()
|
/linux-4.1.27/fs/ext3/ |
D | xattr.h | 129 struct inode *dir, const struct qstr *qstr); 132 struct inode *dir, const struct qstr *qstr) in ext3_init_security() argument
|
D | xattr_security.c | 67 const struct qstr *qstr) in ext3_init_security() argument 69 return security_inode_init_security(inode, dir, qstr, in ext3_init_security()
|
D | ialloc.c | 347 const struct qstr *qstr, umode_t mode) in ext3_new_inode() argument 534 err = ext3_init_security(handle, inode, dir, qstr); in ext3_new_inode()
|
D | namei.c | 145 static struct dx_frame *dx_probe(struct qstr *entry, 163 struct qstr *entry, struct ext3_dir_entry_2 **res_dir, 329 dx_probe(struct qstr *entry, struct inode *dir, in dx_probe() 795 struct qstr *child, in search_dirblock() 843 struct qstr *entry, in ext3_find_entry() 965 struct qstr *entry, struct ext3_dir_entry_2 **res_dir, in ext3_dx_find_entry() 1048 struct qstr dotdot = QSTR_INIT("..", 2); in ext3_get_parent()
|
D | ext3.h | 1036 const struct qstr *, umode_t);
|
/linux-4.1.27/fs/sysv/ |
D | namei.c | 30 static int sysv_hash(const struct dentry *dentry, struct qstr *qstr) in sysv_hash() argument 34 if (qstr->len > SYSV_NAMELEN) { in sysv_hash() 35 qstr->len = SYSV_NAMELEN; in sysv_hash() 36 qstr->hash = full_name_hash(qstr->name, qstr->len); in sysv_hash()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_xattr.h | 68 const struct qstr *); 71 struct inode *dir, const struct qstr *qstr) in jfs_init_security() argument
|
D | xattr.c | 1101 const struct qstr *qstr) in jfs_init_security() argument 1103 return security_inode_init_security(inode, dir, qstr, in jfs_init_security()
|
D | namei.c | 1540 static int jfs_ci_hash(const struct dentry *dir, struct qstr *this) in jfs_ci_hash() 1554 unsigned int len, const char *str, const struct qstr *name) in jfs_ci_compare()
|
/linux-4.1.27/fs/ext4/ |
D | xattr.h | 132 struct inode *dir, const struct qstr *qstr); 135 struct inode *dir, const struct qstr *qstr) in ext4_init_security() argument
|
D | xattr_security.c | 71 const struct qstr *qstr) in ext4_init_security() argument 73 return security_inode_init_security(inode, dir, qstr, in ext4_init_security()
|
D | ialloc.c | 413 const struct qstr *qstr) in find_group_orlov() argument 451 if (qstr) { in find_group_orlov() 454 ext4fs_dirhash(qstr->name, qstr->len, &hinfo); in find_group_orlov() 711 umode_t mode, const struct qstr *qstr, in __ext4_new_inode() argument 771 ret2 = find_group_orlov(sb, dir, &group, mode, qstr); in __ext4_new_inode() 1068 err = ext4_init_security(handle, inode, dir, qstr); in __ext4_new_inode()
|
D | crypto_fname.c | 59 const struct qstr *iname, in ext4_fname_encrypt() 587 const struct qstr *iname, in ext4_fname_usr_to_disk() 618 const struct qstr *iname, in ext4_fname_usr_to_hash() 676 struct qstr istr; in ext4_fname_match()
|
D | ext4.h | 2131 const struct qstr *iname, 2134 const struct qstr *iname, 2197 const struct qstr *iname, 2229 const struct qstr *qstr, __u32 goal, 2233 #define ext4_new_inode(handle, dir, mode, qstr, goal, owner) \ argument 2234 __ext4_new_inode((handle), (dir), (mode), (qstr), (goal), (owner), \ 2236 #define ext4_new_inode_start_handle(dir, mode, qstr, goal, owner, \ argument 2238 __ext4_new_inode(NULL, (dir), (mode), (qstr), (goal), (owner), \ 2357 const struct qstr *d_name, 2821 const struct qstr *d_name,
|
D | namei.c | 251 static struct dx_frame *dx_probe(const struct qstr *d_name, 270 const struct qstr *d_name, 727 dx_probe(const struct qstr *d_name, struct inode *dir, in dx_probe() 1158 const struct qstr *d_name, in search_dirblock() 1269 struct inode *dir, const struct qstr *d_name, in search_dir() 1358 const struct qstr *d_name, in ext4_find_entry() 1506 static struct buffer_head * ext4_dx_find_entry(struct inode *dir, const struct qstr *d_name, in ext4_dx_find_entry() 1611 static const struct qstr dotdot = QSTR_INIT("..", 2); in ext4_get_parent() 1865 const struct qstr *iname, in ext4_insert_dentry() 3182 struct qstr istr; in ext4_symlink() [all …]
|
D | inline.c | 1614 const struct qstr *d_name, in ext4_find_inline_entry()
|
/linux-4.1.27/fs/reiserfs/ |
D | xattr.h | 39 const struct qstr *qstr, 108 const struct qstr *qstr, in reiserfs_security_init() argument
|
D | xattr_security.c | 57 const struct qstr *qstr, in reiserfs_security_init() argument 69 error = security_old_inode_init_security(inode, dir, qstr, &sec->name, in reiserfs_security_init()
|
/linux-4.1.27/fs/fat/ |
D | namei_vfat.c | 97 static unsigned int vfat_striptail_len(const struct qstr *qstr) in vfat_striptail_len() argument 99 return __vfat_striptail_len(qstr->len, qstr->name); in vfat_striptail_len() 108 static int vfat_hash(const struct dentry *dentry, struct qstr *qstr) in vfat_hash() argument 110 qstr->hash = full_name_hash(qstr->name, vfat_striptail_len(qstr)); in vfat_hash() 120 static int vfat_hashi(const struct dentry *dentry, struct qstr *qstr) in vfat_hashi() argument 127 name = qstr->name; in vfat_hashi() 128 len = vfat_striptail_len(qstr); in vfat_hashi() 133 qstr->hash = end_name_hash(hash); in vfat_hashi() 142 unsigned int len, const char *str, const struct qstr *name) in vfat_cmpi() 161 unsigned int len, const char *str, const struct qstr *name) in vfat_cmp() [all …]
|
D | namei_msdos.c | 149 static int msdos_hash(const struct dentry *dentry, struct qstr *qstr) in msdos_hash() argument 155 error = msdos_format_name(qstr->name, qstr->len, msdos_name, options); in msdos_hash() 157 qstr->hash = full_name_hash(msdos_name, MSDOS_NAME); in msdos_hash() 166 unsigned int len, const char *str, const struct qstr *name) in msdos_cmp()
|
/linux-4.1.27/fs/proc/ |
D | generic.c | 362 struct qstr qstr; in __proc_create() local 366 qstr.name = fn; in __proc_create() 367 qstr.len = strlen(fn); in __proc_create() 368 if (qstr.len == 0 || qstr.len >= 256) { in __proc_create() 369 WARN(1, "name len %u\n", qstr.len); in __proc_create() 372 if (*parent == &proc_root && name_to_int(&qstr) != ~0U) { in __proc_create() 373 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 381 ent = kzalloc(sizeof(struct proc_dir_entry) + qstr.len + 1, GFP_KERNEL); in __proc_create() 385 memcpy(ent->name, fn, qstr.len + 1); in __proc_create() 386 ent->namelen = qstr.len; in __proc_create()
|
D | internal.h | 115 static inline unsigned name_to_int(const struct qstr *qstr) in name_to_int() argument 117 const char *name = qstr->name; in name_to_int() 118 int len = qstr->len; in name_to_int()
|
D | proc_sysctl.c | 477 struct qstr *name = &dentry->d_name; in proc_sys_lookup() 620 struct qstr qname; in proc_sys_fill_cache() 837 unsigned int len, const char *str, const struct qstr *name) in proc_sys_compare()
|
D | base.c | 1617 struct qstr qname = QSTR_INIT(name, len); in proc_fill_cache() 2672 struct qstr name; in proc_flush_task_mnt()
|
/linux-4.1.27/fs/ocfs2/ |
D | xattr.h | 58 const struct qstr *, 97 const struct qstr *qstr);
|
D | xattr.c | 7208 const struct qstr *qstr) in ocfs2_init_security_and_acl() argument 7213 ret = ocfs2_init_security_get(inode, dir, qstr, NULL); in ocfs2_init_security_and_acl() 7288 const struct qstr *qstr, in ocfs2_init_security_get() argument 7295 return security_old_inode_init_security(inode, dir, qstr, in ocfs2_init_security_get() 7299 return security_inode_init_security(inode, dir, qstr, in ocfs2_init_security_get()
|
/linux-4.1.27/fs/jffs2/ |
D | security.c | 44 const struct qstr *qstr) in jffs2_init_security() argument 46 return security_inode_init_security(inode, dir, qstr, in jffs2_init_security()
|
D | xattr.h | 127 const struct qstr *qstr); 130 #define jffs2_init_security(inode,dir,qstr) (0) argument
|
D | write.c | 442 const struct qstr *qstr) in jffs2_do_create() argument 484 ret = jffs2_init_security(&f->vfs_inode, &dir_f->vfs_inode, qstr); in jffs2_do_create() 491 ret = jffs2_reserve_space(c, sizeof(*rd)+qstr->len, &alloclen, in jffs2_do_create() 492 ALLOC_NORMAL, JFFS2_SUMMARY_DIRENT_SIZE(qstr->len)); in jffs2_do_create() 511 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create() 518 rd->nsize = qstr->len; in jffs2_do_create() 521 rd->name_crc = cpu_to_je32(crc32(0, qstr->name, qstr->len)); in jffs2_do_create() 523 fd = jffs2_write_dirent(c, dir_f, rd, qstr->name, qstr->len, ALLOC_NORMAL); in jffs2_do_create()
|
D | nodelist.h | 408 struct jffs2_raw_inode *ri, const struct qstr *qstr);
|
/linux-4.1.27/fs/f2fs/ |
D | xattr.h | 144 const struct qstr *, struct page *); 147 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument
|
D | dir.c | 92 struct qstr *name, int *max_slots, in find_in_block() 117 struct f2fs_dir_entry *find_target_dentry(struct qstr *name, int *max_slots, in find_target_dentry() 158 unsigned int level, struct qstr *name, in find_in_level() 210 struct qstr *child, struct page **res_page) in f2fs_find_entry() 261 ino_t f2fs_inode_by_name(struct inode *dir, struct qstr *qstr) in f2fs_inode_by_name() argument 267 de = f2fs_find_entry(dir, qstr, &page); in f2fs_inode_by_name() 293 static void init_dent_inode(const struct qstr *name, struct page *ipage) in init_dent_inode() 306 int update_dent_inode(struct inode *inode, const struct qstr *name) in update_dent_inode() 370 const struct qstr *name, struct page *dpage) in init_inode_metadata() 474 const struct qstr *name, f2fs_hash_t name_hash, in f2fs_update_dentry() [all …]
|
D | f2fs.h | 1456 struct f2fs_dir_entry *find_target_dentry(struct qstr *, int *, 1463 const struct qstr *, struct page *); 1467 struct f2fs_dir_entry *f2fs_find_entry(struct inode *, struct qstr *, 1470 ino_t f2fs_inode_by_name(struct inode *, struct qstr *); 1473 int update_dent_inode(struct inode *, const struct qstr *); 1475 const struct qstr *, f2fs_hash_t , unsigned int); 1476 int __f2fs_add_link(struct inode *, const struct qstr *, struct inode *, nid_t, 1500 f2fs_hash_t f2fs_dentry_hash(const struct qstr *); 1804 struct f2fs_dir_entry *find_in_inline_dir(struct inode *, struct qstr *, 1808 int f2fs_add_inline_entry(struct inode *, const struct qstr *, struct inode *,
|
D | hash.c | 73 f2fs_hash_t f2fs_dentry_hash(const struct qstr *name_info) in f2fs_dentry_hash()
|
D | xattr.c | 178 const struct qstr *qstr, struct page *ipage) in f2fs_init_security() argument 180 return security_inode_init_security(inode, dir, qstr, in f2fs_init_security()
|
D | namei.c | 184 struct qstr dotdot = QSTR_INIT("..", 2); in f2fs_get_parent() 194 struct qstr dot = QSTR_INIT(".", 1); in __recover_dot_dentries() 195 struct qstr dotdot = QSTR_INIT("..", 2); in __recover_dot_dentries()
|
D | inline.c | 270 struct qstr *name, struct page **res_page) in find_in_inline_dir() 392 int f2fs_add_inline_entry(struct inode *dir, const struct qstr *name, in f2fs_add_inline_entry()
|
D | recovery.c | 75 struct qstr name; in recover_dentry()
|
/linux-4.1.27/fs/btrfs/ |
D | xattr.h | 39 const struct qstr *qstr);
|
D | xattr.c | 515 const struct qstr *qstr) in btrfs_xattr_security_init() argument 517 return security_inode_init_security(inode, dir, qstr, in btrfs_xattr_security_init()
|
D | inode.c | 121 const struct qstr *qstr) in btrfs_init_inode_security() argument 127 err = btrfs_xattr_security_init(trans, inode, dir, qstr); in btrfs_init_inode_security()
|
/linux-4.1.27/fs/ubifs/ |
D | xattr.c | 101 const struct qstr *nm, const void *value, int size) in create_xattr() 257 static int check_namespace(const struct qstr *nm) in check_namespace() 307 struct qstr nm = QSTR_INIT(name, strlen(name)); in setxattr() 377 struct qstr nm = QSTR_INIT(name, strlen(name)); in ubifs_getxattr() 440 struct qstr nm = { .name = NULL }; in ubifs_listxattr() 497 struct inode *inode, const struct qstr *nm) in remove_xattr() 540 struct qstr nm = QSTR_INIT(name, strlen(name)); in ubifs_removexattr() 651 const struct qstr *qstr) in ubifs_init_security() argument 655 err = security_inode_init_security(inode, dentry, qstr, in ubifs_init_security()
|
D | key.h | 154 const struct qstr *nm) in dent_key_init() 188 ino_t inum, const struct qstr *nm) in dent_key_init_flash() 222 const struct qstr *nm) in xent_key_init() 239 ino_t inum, const struct qstr *nm) in xent_key_init_flash()
|
D | ubifs.h | 1541 const struct qstr *nm, const struct inode *inode, 1554 const struct inode *inode, const struct qstr *nm); 1589 void *node, const struct qstr *nm); 1597 int lnum, int offs, int len, const struct qstr *nm); 1600 const struct qstr *nm); 1606 const struct qstr *nm); 1764 const struct qstr *qstr);
|
D | tnc.c | 523 const struct qstr *nm) in matches_name() 693 const struct qstr *nm) in resolve_collision() 811 const struct qstr *nm) in fallible_matches_name() 882 const struct qstr *nm, int adding) in fallible_resolve_collision() 1793 void *node, const struct qstr *nm) in do_lookup_nm() 1841 void *node, const struct qstr *nm) in ubifs_tnc_lookup_nm() 2283 int lnum, int offs, int len, const struct qstr *nm) in ubifs_tnc_add_nm() 2348 struct qstr noname = { .name = "" }; in ubifs_tnc_add_nm() 2518 const struct qstr *nm) in ubifs_tnc_remove_nm() 2673 struct qstr nm = { .name = NULL }; in ubifs_tnc_remove_ino() [all …]
|
D | dir.c | 173 const struct qstr *nm) in dbg_check_name() 354 struct qstr nm; in ubifs_readdir() 628 struct qstr nm = { .name = NULL }; in check_dir_empty()
|
D | journal.c | 542 const struct qstr *nm, const struct inode *inode, in ubifs_jnl_update() 1287 const struct inode *inode, const struct qstr *nm) in ubifs_jnl_delete_xattr()
|
D | replay.c | 64 struct qstr nm;
|
D | debug.c | 236 struct qstr nm = { .name = NULL }; in ubifs_dump_inode() 1110 struct qstr nm = { .name = NULL }; in dbg_check_dir()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | thread_info.h | 91 #define qqstr(s) qstr(s) 92 #define qstr(s) #s macro
|
/linux-4.1.27/fs/nilfs2/ |
D | dir.c | 324 nilfs_find_entry(struct inode *dir, const struct qstr *qstr, in nilfs_find_entry() argument 327 const unsigned char *name = qstr->name; in nilfs_find_entry() 328 int namelen = qstr->len; in nilfs_find_entry() 399 ino_t nilfs_inode_by_name(struct inode *dir, const struct qstr *qstr) in nilfs_inode_by_name() argument 405 de = nilfs_find_entry(dir, qstr, &page); in nilfs_inode_by_name()
|
D | nilfs.h | 238 extern ino_t nilfs_inode_by_name(struct inode *, const struct qstr *); 241 nilfs_find_entry(struct inode *, const struct qstr *, struct page **);
|
D | namei.c | 453 struct qstr dotdot = QSTR_INIT("..", 2); in nilfs_get_parent()
|
/linux-4.1.27/fs/ufs/ |
D | dir.c | 73 ino_t ufs_inode_by_name(struct inode *dir, const struct qstr *qstr) in ufs_inode_by_name() argument 79 de = ufs_find_entry(dir, qstr, &page); in ufs_inode_by_name() 251 struct ufs_dir_entry *ufs_find_entry(struct inode *dir, const struct qstr *qstr, in ufs_find_entry() argument 255 const unsigned char *name = qstr->name; in ufs_find_entry() 256 int namelen = qstr->len; in ufs_find_entry()
|
D | ufs.h | 102 extern ino_t ufs_inode_by_name(struct inode *, const struct qstr *); 104 extern struct ufs_dir_entry *ufs_find_entry(struct inode *, const struct qstr *, struct page **);
|
D | super.c | 144 struct qstr dot_dot = QSTR_INIT("..", 2); in ufs_get_parent()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | statahead.c | 84 struct qstr se_qstr; 267 ll_sa_entry_get_byname(struct ll_statahead_info *sai, const struct qstr *qstr) in ll_sa_entry_get_byname() argument 270 int i = ll_sa_entry_hash(qstr->hash); in ll_sa_entry_get_byname() 273 if (entry->se_qstr.hash == qstr->hash && in ll_sa_entry_get_byname() 274 entry->se_qstr.len == qstr->len && in ll_sa_entry_get_byname() 275 memcmp(entry->se_qstr.name, qstr->name, qstr->len) == 0) in ll_sa_entry_get_byname() 807 struct qstr *qstr = &entry->se_qstr; in sa_args_init() local 823 op_data = ll_prep_md_op_data(&minfo->mi_data, dir, child, qstr->name, in sa_args_init() 824 qstr->len, 0, LUSTRE_OPC_ANY, NULL); in sa_args_init() 1370 struct qstr *target = &dentry->d_name; in is_first_dirent()
|
D | dcache.c | 86 const struct qstr *name) in ll_dcompare()
|
/linux-4.1.27/fs/nfs/ |
D | nfs4_fs.h | 225 struct rpc_clnt *nfs4_negotiate_security(struct rpc_clnt *, struct inode *, struct qstr *); 246 extern int nfs4_proc_fs_locations(struct rpc_clnt *, struct inode *, const struct qstr *, 251 extern struct rpc_clnt *nfs4_proc_lookup_mountpoint(struct inode *, struct qstr *, 253 extern int nfs4_proc_secinfo(struct inode *, const struct qstr *, struct nfs4_secinfo_flavors *);
|
D | proc.c | 148 nfs_proc_lookup(struct inode *dir, struct qstr *name, in nfs_proc_lookup() 302 nfs_proc_remove(struct inode *dir, struct qstr *name) in nfs_proc_remove() 360 nfs_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) in nfs_proc_link() 459 nfs_proc_rmdir(struct inode *dir, struct qstr *name) in nfs_proc_rmdir()
|
D | nfs4namespace.c | 211 struct qstr *name) in nfs4_negotiate_security() 400 struct qstr *name = &dentry->d_name; in nfs4_submount()
|
D | nfs3proc.c | 147 nfs3_proc_lookup(struct inode *dir, struct qstr *name, in nfs3_proc_lookup() 407 nfs3_proc_remove(struct inode *dir, struct qstr *name) in nfs3_proc_remove() 483 nfs3_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) in nfs3_proc_link() 585 nfs3_proc_rmdir(struct inode *dir, struct qstr *name) in nfs3_proc_rmdir()
|
D | nfs4trace.h | 693 const struct qstr *name, 727 const struct qstr *name, \ 743 const struct qstr *oldname, 745 const struct qstr *newname,
|
D | nfs2xdr.c | 716 const struct qstr *old = args->old_name; in nfs2_xdr_enc_renameargs() 717 const struct qstr *new = args->new_name; in nfs2_xdr_enc_renameargs()
|
D | nfs4proc.c | 3165 const struct qstr *name, struct nfs_fattr *fattr, in nfs4_get_referral() 3312 const struct qstr *name, struct nfs_fh *fhandle, in _nfs4_proc_lookup() 3353 struct qstr *name, struct nfs_fh *fhandle, in nfs4_proc_lookup_common() 3393 static int nfs4_proc_lookup(struct inode *dir, struct qstr *name, in nfs4_proc_lookup() 3409 nfs4_proc_lookup_mountpoint(struct inode *dir, struct qstr *name, in nfs4_proc_lookup_mountpoint() 3569 static int _nfs4_proc_remove(struct inode *dir, struct qstr *name) in _nfs4_proc_remove() 3592 static int nfs4_proc_remove(struct inode *dir, struct qstr *name) in nfs4_proc_remove() 3675 static int _nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) in _nfs4_proc_link() 3722 static int nfs4_proc_link(struct inode *inode, struct inode *dir, struct qstr *name) in nfs4_proc_link() 3744 struct qstr *name, struct iattr *sattr, u32 ftype) in nfs4_alloc_createdata() [all …]
|
D | dir.c | 143 struct qstr string; 214 int nfs_readdir_make_qstr(struct qstr *string, const char *name, unsigned int len) in nfs_readdir_make_qstr() 472 struct qstr filename = QSTR_INIT(entry->name, entry->len); in nfs_prime_dcache()
|
D | nfs4xdr.c | 1258 static void encode_link(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_link() 1348 static void encode_lookup(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_lookup() 1443 static inline void encode_claim_null(struct xdr_stream *xdr, const struct qstr *name) in encode_claim_null() 1461 static inline void encode_claim_delegate_cur(struct xdr_stream *xdr, const struct qstr *name, const… in encode_claim_delegate_cur() 1609 static void encode_remove(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hdr) in encode_remove() 1615 static void encode_rename(struct xdr_stream *xdr, const struct qstr *oldname, const struct qstr *ne… in encode_rename() 1709 static void encode_secinfo(struct xdr_stream *xdr, const struct qstr *name, struct compound_hdr *hd… in encode_secinfo()
|
D | nfs3xdr.c | 1194 const struct qstr *old = args->old_name; in nfs3_xdr_enc_rename3args() 1195 const struct qstr *new = args->new_name; in nfs3_xdr_enc_rename3args()
|
/linux-4.1.27/security/selinux/include/ |
D | security.h | 121 const struct qstr *qstr, u32 *out_sid);
|
/linux-4.1.27/fs/ocfs2/dlmfs/ |
D | userdlm.h | 86 struct ocfs2_cluster_connection *user_dlm_register(struct qstr *name);
|
D | dlmfs.c | 472 struct qstr *domain = &dentry->d_name; in dlmfs_mkdir() 521 struct qstr *name = &dentry->d_name; in dlmfs_create()
|
D | userdlm.c | 670 struct ocfs2_cluster_connection *user_dlm_register(struct qstr *name) in user_dlm_register()
|
/linux-4.1.27/fs/ |
D | dcache.c | 1545 struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name) in __d_alloc() 1616 struct dentry *d_alloc(struct dentry * parent, const struct qstr *name) in d_alloc() 1644 struct dentry *d_alloc_pseudo(struct super_block *sb, const struct qstr *name) in d_alloc_pseudo() 1652 struct qstr q; in d_alloc_name() 1890 static const struct qstr name = QSTR_INIT("/", 1); in d_make_root() 1933 static const struct qstr anonstring = QSTR_INIT("/", 1); in __d_obtain_alias() 2048 struct qstr *name) in d_add_ci() 2100 const struct qstr *name) in slow_dentry_cmp() 2144 const struct qstr *name, in __d_lookup_rcu() 2231 struct dentry *d_lookup(const struct dentry *parent, const struct qstr *name) in d_lookup() [all …]
|
D | internal.h | 131 extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
|
D | anon_inodes.c | 74 struct qstr this; in anon_inode_getfile()
|
D | nsfs.c | 50 struct qstr qname = { .name = "", }; in ns_get_path()
|
D | libfs.c | 79 static struct qstr cursor_name = QSTR_INIT(".", 1); in dcache_dir_open() 223 struct qstr d_name = QSTR_INIT(name, strlen(name)); in mount_pseudo()
|
D | namei.c | 497 struct qstr last; 1350 static struct dentry *lookup_dcache(struct qstr *name, struct dentry *dir, in lookup_dcache() 1409 static struct dentry *__lookup_hash(struct qstr *name, in __lookup_hash() 1847 struct qstr this = { { .hash_len = hash_len }, .name = name }; in link_path_walk() 2182 struct qstr this; in lookup_one_len() 3185 static const struct qstr name = QSTR_INIT("/", 1); in do_tmpfile()
|
D | pipe.c | 683 static struct qstr name = { .name = "" }; in create_pipe_files()
|
D | aio.c | 207 struct qstr this = QSTR_INIT("[aio]", 5); in aio_private_file()
|
/linux-4.1.27/security/ |
D | security.c | 355 struct qstr *name, void **ctx, in security_dentry_init_security() 364 const struct qstr *qstr, in security_inode_init_security() argument 375 return security_ops->inode_init_security(inode, dir, qstr, in security_inode_init_security() 379 ret = security_ops->inode_init_security(inode, dir, qstr, in security_inode_init_security() 399 const struct qstr *qstr, const char **name, in security_old_inode_init_security() argument 404 return security_ops->inode_init_security(inode, dir, qstr, name, value, in security_old_inode_init_security()
|
D | capability.c | 139 struct qstr *name, void **ctx, in cap_dentry_init_security() 155 const struct qstr *qstr, const char **name, in cap_inode_init_security() argument
|
/linux-4.1.27/fs/fuse/ |
D | fuse_i.h | 665 int fuse_lookup_name(struct super_block *sb, u64 nodeid, struct qstr *name, 887 u64 child_nodeid, struct qstr *name);
|
D | dir.c | 149 u64 nodeid, struct qstr *name, in fuse_lookup_init() 285 int fuse_lookup_name(struct super_block *sb, u64 nodeid, struct qstr *name, in fuse_lookup_name() 936 u64 child_nodeid, struct qstr *name) in fuse_reverse_inval_entry() 1169 struct qstr name = QSTR_INIT(dirent->name, dirent->namelen); in fuse_direntplus_link()
|
D | inode.c | 646 struct qstr name; in fuse_get_dentry() 748 struct qstr name; in fuse_get_parent()
|
D | dev.c | 1507 struct qstr name; in fuse_notify_inval_entry() 1558 struct qstr name; in fuse_notify_delete()
|
/linux-4.1.27/fs/ncpfs/ |
D | dir.c | 76 static int ncp_hash_dentry(const struct dentry *, struct qstr *); 78 unsigned int, const char *, const struct qstr *); 128 ncp_hash_dentry(const struct dentry *dentry, struct qstr *this) in ncp_hash_dentry() 158 unsigned int len, const char *str, const struct qstr *name) in ncp_compare_dentry() 585 struct qstr qname; in ncp_fill_cache()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_iops.c | 92 const struct qstr *qstr) in xfs_init_security() argument 94 return security_inode_init_security(inode, dir, qstr, in xfs_init_security() 270 struct qstr dname; in xfs_vn_ci_lookup()
|
/linux-4.1.27/net/sunrpc/ |
D | rpc_pipe.c | 650 struct qstr q = QSTR_INIT(name, strlen(name)); in __rpc_lookup_create_exclusive() 672 struct qstr name; in __rpc_depopulate() 1209 struct qstr dir = QSTR_INIT(dir_name, strlen(dir_name)); in rpc_d_lookup_sb() 1332 struct qstr q = QSTR_INIT(files[RPCAUTH_gssd].name, in rpc_gssd_dummy_populate()
|
/linux-4.1.27/fs/ntfs/ |
D | namei.c | 182 struct qstr nls_name; in ntfs_lookup()
|
/linux-4.1.27/fs/logfs/ |
D | dir.c | 159 struct qstr *name = &dentry->d_name; in logfs_get_dd_page() 326 static void logfs_set_name(struct logfs_disk_dentry *dd, struct qstr *name) in logfs_set_name()
|
/linux-4.1.27/fs/cifs/ |
D | dir.c | 852 static int cifs_ci_hash(const struct dentry *dentry, struct qstr *q) in cifs_ci_hash() 873 unsigned int len, const char *str, const struct qstr *name) in cifs_ci_compare()
|
D | readdir.c | 76 cifs_prime_dcache(struct dentry *parent, struct qstr *name, in cifs_prime_dcache() 692 struct qstr name; in cifs_filldir()
|
/linux-4.1.27/fs/coda/ |
D | dir.c | 350 struct qstr name; in coda_venus_readdir()
|
/linux-4.1.27/security/selinux/ss/ |
D | services.c | 1579 const struct qstr *qstr, u32 *out_sid) in security_transition_sid() argument 1582 qstr ? qstr->name : NULL, out_sid, true); in security_transition_sid()
|
/linux-4.1.27/fs/udf/ |
D | namei.c | 142 const struct qstr *child, in udf_find_entry() 1178 struct qstr dotdot = QSTR_INIT("..", 2); in udf_get_parent()
|
/linux-4.1.27/fs/hppfs/ |
D | hppfs.c | 145 struct qstr *name = &dentry->d_name; in hppfs_lookup()
|
/linux-4.1.27/fs/ocfs2/dlm/ |
D | dlmcommon.h | 296 struct qstr lockname;
|
D | dlmdomain.c | 172 struct qstr *q; in __dlm_insert_lockres()
|
/linux-4.1.27/Documentation/filesystems/ |
D | Locking | 14 int (*d_hash)(const struct dentry *, struct qstr *); 16 unsigned int, const char *, const struct qstr *);
|
D | vfs.txt | 926 int (*d_hash)(const struct dentry *, struct qstr *); 928 unsigned int, const char *, const struct qstr *); 980 to be compared. qstr is the name to compare it with.
|
/linux-4.1.27/fs/overlayfs/ |
D | super.c | 296 struct qstr *name) in ovl_lookup_real()
|
/linux-4.1.27/fs/afs/ |
D | dir.c | 124 struct qstr name;
|
/linux-4.1.27/fs/hugetlbfs/ |
D | inode.c | 976 struct qstr quick_string; in hugetlb_file_setup()
|
/linux-4.1.27/fs/ceph/ |
D | inode.c | 1094 struct qstr dname; in ceph_fill_trace() 1341 struct qstr dname; in ceph_readdir_prepopulate()
|
D | mds_client.c | 3104 struct qstr dname; in handle_lease()
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 2724 struct qstr *name, void **ctx, in selinux_dentry_init_security() 2758 const struct qstr *qstr, in selinux_inode_init_security() argument 2781 qstr, &newsid); in selinux_inode_init_security()
|
/linux-4.1.27/security/smack/ |
D | smack_lsm.c | 832 const struct qstr *qstr, const char **name, in smack_inode_init_security() argument
|
/linux-4.1.27/mm/ |
D | shmem.c | 3319 struct qstr this; in __shmem_file_setup()
|
/linux-4.1.27/net/ |
D | socket.c | 356 struct qstr name = { .name = "" }; in sock_alloc_file()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | perfmon.c | 2177 struct qstr this = { .name = "" }; in pfm_alloc_file()
|