Searched refs:skiplock (Results 1 - 6 of 6) sorted by relevance

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_chash.c146 hfs_chash_getvnode(struct hfsmount *hfsmp, ino_t inum, int wantrsrc, int skiplock, int allow_deleted) argument
187 if (!skiplock && hfs_lock(cp, HFS_EXCLUSIVE_LOCK, HFS_LOCK_DEFAULT) != 0) {
201 if (!skiplock) {
294 int wantrsrc, int skiplock, int *out_flags, int *hflags)
350 if (!skiplock) {
369 if (!skiplock)
396 if (skiplock && !wantrsrc)
397 panic("%s - should never get here when skiplock is set \n", __FUNCTION__);
421 if (!skiplock)
293 hfs_chash_getcnode(struct hfsmount *hfsmp, ino_t inum, struct vnode **vpp, int wantrsrc, int skiplock, int *out_flags, int *hflags) argument
H A Dhfs_cnode.h305 int hfs_file_is_compressed(struct cnode *cp, int skiplock);
306 int hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock);
307 int hfs_hides_rsrc(vfs_context_t ctx, struct cnode *cp, int skiplock);
308 int hfs_hides_xattr(vfs_context_t ctx, struct cnode *cp, const char *name, int skiplock);
370 int skiplock, int allow_deleted);
372 int wantrsrc, int skiplock, int *out_flags, int *hflags);
H A Dhfs_vnops.c254 hfs_ref_data_vp(struct cnode *cp, struct vnode **data_vp, int skiplock) argument
261 /* maybe we should take the hfs cnode lock here, and if so, use the skiplock parameter to tell us not to */
263 if (!skiplock) hfs_lock(cp, HFS_SHARED_LOCK, HFS_LOCK_DEFAULT);
269 if (!skiplock) hfs_unlock(cp);
280 if (!skiplock) hfs_unlock(cp);
288 if (!skiplock) hfs_unlock(cp);
296 if (!skiplock) hfs_unlock(cp);
333 hfs_file_is_compressed(struct cnode *cp, int skiplock) argument
361 if (0 == hfs_ref_data_vp(cp, &data_vp, skiplock)) {
378 hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock) argument
432 hfs_hides_rsrc(vfs_context_t ctx, struct cnode *cp, int skiplock) argument
442 hfs_hides_xattr(vfs_context_t ctx, struct cnode *cp, const char *name, int skiplock) argument
[all...]
H A Dhfs_vfsops.c3259 hfs_vget(struct hfsmount *hfsmp, cnid_t cnid, struct vnode **vpp, int skiplock, int allow_deleted) argument
3281 vp = hfs_chash_getvnode(hfsmp, cnid, 0, skiplock, allow_deleted);
3415 if (vp && skiplock) {
/xnu-2422.115.4/bsd/sys/
H A Ddecmpfs.h115 void decmpfs_cnode_set_vnode_state(decmpfs_cnode *cp, uint32_t state, int skiplock);
120 int decmpfs_decompress_file(vnode_t vp, decmpfs_cnode *cp, off_t toSize, int truncate_okay, int skiplock); /* if toSize == -1, decompress the entire file */
/xnu-2422.115.4/bsd/kern/
H A Ddecmpfs.c365 decmpfs_cnode_set_vnode_state(decmpfs_cnode *cp, uint32_t state, int skiplock) argument
367 if (!skiplock) decmpfs_lock_compressed_data(cp, 1);
373 if (!skiplock) decmpfs_unlock_compressed_data(cp, 1);
377 decmpfs_cnode_set_vnode_cmp_type(decmpfs_cnode *cp, uint32_t cmp_type, int skiplock) argument
379 if (!skiplock) decmpfs_lock_compressed_data(cp, 1);
381 if (!skiplock) decmpfs_unlock_compressed_data(cp, 1);
385 decmpfs_cnode_set_vnode_minimal_xattr(decmpfs_cnode *cp, int minimal_xattr, int skiplock) argument
387 if (!skiplock) decmpfs_lock_compressed_data(cp, 1);
389 if (!skiplock) decmpfs_unlock_compressed_data(cp, 1);
759 /* we might have already taken the lock above; if so, skip taking it again by passing cnode_locked as the skiplock paramete
1486 decmpfs_decompress_file(vnode_t vp, decmpfs_cnode *cp, off_t toSize, int truncate_okay, int skiplock) argument
[all...]

Completed in 41 milliseconds