Lines Matching refs:cattrp
65 struct cat_attr *cattrp, struct cat_fork *datafork,
70 struct cat_attr * cattrp);
254 struct cat_attr * cattrp;
261 cattrp = &ce_list->entry[i].ce_attr;
268 (cattrp->ca_recflags & kHFSHasSecurityMask)) {
272 if (hfs_vget(hfsmp, cattrp->ca_fileid, &vp, 0, 0) != 0) {
277 vp = hfs_chash_getvnode(hfsmp, cattrp->ca_fileid, 0, 0, 0);
284 cattrp = &cp->c_attr;
308 hfs_packattrblk(&attrblk, hfsmp, vp, cdescp, cattrp, &c_datafork, &c_rsrcfork, ap->a_context);
781 struct cat_attr * cattrp)
793 *((u_int32_t *)attrbufptr) = cattrp->ca_linkcount;
797 entries = cattrp->ca_entries;
827 struct cat_attr *cattrp,
846 handle_compressed = (cattrp->ca_flags & UF_COMPRESSED);// && hfs_file_is_compressed(VTOC(vp), 1);
850 if ( 0 == hfs_uncompressed_size_of_compressed_file(hfsmp, vp, cattrp->ca_fileid, &datasize, 1) ) { /* 1 == don't take the cnode lock */
859 *((u_int32_t *)attrbufptr) = cattrp->ca_linkcount;
868 (off_t)cattrp->ca_blocks * (off_t)allocblksize;
880 if (S_ISBLK(cattrp->ca_mode) || S_ISCHR(cattrp->ca_mode))
881 *((u_int32_t *)attrbufptr) = (u_int32_t)cattrp->ca_rdev;