Lines Matching defs:tail_room
314 * When calculating the tail_room, tx_in might get to be zero if
316 * buffer) if there is no head room. In this case, tail_room would be
325 size_t tail_room;
331 tail_room = I2400M_TX_BUF_SIZE - tx_in;
332 tail_room %= I2400M_TX_BUF_SIZE;
333 return tail_room;
409 * | if (tail_room < needed)
438 size_t room, tail_room, needed_size;
449 tail_room = __i2400m_tx_tail_room(i2400m);
450 if (!try_head && tail_room < needed_size) {
464 if (room - tail_room >= needed_size) {
509 size_t tail_room = __i2400m_tx_tail_room(i2400m);
511 if (unlikely(tail_room == 0))
513 BUG_ON(tail_room < sizeof(*msg));
514 msg->size = tail_room | I2400M_TX_SKIP;
516 tail_room, tx_in);
517 i2400m->tx_in += tail_room;