Lines Matching refs:rx_roq
507 return ((unsigned long) roq - (unsigned long) i2400m->rx_roq)
921 * This routine destroys the memory allocated for rx_roq, when no
922 * other thread is accessing it. Access to rx_roq is refcounted by
933 __skb_queue_purge(&i2400m->rx_roq[itr].queue);
934 kfree(i2400m->rx_roq[0].log);
935 kfree(i2400m->rx_roq);
936 i2400m->rx_roq = NULL;
1032 if (i2400m->rx_roq == NULL) {
1033 kfree_skb(skb); /* rx_roq is already destroyed */
1037 roq = &i2400m->rx_roq[ro_cin];
1356 i2400m->rx_roq = kcalloc(I2400M_RO_CIN + 1,
1357 sizeof(i2400m->rx_roq[0]), GFP_KERNEL);
1358 if (i2400m->rx_roq == NULL)
1361 rd = kcalloc(I2400M_RO_CIN + 1, sizeof(*i2400m->rx_roq[0].log),
1369 __i2400m_roq_init(&i2400m->rx_roq[itr]);
1370 i2400m->rx_roq[itr].log = &rd[itr];
1377 kfree(i2400m->rx_roq);