Lines Matching refs:name
11 const unsigned char *name;
24 * otherwise, it will return 1 to just skip the invalid name
27 DBG_BUGON(qd->name > qd->end);
31 while (qd->name + i < qd->end && qd->name[i] != '\0') {
32 if (qn->name[i] != qd->name[i]) {
34 return qn->name[i] > qd->name[i] ? 1 : -1;
40 return qn->name[i] == '\0' ? 0 : 1;
45 static struct erofs_dirent *find_target_dirent(struct erofs_qstr *name,
65 .name = data + nameoff,
73 int ret = erofs_dirnamecmp(name, &dname, &matched);
90 struct inode *dir, struct erofs_qstr *name, int *_ndirents)
123 dname.name = (u8 *)de + nameoff;
131 diff = erofs_dirnamecmp(name, &dname, &matched);
161 int erofs_namei(struct inode *dir, const struct qstr *name, erofs_nid_t *nid,
172 qn.name = name->name;
173 qn.end = name->name + name->len;