FreeBSD/sys/fs/tmpfs/tmpfs_subr.c
/* Lookup directory entry in RB-Tree. Function may return duphead entry. */
Lookup directory entry in RB-Tree. Function may return duphead entry.
Lookup directory entry in RB - Tree . Function may return duphead entry .
static struct tmpfs_dirent *
tmpfs_dir_xlookup_hash(struct tmpfs_node *dnode, uint32_t hash)
{
	struct tmpfs_dirent *de, dekey;
	dekey.td_hash = hash;
	de = RB_FIND(tmpfs_dir, &dnode->tn_dir.tn_dirhead, &dekey);
	return (de);
}
static struct tmpfs_dirent * tmpfs_dir_xlookup_hash ( struct tmpfs_node * dnode , uint32_t hash ) { struct tmpfs_dirent * de , dekey ; dekey . td_hash = hash ; de = RB_FIND ( tmpfs_dir , & dnode -> tn_dir . tn_dirhead , & dekey ) ; return ( de ) ; }
Lookup directory entry in RB-Tree.
Lookup directory entry in RB - Tree .