Searched refs:cnid (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DHFSUnicodeWrappers.h91 HFSCatalogNodeID cnid);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_catalog.c108 static int getkey(struct hfsmount *hfsmp, cnid_t cnid, CatalogKey * key);
115 static void buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize);
119 static int builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_int32_t hint, u_int32_t encoding,
403 * cat_findname - obtain a descriptor from cnid
412 cat_findname(struct hfsmount *hfsmp, cnid_t cnid, struct cat_desc *outdescp) argument
426 buildthreadkey(cnid, std_hfs, (CatalogKey *)&iterator->key);
464 builddesc(pluskey, cnid, 0, encoding, isdir, outdescp);
468 builddesc((HFSPlusCatalogKey *)keyp, cnid, 0, 0, isdir, outdescp);
484 cat_idlookup(struct hfsmount *hfsmp, cnid_t cnid, int allow_system_files, int wantrsrc, argument
499 buildthreadkey(cnid, std_hf
647 cnid_t cnid = 0; local
1125 cnid_t cnid = from_cdp->cd_cnid; local
1386 cnid_t cnid; local
1825 cat_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid) argument
1890 cat_check_link_ancestry(struct hfsmount *hfsmp, cnid_t cnid, cnid_t pointed_at_cnid) argument
2793 cnid_t cnid; local
3115 cnid_t cnid; local
3748 getkey(struct hfsmount *hfsmp, cnid_t cnid, CatalogKey * key) argument
3810 cat_getkeyplusattr(struct hfsmount *hfsmp, cnid_t cnid, CatalogKey * key, struct cat_attr *attrp) argument
3851 buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize) argument
3932 builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_int32_t hint, u_int32_t encoding, int isdir, struct cat_desc *descp) argument
4295 cnid_t cnid = 0; local
4324 cnid_t cnid = 0; local
[all...]
H A Dhfs_catalog.h85 cnid_t ca_fileid; /* inode number (for stat) normally == cnid */
297 cnid_t cnid,
305 cnid_t cnid,
376 cnid_t cnid,
389 cnid_t cnid);
H A Dhfs_chash.c538 hfs_chash_search_cnid(struct hfsmount *hfsmp, cnid_t cnid) argument
542 for (cp = CNODEHASH(hfsmp, cnid)->lh_first; cp; cp = cp->c_hash.le_next) {
543 if (cp->c_fileid == cnid) {
568 hfs_chash_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid) argument
575 cp = hfs_chash_search_cnid(hfsmp, cnid);
H A Dhfs_hotfiles.c229 u_int32_t cnid; local
234 cnid = GetFileInfo(HFSTOVCB(hfsmp), kRootDirID, HFC_FILENAME, &cattr, NULL);
235 if ((cnid == 0) &&
527 u_int32_t cnid; local
554 cnid = GetFileInfo(HFSTOVCB(hfsmp), kRootDirID, HFC_FILENAME, &cattr, NULL);
555 if (cnid != 0 && S_ISREG(cattr.ca_mode)) {
654 cnid = filep->fileID;
657 if (cnid == hfsmp->hfs_jnlfileid || cnid == hfsmp->hfs_jnlinfoblkid) {
667 key->fileID = cnid;
[all...]
H A Dhfs_cnode.h119 cnid_t lo_cnid; /* hardlink's cnid */
120 cnid_t lo_parentcnid; /* hardlink's parent cnid */
360 cnid_t cnid, struct cat_attr *cattr, int *error);
362 extern int hfs_chash_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid);
H A Dhfs_readwrite.c1046 * Lookup the cnid's attr info (uid, gid, and mode) as well as its parent id. If the item
1050 do_attr_lookup(struct hfsmount *hfsmp, struct access_cache *cache, cnid_t cnid, argument
1056 if (cnid == skip_cp->c_cnid) {
1066 if (hfs_chash_snoop(hfsmp, cnid, 0, snoop_callback, &c_info) == 0) {
1080 /* lookup this cnid in the catalog */
1081 error = cat_getkeyplusattr(hfsmp, cnid, keyp, cnattrp);
1180 /* get the vnode for this cnid */
1279 cnid_t cnid; local
1429 cnid = (cnid_t) file_ids[i];
1439 error = do_attr_lookup(hfsmp, &cache, cnid, skip_c
1621 cnid_t cnid; local
[all...]
H A Dhfs_cnode.c518 // case of regular files the fileid and cnid are the
1456 cnid_t cnid, struct cat_attr *cattr, int *error)
1464 if (cnid < kHFSFirstUserCatalogNodeID) {
1500 if ((lookup == 0) && (cnid == attr.ca_fileid)) {
1553 if (cat_idlookup(hfsmp, cnid, 0, 0, NULL, NULL, NULL) == 0) {
1455 hfs_valid_cnode(struct hfsmount *hfsmp, struct vnode *dvp, struct componentname *cnp, cnid_t cnid, struct cat_attr *cattr, int *error) argument
H A Dhfs_vfsops.c3227 hfs_vget(struct hfsmount *hfsmp, cnid_t cnid, struct vnode **vpp, int skiplock, int allow_deleted) argument
3237 if ((cnid < kHFSFirstUserCatalogNodeID) &&
3238 (cnid != kHFSRootFolderID && cnid != kHFSRootParentID)) {
3242 if (cnid == hfsmp->hfs_private_desc[FILE_HARDLINKS].cd_cnid ||
3243 cnid == hfsmp->hfs_private_desc[DIR_HARDLINKS].cd_cnid) {
3249 vp = hfs_chash_getvnode(hfsmp, cnid, 0, skiplock, allow_deleted);
3262 if (cnid == kHFSRootParentID) {
3282 error = cat_idlookup(hfsmp, cnid, 0, 0, &cndesc, &cnattr, &cnfork);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Unicode/
H A DUnicodeWrappers.c426 ByteCount *actualDstLen, unsigned char* dstStr, HFSCatalogNodeID cnid)
433 snprintf(fileIDStr, sizeof(fileIDStr), "#%X", cnid);
425 ConvertUnicodeToUTF8Mangled(ByteCount srcLen, ConstUniCharArrayPtr srcStr, ByteCount maxDstLen, ByteCount *actualDstLen, unsigned char* dstStr, HFSCatalogNodeID cnid) argument

Completed in 56 milliseconds