Lines Matching refs:cndesc
96 struct cat_desc cndesc;
155 bzero(&cndesc, sizeof(cndesc));
156 cndesc.cd_parentcnid = kHFSRootParentID;
157 cndesc.cd_flags |= CD_ISMETA;
166 cndesc.cd_nameptr = hfs_extname;
167 cndesc.cd_namelen = strlen((char *)hfs_extname);
168 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
181 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
195 cndesc.cd_nameptr = hfs_catname;
196 cndesc.cd_namelen = strlen((char *)hfs_catname);
197 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
210 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
228 cndesc.cd_nameptr = hfs_vbmname;
229 cndesc.cd_namelen = strlen((char *)hfs_vbmname);
230 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
234 error = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &fork,
288 struct cat_desc cndesc;
413 bzero(&cndesc, sizeof(cndesc));
414 cndesc.cd_parentcnid = kHFSRootParentID;
415 cndesc.cd_flags |= CD_ISMETA;
423 cndesc.cd_nameptr = hfs_extname;
424 cndesc.cd_namelen = strlen((char *)hfs_extname);
425 cndesc.cd_cnid = cnattr.ca_fileid = kHFSExtentsFileID;
439 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
457 cndesc.cd_nameptr = hfs_catname;
458 cndesc.cd_namelen = strlen((char *)hfs_catname);
459 cndesc.cd_cnid = cnattr.ca_fileid = kHFSCatalogFileID;
472 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
498 cndesc.cd_nameptr = hfs_vbmname;
499 cndesc.cd_namelen = strlen((char *)hfs_vbmname);
500 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAllocationFileID;
513 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
525 cndesc.cd_nameptr = hfs_attrname;
526 cndesc.cd_namelen = strlen((char *)hfs_attrname);
527 cndesc.cd_cnid = cnattr.ca_fileid = kHFSAttributesFileID;
540 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
558 cndesc.cd_nameptr = hfs_startupname;
559 cndesc.cd_namelen = strlen((char *)hfs_startupname);
560 cndesc.cd_cnid = cnattr.ca_fileid = kHFSStartupFileID;
573 retval = hfs_getnewvnode(hfsmp, NULL, NULL, &cndesc, 0, &cnattr, &cfork,
583 retval = cat_idlookup(hfsmp, kHFSRootFolderID, 0, &cndesc, &cnattr, NULL);
588 vcb->volumeNameEncodingHint = cndesc.cd_encoding;
589 bcopy(cndesc.cd_nameptr, vcb->vcbVN, min(255, cndesc.cd_namelen));
590 cat_releasedesc(&cndesc);