Lines Matching refs:cp
104 void decmpfs_cnode_init(decmpfs_cnode *cp);
105 void decmpfs_cnode_destroy(decmpfs_cnode *cp);
107 int decmpfs_hides_rsrc(vfs_context_t ctx, decmpfs_cnode *cp);
108 int decmpfs_hides_xattr(vfs_context_t ctx, decmpfs_cnode *cp, const char *xattr);
110 boolean_t decmpfs_trylock_compressed_data(decmpfs_cnode *cp, int exclusive);
111 void decmpfs_lock_compressed_data(decmpfs_cnode *cp, int exclusive);
112 void decmpfs_unlock_compressed_data(decmpfs_cnode *cp, int exclusive);
114 uint32_t decmpfs_cnode_get_vnode_state(decmpfs_cnode *cp);
115 void decmpfs_cnode_set_vnode_state(decmpfs_cnode *cp, uint32_t state, int skiplock);
116 uint64_t decmpfs_cnode_get_vnode_cached_size(decmpfs_cnode *cp);
118 int decmpfs_file_is_compressed(vnode_t vp, decmpfs_cnode *cp);
119 errno_t decmpfs_validate_compressed_file(vnode_t vp, decmpfs_cnode *cp);
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 */
121 int decmpfs_free_compressed_data(vnode_t vp, decmpfs_cnode *cp);
124 errno_t decmpfs_pagein_compressed(struct vnop_pagein_args *ap, int *is_compressed, decmpfs_cnode *cp);
125 errno_t decmpfs_read_compressed(struct vnop_read_args *ap, int *is_compressed, decmpfs_cnode *cp);