Home | History | Annotate | Download | only in ntfs

Lines Matching defs:ip

77 	struct ntnode *ip;
90 while ((ip = LIST_FIRST(&oldhash[i])) != NULL) {
91 LIST_REMOVE(ip, i_hash);
92 val = NTNOHASH(ip->i_dev, ip->i_number);
93 LIST_INSERT_HEAD(&hash[val], ip, i_hash);
119 struct ntnode *ip;
124 LIST_FOREACH(ip, ipp, i_hash) {
125 if (inum == ip->i_number && dev == ip->i_dev)
130 return (ip);
137 ntfs_nthashins(struct ntnode *ip)
142 ipp = &ntfs_nthashtbl[NTNOHASH(ip->i_dev, ip->i_number)];
143 LIST_INSERT_HEAD(ipp, ip, i_hash);
144 ip->i_flag |= IN_HASHED;
152 ntfs_nthashrem(struct ntnode *ip)
155 if (ip->i_flag & IN_HASHED) {
156 ip->i_flag &= ~IN_HASHED;
157 LIST_REMOVE(ip, i_hash);