/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 56 static void lockfs(char *); 208 lockfs(fnp->fn_name); in main() 255 struct lockfs lf; in printstatus() 267 bzero((caddr_t)&lf, sizeof (struct lockfs)); in printstatus() 368 lockfs(char *fn) in lockfs() function 371 struct lockfs lf; in lockfs() 380 bzero((caddr_t)&lf, sizeof (struct lockfs)); in lockfs()
|
H A D | Makefile | 29 LIBPROG= lockfs
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 1453 struct lockfs lockfs, lockfs_out; in ufs_ioctl() local 1502 if (copyin((caddr_t)arg, &lockfs, in ufs_ioctl() 1503 sizeof (struct lockfs))) in ufs_ioctl() 1513 lockfs.lf_lock = (ulong_t)lockfs32.lf_lock; in ufs_ioctl() 1514 lockfs.lf_flags = (ulong_t)lockfs32.lf_flags; in ufs_ioctl() 1515 lockfs.lf_key = (ulong_t)lockfs32.lf_key; in ufs_ioctl() 1516 lockfs.lf_comlen = (ulong_t)lockfs32.lf_comlen; in ufs_ioctl() 1517 lockfs.lf_comment = in ufs_ioctl() 1522 if (lockfs.lf_comlen) { in ufs_ioctl() 1523 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 | 1131 sizeof (struct lockfs)); in mountfs() 1388 struct lockfs lockfs; in ufs_unmount() local 1428 lockfs.lf_lock = LOCKFS_HLOCK; in ufs_unmount() 1429 lockfs.lf_flags = 0; in ufs_unmount() 1430 lockfs.lf_key = ulp->ul_lockfs.lf_key + 1; in ufs_unmount() 1431 lockfs.lf_comlen = 0; in ufs_unmount() 1432 lockfs.lf_comment = NULL; in ufs_unmount() 1433 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 *); 1217 get_lockfs_status(ufs_failure_t *f, struct lockfs *lfp) in get_lockfs_status() 1631 struct lockfs lockfs_status; in sf_found_trylck() 2094 alloc_lockfs_comment(ufs_failure_t *f, struct lockfs *lfp) in alloc_lockfs_comment() 2133 set_lockfs(ufs_failure_t *f, struct lockfs *lfp) in set_lockfs() 2385 lock_name(struct lockfs *lfp) in lock_name()
|
H A D | ufs_snap.c | 67 struct lockfs lf; in ufs_snap_create()
|
H A D | ufs_alloc.c | 1497 allocsp_wlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_wlockfs() 1523 allocsp_unlockfs(struct vnode *vp, struct lockfs *lf) in allocsp_unlockfs() 1553 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()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
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_panic.h | 96 struct lockfs uf_lf; /* needed to set lockfs lock */
|
H A D | ufs_lockfs.h | 204 struct lockfs ul_lockfs; /* ioctl lock struct */
|
/illumos-gate/usr/src/cmd/fs.d/ufs/ |
H A D | Makefile | 37 labelit lockfs ncheck quot quota quotacheck quotaon \
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lockfs.h | 48 struct lockfs { struct
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/zvol/zvol_misc/ |
H A D | zvol_misc_002_pos.ksh | 89 log_must lockfs -f $TESTDIR
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dump.h | 290 extern int lockfs(char *, char *); 416 extern ulong_t lockfs();
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 5171 struct lockfs lockfs; variable 5189 lockfs.lf_flags = LOCKFS_MOD; in ulockfs() 5190 if (ioctl(lockfd, _FIOLFSS, &lockfs) == -1) { in ulockfs() 5195 if (LOCKFS_IS_MOD(&lockfs)) { in ulockfs() 5205 lockfs.lf_lock = LOCKFS_ULOCK; in ulockfs() 5206 lockfs.lf_flags = 0; in ulockfs() 5207 lockfs.lf_key = lockfskey; in ulockfs() 5209 if (ioctl(lockfd, _FIOLFS, &lockfs) == -1) { in ulockfs() 5235 if (ioctl(lockfd, _FIOLFSS, &lockfs) == -1) { in wlockfs() 5240 if (lockfs.lf_lock != LOCKFS_WLOCK) { in wlockfs() [all …]
|
/illumos-gate/usr/src/cmd/boot/scripts/ |
H A D | create_ramdisk.ksh | 359 lockfs -f "/$ALT_ROOT" 2>/dev/null 363 lockfs -f "/$ALT_ROOT" 2>/dev/null
|
H A D | root_archive.ksh | 254 lockfs -f $MNT
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_common.kshlib | 124 log_must lockfs -f $TESTDIR1
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | commands.cfg | 146 lockfs
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | utilities.c | 70 static struct lockfs *lfp; /* current lockfs status */ 1497 lfp = (struct lockfs *)malloc(sizeof (struct lockfs)); in is_errorlocked() 1500 (void) memset((void *)lfp, 0, sizeof (struct lockfs)); in is_errorlocked()
|
/illumos-gate/usr/src/man/man8/ |
H A D | Makefile | 267 lockfs.8 \
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | SUNWcs.man8.inc | 153 file path=usr/share/man/man8/lockfs.8
|