Searched defs:lockfs (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/ufs/lockfs/ |
H A D | lockfs.c | 29 * lockfs 30 * user interface to lockfs functionality 40 #include <sys/lockfs.h> 58 static void lockfs(char *); 210 lockfs(fnp->fn_name); 232 printf("usage: lockfs [-dfhnuw] [-c string] [-a] [file system ...]\n"); 257 struct lockfs lf; 269 bzero((caddr_t)&lf, sizeof (struct lockfs)); 366 * lockfs 370 lockfs(cha function [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lockfs.h | 38 * ILP32 version of lockfs, used in ufs_ioctl() to support 32-bit app in 50 struct lockfs { struct
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_trans.c | 69 struct lockfs lockfs; local 106 (void) ufs_fiolfss(ufsvfsp->vfs_root, &lockfs); 107 if (!LOCKFS_IS_ELOCK(&lockfs)) { 108 lockfs.lf_lock = LOCKFS_HLOCK; 109 lockfs.lf_flags = 0; 110 lockfs.lf_comlen = 0; 111 lockfs.lf_comment = NULL; 112 error = ufs_fiolfs(ufsvfsp->vfs_root, &lockfs, 0); 114 * retry after awhile; another app currently doing lockfs [all...] |
H A D | ufs_vfsops.c | 230 * VOP will have a lockfs mark on it. 998 * Set logging mounted flag used by lockfs 1125 * Initialize lockfs structure to support file system locking 1128 sizeof (struct lockfs)); 1385 struct lockfs lockfs; local 1396 * lockfs protocol. 1425 lockfs.lf_lock = LOCKFS_HLOCK; 1426 lockfs.lf_flags = 0; 1427 lockfs [all...] |
H A D | ufs_vnops.c | 188 * For lockfs: ulockfs begin/end is now inlined in the ufs_xxx functions. 194 /* NOTE: "not blkd" below means that the operation isn't blocked by lockfs */ 769 * the request passed the lockfs checks. 1558 struct lockfs lockfs, lockfs_out; local 1607 if (copyin((caddr_t)arg, &lockfs, 1608 sizeof (struct lockfs))) 1614 /* Translate ILP32 lockfs to LP64 lockfs */ 1618 lockfs [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 5170 struct lockfs lockfs; variable in typeref:struct:lockfs 5188 lockfs.lf_flags = LOCKFS_MOD; 5189 if (ioctl(lockfd, _FIOLFSS, &lockfs) == -1) { 5194 if (LOCKFS_IS_MOD(&lockfs)) { 5198 gettext(" See lockfs(1), umount(1), and fsck(1)\n")); 5204 lockfs.lf_lock = LOCKFS_ULOCK; 5205 lockfs.lf_flags = 0; 5206 lockfs.lf_key = lockfskey; 5208 if (ioctl(lockfd, _FIOLFS, &lockfs) [all...] |
Completed in 114 milliseconds