Lines Matching refs:wkl
45 struct worklist *wkl;
48 wkl = xcalloc(1, sizeof(*wkl));
50 len = strlcpy(wkl->wkl_path, path, sizeof(wkl->wkl_path));
51 if (len >= sizeof(wkl->wkl_path))
56 SLIST_INSERT_HEAD(worklist, wkl, wkl_list);
68 struct worklist *wkl;
75 while ((wkl = SLIST_FIRST(list)) != NULL) {
77 free(wkl);
89 struct worklist *wkl;
91 SLIST_FOREACH(wkl, list, wkl_list)
92 cb(wkl);
96 worklist_unlink(struct worklist *wkl)
98 (void)unlink(wkl->wkl_path);