Searched refs:compressed (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_readwrite.c | 146 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 D | hfs_vnops.c | 323 * 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 D | hfs_attrlist.c | 143 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 D | hfs_xattr.c | 1661 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 87 milliseconds