Searched refs:ca_fileid (Results 1 - 13 of 13) sorted by relevance

/xnu-2422.115.4/bsd/hfs/
H A Dhfs_lookup.c601 if (lookup_attr.ca_fileid == cp->c_attr.ca_fileid) {
H A Dhfs_search.c889 if ( 0 == hfs_uncompressed_size_of_compressed_file(vcb, NULL, c_attr.ca_fileid, &datafork.cf_size, 1) ) { /* 1 == don't take the cnode lock */
983 matched = CompareRange(c_attr.ca_fileid,
1137 if (c_attr.ca_fileid == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
1138 c_attr.ca_fileid == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
1145 ((c_attr.ca_fileid == hfsmp->hfs_jnlfileid) ||
1146 (c_attr.ca_fileid == hfsmp->hfs_jnlinfoblkid))) {
1158 c_desc.cd_cnid = c_attr.ca_fileid;
H A Dhfs_vfsutils.c184 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
221 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
260 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
480 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
520 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
567 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
597 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAttributesFileID;
649 cndesc.cd_cnid = cnattr.ca_fileid = kHFSStartupFileID;
1512 return (fattr->ca_fileid);
1639 cnode.c_desc.cd_cnid = cnode.c_attr.ca_fileid;
[all...]
H A Dhfs_attrlist.c272 if (hfs_vget(hfsmp, cattrp->ca_fileid, &vp, 0, 0) != 0) {
277 vp = hfs_chash_getvnode(hfsmp, cattrp->ca_fileid, 0, 0, 0);
770 *((u_int64_t *)attrbufptr) = cap->ca_fileid;
857 if ( 0 == hfs_uncompressed_size_of_compressed_file(hfsmp, vp, cattrp->ca_fileid, &datasize, 1) ) { /* 1 == don't take the cnode lock */
H A Dhfs_cnode.c1005 if (attrp->ca_fileid == 0) {
1046 cp = hfs_chash_getcnode(hfsmp, attrp->ca_fileid, vpp, wantrsrc,
1076 if ((descp->cd_cnid == cp->c_attr.ca_fileid) &&
1201 ((descp->cd_cnid != attrp->ca_fileid) ||
1537 if ((lookup == 0) && (cnid == attr.ca_fileid)) {
H A Dhfs_catalog.h85 cnid_t ca_fileid; /* inode number (for stat) normally == cnid */ member in struct:cat_attr
H A Dhfs_cnode.h177 #define c_fileid c_attr.ca_fileid
H A Dhfs_catalog.c1259 attrp->ca_fileid = new_fileid;
1643 result = getkey(hfsmp, attrp->ca_fileid, (CatalogKey *)&iterator->key);
1644 cnid = attrp->ca_fileid;
1734 ((descp->cd_cnid != attrp->ca_fileid) ||
1737 result = getkey(hfsmp, attrp->ca_fileid, (CatalogKey *)&iterator->key);
1816 (file->fileID != attrp->ca_fileid))
1860 if (dir->folderID != attrp->ca_fileid) {
1861 printf("hfs: catrec_update: id %d != %d, vol=%s\n", dir->folderID, attrp->ca_fileid, hfsmp->vcbVN);
1926 if (file->fileID != attrp->ca_fileid)
2034 if ((descp->cd_cnid != attrp->ca_fileid) || (attr
[all...]
H A Dhfs_link.c548 (cattr.ca_fileid != cp->c_fileid)) {
958 priv_descp->cd_cnid = priv_attrp->ca_fileid;
1014 priv_descp->cd_cnid = priv_attrp->ca_fileid;
H A Dhfs_btreeio.c697 cnattr.ca_fileid = cndesc.cd_cnid;
H A Dhfs_vnops.c2165 from_cp->c_fileid = to_cp->c_attr.ca_fileid;
2212 to_cp->c_fileid = tempattr.ca_fileid;
3843 cp->c_desc.cd_nameptr, cp->c_attr.ca_fileid, hfsmp->vcbVN, error);
6016 if ((attr.ca_fileid != 0) && (protected_mount) && (protectable_target)) {
6017 error = cp_setxattr (NULL, entry, hfsmp, attr.ca_fileid, XATTR_CREATE);
6078 if ((attr.ca_fileid != 0) && (protected_mount) && (protectable_target)) {
H A Dhfs_vfsops.c2947 if (hfs_vget (hfsmp, jinfo_attr.ca_fileid, &jib_vp, 1, 0)) {
3052 hfsmp->hfs_jnlinfoblkid = jinfo_attr.ca_fileid;
3053 hfsmp->hfs_jnlfileid = jnl_attr.ca_fileid;
3303 cnattr.ca_fileid = kHFSRootFolderID;
H A Dhfs_xattr.c2306 cat_attr.ca_fileid = cat_desc.cd_cnid;

Completed in 126 milliseconds