Lines Matching refs:c_attr
417 if ((cp->c_attr.ca_recflags & kHFSHasSecurityMask) == 0) {
459 (cp->c_attr.ca_recflags & kHFSHasFolderCountMask))
460 nlink = cp->c_attr.ca_dircount; /* implied ".." entries */
554 if ((cp->c_attr.ca_recflags & kHFSHasSecurityMask) == 0) {
1200 from_cp->c_attr.ca_linkref);
1210 to_cp->c_attr.ca_linkref);
1242 bcopy(&from_cp->c_attr, &tempattr, sizeof(struct cat_attr));
1263 from_cp->c_attr.ca_recflags = to_cp->c_attr.ca_recflags;
1279 to_cp->c_attr.ca_recflags = tempattr.ca_recflags;
1661 (cp->c_attr.ca_recflags & kHFSHasAttributesMask) != 0) {
1723 error = cat_delete(hfsmp, &desc, &cp->c_attr);
1728 DEC_FOLDERCOUNT(hfsmp, dcp->c_attr);
1733 (void) cat_update(hfsmp, &dcp->c_desc, &dcp->c_attr, NULL, NULL);
1979 (cp->c_attr.ca_recflags & kHFSHasAttributesMask) != 0) {
2114 DEC_FOLDERCOUNT(hfsmp, dcp->c_attr);
2119 (void) cat_update(hfsmp, &dcp->c_desc, &dcp->c_attr, NULL, NULL);
2125 (void) cat_update(hfsmp, &to_desc, &cp->c_attr, NULL, NULL);
2148 error = cat_delete(hfsmp, &desc, &cp->c_attr);
2157 cp->c_desc.cd_nameptr, cp->c_attr.ca_fileid, error);
2167 (void) cat_update(hfsmp, &dcp->c_desc, &dcp->c_attr, NULL, NULL);
2389 if (fcp->c_attr.ca_recflags & kHFSHasChildLinkMask) {
2529 if (fcp->c_attr.ca_recflags & kHFSHasChildLinkMask) {
2673 if ((fcp->c_attr.ca_recflags & kHFSHasChildLinkMask) &&
2674 !(tdcp->c_attr.ca_recflags & kHFSHasChildLinkMask)) {
2676 tdcp->c_attr.ca_recflags |= kHFSHasChildLinkMask;
2684 INC_FOLDERCOUNT(hfsmp, tdcp->c_attr);
2685 DEC_FOLDERCOUNT(hfsmp, fdcp->c_attr);
3451 error = cat_update(hfsmp, &cp->c_desc, &cp->c_attr, dataforkp, rsrcforkp);
3592 INC_FOLDERCOUNT(hfsmp, dcp->c_attr);
3597 (void) cat_update(hfsmp, &dcp->c_desc, &dcp->c_attr, NULL, NULL);
3852 &cp->c_desc, GNV_WANTRSRC | GNV_SKIPLOCK, &cp->c_attr,