Searched refs:compressed (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_readwrite.c146 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */ local
147 if (compressed) {
148 retval = decmpfs_read_compressed(ap, &compressed, VTOCMP(vp));
149 if (compressed) {
154 /* compressed files are not hot file candidates */
309 printf("invalid state %d for compressed file\n", state);
1583 int compressed = 0; local
1589 compressed = hfs_file_is_compressed(VTOC(vp), 0);
1590 if (compressed) {
2182 if (compressed
3851 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */ local
[all...]
H A Dhfs_vnops.c323 * hfs_file_is_compressed(): returns 1 if the file is compressed, and 0 (zero) if not.
324 * if the file's compressed flag is set, makes sure that the decmpfs_cnode field
333 /* fast check to see if file is compressed. If flag is clear, just answer no */
348 case FILE_IS_CONVERTING: /* treat decompressing files as if they are compressed */
466 /* opening a compressed file for write, so convert it to decompressed */
484 /* opening the resource fork of a compressed file, so nothing to do */
486 /* opening a compressed file for read, make sure it validates */
693 int compressed = 0; local
697 /* we only care about whether the file is compressed if asked for the uncompressed size */
702 /* if it's a data fork, we need to know if it was compressed s
1934 int compressed = hfs_file_is_compressed(VTOC(vp), 1); /* 1 == don't take the cnode lock */ local
4531 int compressed = hfs_file_is_compressed(VTOC(vp), 0); /* 0 == take the cnode lock */ local
[all...]
H A Dhfs_attrlist.c143 int compressed = hfs_file_is_compressed(VTOC(dvp), 0); /* 0 == take the cnode lock */ local
145 if (!compressed) {
851 /* total size of a compressed file is just the data size */
893 /* fake the data fork size on a decmpfs compressed file to reflect the
H A Dhfs_xattr.c1661 int compressed = hfs_file_is_compressed(cp, 1); /* 1 == don't take the cnode lock */ local
1707 !compressed ||
1777 state.showcompressed = !compressed || ap->a_options & XATTR_SHOWCOMPRESSION;

Completed in 75 milliseconds