Searched defs:seg_list (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 70 print_list(list_t *seg_list, char *fname, int options) argument 82 while ((seg = list_remove_head(seg_list)) != NULL) { 122 list_t seg_list; local 125 list_create(&seg_list, sizeof (seg_t), offsetof(seg_t, seg_node)); 168 list_insert_tail(&seg_list, seg); 169 if ((s = list_prev(&seg_list, seg)) != NULL) 188 (void) list_remove_tail(&seg_list); 191 print_list(&seg_list, fname, options); 192 list_destroy(&seg_list);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 84 push_segment(list_t *seg_list, seg_type_t seg_type, char *optarg) argument 109 list_insert_tail(seg_list, seg); 117 list_t seg_list; local 121 list_create(&seg_list, sizeof (seg_t), offsetof(seg_t, seg_node)); 126 push_segment(&seg_list, SEG_DATA, optarg); 129 push_segment(&seg_list, SEG_HOLE, optarg); 146 while ((seg = list_remove_head(&seg_list)) != NULL) {
|
/illumos-gate/usr/src/lib/libfru/libfru/ |
H A D | libfru.cc | 870 fru_strlist_t seg_list; local 875 &seg_list)) 881 for (i = 0; i < seg_list.num; i++) { 882 if (strncmp(seg_list.strs[i], def->name, FRU_SEGNAMELEN) 884 fru_destroy_strlist(&seg_list); 889 fru_destroy_strlist(&seg_list); 1591 fru_strlist_t seg_list; local 1593 if ((err = get_seg_list_from_ds(container, &seg_list)) 1599 for (int i = 0; i < seg_list.num; i++) { 1601 seg_list [all...] |
Completed in 47 milliseconds