Lines Matching refs:cnode

115 	struct cnode *cp;
141 if (hfs_hides_rsrc(ap->a_context, VTOC(vp), 1)) { /* 1 == don't take the cnode lock */
146 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */
231 /* When ff_bytesread exceeds 32-bits, update it behind the cnode lock. */
273 struct cnode *cp;
297 if ( hfs_file_is_compressed(VTOC(vp), 1) ) { /* 1 == don't take the cnode lock */
421 * NOTE: Testing for #3 (delayed zero fill) needs to be done while the cnode
447 * Now that we have the cnode lock, see if there are delayed zero fill ranges
456 * cnode lock and try again. Since took_truncate_lock is set, we will
1051 struct cnode *skip_cp, CatalogKey *keyp, struct cat_attr *cnattrp)
1065 /* otherwise, check the cnode hash incase the file/dir is incore */
1099 struct cnode *skip_cp, struct proc *theProcPtr, kauth_cred_t myp_ucred,
1163 /* do the lookup (checks the cnode hash, then the catalog) */
1285 struct cnode *skip_cp = VTOC(vp);
1438 /* do the lookup (checks the cnode hash, then the catalog) */
2067 struct cnode *cp = NULL;
2069 * lock the cnode, decorate the cnode flag, and bail out.
2080 * to enable the static bit in the cnode.
2147 register struct cnode *cp;
2325 struct cnode *cp = VTOC(vp);
2508 struct cnode *cp;
2524 if ( hfs_file_is_compressed(VTOC(vp), 1) ) { /* 1 == don't take the cnode lock */
2775 /* Mark buffer as containing static data if cnode flag set */
2828 struct cnode *cp = VTOC(vp);
2840 register struct cnode *cp = VTOC(vp);
3148 * When calling this function, the cnode must exist both in memory and on-disk.
3157 struct cnode *cp = VTOC(vp);
3230 * embedded within the cnode prior to calling this function. The pointers
3231 * supplied as arguments must be valid even if the cnode is no longer valid.
3341 * Truncate a cnode to at most length size, freeing (or adding) the
3352 struct cnode *cp = VTOC(vp);
3442 struct cnode *cp;
3687 struct cnode *cp;
3753 * and into a VM copy object. If we hold the cnode lock here, then that
3759 * So, if a forced unmount on this volume is in flight AND the cnode is
3851 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */
3943 /* When ff_bytesread exceeds 32-bits, update it behind the cnode lock. */
4001 struct cnode *cp;
4043 * For V2 semantics, we want to take the cnode truncate lock
4340 * cnode must be locked on entry
4376 struct cnode *cp;
4595 /* Push cnode's new extent data to disk. */