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

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hpfs/
H A Ddentry.c15 static int hpfs_hash_dentry(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((char *)qstr->name, &l);
24 /*if (hpfs_chk_name((char *)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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/gfs2/
H A Ddir.h19 int gfs2_dir_search(struct inode *dir, const struct qstr *filename,
21 int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
23 int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename);
26 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
32 const struct qstr *filename);
42 static inline void gfs2_str2qstr(struct qstr *name, const char *fname)
50 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent)
H A Dinode.h43 struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
45 struct inode *gfs2_createi(struct gfs2_holder *ghs, const struct qstr *name,
47 int gfs2_rmdiri(struct gfs2_inode *dip, const struct qstr *name,
49 int gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name,
H A Dops_dentry.c113 static int gfs2_dhash(struct dentry *dentry, struct qstr *str)
H A Ddir.c86 const struct qstr *name, void *opaque);
348 const struct qstr *name, int ret)
359 const struct qstr *name,
366 const struct qstr *name,
377 const struct qstr *name,
388 const struct qstr *name,
408 const struct qstr *name,
480 const struct qstr *name,
665 const struct qstr *name,
685 const struct qstr *nam
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/affs/
H A Dnamei.c16 static int affs_hash_dentry(struct dentry *, struct qstr *);
17 static int affs_compare_dentry(struct dentry *, struct qstr *, struct qstr *);
19 static int affs_intl_hash_dentry(struct dentry *, struct qstr *);
20 static int affs_intl_compare_dentry(struct dentry *, struct qstr *, struct qstr *);
61 __affs_hash_dentry(struct dentry *dentry, struct qstr *qstr, toupper_t toupper) argument
63 const u8 *name = qstr->name;
67 i = affs_check_name(qstr
81 affs_hash_dentry(struct dentry *dentry, struct qstr *qstr) argument
86 affs_intl_hash_dentry(struct dentry *dentry, struct qstr *qstr) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Ddcache.h33 struct qstr { struct
94 struct qstr d_name;
131 int (*d_hash) (struct dentry *, struct qstr *);
132 int (*d_compare) (struct dentry *, struct qstr *, struct qstr *);
229 extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
290 extern struct dentry * d_lookup(struct dentry *, struct qstr *);
291 extern struct dentry * __d_lookup(struct dentry *, struct qstr *);
292 extern struct dentry * d_hash_and_lookup(struct dentry *, struct qstr *);
H A Dnfs_xdr.h129 const struct qstr * name;
545 const struct qstr * name;
578 const struct qstr * name;
592 const struct qstr * name;
635 const struct qstr * name;
648 const struct qstr * old_name;
649 const struct qstr * new_name;
714 const struct qstr *name;
776 struct qstr *, struct nfs_fh *,
782 int (*lookup) (struct inode *, struct qstr *,
[all...]
H A Dnamei.h20 struct qstr last;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/adfs/
H A Ddir.c116 adfs_match(struct qstr *name, struct object_info *obj)
141 adfs_dir_lookup_byname(struct inode *inode, struct qstr *name, struct object_info *obj)
205 adfs_hash(struct dentry *parent, struct qstr *qstr) argument
212 if (qstr->len < name_len)
219 qstr->len = i = name_len;
220 name = qstr->name;
231 qstr->hash = end_name_hash(hash);
241 adfs_compare(struct dentry *parent, struct qstr *entry, struct qstr *nam
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/
H A Dhfs_fs.h165 extern int hfs_cat_create(u32, struct inode *, struct qstr *, struct inode *);
166 extern int hfs_cat_delete(u32, struct inode *, struct qstr *);
167 extern int hfs_cat_move(u32, struct inode *, struct qstr *,
168 struct inode *, struct qstr *);
169 extern void hfs_cat_build_key(struct super_block *, btree_key *, u32, struct qstr *);
188 extern struct inode *hfs_new_inode(struct inode *, struct qstr *, int);
217 extern int hfs_hash_dentry(struct dentry *, struct qstr *);
220 extern int hfs_compare_dentry(struct dentry *, struct qstr *, struct qstr *);
223 extern void hfs_asc2mac(struct super_block *, struct hfs_name *, struct qstr *);
[all...]
H A Dcatalog.c23 void hfs_cat_build_key(struct super_block *sb, btree_key *key, u32 parent, struct qstr *name)
67 u32 parentid, struct qstr *name)
82 int hfs_cat_create(u32 cnid, struct inode *dir, struct qstr *str, struct inode *inode)
204 int hfs_cat_delete(u32 cnid, struct inode *dir, struct qstr *str)
265 int hfs_cat_move(u32 cnid, struct inode *src_dir, struct qstr *src_name,
266 struct inode *dst_dir, struct qstr *dst_name)
H A Dstring.c54 int hfs_hash_dentry(struct dentry *dentry, struct qstr *this)
95 int hfs_compare_dentry(struct dentry *dentry, struct qstr *s1, struct qstr *s2)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/isofs/
H A Dinode.c30 static int isofs_hashi(struct dentry *parent, struct qstr *qstr);
31 static int isofs_hash(struct dentry *parent, struct qstr *qstr);
32 static int isofs_dentry_cmpi(struct dentry *dentry, struct qstr *a, struct qstr *b);
33 static int isofs_dentry_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b);
36 static int isofs_hashi_ms(struct dentry *parent, struct qstr *qstr);
162 isofs_hash_common(struct dentry *dentry, struct qstr *qstr, int ms) argument
183 isofs_hashi_common(struct dentry *dentry, struct qstr *qstr, int ms) argument
256 isofs_hash(struct dentry *dentry, struct qstr *qstr) argument
262 isofs_hashi(struct dentry *dentry, struct qstr *qstr) argument
281 isofs_hash_ms(struct dentry *dentry, struct qstr *qstr) argument
287 isofs_hashi_ms(struct dentry *dentry, struct qstr *qstr) argument
[all...]
H A Dnamei.c20 struct qstr qstr; local
38 qstr.name = compare;
39 qstr.len = dlen;
40 return dentry->d_op->d_compare(dentry, &dentry->d_name, &qstr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/sysv/
H A Dnamei.c30 static int sysv_hash(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);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/minix/
H A Dnamei.c21 static int minix_hash(struct dentry *dentry, struct qstr *qstr) argument
28 if (i >= qstr->len)
32 qstr->len = i;
33 name = qstr->name;
37 qstr->hash = end_name_hash(hash);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/vfat/
H A Dnamei.c49 /* returns the length of a struct qstr, ignoring trailing dots */
50 static unsigned int vfat_striptail_len(struct qstr *qstr) argument
52 unsigned int len = qstr->len;
54 while (len && qstr->name[len - 1] == '.')
65 static int vfat_hash(struct dentry *dentry, struct qstr *qstr) argument
67 qstr->hash = full_name_hash(qstr->name, vfat_striptail_len(qstr));
77 vfat_hashi(struct dentry *dentry, struct qstr *qstr) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/autofs/
H A Dautofs_i.h131 struct autofs_dir_ent *autofs_hash_lookup(const struct autofs_dirhash *,struct qstr *);
156 int autofs_wait(struct autofs_sb_info *,struct qstr *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/dlm/
H A Duserdlm.h86 struct dlm_ctxt *user_dlm_register_context(struct qstr *name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus/
H A Dhfsplus_fs.h306 void hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *, u32, struct qstr *);
308 int hfsplus_create_cat(u32, struct inode *, struct qstr *, struct inode *);
309 int hfsplus_delete_cat(u32, struct inode *, struct qstr *);
310 int hfsplus_rename_cat(u32, struct inode *, struct qstr *,
311 struct inode *, struct qstr *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfsplus_journal/
H A Dhfsplus_fs.h356 void hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *, u32, struct qstr *);
358 int hfsplus_create_cat(hfsplus_handle_t *, u32, struct inode *, struct qstr *, struct inode *);
359 int hfsplus_delete_cat(hfsplus_handle_t *, u32, struct inode *, struct qstr *);
360 int hfsplus_rename_cat(hfsplus_handle_t *, u32, struct inode *, struct qstr *,
361 struct inode *, struct qstr *);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/msdos/
H A Dnamei.c158 static int msdos_hash(struct dentry *dentry, struct qstr *qstr) argument
164 error = msdos_format_name(qstr->name, qstr->len, msdos_name, options);
166 qstr->hash = full_name_hash(msdos_name, MSDOS_NAME);
174 static int msdos_cmp(struct dentry *dentry, struct qstr *a, struct qstr *b)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Dproc.c141 nfs_proc_lookup(struct inode *dir, struct qstr *name,
273 nfs_proc_remove(struct inode *dir, struct qstr *name)
295 nfs_proc_unlink_setup(struct rpc_message *msg, struct dentry *dir, struct qstr *name)
323 nfs_proc_rename(struct inode *old_dir, struct qstr *old_name,
324 struct inode *new_dir, struct qstr *new_name)
349 nfs_proc_link(struct inode *inode, struct inode *dir, struct qstr *name)
447 nfs_proc_rmdir(struct inode *dir, struct qstr *name)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Ddcache.c889 * @name: qstr of the name
896 struct dentry *d_alloc(struct dentry * parent, const struct qstr *name)
956 struct qstr q;
1021 struct qstr *qstr = &alias->d_name; local
1023 if (qstr->hash != hash)
1027 if (qstr->len != len)
1029 if (memcmp(qstr->name, name, len))
1077 static const struct qstr name = { .name = "/", .len = 1 };
1119 static const struct qstr anonstrin
1264 struct qstr *qstr; local
[all...]

Completed in 229 milliseconds

1234