Home
last modified time | relevance | path

Searched refs:listelm (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/scsi/aic7xxx/
Dqueue.h280 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument
281 if ((LIST_NEXT((elm), field) = LIST_NEXT((listelm), field)) != NULL)\
282 LIST_NEXT((listelm), field)->field.le_prev = \
284 LIST_NEXT((listelm), field) = (elm); \
285 (elm)->field.le_prev = &LIST_NEXT((listelm), field); \
288 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument
289 (elm)->field.le_prev = (listelm)->field.le_prev; \
290 LIST_NEXT((elm), field) = (listelm); \
291 *(listelm)->field.le_prev = (elm); \
292 (listelm)->field.le_prev = &LIST_NEXT((elm), field); \
[all …]