Lines Matching refs:next
159 rsrc = cache_head.next;
164 rsrc = rsrc->next;
176 rsrc = cache_head.next;
180 rsrc = rsrc->next;
210 node->next = cache_head.next;
213 node->next->prev = node;
214 node->prev->next = node;
270 node->next->prev = node->prev;
271 node->prev->next = node->next;
272 node->next = NULL;
346 for (link = linkhead; link != NULL; link = link->next) {
372 link->next = linkhead;
874 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) {
877 link = link->next) {
897 for (rs = cache_head.next; rs != &cache_tail; rs = rs->next) {
900 link = link->next) {
915 * by the next argument. If next is NULL start at the first resource
924 get_next_user(rsrc_t *next, rsrc_t *rsrc, int redundancy)
931 src = (next != NULL) ? next->next : cache_head.next;
938 link = link->next) {
951 src = src->next;
1193 cache_head.next = &cache_tail;
1196 cache_tail.next = NULL;
1218 rsrc = cache_head.next;
1223 nlink = link->next;
1229 rsrc = cache_head.next;
1278 for (rsrc = cache_head.next; rsrc != &cache_tail; rsrc = rsrc->next) {
1291 link = link->next) {
1326 for (rsrc = cache_head.next; rsrc != &cache_tail; rsrc = rsrc->next) {