Searched refs:lst (Results 1 – 3 of 3) sorted by relevance
/bootable/diskinstaller/libdiskconfig/ |
D | write_lst.c | 51 wlist_add(struct write_list **lst, struct write_list *item) in wlist_add() argument 53 item->next = (*lst); in wlist_add() 54 *lst = item; in wlist_add() 59 wlist_free(struct write_list *lst) in wlist_free() argument 62 while (lst) { in wlist_free() 63 temp_wr = lst->next; in wlist_free() 64 free_wl(lst); in wlist_free() 65 lst = temp_wr; in wlist_free() 70 wlist_commit(int fd, struct write_list *lst, int test) in wlist_commit() argument 72 for(; lst; lst = lst->next) { in wlist_commit() [all …]
|
D | diskconfig.h | 103 struct write_list *wlist_add(struct write_list **lst, struct write_list *item); 104 void wlist_free(struct write_list *lst); 105 int wlist_commit(int fd, struct write_list *lst, int test);
|
D | diskconfig.c | 384 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config() argument 386 *lst = NULL; in validate_and_config() 394 *lst = config_mbr(dinfo); in validate_and_config() 395 return *lst == NULL; in validate_and_config() 404 *lst = NULL; in validate_and_config() 418 struct write_list *lst; in process_disk_config() local 421 if (validate_and_config(dinfo, &fd, &lst) != 0) in process_disk_config() 425 wlist_free(lst); in process_disk_config()
|