Lines Matching defs:ufsp
116 * Link ufsp in at the head of the list of ufs_instances.
119 ufs_vfs_add(struct ufsvfs *ufsp)
122 ufsp->vfs_next = ufs_instances;
123 ufs_instances = ufsp;
128 * Remove ufsp from the list of ufs_instances.
130 * Does no error checking; ufsp is assumed to actually be on the list.
133 ufs_vfs_remove(struct ufsvfs *ufsp)
139 if (*delpt == ufsp) {
140 *delpt = ufsp->vfs_next;
141 ufsp->vfs_next = NULL;
197 struct ufsvfs *ufsp;
224 for (ufsp = ufs_instances; ufsp != NULL; ufsp = ufsp->vfs_next) {
225 vfsp = ufsp->vfs_vfs;
228 ufsp->vfs_wnext = update_list;
229 update_list = ufsp;
253 for (ufsp = update_list; ufsp != NULL; ufsp = ufsnext) {
261 ufsnext = ufsp->vfs_wnext;
262 vfsp = ufsp->vfs_vfs;
273 fs = ufsp->vfs_fs;
280 if (!mutex_tryenter(&ufsp->vfs_lock)) {
285 mutex_enter(&ufsp->vfs_lock);
295 ptr->ufsvfs = ufsp;
306 mutex_exit(&ufsp->vfs_lock);
311 mutex_exit(&ufsp->vfs_lock);
313 (void) ufs_fault(ufsp->vfs_root,
325 mutex_exit(&ufsp->vfs_lock);
326 TRANS_SBUPDATE(ufsp, vfsp, TOP_SBUPDATE_UPDATE);
369 ufsp = (struct ufsvfs *)vfsp->vfs_data;
371 TRANS_BEGIN_SYNC(ufsp, TOP_COMMIT_UPDATE, TOP_COMMIT_SIZE,
374 TRANS_END_SYNC(ufsp, error, TOP_COMMIT_UPDATE,
1196 struct ufsvfs *ufsp;
1199 for (ufsp = ufs_instances; ufsp != NULL; ufsp = ufsp->vfs_next) {
1200 if (ufsp != checkp->ufsvfs)
1210 vfsp = ufsp->vfs_vfs;