Lines Matching defs:skiplock
251 hfs_ref_data_vp(struct cnode *cp, struct vnode **data_vp, int skiplock)
258 /* maybe we should take the hfs cnode lock here, and if so, use the skiplock parameter to tell us not to */
260 if (!skiplock) hfs_lock(cp, HFS_SHARED_LOCK);
266 if (!skiplock) hfs_unlock(cp);
277 if (!skiplock) hfs_unlock(cp);
285 if (!skiplock) hfs_unlock(cp);
293 if (!skiplock) hfs_unlock(cp);
329 hfs_file_is_compressed(struct cnode *cp, int skiplock)
357 if (0 == hfs_ref_data_vp(cp, &data_vp, skiplock)) {
374 hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock)
387 if (0 != hfs_vget(hfsmp, fid, &vp, skiplock, 0)) { /* vnode is null, use hfs_vget() to get it */
398 if (hfs_file_is_compressed(VTOC(vp), skiplock) ) {
428 hfs_hides_rsrc(vfs_context_t ctx, struct cnode *cp, int skiplock)
432 if (!hfs_file_is_compressed(cp, skiplock))
438 hfs_hides_xattr(vfs_context_t ctx, struct cnode *cp, const char *name, int skiplock)
442 if (!hfs_file_is_compressed(cp, skiplock))