Lines Matching refs:worklist

809 static	struct jnewblk *cancel_newblk(struct newblk *, struct worklist *,
898 static struct worklist *jnewblk_merge(struct worklist *, struct worklist *,
936 static void add_to_worklist(struct worklist *, int);
937 static void wake_worklist(struct worklist *);
938 static void wait_worklist(struct worklist *, char *);
939 static void remove_from_worklist(struct worklist *);
949 static void add_to_journal(struct worklist *);
950 static void remove_from_journal(struct worklist *);
952 static void softdep_process_journal(struct mount *, struct worklist *, int);
971 static int jwait(struct worklist *, int);
1032 static void worklist_insert(struct workhead *, struct worklist *, int,
1034 static void worklist_remove(struct worklist *, int, const char *, int);
1048 struct worklist *item;
1069 struct worklist *item;
1139 struct worklist *wkn;
1140 struct worklist *wk;
1171 struct worklist *wk;
1192 static void workitem_free(struct worklist *, int);
1193 static void workitem_alloc(struct worklist *, int, struct mount *);
1194 static void workitem_reassign(struct worklist *, int);
1197 workitem_free((struct worklist *)(item), (type))
1199 workitem_reassign((struct worklist *)(item), (type))
1203 struct worklist *item;
1243 struct worklist *item;
1272 struct worklist *item;
1313 static int stat_worklist_push; /* number of worklist cleanups */
1556 * This function cleans the worklist for a filesystem.
1711 struct worklist *wk;
1742 struct worklist *wk;
1749 (struct worklist *)wk->wk_list.le_prev;
1756 struct worklist *wk;
1766 struct worklist *wk;
1958 * Process one item on the worklist.
1966 struct worklist sentinel;
1967 struct worklist *wk;
2039 * We have to retry the worklist item later. Wake up any
2051 (struct worklist *)sentinel.wk_list.le_prev;
2065 struct worklist *wk, *wktail;
2109 * creates. We continue until no more worklist dependencies
2158 printf("softdep_waitidle: Failed to flush worklist for %p\n",
2166 * Flush all vnodes and worklist items associated with a specified mount point.
2315 struct worklist *wk;
3060 struct worklist *wk;
3080 * Remove an arbitrary item for the journal worklist maintain the tail
3086 struct worklist *wk;
3094 struct worklist *wkn;
3107 * only if the worklist linkage are at the beginning of the structure.
3111 (struct worklist *)wk->wk_list.le_prev;
3685 struct worklist *needwk;
3690 struct worklist *wk;
3950 struct worklist *wk;
4238 * to the worklist.
4276 * freefrag is added to the worklist if this completes its dependencies.
4320 * If the freeblks is all journaled, we can add it to the worklist.
4330 newjsegdep(struct worklist *wk)
4529 * a file. The caller must add this to the worklist when the per-filesystem
4941 struct worklist *wk;
4973 * worklist item as IOWAITING because we drop the lock while
4974 * processing the journal and the worklist entry may be freed after
5481 jnewblk->jn_dep = (struct worklist *)newblk;
5532 struct worklist *wk;
5754 static struct worklist *
5756 struct worklist *new;
5757 struct worklist *old;
5818 struct worklist *wk;
5840 * the worklist when it is freed by free_newblk. It is
5884 wk = (struct worklist *) cancel_newblk(&oldadp->ad_block,
5954 freefrag->ff_jdep = (struct worklist *)
5985 LIST_SWAP(&freefrag->ff_jwork, &wkhd, worklist, wk_list);
6304 struct worklist *wk;
6320 /* Found on the buffer worklist, no new structure to free. */
6436 struct worklist *wk;
6463 freefrag->ff_jdep = (struct worklist *)cancel_newblk(&oldaip->ai_block,
6880 struct worklist *wk, *wkn;
7634 struct worklist *wk, *wkn;
7719 struct worklist *wk;
7765 struct worklist *wk;
7841 struct worklist *wk;
7873 struct worklist *wk;
8174 * add the freeblks to the worklist. This makes it easier to find all work
8228 * the freeblks is added back to the worklist if there is more work to do.
8273 struct worklist *wk;
8737 struct worklist *wk;
9410 struct worklist *wk;
9650 struct worklist *wk;
9859 struct worklist *wk;
10168 struct worklist *wk;
10176 panic("handle_workitem_remove: dirrem %p still on worklist",
10217 LIST_SWAP(&dirrem->dm_jwork, &dotdotwk, worklist, wk_list);
10234 ("handle_workitem_remove: worklist not empty. %s",
10263 ("handle_workitem_remove: DIRCHG and worklist not empty."));
10338 LIST_SWAP(&freefile->fx_jwork, &wkhd, worklist, wk_list);
10351 static __inline struct worklist *
10352 markernext(struct worklist *marker)
10354 struct worklist *next;
10387 struct worklist *wk;
10388 struct worklist marker;
11113 struct worklist *wk, *wkn;
11170 struct worklist *wk;
11396 LIST_SWAP(&bmsafemap->sm_freehd, &bmsafemap->sm_freewr, worklist,
11433 struct worklist *wk;
11434 struct worklist *owk;
11497 panic("duplicate worklist: %p\n", wk);
11709 struct worklist *wk;
11747 struct worklist *wk;
11755 * We defer adding freefile to the worklist
12341 worklist, wk_list);
12400 worklist, wk_list);
12666 struct worklist *wk;
12834 struct worklist *wk;
12992 struct worklist *wk;
13138 struct worklist *wk;
13755 * deadlock. If the worklist yields none of the requested resource,
13774 * worklist items as we will recurse into the copyonwrite
13886 * If we still need resources and there are no more worklist
13889 * to the worklist that we can then process to reap addition
13891 * until we get the needed worklist requests that we can reap.
14096 * to avoid recursively processing the worklist.
14388 struct worklist *wk;
14435 struct worklist *wk;
14510 struct worklist *wk;
14924 worklist_print(struct worklist *wk, int verbose)
14932 db_printf("worklist: %p type %s state 0x%b next %p\n ", wk,
15057 db_printf("worklist address required\n");
15060 worklist_print((struct worklist *)addr, 1);
15065 struct worklist *wk;
15069 db_printf("worklist address required "
15074 * We often do not have the address of the worklist head but
15082 wk = (struct worklist *)addr;