Searched refs:c_desc (Results 1 - 14 of 14) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_link.c | 178 orig_cnid = cp->c_desc.cd_cnid; 211 retval = cat_rename(hfsmp, &cp->c_desc, &hfsmp->hfs_private_desc[type], 227 link_desc.cd_nameptr = cp->c_desc.cd_nameptr; 228 link_desc.cd_namelen = cp->c_desc.cd_namelen; 237 cp->c_desc.cd_cnid = orig_cnid; 240 err = cat_rename(hfsmp, &to_desc, &dcp->c_desc, &cp->c_desc, NULL); 246 cp->c_desc.cd_cnid = linkcnid; 283 (void) cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 286 cp->c_desc [all...] |
H A D | hfs_cnode.h | 146 struct cat_desc c_desc; /* cnode's descriptor */ member in struct:cnode 172 #define c_cnid c_desc.cd_cnid 173 #define c_hint c_desc.cd_hint 174 #define c_parentcnid c_desc.cd_parentcnid 175 #define c_encoding c_desc.cd_encoding
|
H A D | hfs_search.c | 584 || (cp->c_desc.cd_nameptr != NULL 585 && is_package_name((const char *)cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen)) ) { 592 if ( cp->c_parentcnid == kRootDirID && cp->c_desc.cd_nameptr != NULL && 593 vn_searchfs_inappropriate_name((const char *)cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen) ) { 1027 struct cat_desc c_desc; local 1032 bzero(&c_desc, sizeof(c_desc)); 1056 cat_convertkey(hfsmp, key, rec, &c_desc); [all...] |
H A D | hfs_cnode.c | 391 if (cp->c_desc.cd_namelen == 0) { 403 desc_ptr = &cp->c_desc; 521 cat_releasedesc(&cp->c_desc); 527 error = cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 1157 bcopy(descp, &cp->c_desc, sizeof(struct cat_desc)); 1409 if ((cp->c_desc.cd_flags & CD_HASBUF) && (cp->c_desc.cd_nameptr != 0)) { 1412 nameptr = (const char *) cp->c_desc.cd_nameptr; 1413 cp->c_desc.cd_nameptr = 0; 1414 cp->c_desc [all...] |
H A D | hfs_vnops.c | 1044 ((cp->c_desc.cd_namelen == 0) || (vap->va_linkid != cp->c_cnid))) { 1048 if ((cp->c_desc.cd_namelen == 0) && (vap->va_linkid == cp->c_fileid)) { 1074 /* By this point, we've either patched up the name above and the c_desc 1086 else if (cp->c_desc.cd_namelen) { 1087 strlcpy(vap->va_name, (const char*) cp->c_desc.cd_nameptr, MAXPATHLEN); 1765 from_nameptr = from_cp->c_desc.cd_nameptr; 1775 to_nameptr = to_cp->c_desc.cd_nameptr; 1801 bcopy(&from_cp->c_desc, &tempdesc, sizeof(struct cat_desc)); 1816 bcopy(&to_cp->c_desc, &from_cp->c_desc, sizeo [all...] |
H A D | hfs_lookup.c | 506 (bcmp(cnp->cn_nameptr, cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen) != 0)) {
|
H A D | hfs_chash.c | 271 result = callout(&cp->c_desc, &cp->c_attr, arg);
|
H A D | hfs_vfsutils.c | 1482 cnode.c_desc.cd_parentcnid = hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid; 1483 cnode.c_desc.cd_nameptr = (const u_int8_t *)filename; 1484 cnode.c_desc.cd_namelen = namelen; 1485 cnode.c_desc.cd_cnid = cnode.c_attr.ca_fileid; 1550 if (cat_delete(hfsmp, &cnode.c_desc, &cnode.c_attr) != 0) { 1551 printf("hfs_remove_orphans: error deleting cat rec for id %d!\n", cnode.c_desc.cd_cnid); 2821 filename = (const char *)cp->c_desc.cd_nameptr;
|
H A D | hfs_vfsops.c | 611 error = cat_lookup(args->hfsmp, &cp->c_desc, 0, &cndesc, &cnattr, NULL, NULL); 640 strlcpy((char *)vcb->vcbVN, (const char *)cp->c_desc.cd_nameptr, NAME_MAX+1); 641 cp->c_desc.cd_encoding = args->hfsmp->hfs_encoding; 5884 const char *filename = (const char *) cp->c_desc.cd_nameptr; 5885 int namelen = cp->c_desc.cd_namelen; 7603 error = cat_rename(hfsmp, &cp->c_desc, &todir_desc, &to_desc, &new_desc); 7631 if (cp->c_desc.cd_flags & CD_HASBUF) { 7632 const char *tmp_name = (const char *)cp->c_desc.cd_nameptr; 7634 cp->c_desc.cd_nameptr = 0; 7635 cp->c_desc [all...] |
H A D | hfs_hotfiles.c | 1172 if (VTOC(vp)->c_desc.cd_nameptr) 1173 data = *(const u_int32_t *)(VTOC(vp)->c_desc.cd_nameptr);
|
H A D | hfs_attrlist.c | 283 cdescp = &cp->c_desc;
|
H A D | hfs_xattr.c | 341 namelen = cp->c_desc.cd_namelen; 810 namelen = cp->c_desc.cd_namelen;
|
H A D | hfs_readwrite.c | 4524 if (cp->c_desc.cd_nameptr != NULL) { 4525 filestr = (const char *)&cp->c_desc.cd_nameptr[0];
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 1577 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1612 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1626 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1641 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
|
Completed in 77 milliseconds