listelm 280 drivers/scsi/aic7xxx/queue.h #define LIST_INSERT_AFTER(listelm, elm, field) do { \ listelm 281 drivers/scsi/aic7xxx/queue.h if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\ listelm 282 drivers/scsi/aic7xxx/queue.h LIST_NEXT((listelm), field)->field.le_prev = \ listelm 284 drivers/scsi/aic7xxx/queue.h LIST_NEXT((listelm), field) = (elm); \ listelm 285 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev = &LIST_NEXT((listelm), field); \ listelm 288 drivers/scsi/aic7xxx/queue.h #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ listelm 289 drivers/scsi/aic7xxx/queue.h (elm)->field.le_prev = (listelm)->field.le_prev; \ listelm 290 drivers/scsi/aic7xxx/queue.h LIST_NEXT((elm), field) = (listelm); \ listelm 291 drivers/scsi/aic7xxx/queue.h *(listelm)->field.le_prev = (elm); \ listelm 292 drivers/scsi/aic7xxx/queue.h (listelm)->field.le_prev = &LIST_NEXT((elm), field); \ listelm 351 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_AFTER(head, listelm, elm, field) do { \ listelm 352 drivers/scsi/aic7xxx/queue.h if ((TAILQ_NEXT((elm), field) = TAILQ_NEXT((listelm), field)) != NULL)\ listelm 357 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((listelm), field) = (elm); \ listelm 358 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = &TAILQ_NEXT((listelm), field); \ listelm 361 drivers/scsi/aic7xxx/queue.h #define TAILQ_INSERT_BEFORE(listelm, elm, field) do { \ listelm 362 drivers/scsi/aic7xxx/queue.h (elm)->field.tqe_prev = (listelm)->field.tqe_prev; \ listelm 363 drivers/scsi/aic7xxx/queue.h TAILQ_NEXT((elm), field) = (listelm); \ listelm 364 drivers/scsi/aic7xxx/queue.h *(listelm)->field.tqe_prev = (elm); \ listelm 365 drivers/scsi/aic7xxx/queue.h (listelm)->field.tqe_prev = &TAILQ_NEXT((elm), field); \ listelm 442 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_AFTER(head, listelm, elm, field) do { \ listelm 443 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = CIRCLEQ_NEXT((listelm), field); \ listelm 444 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = (listelm); \ listelm 445 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_NEXT((listelm), field) == (void *)(head)) \ listelm 448 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV(CIRCLEQ_NEXT((listelm), field), field) = (elm);\ listelm 449 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((listelm), field) = (elm); \ listelm 452 drivers/scsi/aic7xxx/queue.h #define CIRCLEQ_INSERT_BEFORE(head, listelm, elm, field) do { \ listelm 453 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT((elm), field) = (listelm); \ listelm 454 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((elm), field) = CIRCLEQ_PREV((listelm), field); \ listelm 455 drivers/scsi/aic7xxx/queue.h if (CIRCLEQ_PREV((listelm), field) == (void *)(head)) \ listelm 458 drivers/scsi/aic7xxx/queue.h CIRCLEQ_NEXT(CIRCLEQ_PREV((listelm), field), field) = (elm);\ listelm 459 drivers/scsi/aic7xxx/queue.h CIRCLEQ_PREV((listelm), field) = (elm); \