taglinefilesource code
anchor353drivers/char/scc.cstruct mbuf * anchor;
anchor374drivers/char/scc.canchor = *queue;      /* the anchor is the "start" of the chain */
anchor376drivers/char/scc.cif (anchor == NULLBUF)      /* found an empty list */
anchor381drivers/char/scc.cif (anchor->prev == NULLBUF)    /* list has one member only */
anchor384drivers/char/scc.cif (anchor->prev != NULLBUF)  /* oops?! */
anchor387drivers/char/scc.canchor->next = anchor->prev = buffer;
anchor388drivers/char/scc.cbuffer->next = buffer->prev = anchor;
anchor391drivers/char/scc.cif (anchor->next == NULLBUF)    /* this has to be an error. Okay, make the best out of it */
anchor394drivers/char/scc.canchor->next = anchor->prev = buffer;
anchor395drivers/char/scc.cbuffer->next = buffer->prev = anchor;
anchor399drivers/char/scc.cbuffer->prev = anchor->prev;  /* self explaining, isn't it? */
anchor400drivers/char/scc.cbuffer->next = anchor;
anchor401drivers/char/scc.canchor->prev->next = buffer;
anchor402drivers/char/scc.canchor->prev = buffer;