Lines Matching defs:name
44 static inline void gfs2_str2qstr(struct qstr *name, const char *fname)
46 name->name = fname;
47 name->len = strlen(fname);
48 name->hash = gfs2_disk_hash(name->name, name->len);
52 static inline void gfs2_qstr2dirent(const struct qstr *name, u16 reclen, struct gfs2_dirent *dent)
56 dent->de_hash = cpu_to_be32(name->hash);
58 dent->de_name_len = cpu_to_be16(name->len);
61 memcpy(dent + 1, name->name, name->len);