Lines Matching defs:inum
86 #define CNODEHASH(hfsmp, inum) (&hfsmp->hfs_cnodehashtbl[(inum) & hfsmp->hfs_cnodehash])
145 * Use the device, inum pair to find the incore cnode.
150 hfs_chash_getvnode(struct hfsmount *hfsmp, ino_t inum, int wantrsrc, int skiplock, int allow_deleted)
165 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
166 if (cp->c_fileid != inum)
229 hfs_chash_snoop(struct hfsmount *hfsmp, ino_t inum, int existence_only, int (*callout)(const struct cat_desc *,
242 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
243 if (cp->c_fileid != inum)
288 * inum is no longer valid for lookups (open-unlinked file).
297 hfs_chash_getcnode(struct hfsmount *hfsmp, ino_t inum, struct vnode **vpp,
314 for (cp = CNODEHASH(hfsmp, inum)->lh_first; cp; cp = cp->c_hash.le_next) {
315 if (cp->c_fileid != inum)
365 * Don't return a cnode in this case since the inum
420 ncp->c_fileid = inum;
429 LIST_INSERT_HEAD(CNODEHASH(hfsmp, inum), ncp, c_hash);