Lines Matching refs:cnattr
97 struct cat_attr cnattr;
158 bzero(&cnattr, sizeof(cnattr));
159 cnattr.ca_linkcount = 1;
160 cnattr.ca_mode = S_IFREG;
168 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
179 cnattr.ca_blocks = fork.cf_blocks;
181 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
197 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
208 cnattr.ca_blocks = fork.cf_blocks;
210 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
230 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
232 cnattr.ca_blocks = 0;
234 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
289 struct cat_attr cnattr;
416 bzero(&cnattr, sizeof(cnattr));
417 cnattr.ca_linkcount = 1;
418 cnattr.ca_mode = S_IFREG;
425 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
432 cnattr.ca_blocks = cfork.cf_blocks;
439 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
459 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
465 cnattr.ca_blocks = cfork.cf_blocks;
472 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
500 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
506 cnattr.ca_blocks = cfork.cf_blocks;
513 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
527 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAttributesFileID;
533 cnattr.ca_blocks = cfork.cf_blocks;
540 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
560 cndesc.cd_cnid = cnattr.ca_fileid = kHFSStartupFileID;
566 cnattr.ca_blocks = cfork.cf_blocks;
573 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
583 retval = cat_idlookup(hfsmp, kHFSRootFolderID, 0, &cndesc, &cnattr, NULL);
587 vcb->vcbCrDate = cnattr.ca_itime;