Lines Matching refs:mlist

468 static void lfs_mlist_remove(lfs_t *lfs, struct lfs_mlist *mlist) {  in lfs_mlist_remove()  argument
469 for (struct lfs_mlist **p = &lfs->mlist; *p; p = &(*p)->next) { in lfs_mlist_remove()
470 if (*p == mlist) { in lfs_mlist_remove()
477 static void lfs_mlist_append(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_append() argument
478 mlist->next = lfs->mlist; in lfs_mlist_append()
479 lfs->mlist = mlist; in lfs_mlist_append()
2143 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_relocatingcommit()
2188 for (lfs_file_t *f = (lfs_file_t*)lfs->mlist; f; f = f->next) { in lfs_dir_orphaningcommit()
2262 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_orphaningcommit()
2409 cwd.next = lfs->mlist; in lfs_rawmkdir()
2462 lfs->mlist = &cwd; in lfs_rawmkdir()
2469 lfs->mlist = cwd.next; in lfs_rawmkdir()
2473 lfs->mlist = cwd.next; in lfs_rawmkdir()
3636 dir.next = lfs->mlist;
3666 lfs->mlist = &dir;
3673 lfs->mlist = dir.next;
3677 lfs->mlist = dir.next;
3729 prevdir.next = lfs->mlist;
3778 lfs->mlist = &prevdir;
3795 lfs->mlist = prevdir.next;
3807 lfs->mlist = prevdir.next;
3812 lfs->mlist = prevdir.next;
4005 lfs->mlist = NULL;
4323 for (lfs_file_t *f = (lfs_file_t*)lfs->mlist; f; f = f->next) {
5486 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5507 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5522 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5538 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5556 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5574 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5592 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5609 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5625 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5654 LFS_ASSERT(lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)file));
5685 LFS_ASSERT(!lfs_mlist_isopen(lfs->mlist, (struct lfs_mlist*)dir));