Searched refs:c_desc (Results 1 - 15 of 15) sorted by relevance
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_cnode.h | 147 struct cat_desc c_desc; /* cnode's descriptor */ member in struct:cnode 186 #define c_cnid c_desc.cd_cnid 187 #define c_hint c_desc.cd_hint 188 #define c_parentcnid c_desc.cd_parentcnid 189 #define c_encoding c_desc.cd_encoding
|
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); 253 cp->c_desc.cd_cnid = linkcnid; 290 (void) cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 293 cp->c_desc [all...] |
H A D | hfs_search.c | 606 || (cp->c_desc.cd_nameptr != NULL 607 && is_package_name((const char *)cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen)) ) { 614 if ( cp->c_parentcnid == kRootDirID && cp->c_desc.cd_nameptr != NULL && 615 vn_searchfs_inappropriate_name((const char *)cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen) ) { 1123 struct cat_desc c_desc; local 1128 bzero(&c_desc, sizeof(c_desc)); 1152 err = cat_convertkey(hfsmp, key, rec, &c_desc); [all...] |
H A D | hfs_lookup.c | 537 (cnp->cn_namelen != cp->c_desc.cd_namelen) || 538 (bcmp(cnp->cn_nameptr, cp->c_desc.cd_nameptr, cp->c_desc.cd_namelen) != 0)) {
|
H A D | hfs_vnops.c | 501 // printf("clearing doc-id from ino %d\n", ocp->c_desc.cd_cnid); 505 /* cat_update(hfsmp, &ocp->c_desc, &ocp->c_attr, NULL, NULL); */ 619 (void) cat_update(hfsmp, &cp->c_desc, &cp->c_attr, NULL, NULL); 860 && cp->c_desc.cd_cnid != kHFSRootFolderID 945 if (cp->c_desc.cd_cnid == kHFSRootFolderID) 1321 ((cp->c_desc.cd_namelen == 0) || (vap->va_linkid != cp->c_cnid))) { 1326 if ((cp->c_desc.cd_namelen == 0) && (vap->va_linkid == cp->c_fileid)) { 1352 /* By this point, we've either patched up the name above and the c_desc 1364 else if (cp->c_desc.cd_namelen) { 1365 strlcpy(vap->va_name, (const char*) cp->c_desc [all...] |
H A D | hfs_cnode.c | 411 if (cp->c_desc.cd_namelen == 0) { 423 desc_ptr = &cp->c_desc; 535 cat_releasedesc(&cp->c_desc); 541 error = cat_delete(hfsmp, &cp->c_desc, &cp->c_attr); 1204 bcopy(descp, &cp->c_desc, sizeof(struct cat_desc)); 1459 if ((cp->c_desc.cd_flags & CD_HASBUF) && (cp->c_desc.cd_nameptr != 0)) { 1462 nameptr = (const char *) cp->c_desc.cd_nameptr; 1463 cp->c_desc.cd_nameptr = 0; 1464 cp->c_desc [all...] |
H A D | hfs_vfsops.c | 572 error = cat_lookup(args->hfsmp, &cp->c_desc, 0, 0, &cndesc, &cnattr, NULL, NULL); 601 strlcpy((char *)vcb->vcbVN, (const char *)cp->c_desc.cd_nameptr, NAME_MAX+1); 602 cp->c_desc.cd_encoding = args->hfsmp->hfs_encoding; 4454 error = cat_rename(hfsmp, &cp->c_desc, &todir_desc, &to_desc, &new_desc); 4483 if (cp->c_desc.cd_flags & CD_HASBUF) { 4484 const char *tmp_name = (const char *)cp->c_desc.cd_nameptr; 4486 cp->c_desc.cd_nameptr = 0; 4487 cp->c_desc.cd_namelen = 0; 4488 cp->c_desc.cd_flags &= ~CD_HASBUF;
|
H A D | hfs_vfsutils.c | 1790 cnode.c_desc.cd_parentcnid = hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid; 1791 cnode.c_desc.cd_nameptr = (const u_int8_t *)filename; 1792 cnode.c_desc.cd_namelen = namelen; 1793 cnode.c_desc.cd_cnid = cnode.c_attr.ca_fileid; 1857 if (cat_delete(hfsmp, &cnode.c_desc, &cnode.c_attr) != 0) { 1858 printf("hfs_remove_orphans: error deleting cat rec for id %d!\n", cnode.c_desc.cd_cnid); 3189 filename = (const char *)cp->c_desc.cd_nameptr; 3638 (void) cat_update(hfsmp, &cp->c_desc, &cp->c_attr, NULL, NULL);
|
H A D | hfs_hotfiles.c | 1181 if (VTOC(vp)->c_desc.cd_nameptr) 1182 data = *(const u_int32_t *)(VTOC(vp)->c_desc.cd_nameptr);
|
H A D | hfs_readwrite.c | 1755 (void) cat_update(hfsmp, &cp->c_desc, &cp->c_attr, NULL, NULL); 1756 (void) cat_update(hfsmp, &to_cp->c_desc, &to_cp->c_attr, NULL, NULL); 5069 if (cp->c_desc.cd_nameptr != NULL) { 5070 filestr = (const char *)&cp->c_desc.cd_nameptr[0];
|
H A D | hfs_resize.c | 2026 const char *filename = (const char *) cp->c_desc.cd_nameptr; 2027 int namelen = cp->c_desc.cd_namelen;
|
H A D | hfs_xattr.c | 334 namelen = cp->c_desc.cd_namelen; 877 namelen = cp->c_desc.cd_namelen;
|
H A D | hfs_attrlist.c | 395 cdescp = &cp->c_desc;
|
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 1636 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1671 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1685 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error); 1700 FTOC(fcb)->c_desc.cd_nameptr ? (const char *)FTOC(fcb)->c_desc.cd_nameptr : "", error);
|
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/ |
H A D | memory.py | 1644 name = "hfs: %s" % str( Cast(cnode.c_desc.cd_nameptr, 'char *'))
|
Completed in 292 milliseconds