• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wimax/i2400m/

Lines Matching defs:room

150  * 16), TAIL room that was unusable (and thus is marked with a message
156 * | TAIL room |
295 * Calculate how much tail room is available
302 * | tail room |
310 * | head room |
315 * buffer) if there is no head room. In this case, tail_room would be
344 * @try_head: specify either to allocate head room or tail room space
347 * The caller must always try to allocate tail room space first by
349 * is not enough tail room space but there is enough head room space,
351 * room space, by calling this routine again with try_head = 1.
365 * | tail room | | data |
369 * | data | | room |
373 * | head room | | data |
378 * We can allocate only from 'room'. In Case B, it is simple; in case
379 * A, we only try from the tail room; if it is not enough, we just
381 * skip the tail room and try to allocate from the head.
388 * N ___________ tail room is zero
397 * | head room |
399 * During such a time, where tail room is zero in the TX FIFO and if there
414 * is no tail room to accommodate the payload and calls
437 size_t room, tail_room, needed_size;
441 room = I2400M_TX_BUF_SIZE - (i2400m->tx_in - i2400m->tx_out);
442 if (room < needed_size) { /* this takes care of Case B */
451 * If the tail room space is not enough to push the message
453 * 1. There is enough head room space to accommodate
455 * 2. There is not enough space in the head room and
456 * in tail room of the TX FIFO to accommodate the message.
459 * into the head room space.
463 if (room - tail_room >= needed_size) {
489 * Tail room can get to be zero if a message was opened when there was
693 * room for the message in the queue).