Searched refs:lf_comlen (Results 1 – 9 of 9) sorted by relevance
45 uint32_t lf_comlen; /* length of comment */ member54 ulong_t lf_comlen; /* length of comment */ member
272 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()
215 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()
1621 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 …]
2116 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()
1430 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()
110 lockfs.lf_comlen = 0; in ufs_trans_hlock()
1496 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in is_errorlocked()1664 lfp->lf_comlen = LOCKFS_MAXCOMMENTLEN; in search_vfstab()
5240 lockfs.lf_comlen = strlen(lockfscomment)+1; in clockfs()