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

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_lookup.c554 if (lookup_attr.ca_fileid == cp->c_attr.ca_fileid) {
H A Dhfs_search.c799 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 */
889 matched = CompareRange(c_attr.ca_fileid,
1041 if (c_attr.ca_fileid == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
1042 c_attr.ca_fileid == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
1049 ((c_attr.ca_fileid == hfsmp->hfs_jnlfileid) ||
1050 (c_attr.ca_fileid == hfsmp->hfs_jnlinfoblkid))) {
1058 c_desc.cd_cnid = c_attr.ca_fileid;
H A Dhfs_vfsutils.c177 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
214 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
253 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
471 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
511 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
558 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
588 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAttributesFileID;
640 cndesc.cd_cnid = cnattr.ca_fileid = kHFSStartupFileID;
1358 return (fattr->ca_fileid);
1485 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);
763 *((u_int64_t *)attrbufptr) = cap->ca_fileid;
850 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_catalog.h85 cnid_t ca_fileid; /* inode number (for stat) normally == cnid */ member in struct:cat_attr
H A Dhfs_cnode.c987 if (attrp->ca_fileid == 0) {
1028 cp = hfs_chash_getcnode(hfsmp, attrp->ca_fileid, vpp, wantrsrc,
1058 if ((descp->cd_cnid == cp->c_attr.ca_fileid) &&
1166 ((descp->cd_cnid != attrp->ca_fileid) ||
1500 if ((lookup == 0) && (cnid == attr.ca_fileid)) {
H A Dhfs_cnode.h177 #define c_fileid c_attr.ca_fileid
H A Dhfs_catalog.c1049 attrp->ca_fileid = nextCNID;
1414 result = getkey(hfsmp, attrp->ca_fileid, (CatalogKey *)&iterator->key);
1415 cnid = attrp->ca_fileid;
1507 ((descp->cd_cnid != attrp->ca_fileid) ||
1510 result = getkey(hfsmp, attrp->ca_fileid, (CatalogKey *)&iterator->key);
1587 (file->fileID != attrp->ca_fileid))
1629 if (dir->folderID != attrp->ca_fileid) {
1630 printf("hfs: catrec_update: id %d != %d\n", dir->folderID, attrp->ca_fileid);
1695 if (file->fileID != attrp->ca_fileid)
1803 if ((descp->cd_cnid != attrp->ca_fileid) || (attr
[all...]
H A Dhfs_link.c543 (cattr.ca_fileid != cp->c_fileid)) {
937 priv_descp->cd_cnid = priv_attrp->ca_fileid;
985 priv_descp->cd_cnid = priv_attrp->ca_fileid;
H A Dhfs_vnops.c1824 * The file ID is stored in the c_attr as the ca_fileid. So it needs
1827 from_cp->c_fileid = to_cp->c_attr.ca_fileid;
1873 to_cp->c_fileid = tempattr.ca_fileid;
3404 cp->c_desc.cd_nameptr, cp->c_attr.ca_fileid, error);
5284 if ((attr.ca_fileid != 0) && (protected_mount) && (protectable_target)) {
5285 error = cp_setxattr (NULL, entry, hfsmp, attr.ca_fileid, XATTR_CREATE);
5348 if ((attr.ca_fileid != 0) && (protected_mount) && (protectable_target)) {
5349 cp_update_mkb (entry, attr.ca_fileid);
H A Dhfs_btreeio.c672 cnattr.ca_fileid = cndesc.cd_cnid;
H A Dhfs_vfsops.c3020 hfsmp->hfs_jnlinfoblkid = jinfo_attr.ca_fileid;
3021 hfsmp->hfs_jnlfileid = jnl_attr.ca_fileid;
3271 cnattr.ca_fileid = kHFSRootFolderID;
H A Dhfs_xattr.c2241 cat_attr.ca_fileid = cat_desc.cd_cnid;

Completed in 217 milliseconds