Lines Matching defs:attrp
981 struct cat_attr *attrp,
1005 if (attrp->ca_fileid == 0) {
1011 if (IFTOVT(attrp->ca_mode) == VFIFO) {
1016 vtype = IFTOVT(attrp->ca_mode);
1046 cp = hfs_chash_getcnode(hfsmp, attrp->ca_fileid, vpp, wantrsrc,
1077 (attrp->ca_linkcount != cp->c_attr.ca_linkcount)){
1157 if (!hfs_valid_cnode (hfsmp, dvp, (wantrsrc ? NULL : cnp), cp->c_fileid, attrp, &error)) {
1191 bcopy(attrp, &cp->c_attr, sizeof(struct cat_attr));
1201 ((descp->cd_cnid != attrp->ca_fileid) ||
1202 (attrp->ca_recflags & kHFSHasLinkChainMask))) {
1221 !(attrp->ca_recflags & kHFSHasFolderCountMask) &&
1248 if (forkp && attrp->ca_blocks < forkp->cf_blocks)
1340 vfsp.vnfs_rdev = attrp->ca_rdev;
1617 void hfs_write_dateadded (struct cat_attr *attrp, u_int32_t dateadded) {
1621 finfo = (u_int8_t*)attrp->ca_finderinfo;
1630 if (S_ISREG(attrp->ca_mode)) {
1633 attrp->ca_recflags |= kHFSHasDateAddedMask;
1635 else if (S_ISDIR(attrp->ca_mode)) {
1638 attrp->ca_recflags |= kHFSHasDateAddedMask;
1686 void hfs_write_gencount (struct cat_attr *attrp, uint32_t gencount) {
1690 finfo = (u_int8_t*)attrp->ca_finderinfo;
1699 if (S_ISREG(attrp->ca_mode)) {