Searched refs:cnid_t (Results 1 - 12 of 12) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_catalog.h51 typedef u_int32_t cnid_t; typedef
60 cnid_t cd_parentcnid; /* parent directory CNID */
62 cnid_t cd_cnid; /* cnode id (for getattrlist) */
85 cnid_t ca_fileid; /* inode number (for stat) normally == cnid */
294 cnid_t *desc_cnid);
297 cnid_t cnid,
305 cnid_t cnid,
376 cnid_t cnid,
384 cnid_t parentid,
385 cnid_t pointed_at_cni
[all...]
H A Dhfs_link.c62 static int setfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t firstlink);
63 static int getfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t *firstlink);
83 cnid_t nextcnid, cnid_t *linkcnid, int is_inode_linkchain_set)
147 cnid_t orig_cnid;
148 cnid_t linkcnid;
149 cnid_t orig_firstlink;
413 cnid_t parentcni
[all...]
H A Dhfs_cnode.h119 cnid_t lo_cnid; /* hardlink's cnid */
120 cnid_t lo_parentcnid; /* hardlink's parent cnid */
300 int hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock);
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_catalog.c96 struct cat_desc *descp, struct cat_attr *attrp, struct cat_fork *forkp, cnid_t *desc_cnid);
108 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,
128 static cnid_t getcnid(const CatalogRecord *crp);
130 static cnid_t getparentcnid(const CatalogRecord *recp);
304 struct cat_fork *forkp, cnid_t *desc_cnid)
412 cat_findname(struct hfsmount *hfsmp, cnid_t cnid, struct cat_desc *outdescp)
484 cat_idlookup(struct hfsmount *hfsmp, cnid_t cnid, int allow_system_files, int wantrsrc,
550 cnid_t dcni
[all...]
H A Dhfs.h724 extern int hfs_vget(struct hfsmount *, cnid_t, struct vnode **, int, int);
872 extern int hfs_lookup_siblinglinks(struct hfsmount *hfsmp, cnid_t linkfileid,
873 cnid_t *prevlinkid, cnid_t *nextlinkid);
876 extern void hfs_savelinkorigin(cnode_t *cp, cnid_t parentcnid);
878 extern void hfs_relorigin(struct cnode *cp, cnid_t parentcnid);
880 extern cnid_t hfs_currentparent(cnode_t *cp);
881 extern cnid_t hfs_currentcnid(cnode_t *cp);
H A Dhfs_chash.c538 hfs_chash_search_cnid(struct hfsmount *hfsmp, cnid_t cnid)
568 hfs_chash_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid)
H A Dhfs_readwrite.c866 cnid_t *parents; /* future use */
898 static int cache_binSearch(cnid_t *array, unsigned int hi, cnid_t parent_id, int *no_match_indexp)
937 lookup_bucket(struct access_cache *cache, int *indexp, cnid_t parent_id)
976 add_node(struct access_cache *cache, int index, cnid_t nodeID, int access)
1027 cnid_t parentcnid;
1050 do_attr_lookup(struct hfsmount *hfsmp, struct access_cache *cache, cnid_t cnid,
1103 cnid_t* parents,
1276 cnid_t *parents=NULL;
1279 cnid_t cni
[all...]
H A Dhfs_cprotect.c58 static int cp_make_keys (struct cprotect **, struct hfsmount *hfsmp, cnid_t, int);
64 static int cp_wrap(int, struct hfsmount *hfsmp, cnid_t, struct cprotect**);
214 uint32_t input_class, cnid_t fileid, mode_t cmode)
1392 cp_make_keys(struct cprotect **entry_arg, struct hfsmount *hfsmp, cnid_t fileid, int default_pclass)
1643 cp_wrap(int class, struct hfsmount *hfsmp, cnid_t fileid, struct cprotect **entry_ptr)
H A Dhfs_vnops.c374 hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock)
1031 cnid_t nextlinkid = 0;
1032 cnid_t prevlinkid = 0;
1623 cnid_t from_parid;
1624 cnid_t to_parid;
3976 cnid_t real_cnid;
4519 cnid_t cnid_hint = 0;
4549 cnid_hint = (cnid_t)(uio_offset(uio) >> 32);
H A Dhfs_search.c465 cnid_t saved_cnid;
681 cnid_t parid = key->hfsPlus.parentID;
H A Dhfs_vfsops.c2340 return hfs_vget(VFSTOHFS(mp), (cnid_t)kHFSRootFolderID, vpp, 1, 0);
3185 error = hfs_vget(hfsmp, (cnid_t)ino, vpp, 1, 0);
3203 error = cat_findname(hfsmp, (cnid_t)ino, &cdesc);
3227 hfs_vget(struct hfsmount *hfsmp, cnid_t cnid, struct vnode **vpp, int skiplock, int allow_deleted)
3278 cnid_t pid;
3318 cnid_t nextlinkid;
3319 cnid_t prevlinkid;
6810 cnid_t prev_fileid = 0;
H A Dhfs_cnode.c1456 cnid_t cnid, struct cat_attr *cattr, int *error)

Completed in 123 milliseconds