Searched refs:c_attr (Results 1 - 10 of 10) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_cnode.h | 118 struct cat_attr c_attr; /* cnode's attributes */ member in struct:cnode 141 #define c_fileid c_attr.ca_fileid 142 #define c_mode c_attr.ca_mode 143 #define c_linkcount c_attr.ca_linkcount 144 #define c_uid c_attr.ca_uid 145 #define c_gid c_attr.ca_gid 146 #define c_rdev c_attr.ca_union1.cau_rdev 147 #define c_atime c_attr.ca_atime 148 #define c_mtime c_attr.ca_mtime 149 #define c_ctime c_attr [all...] |
H A D | hfs_link.c | 240 cp->c_attr.ca_linkref = indnodeno; 245 cp->c_attr.ca_recflags |= kHFSHasAttributesMask; 247 cp->c_attr.ca_firstlink = linkcnid; 249 cp->c_attr.ca_recflags |= kHFSHasLinkChainMask; 251 indnodeno = cp->c_attr.ca_linkref; 268 orig_firstlink = cp->c_attr.ca_firstlink; 273 (cp->c_attr.ca_recflags & kHFSHasLinkChainMask)); 278 (void) cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 288 cp->c_attr.ca_linkref = 0; 293 if (cp->c_attr [all...] |
H A D | hfs_search.c | 584 finfop = (struct FndrDirInfo *)&cp->c_attr.ca_finderinfo[0]; 659 struct cat_attr c_attr; local 663 bzero(&c_attr, sizeof(c_attr)); 750 cat_convertattr(VCBTOHFS(vcb), rec, &c_attr, &datafork, &rsrcfork); local 760 finder_info = (struct FndrDirInfo *)&c_attr.ca_finderinfo[0]; 769 finder_info = (struct FndrFileInfo *)&c_attr.ca_finderinfo[0]; 856 matched = CompareRange(c_attr.ca_entries, 875 matched = CompareRange(c_attr.ca_fileid, 900 thisValue = (u_int32_t *) &c_attr 1014 struct cat_attr c_attr; local [all...] |
H A D | hfs_cnode.c | 183 if ((cp->c_attr.ca_recflags & kHFSHasAttributesMask) != 0 && (cp->c_flag & C_DELETED)) { 243 error = cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 607 bcopy(attrp, &cp->c_attr, sizeof(struct cat_attr)); 638 (cp->c_attr.ca_linkcount > 1)) { 639 if (cp->c_attr.ca_entries == 0) 640 cp->c_attr.ca_dircount = 0; 642 cp->c_attr.ca_dircount = cp->c_attr.ca_linkcount - 2; 644 cp->c_attr.ca_linkcount = 1; 645 cp->c_attr [all...] |
H A D | hfs_chash.c | 225 result = callout(&cp->c_desc, &cp->c_attr, arg); 511 if (cp->c_attr.ca_recflags & kHFSHasChildLinkMask) { 514 cp->c_attr.ca_recflags |= kHFSHasChildLinkMask;
|
H A D | hfs_vnops.c | 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 [all...] |
H A D | hfs_xattr.c | 74 (((CP)->c_attr.ca_blocks - (CP)->c_datafork->ff_data.cf_blocks) > 0) 314 (cp->c_attr.ca_recflags & kHFSHasAttributesMask) == 0) { 881 cp->c_attr.ca_recflags |= kHFSHasAttributesMask; 883 cp->c_attr.ca_recflags |= kHFSHasSecurityMask; 1073 cp->c_attr.ca_recflags &= ~kHFSHasAttributesMask; 1083 cp->c_attr.ca_recflags &= ~kHFSHasSecurityMask; 1334 (cp->c_attr.ca_recflags & kHFSHasAttributesMask) == 0) {
|
H A D | hfs_vfsutils.c | 1286 cat_convertattr(hfsmp, (CatalogRecord *)&filerec, &cnode.c_attr, 1291 cnode.c_desc.cd_cnid = cnode.c_attr.ca_fileid; 1354 if (cat_delete(hfsmp, &cnode.c_desc, &cnode.c_attr) != 0) { 1365 if (cnode.c_attr.ca_mode & S_IFDIR) { 1381 if (cnode.c_attr.ca_mode & S_IFDIR) {
|
H A D | hfs_attrlist.c | 263 cattrp = &cp->c_attr;
|
H A D | hfs_vfsops.c | 633 args->error = cat_idlookup(args->hfsmp, cp->c_fileid, 0, &desc, &cp->c_attr, datafork);
|
Completed in 117 milliseconds