Lines Matching refs:filerec
4474 struct HFSPlusCatalogFile filerec;
4568 btdata.bufferAddress = &filerec;
4569 btdata.itemSize = sizeof(filerec);
4591 if (filerec.recordType != kHFSPlusFileRecord) {
4599 if (filerec.dataFork.extents[i].blockCount != 0) {
4600 datablks += filerec.dataFork.extents[i].blockCount;
4601 block = filerec.dataFork.extents[i].startBlock +
4602 filerec.dataFork.extents[i].blockCount;
4604 if ((filerec.fileID == hfsmp->hfs_jnlfileid) ||
4605 (filerec.fileID == hfsmp->hfs_jnlinfoblkid)) {
4610 cnidbufp[filecnt++] = filerec.fileID;
4611 blkstomove += filerec.dataFork.totalBlocks;
4615 if (filerec.resourceFork.extents[i].blockCount != 0) {
4616 rsrcblks += filerec.resourceFork.extents[i].blockCount;
4617 block = filerec.resourceFork.extents[i].startBlock +
4618 filerec.resourceFork.extents[i].blockCount;
4620 cnidbufp[filecnt++] = filerec.fileID;
4621 blkstomove += filerec.resourceFork.totalBlocks;
4630 if (filerec.dataFork.totalBlocks > datablks) {
4631 if (hfs_overlapped_overflow_extents(hfsmp, startblk, datablks, filerec.fileID, 0)) {
4632 cnidbufp[filecnt++] = filerec.fileID;
4633 blkstomove += filerec.dataFork.totalBlocks;
4635 } else if (filerec.resourceFork.totalBlocks > rsrcblks) {
4636 if (hfs_overlapped_overflow_extents(hfsmp, startblk, rsrcblks, filerec.fileID, 1)) {
4637 cnidbufp[filecnt++] = filerec.fileID;
4638 blkstomove += filerec.resourceFork.totalBlocks;