Searched refs:tx_inuse (Results 1 – 4 of 4) sorted by relevance
908 if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse)) in fs_open()924 ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) { in fs_open()1041 set_bit (vcc->channo, dev->tx_inuse); in fs_open()1131 clear_bit (vcc->channo, dev->tx_inuse); in fs_close()1803 dev->tx_inuse = kzalloc (dev->nchannels / 8 /* bits/byte */ , GFP_KERNEL); in fs_init()1807 if (!dev->tx_inuse) { in fs_init()
474 void *tx_inuse; member
2340 int retry = 0, sleep = 1, tx_inuse; in he_close() local2397 while (((tx_inuse = refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) && in he_close()2406 if (tx_inuse > 1) in he_close()2407 hprintk("close tx cid 0x%x tx_inuse = %d\n", cid, tx_inuse); in he_close()
1776 static inline int tx_inuse(const struct sky2_port *sky2) in tx_inuse() function1784 return sky2->tx_pending - tx_inuse(sky2); in tx_avail()