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

/xnu-2422.115.4/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 */
238 cnid_t fileid;
244 extern int cat_check_idhash (struct hfsmount *hfsmp, cnid_t test_fileid);
253 extern int cat_acquire_cnid (struct hfsmount *hfsmp, cnid_t *new_cnid);
323 cnid_t new_fileid,
339 cnid_t *desc_cnid);
342 cnid_t 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.h696 extern int hfs_vget(struct hfsmount *, cnid_t, struct vnode **, int, int);
862 extern int hfs_lookup_siblinglinks(struct hfsmount *hfsmp, cnid_t linkfileid,
863 cnid_t *prevlinkid, cnid_t *nextlinkid);
864 extern int hfs_lookup_lastlink(struct hfsmount *hfsmp, cnid_t linkfileid,
865 cnid_t *nextlinkid, struct cat_desc *cdesc);
868 extern void hfs_savelinkorigin(cnode_t *cp, cnid_t parentcnid);
870 extern void hfs_relorigin(struct cnode *cp, cnid_t parentcnid);
872 extern cnid_t hfs_currentparent(cnode_t *cp);
873 extern cnid_t hfs_currentcni
[all...]
H A Dhfs_cnode.h119 cnid_t lo_cnid; /* hardlink's cnid */
120 cnid_t lo_parentcnid; /* hardlink's parent cnid */
306 int hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock);
376 cnid_t cnid, struct cat_attr *cattr, int *error);
378 extern int hfs_chash_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid);
H A Dhfs_catalog.c97 struct cat_desc *descp, struct cat_attr *attrp, struct cat_fork *forkp, cnid_t *desc_cnid);
109 static int getkey(struct hfsmount *hfsmp, cnid_t cnid, CatalogKey * key);
116 static void buildrecord(struct cat_attr *attrp, cnid_t cnid, int std_hfs, u_int32_t encoding, CatalogRecord *crp, u_int32_t *recordSize);
120 static int builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_int32_t hint, u_int32_t encoding,
131 static cnid_t getcnid(const CatalogRecord *crp);
133 static cnid_t getparentcnid(const CatalogRecord *recp);
166 cnid_t fileid;
184 int cat_check_idhash (struct hfsmount *hfsmp, cnid_t test_fileid) {
236 cat_acquire_cnid (struct hfsmount *hfsmp, cnid_t *new_cnid) {
451 cnid_t cni
[all...]
H A Dhfs_chash.c534 hfs_chash_search_cnid(struct hfsmount *hfsmp, cnid_t cnid)
564 hfs_chash_set_childlinkbit(struct hfsmount *hfsmp, cnid_t cnid)
H A Dhfs_readwrite.c873 cnid_t *parents; /* future use */
905 static int cache_binSearch(cnid_t *array, unsigned int hi, cnid_t parent_id, int *no_match_indexp)
944 lookup_bucket(struct access_cache *cache, int *indexp, cnid_t parent_id)
981 add_node(struct access_cache *cache, int index, cnid_t nodeID, int access)
1030 cnid_t parentcnid;
1053 do_attr_lookup(struct hfsmount *hfsmp, struct access_cache *cache, cnid_t cnid,
1106 cnid_t* parents,
1279 cnid_t *parents=NULL;
1282 cnid_t cni
[all...]
H A Dhfs_vnops.c378 hfs_uncompressed_size_of_compressed_file(struct hfsmount *hfsmp, struct vnode *vp, cnid_t fid, off_t *size, int skiplock)
1246 cnid_t nextlinkid = 0;
1247 cnid_t prevlinkid = 0;
1914 cnid_t from_parid;
1915 cnid_t to_parid;
4522 cnid_t real_cnid;
5174 cnid_t cnid_hint = 0;
5204 cnid_hint = (cnid_t)(uio_offset(uio) >> 32);
5974 cnid_t new_id;
H A Dhfs_search.c475 cnid_t saved_cnid;
714 cnid_t parid = key->hfsPlus.parentID;
H A Dhfs_vfsops.c2261 return hfs_vget(VFSTOHFS(mp), (cnid_t)kHFSRootFolderID, vpp, 1, 0);
3217 error = hfs_vget(hfsmp, (cnid_t)ino, vpp, 1, 0);
3235 error = cat_findname(hfsmp, (cnid_t)ino, &cdesc);
3259 hfs_vget(struct hfsmount *hfsmp, cnid_t cnid, struct vnode **vpp, int skiplock, int allow_deleted)
3310 cnid_t pid;
3350 cnid_t lastid;
6887 cnid_t prev_fileid = 0;
H A Dhfs_cnode.c1493 cnid_t cnid, struct cat_attr *cattr, int *error)

Completed in 130 milliseconds