Lines Matching refs:lfs_mlist
499 static bool lfs_mlist_isopen(struct lfs_mlist *head, in lfs_mlist_isopen()
500 struct lfs_mlist *node) { in lfs_mlist_isopen()
501 for (struct lfs_mlist **p = &head; *p; p = &(*p)->next) { in lfs_mlist_isopen()
502 if (*p == (struct lfs_mlist*)node) { in lfs_mlist_isopen()
512 static void lfs_mlist_remove(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_remove()
513 for (struct lfs_mlist **p = &lfs->mlist; *p; p = &(*p)->next) { in lfs_mlist_remove()
521 static void lfs_mlist_append(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_append()
2314 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_relocatingcommit()
2433 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_orphaningcommit()
2579 struct lfs_mlist cwd; in lfs_rawmkdir()
2707 lfs_mlist_append(lfs, (struct lfs_mlist *)dir); in lfs_dir_rawopen()
2714 lfs_mlist_remove(lfs, (struct lfs_mlist *)dir); in lfs_dir_rawclose()
3044 lfs_mlist_append(lfs, (struct lfs_mlist *)file);
3195 lfs_mlist_remove(lfs, (struct lfs_mlist*)file);
3837 struct lfs_mlist dir;
3930 struct lfs_mlist prevdir;
5935 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5956 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5971 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5987 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6005 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6023 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6041 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6058 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6074 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6103 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
6134 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)dir));