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

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_cnode.h326 * VTOCMP(vp) returns a pointer to vp's decmpfs_cnode; this could be NULL
330 #define VTOCMP(vp) (VTOC((vp))->c_decmp) macro
H A Dhfs_vnops.c357 ret = decmpfs_file_is_compressed(data_vp, VTOCMP(data_vp)); // fill in decmpfs_cnode
397 *size = decmpfs_cnode_get_vnode_cached_size(VTOCMP(vp)); /* file info will be cached now, so get size */
399 if (VTOCMP(vp) && VTOCMP(vp)->cmp_type >= CMP_MAX) {
400 if (VTOCMP(vp)->cmp_type != DATALESS_CMPFS_TYPE) {
409 *size = decmpfs_cnode_get_vnode_cached_size(VTOCMP(vp)); /* file info will be cached now, so get size */
658 error = decmpfs_decompress_file(data_vp, VTOCMP(data_vp), -1, 1, 0);
674 error = decmpfs_validate_compressed_file(vp, VTOCMP(vp));
1467 decmpfs_cnode *dp = VTOCMP(vp);
1701 decmpfs_cnode *dp = VTOCMP(v
[all...]
H A Dhfs_xattr.c176 error = decmpfs_decompress_file(vp, VTOCMP(vp), -1, 1, 0);
721 result = decmpfs_decompress_file(vp, VTOCMP(vp), -1, 1, 0);
1802 !decmpfs_hides_rsrc(ap->a_context, VTOCMP(vp))
1937 if (!state->showcompressed && decmpfs_hides_xattr(state->ctx, VTOCMP(state->vp), attrname) )
H A Dhfs_readwrite.c161 retval = decmpfs_read_compressed(ap, &compressed, VTOCMP(vp));
321 int state = decmpfs_cnode_get_vnode_state(VTOCMP(vp));
2378 decmpfs_cnode *dp = VTOCMP (vp);
2922 int state = decmpfs_cnode_get_vnode_state(VTOCMP(vp));
4381 error = decmpfs_pagein_compressed(ap, &compressed, VTOCMP(vp));
H A Dhfs_cnode.c2263 decmpfs_cnode *dp = VTOCMP(vp);
H A Dhfs_vfsutils.c3558 if (vp == NULL || (VTOC(vp)->c_bsdflags & UF_COMPRESSED) == 0 || VTOCMP(vp) == NULL || VTOCMP(vp)->cmp_type != DATALESS_CMPFS_TYPE) {

Completed in 57 milliseconds