Home
last modified time | relevance | path

Searched refs:netfront_count (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/drivers/net/xen-netback/
Dnetback.c98 atomic_t netfront_count; member
124 min_netfront_count = atomic_read(&xen_netbk[0].netfront_count); in xen_netbk_add_xenvif()
126 int netfront_count = atomic_read(&xen_netbk[i].netfront_count); in xen_netbk_add_xenvif() local
127 if (netfront_count < min_netfront_count) { in xen_netbk_add_xenvif()
129 min_netfront_count = netfront_count; in xen_netbk_add_xenvif()
136 atomic_inc(&netbk->netfront_count); in xen_netbk_add_xenvif()
143 atomic_dec(&netbk->netfront_count); in xen_netbk_remove_xenvif()
1717 atomic_set(&netbk->netfront_count, 0); in netback_init()