Lines Matching refs:qstr
87 /* returns the length of a struct qstr, ignoring trailing dots */
88 static unsigned int vfat_striptail_len(struct qstr *qstr)
90 unsigned int len = qstr->len;
92 while (len && qstr->name[len - 1] == '.')
103 static int vfat_hash(struct dentry *dentry, struct qstr *qstr)
105 qstr->hash = full_name_hash(qstr->name, vfat_striptail_len(qstr));
115 static int vfat_hashi(struct dentry *dentry, struct qstr *qstr)
122 name = qstr->name;
123 len = vfat_striptail_len(qstr);
128 qstr->hash = end_name_hash(hash);
136 static int vfat_cmpi(struct dentry *dentry, struct qstr *a, struct qstr *b)
154 static int vfat_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
659 static int vfat_add_entry(struct inode *dir, struct qstr *qname, int is_dir,
695 static int vfat_find(struct inode *dir, struct qstr *qname,