elm2              232 sys/queue.h    #define LIST_REPLACE(elm, elm2, field) do {				\
elm2              233 sys/queue.h    	if (((elm2)->field.le_next = (elm)->field.le_next) != NULL)	\
elm2              234 sys/queue.h    		(elm2)->field.le_next->field.le_prev =			\
elm2              235 sys/queue.h    		    &(elm2)->field.le_next;				\
elm2              236 sys/queue.h    	(elm2)->field.le_prev = (elm)->field.le_prev;			\
elm2              237 sys/queue.h    	*(elm2)->field.le_prev = (elm2);				\
elm2              398 sys/queue.h    #define TAILQ_REPLACE(head, elm, elm2, field) do {			\
elm2              399 sys/queue.h    	if (((elm2)->field.tqe_next = (elm)->field.tqe_next) != NULL)	\
elm2              400 sys/queue.h    		(elm2)->field.tqe_next->field.tqe_prev =		\
elm2              401 sys/queue.h    		    &(elm2)->field.tqe_next;				\
elm2              403 sys/queue.h    		(head)->tqh_last = &(elm2)->field.tqe_next;		\
elm2              404 sys/queue.h    	(elm2)->field.tqe_prev = (elm)->field.tqe_prev;			\
elm2              405 sys/queue.h    	*(elm2)->field.tqe_prev = (elm2);				\
elm2              512 sys/queue.h    #define CIRCLEQ_REPLACE(head, elm, elm2, field) do {			\
elm2              513 sys/queue.h    	if (((elm2)->field.cqe_next = (elm)->field.cqe_next) ==		\
elm2              515 sys/queue.h    		(head).cqh_last = (elm2);				\
elm2              517 sys/queue.h    		(elm2)->field.cqe_next->field.cqe_prev = (elm2);	\
elm2              518 sys/queue.h    	if (((elm2)->field.cqe_prev = (elm)->field.cqe_prev) ==		\
elm2              520 sys/queue.h    		(head).cqh_first = (elm2);				\
elm2              522 sys/queue.h    		(elm2)->field.cqe_prev->field.cqe_next = (elm2);	\