Lines Matching refs:tail_room
313 * When calculating the tail_room, tx_in might get to be zero if
315 * buffer) if there is no head room. In this case, tail_room would be
324 size_t tail_room;
330 tail_room = I2400M_TX_BUF_SIZE - tx_in;
331 tail_room %= I2400M_TX_BUF_SIZE;
332 return tail_room;
408 * | if (tail_room < needed)
437 size_t room, tail_room, needed_size;
448 tail_room = __i2400m_tx_tail_room(i2400m);
449 if (!try_head && tail_room < needed_size) {
463 if (room - tail_room >= needed_size) {
508 size_t tail_room = __i2400m_tx_tail_room(i2400m);
510 if (unlikely(tail_room == 0))
512 BUG_ON(tail_room < sizeof(*msg));
513 msg->size = tail_room | I2400M_TX_SKIP;
515 tail_room, tx_in);
516 i2400m->tx_in += tail_room;