Lines Matching refs:inum
86 #define CNODEHASH(hfsmp, inum) (&hfsmp->hfs_cnodehashtbl[(inum) & hfsmp->hfs_cnodehash])
141 * Use the device, inum pair to find the incore cnode.
146 hfs_chash_getvnode(struct hfsmount *hfsmp, ino_t inum, int wantrsrc, int skiplock, int allow_deleted)
161 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
162 if (cp->c_fileid != inum)
225 hfs_chash_snoop(struct hfsmount *hfsmp, ino_t inum, int existence_only, int (*callout)(const struct cat_desc *,
238 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
239 if (cp->c_fileid != inum)
284 * inum is no longer valid for lookups (open-unlinked file).
293 hfs_chash_getcnode(struct hfsmount *hfsmp, ino_t inum, struct vnode **vpp,
310 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
311 if (cp->c_fileid != inum)
361 * Don't return a cnode in this case since the inum
416 ncp->c_fileid = inum;
425 LIST_INSERT_HEAD(CNODEHASH(hfsmp, inum), ncp, c_hash);