Home
last modified time | relevance | path

Searched refs:wkl (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/usr.bin/rcs/
Dworklist.c45 struct worklist *wkl; in worklist_add() local
48 wkl = xcalloc(1, sizeof(*wkl)); in worklist_add()
50 len = strlcpy(wkl->wkl_path, path, sizeof(wkl->wkl_path)); in worklist_add()
51 if (len >= sizeof(wkl->wkl_path)) in worklist_add()
56 SLIST_INSERT_HEAD(worklist, wkl, wkl_list); in worklist_add()
68 struct worklist *wkl; in worklist_run() local
75 while ((wkl = SLIST_FIRST(list)) != NULL) { in worklist_run()
77 free(wkl); in worklist_run()
89 struct worklist *wkl; in worklist_clean() local
91 SLIST_FOREACH(wkl, list, wkl_list) in worklist_clean()
[all …]
/openbsd/src/usr.bin/cvs/
Dworklist.c40 struct worklist *wkl; in worklist_add() local
43 wkl = xcalloc(1, sizeof(*wkl)); in worklist_add()
45 len = strlcpy(wkl->wkl_path, path, sizeof(wkl->wkl_path)); in worklist_add()
46 if (len >= sizeof(wkl->wkl_path)) in worklist_add()
51 SLIST_INSERT_HEAD(worklist, wkl, wkl_list); in worklist_add()
63 struct worklist *wkl; in worklist_run() local
70 while ((wkl = SLIST_FIRST(list)) != NULL) { in worklist_run()
72 free(wkl); in worklist_run()
84 struct worklist *wkl; in worklist_clean() local
86 SLIST_FOREACH(wkl, list, wkl_list) in worklist_clean()
[all …]