/* Look up an AVC entry that is valid for the (@ssid, @tsid), interpreting the permissions based on @tclass. If a valid AVC entry exists, then this function return the  */
static struct avc_node* avc_lookup(u32 ssid, u32 tsid, u16 tclass)
/* Look up an AVC entry that is valid for the (@ssid, @tsid), interpreting the permissions based on @tclass. If a valid AVC entry exists, then this function return the  */
static struct avc_node* avc_lookup(u32 ssid, u32 tsid, u16 tclass)
{
	struct avc_node *node;
	avc_cache_stats_incr(lookups);
	node = avc_search_node(ssid, tsid, tclass);
	if (node)
		avc_cache_stats_incr(hits);
	else
		avc_cache_stats_incr(misses);
	return node;
}