Home
last modified time | relevance | path

Searched refs:lf_comlen (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/common/sys/
H A Dlockfs.h45 uint32_t lf_comlen; /* length of comment */ member
54 ulong_t lf_comlen; /* length of comment */ member
/titanic_44/usr/src/cmd/fs.d/ufs/lockfs/
H A Dlockfs.c272 lf.lf_comlen = LOCKFS_MAXCOMMENTLEN; in printstatus()
334 lf.lf_comment[lf.lf_comlen] = '\0'; in printstatus()
405 lf.lf_comlen = (comment) ? strlen(comment)+1 : 0; in lockfs()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c215 ulp->ul_lockfs.lf_comlen = lockfsp->lf_comlen; in ufs_freeze()
1146 if (lfs.lf_comment && lfs.lf_comlen != 0) { in ufs__fiolfs()
1147 kmem_free(lfs.lf_comment, lfs.lf_comlen); in ufs__fiolfs()
1149 lfs.lf_comlen = 0; in ufs__fiolfs()
1163 ulp->ul_lockfs.lf_comment && ulp->ul_lockfs.lf_comlen > 0 ? in ufs__fiolfs()
H A Dufs_vnops.c1621 lockfs.lf_comlen = (ulong_t)lockfs32.lf_comlen; in ufs_ioctl()
1627 if (lockfs.lf_comlen) { in ufs_ioctl()
1628 if (lockfs.lf_comlen > LOCKFS_MAXCOMMENTLEN) in ufs_ioctl()
1631 kmem_alloc(lockfs.lf_comlen, KM_SLEEP); in ufs_ioctl()
1633 lockfs.lf_comlen)) { in ufs_ioctl()
1634 kmem_free(comment, lockfs.lf_comlen); in ufs_ioctl()
1658 lockfs32.lf_comlen = in ufs_ioctl()
1659 (uint32_t)lockfs.lf_comlen; in ufs_ioctl()
1669 if (lockfs.lf_comlen) in ufs_ioctl()
1670 kmem_free(comment, lockfs.lf_comlen); in ufs_ioctl()
[all …]
H A Dufs_panic.c2116 lfp->lf_comlen <= 0)) { in alloc_lockfs_comment()
2121 len = lfp->lf_comlen; in alloc_lockfs_comment()
2125 f->uf_lf.lf_comlen = len; in alloc_lockfs_comment()
2128 f->uf_lf.lf_comlen = 0; in alloc_lockfs_comment()
2325 comlen = ulp->ul_lockfs.lf_comlen; in fsck_active()
H A Dufs_vfsops.c1430 lockfs.lf_comlen = 0; in ufs_unmount()
1686 if (ulp->ul_lockfs.lf_comlen && ulp->ul_lockfs.lf_comment) in ufs_unmount()
1687 kmem_free(ulp->ul_lockfs.lf_comment, ulp->ul_lockfs.lf_comlen); in ufs_unmount()
H A Dufs_trans.c110 lockfs.lf_comlen = 0; in ufs_trans_hlock()
/titanic_44/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1496 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in is_errorlocked()
1664 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in search_vfstab()
/titanic_44/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c5240 lockfs.lf_comlen = strlen(lockfscomment)+1; in clockfs()