Lines Matching defs:cep
2337 struct cat_entry *cep;
2378 cep = &list->entry[list->realentries++];
2386 getbsdattr(hfsmp, &cnoderec, &cep->ce_attr);
2390 builddesc(pluskey, getcnid(rec), 0, encoding, isadir(rec), &cep->ce_desc);
2396 cep->ce_datasize = rec->hfsFile.dataLogicalSize;
2397 cep->ce_datablks = rec->hfsFile.dataPhysicalSize / blksize;
2398 cep->ce_rsrcsize = rec->hfsFile.rsrcLogicalSize;
2399 cep->ce_rsrcblks = rec->hfsFile.rsrcPhysicalSize / blksize;
2402 getbsdattr(hfsmp, (const struct HFSPlusCatalogFile *)rec, &cep->ce_attr);
2404 isadir(rec), &cep->ce_desc);
2407 cep->ce_datasize = rec->hfsPlusFile.dataFork.logicalSize;
2408 cep->ce_datablks = rec->hfsPlusFile.dataFork.totalBlocks;
2409 cep->ce_rsrcsize = rec->hfsPlusFile.resourceFork.logicalSize;
2410 cep->ce_rsrcblks = rec->hfsPlusFile.resourceFork.totalBlocks;
2415 cep->ce_attr.ca_linkref = rec->hfsPlusFile.bsdInfo.special.iNodeNum;
2419 cep->ce_attr.ca_linkref = rec->hfsPlusFile.bsdInfo.special.iNodeNum;
2535 struct cat_entry *cep;
2540 cep = &ce_list->entry[i];
2541 if (cep->ce_attr.ca_linkref == 0)
2545 fip = (struct FndrFileInfo *)&cep->ce_attr.ca_finderinfo;
2547 if (S_ISREG(cep->ce_attr.ca_mode) &&
2552 if (S_ISREG(cep->ce_attr.ca_mode) &&
2555 (cep->ce_attr.ca_recflags & kHFSHasLinkChainMask)) {
2559 if (cat_resolvelink(hfsmp, cep->ce_attr.ca_linkref, isdirlink, &filerec) != 0)
2562 getbsdattr(hfsmp, &filerec, &cep->ce_attr);
2563 cep->ce_datasize = filerec.dataFork.logicalSize;
2564 cep->ce_datablks = filerec.dataFork.totalBlocks;
2565 cep->ce_rsrcsize = filerec.resourceFork.logicalSize;
2566 cep->ce_rsrcblks = filerec.resourceFork.totalBlocks;