Lines Matching refs:snapdata
130 LIST_HEAD(, snapdata) snapfree;
132 MTX_SYSINIT(ffs_snapfree, &snapfree_lock, "snapdata free list", MTX_DEF);
163 static void revert_snaplock(struct vnode *, struct vnode *, struct snapdata *);
164 static struct snapdata *ffs_snapdata_acquire(struct vnode *devvp);
216 struct snapdata *sn;
668 * Acquire a lock on the snapdata structure, creating it if necessary.
1604 struct snapdata *sn;
1655 struct snapdata *sn;
1791 struct snapdata *sn;
2000 struct snapdata *sn;
2058 * Acquire a lock on the snapdata structure, creating it if
2136 struct snapdata *sn;
2170 struct snapdata *sn;
2276 struct snapdata *sn;
2493 struct snapdata *sn;
2602 static struct snapdata *
2605 struct snapdata *sn;
2608 * Fetch a snapdata from the free list if there is one available.
2628 * The snapdata is never freed because we can not be certain that
2633 ffs_snapdata_free(struct snapdata *sn)
2640 /* Try to free snapdata associated with devvp */
2644 struct snapdata *sn;
2677 struct snapdata *sn)
2705 static struct snapdata *
2708 struct snapdata *nsn, *sn;
2712 * Allocate a free snapdata. This is done before acquiring the
2725 * snapdata. Publish sn with the sn_lock
2749 * Free any unused snapdata.