Lines Matching refs:position
156 /** check removal of the LRU element on the given position of total elements */
157 static void check_removal(struct outside_network* outnet, int position, int total)
167 for(i=0; i<position; i++) reuse = reuse->lru_next;
271 /** check removal of the waiting_tcp element on the given position of total
275 size_t position, size_t total)
290 for(i=0; i<position; i++) {
299 if(position == 0 && total == 1) {
302 } else if(position == 0) {
305 } else if(position == total - 1) {
412 /** check removal of the reuse_write_wait element on the given position of total
416 size_t position, size_t total)
430 for(i=0; i<position; i++) w = w->write_wait_next;
435 if(position == 0 && total == 1) {
438 } else if(position == 0) {
441 } else if(position == total - 1) {