Lines Matching refs:mlist

512 static void lfs_mlist_remove(lfs_t *lfs, struct lfs_mlist *mlist) {  in lfs_mlist_remove()  argument
513 for (struct lfs_mlist **p = &lfs->mlist; *p; p = &(*p)->next) { in lfs_mlist_remove()
514 if (*p == mlist) { in lfs_mlist_remove()
521 static void lfs_mlist_append(lfs_t *lfs, struct lfs_mlist *mlist) { in lfs_mlist_append() argument
522 mlist->next = lfs->mlist; in lfs_mlist_append()
523 lfs->mlist = mlist; in lfs_mlist_append()
2314 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_relocatingcommit()
2359 for (lfs_file_t *f = (lfs_file_t*)lfs->mlist; f; f = f->next) { in lfs_dir_orphaningcommit()
2433 for (struct lfs_mlist *d = lfs->mlist; d; d = d->next) { in lfs_dir_orphaningcommit()
2580 cwd.next = lfs->mlist; in lfs_rawmkdir()
2633 lfs->mlist = &cwd; in lfs_rawmkdir()
2640 lfs->mlist = cwd.next; in lfs_rawmkdir()
2644 lfs->mlist = cwd.next; in lfs_rawmkdir()
3838 dir.next = lfs->mlist;
3868 lfs->mlist = &dir;
3875 lfs->mlist = dir.next;
3879 lfs->mlist = dir.next;
3931 prevdir.next = lfs->mlist;
3980 lfs->mlist = &prevdir;
3997 lfs->mlist = prevdir.next;
4009 lfs->mlist = prevdir.next;
4014 lfs->mlist = prevdir.next;
4226 lfs->mlist = NULL;
4623 for (lfs_file_t *f = (lfs_file_t*)lfs->mlist; f; f = f->next) {
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));