Searched refs:needed_size (Results 1 – 2 of 2) sorted by relevance
40 int needed_size; /* needed size when reading pof */ member112 if ((cnf->needed_size = pof_write_open(cnf->card, &cnf->pof_buffer)) <= 0) in hysdn_conf_write()113 return (cnf->needed_size); /* an error occurred -> exit */ in hysdn_conf_write()127 i = cnf->needed_size - cnf->buf_size; /* bytes still missing for write */ in hysdn_conf_write()137 if (cnf->needed_size == cnf->buf_size) { in hysdn_conf_write()138 cnf->needed_size = pof_write_buffer(cnf->card, cnf->buf_size); /* write data */ in hysdn_conf_write()139 if (cnf->needed_size <= 0) { in hysdn_conf_write()141 return (cnf->needed_size); /* an error occurred */ in hysdn_conf_write()
438 size_t room, tail_room, needed_size; in i2400m_tx_fifo_push() local441 needed_size = size + padding; in i2400m_tx_fifo_push()443 if (room < needed_size) { /* this takes care of Case B */ in i2400m_tx_fifo_push()450 if (!try_head && tail_room < needed_size) { in i2400m_tx_fifo_push()464 if (room - tail_room >= needed_size) { in i2400m_tx_fifo_push()