Lines Matching defs:fileID

825 		/* lookup by fileID since name could have changed */
5020 u_int32_t fileID;
5167 if ((extent_info->fileID == kHFSExtentsFileID) && (extents[kHFSPlusExtentDensity - 1].blockCount != 0)) {
5264 printf ("hfs_split_extent: fileID=%u BTReplaceRecord returned error=%d\n", extent_info->fileID, error);
5310 extents_key->fileID = extent_info->fileID;
5366 printf ("hfs_split_extent: fileID=%u startBlock=%u BTSearchRecord error=%d\n", extent_info->fileID, read_recStartBlock, error);
5436 extents_key->fileID = extent_info->fileID;
5476 printf ("hfs_split_extent: fileID=%u startBlock=%u BTDeleteRecord error=%d\n", extent_info->fileID, read_recStartBlock, error);
5493 printf ("hfs_split_extent: fileID=%u, startBlock=%u BTInsertRecord error=%d\n", extent_info->fileID, write_recStartBlock, error);
5689 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) BlockAllocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5713 printf ("hfs_reclaim_extent: Not enough contiguous blocks available to relocate fileID=%d\n", extent_info->fileID);
5729 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) split error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5735 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) contig BlockAllocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5744 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u)=>(%u,%u) hfs_copy_extent error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, newStartBlock, newBlockCount, error);
5771 printf ("hfs_reclaim_extent: fileID=%u, update record error=%u\n", extent_info->fileID, error);
5778 printf ("hfs_reclaim_extent: fileID=%u start=%u, %u:(%u,%u) BlockDeallocate error=%d\n", extent_info->fileID, extent_info->recStartBlock, index, oldStartBlock, oldBlockCount, error);
5849 * fileID ID of the catalog record that needs to be relocated
5863 hfs_reclaim_file(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID,
5901 extent_info->fileID = fileID;
5909 if ((fileID == kHFSCatalogFileID) || (extent_info->is_dirlink == true)) {
5911 } else if (fileID == kHFSAttributesFileID) {
5913 } else if (fileID == kHFSStartupFileID) {
5974 printf("hfs_reclaim_file: === Start reclaiming %sfork for %sid=%u ===\n", (forktype ? "rsrc" : "data"), (extent_info->is_dirlink ? "dirlink" : "file"), fileID);
5999 error = cat_lookup_dirlink(hfsmp, fileID, forktype,
6004 printf ("hfs_reclaim_file: cat_lookup_dirlink for fileID=%u returned error=%u\n", fileID, error);
6023 printf ("hfs_reclaim_file: fileID=%u #%d %u:(%u,%u) hfs_reclaim_extent error=%d\n", fileID, extent_info->overflow_count, i, fp->ff_extents[i].startBlock, fp->ff_extents[i].blockCount, error);
6052 key->fileID = fileID;
6078 printf ("hfs_reclaim_file: fileID=%u #%d %u:(%u,%u) hfs_reclaim_extent error=%d\n", fileID, extent_info->overflow_count, i, extent_info->record.overflow[i].startBlock, extent_info->record.overflow[i].blockCount, error);
6093 if ((key->fileID != fileID) || (key->forkType != forktype)) {
6106 if (fileID < kHFSFirstUserCatalogNodeID) {
6107 printf ("hfs_reclaim_file: Relocated %u blocks from fileID=%u on \"%s\"\n",
6108 extent_info->blocks_relocated, fileID, hfsmp->vcbVN);
6136 printf("hfs_reclaim_file: === Finished relocating %sfork for fileid=%u (error=%d) ===\n", (forktype ? "rsrc" : "data"), fileID, error);
6623 * fileID, and calls function that reclaims data blocks that exist in the
6640 hfs_reclaim_xattr(struct hfsmount *hfsmp, struct vnode *vp, u_int32_t fileID, u_int32_t allocLimit, vfs_context_t context)
6649 printf("hfs_reclaim_xattr: === Start reclaiming xattr for id=%u ===\n", fileID);
6659 extent_info->fileID = fileID;
6677 error = hfs_buildattrkey(fileID, NULL, key);
6729 /* Stop the iteration if we encounter end of btree or xattr with different fileID */
6730 if (error || key->fileID != fileID) {
6759 printf ("hfs_reclaim_xattr: fileID=%u hfs_reclaim_extent error=%d\n", fileID, error);
6778 printf("hfs_reclaim_xattr: === Finished relocating xattr for fileid=%u (error=%d) ===\n", fileID, error);
6846 /* If the extents of current fileID were already relocated, skip it */
6847 if (prev_fileid == key->fileID) {
6893 if (hfs_vget(hfsmp, key->fileID, &vp, 0, 1) != 0) {
6897 error = hfs_reclaim_xattr(hfsmp, vp, key->fileID, allocLimit, context);
6901 printf ("hfs_reclaim_xattrspace: Error relocating xattrs for fileid=%u (error=%d)\n", key->fileID, error);
6904 prev_fileid = key->fileID;
7001 if (hfs_vget(hfsmp, filerec.fileID, &vp, 0, 1) != 0) {
7003 printf("hfs_reclaim_filespace: hfs_vget(%u) failed.\n", filerec.fileID);
7011 error = hfs_reclaim_file(hfsmp, vp, filerec.fileID,
7014 printf ("hfs_reclaimspace: Error reclaiming datafork blocks of fileid=%u (error=%d)\n", filerec.fileID, error);
7031 printf ("hfs_reclaimspace: Error looking up rvp for fileid=%u (error=%d)\n", filerec.fileID, error);
7039 error = hfs_reclaim_file(hfsmp, rvp, filerec.fileID,
7042 printf ("hfs_reclaimspace: Error reclaiming rsrcfork blocks of fileid=%u (error=%d)\n", filerec.fileID, error);
7265 extkeyptr->fileID = filerec->fileID;
7277 * extent record for given fileID. It will always return btNotFound,
7291 if (extkeyptr->fileID != filerec->fileID) {