Lines Matching refs:segi
874 struct seg_info *segi;
878 if ((segi = mc_node_get(seg_id, seg_head)) == NULL) {
883 tb = segi->tail;
891 segi->nbanks++;
894 banki->seg_id = segi->seg_node.id;
899 segi->ifactor++;
901 segi->size += banki->size;
902 segi->tail = banki;
907 "size 0x%lx\n", segi->seg_node.id, banki->bank_node.id,
913 segi = kmem_zalloc(sizeof (*segi), KM_SLEEP);
915 segi->seg_node.id = seg_id;
916 segi->nbanks = 1;
917 segi->ifactor = 1;
918 segi->base = banki->base;
919 segi->size = banki->size;
920 segi->head = banki;
921 segi->tail = banki;
923 banki->seg_id = segi->seg_node.id;
926 mc_node_add((mc_dlist_t *)segi, &seg_head, &seg_tail);
932 "size 0x%lx\n", segi->seg_node.id, banki->bank_node.id,
1373 struct seg_info *segi;
1416 if ((segi = mc_node_get(banki->seg_id, seg_head)) != NULL) {
1417 mc_node_del((mc_dlist_t *)segi, &seg_head, &seg_tail);
1418 kmem_free(segi, sizeof (*segi));