Lines Matching refs:name
1386 strcpy(info->name, "/"); in lfs_dir_getinfo()
1392 LFS_MKTAG(LFS_TYPE_NAME, id, lfs->name_max+1), info->name); in lfs_dir_getinfo()
1418 const void *name; member
1424 struct lfs_dir_find_match *name = data; in lfs_dir_find_match() local
1425 lfs_t *lfs = name->lfs; in lfs_dir_find_match()
1429 lfs_size_t diff = lfs_min(name->size, lfs_tag_size(tag)); in lfs_dir_find_match()
1432 disk->block, disk->off, name->name, diff); in lfs_dir_find_match()
1438 if (name->size != lfs_tag_size(tag)) { in lfs_dir_find_match()
1439 return (name->size < lfs_tag_size(tag)) ? LFS_CMP_LT : LFS_CMP_GT; in lfs_dir_find_match()
1449 const char *name = *path; in lfs_dir_find() local
1462 name += strspn(name, "/"); in lfs_dir_find()
1463 lfs_size_t namelen = strcspn(name, "/"); in lfs_dir_find()
1466 if ((namelen == 1 && memcmp(name, ".", 1) == 0) || in lfs_dir_find()
1467 (namelen == 2 && memcmp(name, "..", 2) == 0)) { in lfs_dir_find()
1468 name += namelen; in lfs_dir_find()
1473 const char *suffix = name + namelen; in lfs_dir_find()
1486 name = suffix + sufflen; in lfs_dir_find()
1497 if (name[0] == '\0') { in lfs_dir_find()
1502 *path = name; in lfs_dir_find()
1525 (strchr(name, '/') == NULL) ? id : NULL, in lfs_dir_find()
1527 lfs, name, namelen}); in lfs_dir_find()
1542 name += namelen; in lfs_dir_find()
2725 strcpy(info->name, "."); in lfs_dir_rawread()
2730 strcpy(info->name, ".."); in lfs_dir_rawread()
5582 char name[LFS_NAME_MAX+1]; local
5583 memset(name, 0, sizeof(name));
5586 name, entry1.d.nlen);
5600 err = lfs_dir_find(lfs, &dir2, &(const char*){name}, &id);
5612 name},