/titanic_44/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 58 static void lockfs(char *); 210 lockfs(fnp->fn_name); in main() 257 struct lockfs lf; in printstatus() 269 bzero((caddr_t)&lf, sizeof (struct lockfs)); in printstatus() 370 lockfs(char *fn) in lockfs() function 373 struct lockfs lf; in lockfs() 382 bzero((caddr_t)&lf, sizeof (struct lockfs)); in lockfs()
|
H A D | Makefile | 31 LIBPROG= lockfs
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 1558 struct lockfs lockfs, lockfs_out; in ufs_ioctl() local 1607 if (copyin((caddr_t)arg, &lockfs, in ufs_ioctl() 1608 sizeof (struct lockfs))) in ufs_ioctl() 1618 lockfs.lf_lock = (ulong_t)lockfs32.lf_lock; in ufs_ioctl() 1619 lockfs.lf_flags = (ulong_t)lockfs32.lf_flags; in ufs_ioctl() 1620 lockfs.lf_key = (ulong_t)lockfs32.lf_key; in ufs_ioctl() 1621 lockfs.lf_comlen = (ulong_t)lockfs32.lf_comlen; in ufs_ioctl() 1622 lockfs.lf_comment = in ufs_ioctl() 1627 if (lockfs.lf_comlen) { in ufs_ioctl() 1628 if (lockfs.lf_comlen > LOCKFS_MAXCOMMENTLEN) in ufs_ioctl() [all …]
|
H A D | ufs_trans.c | 69 struct lockfs lockfs; in ufs_trans_hlock() local 106 (void) ufs_fiolfss(ufsvfsp->vfs_root, &lockfs); in ufs_trans_hlock() 107 if (!LOCKFS_IS_ELOCK(&lockfs)) { in ufs_trans_hlock() 108 lockfs.lf_lock = LOCKFS_HLOCK; in ufs_trans_hlock() 109 lockfs.lf_flags = 0; in ufs_trans_hlock() 110 lockfs.lf_comlen = 0; in ufs_trans_hlock() 111 lockfs.lf_comment = NULL; in ufs_trans_hlock() 112 error = ufs_fiolfs(ufsvfsp->vfs_root, &lockfs, 0); in ufs_trans_hlock()
|
H A D | ufs_lockfs.c | 143 struct lockfs *lockfsp, /* new lock request */ in ufs_getlfd() 144 struct lockfs *ul_lockfsp) /* old lock state */ in ufs_getlfd() 208 ufs_freeze(struct ulockfs *ulp, struct lockfs *lockfsp) in ufs_freeze() 866 ufs_fiolfs(struct vnode *vp, struct lockfs *lockfsp, int from_log) in ufs_fiolfs() 875 struct lockfs *lockfsp, in ufs__fiolfs() 880 struct lockfs lfs; in ufs__fiolfs() 1002 bcopy(&ulp->ul_lockfs, &lfs, sizeof (struct lockfs)); in ufs__fiolfs() 1189 bcopy(&lfs, &ulp->ul_lockfs, sizeof (struct lockfs)); in ufs__fiolfs() 1224 ufs_fiolfss(struct vnode *vp, struct lockfs *lockfsp) in ufs_fiolfss()
|
H A D | ufs_vfsops.c | 1130 sizeof (struct lockfs)); in mountfs() 1387 struct lockfs lockfs; in ufs_unmount() local 1427 lockfs.lf_lock = LOCKFS_HLOCK; in ufs_unmount() 1428 lockfs.lf_flags = 0; in ufs_unmount() 1429 lockfs.lf_key = ulp->ul_lockfs.lf_key + 1; in ufs_unmount() 1430 lockfs.lf_comlen = 0; in ufs_unmount() 1431 lockfs.lf_comment = NULL; in ufs_unmount() 1432 ufs_freeze(ulp, &lockfs); in ufs_unmount()
|
H A D | ufs_panic.c | 256 static int get_lockfs_status(ufs_failure_t *, struct lockfs *); 257 static void alloc_lockfs_comment(ufs_failure_t *, struct lockfs *); 258 static int set_lockfs(ufs_failure_t *, struct lockfs *); 269 static char *lock_name(struct lockfs *); 1218 get_lockfs_status(ufs_failure_t *f, struct lockfs *lfp) in get_lockfs_status() 1632 struct lockfs lockfs_status; in sf_found_trylck() 2095 alloc_lockfs_comment(ufs_failure_t *f, struct lockfs *lfp) in alloc_lockfs_comment() 2134 set_lockfs(ufs_failure_t *f, struct lockfs *lfp) in set_lockfs() 2386 lock_name(struct lockfs *lfp) in lock_name()
|
H A D | ufs_snap.c | 69 struct lockfs lf; in ufs_snap_create()
|
H A D | ufs_alloc.c | 1498 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_wlockfs() 1524 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_unlockfs() 1554 struct lockfs lf; in ufs_allocsp()
|
H A D | lufs.c | 854 struct lockfs lf; in lufs_disable() 990 struct lockfs lf; in lufs_enable()
|
/titanic_44/usr/src/cmd/fs.d/ufs/ |
H A D | Makefile | 38 labelit lockfs ncheck quot quota quotacheck quotaon \
|
/titanic_44/usr/src/uts/common/sys/fs/ |
H A D | ufs_panic.h | 98 struct lockfs uf_lf; /* needed to set lockfs lock */
|
H A D | ufs_inode.h | 962 extern int ufs_fiolfs(struct vnode *, struct lockfs *, int); 963 extern int ufs__fiolfs(struct vnode *, struct lockfs *, int, int); 964 extern int ufs_fiolfss(struct vnode *, struct lockfs *); 1008 void ufs_freeze(struct ulockfs *, struct lockfs *);
|
H A D | ufs_lockfs.h | 206 struct lockfs ul_lockfs; /* ioctl lock struct */
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | lockfs.h | 50 struct lockfs { struct
|
/titanic_44/usr/src/cmd/backup/dump/ |
H A D | dump.h | 290 extern int lockfs(char *, char *); 416 extern ulong_t lockfs();
|
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 5146 struct lockfs lockfs; variable 5164 lockfs.lf_flags = LOCKFS_MOD; in ulockfs() 5165 if (ioctl(lockfd, _FIOLFSS, &lockfs) == -1) { in ulockfs() 5170 if (LOCKFS_IS_MOD(&lockfs)) { in ulockfs() 5180 lockfs.lf_lock = LOCKFS_ULOCK; in ulockfs() 5181 lockfs.lf_flags = 0; in ulockfs() 5182 lockfs.lf_key = lockfskey; in ulockfs() 5184 if (ioctl(lockfd, _FIOLFS, &lockfs) == -1) { in ulockfs() 5210 if (ioctl(lockfd, _FIOLFSS, &lockfs) == -1) { in wlockfs() 5215 if (lockfs.lf_lock != LOCKFS_WLOCK) { in wlockfs() [all …]
|
/titanic_44/usr/src/cmd/boot/scripts/ |
H A D | create_ramdisk.ksh | 424 lockfs -f "/$ALT_ROOT" 2>/dev/null 426 lockfs -f "/$ALT_ROOT" 2>/dev/null
|
H A D | root_archive.ksh | 254 lockfs -f $MNT
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 125 log_must /usr/sbin/lockfs -f $TESTDIR1
|
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | fsck.h | 350 struct lockfs *lfp; /* current lockfs status */
|
H A D | utilities.c | 1490 lfp = (struct lockfs *)malloc(sizeof (struct lockfs)); in is_errorlocked() 1493 (void) memset((void *)lfp, 0, sizeof (struct lockfs)); in is_errorlocked()
|
/titanic_44/usr/src/test/zfs-tests/include/ |
H A D | commands.cfg | 79 export LOCKFS="/usr/sbin/lockfs"
|
/titanic_44/usr/src/man/man1m/ |
H A D | Makefile | 276 lockfs.1m \
|
/titanic_44/usr/src/pkg/manifests/ |
H A D | SUNWcs.man1m.inc | 150 file path=usr/share/man/man1m/lockfs.1m
|