Lines Matching refs:locktype
1739 hfs_lock(struct cnode *cp, enum hfslocktype locktype)
1753 } else if (locktype == HFS_SHARED_LOCK) {
1808 if ((locktype != HFS_FORCE_LOCK) &&
1821 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype)
1830 return hfs_lock(cp1, locktype);
1844 if ( (error = hfs_lock(first, locktype))) {
1847 if ( (error = hfs_lock(last, locktype))) {
1881 struct cnode *cp4, enum hfslocktype locktype, struct cnode **error_cnode)
1921 if ((error = hfs_lock(list[i], locktype))) {
2051 * shared. The locktype argument is the same as supplied to
2055 hfs_lock_truncate(struct cnode *cp, enum hfslocktype locktype)
2070 if (locktype != HFS_RECURSE_TRUNCLOCK) {
2075 else if ((locktype == HFS_SHARED_LOCK) || (locktype == HFS_RECURSE_TRUNCLOCK)) {
2092 int hfs_try_trunclock (struct cnode *cp, enum hfslocktype locktype) {
2107 if (locktype != HFS_RECURSE_TRUNCLOCK) {
2112 else if ((locktype == HFS_SHARED_LOCK) || (locktype == HFS_RECURSE_TRUNCLOCK)) {