Lines Matching refs:name
59 static inline void gfs2_str2qstr(struct qstr *name, const char *fname)
61 name->name = fname;
62 name->len = strlen(fname);
63 name->hash = gfs2_disk_hash(name->name, name->len);
67 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent)
71 dent->de_hash = cpu_to_be32(name->hash);
73 dent->de_name_len = cpu_to_be16(name->len);
76 memcpy(dent + 1, name->name, name->len);