Lines Matching refs:undo
1562 struct allocsp_undo *ib_undo = NULL; /* ib undo */
1563 struct allocsp_undo *undo = NULL;
1608 /* Back up the direct block list, used for undo later if necessary */
1695 /* Save undo information */
1696 undo = kmem_alloc(sizeof (struct allocsp_undo),
1698 undo->offset = i;
1699 undo->blk = allocblk;
1700 undo->next = ib_undo;
1701 ib_undo = undo;
1802 * Since we couldn't allocate completely, we will undo the allocations.
1826 undo = ib_undo;
1827 err = bmap_set_bn(vp, undo->offset, 0);
1830 "undo allocation of block %ld",
1831 undo->offset);
1832 free(ip, undo->blk, fs->fs_bsize, I_IBLK);
1833 ib_undo = undo->next;
1834 kmem_free(undo, sizeof (struct allocsp_undo));
1850 * Don't forget to free the undo chain :)
1853 undo = ib_undo;
1854 ib_undo = undo->next;
1855 kmem_free(undo, sizeof (struct allocsp_undo));