/titanic_44/usr/src/cmd/sendmail/db/include/ |
H A D | shqueue.h | 62 #define SH_LIST_NEXTP(elm, field, type) \ argument 63 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next)) 65 #define SH_LIST_NEXT(elm, field, type) \ argument 66 ((elm)->field.sle_next == -1 ? NULL : \ 67 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next))) 69 #define SH_LIST_PREV(elm, field) \ argument 70 ((ssize_t *)(((u_int8_t *)(elm)) + (elm)->field.sle_prev)) 82 #define SH_LIST_NEXT_TO_PREV(elm, field) \ argument 83 (-(elm)->field.sle_next + SH_PTR_TO_OFF(elm, &(elm)->field.sle_next)) 87 #define SH_LIST_INSERT_AFTER(listelm, elm, field, type) do { \ argument [all …]
|
H A D | queue.h | 92 #define LIST_NEXT(elm, field) ((elm)->field.le_next) argument 102 #define LIST_INSERT_AFTER(listelm, elm, field) do { \ argument 103 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \ 105 &(elm)->field.le_next; \ 106 (listelm)->field.le_next = (elm); \ 107 (elm)->field.le_prev = &(listelm)->field.le_next; \ 110 #define LIST_INSERT_BEFORE(listelm, elm, field) do { \ argument 111 (elm)->field.le_prev = (listelm)->field.le_prev; \ 112 (elm)->field.le_next = (listelm); \ 113 *(listelm)->field.le_prev = (elm); \ [all …]
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | queue.h | 114 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \ argument 118 #define QUEUEDEBUG_LIST_OP(elm, field) \ argument 119 if ((elm)->field.le_next && \ 120 (elm)->field.le_next->field.le_prev != \ 121 &(elm)->field.le_next) \ 122 panic("LIST_* forw %p %s:%d", (elm), __FILE__, __LINE__);\ 123 if (*(elm)->field.le_prev != (elm)) \ 124 panic("LIST_* back %p %s:%d", (elm), __FILE__, __LINE__); 125 #define QUEUEDEBUG_LIST_POSTREMOVE(elm, field) \ argument 126 (elm)->field.le_next = (void *)1L; \ [all …]
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/ |
H A D | db-queue.h | 103 #define LIST_INSERT_AFTER(listelm, elm, field) { \ argument 104 if (((elm)->field.le_next = (listelm)->field.le_next) != NULL) \ 106 &(elm)->field.le_next; \ 107 (listelm)->field.le_next = (elm); \ 108 (elm)->field.le_prev = &(listelm)->field.le_next; \ 111 #define LIST_INSERT_HEAD(head, elm, field) { \ argument 112 if (((elm)->field.le_next = (head)->lh_first) != NULL) \ 113 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\ 114 (head)->lh_first = (elm); \ 115 (elm)->field.le_prev = &(head)->lh_first; \ [all …]
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | sys-queue.h | 199 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 213 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 214 (elm)->field.sle_next = (slistelm)->field.sle_next; \ 215 (slistelm)->field.sle_next = (elm); \ 218 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 219 (elm)->field.sle_next = (head)->slh_first; \ 220 (head)->slh_first = (elm); \ 227 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 228 if ((head)->slh_first == (elm)) { \ 233 while( curelm->field.sle_next != (elm) ) \ [all …]
|
H A D | sys-tree.h | 79 #define SPLAY_LEFT(elm, field) (elm)->field.spe_left argument 80 #define SPLAY_RIGHT(elm, field) (elm)->field.spe_right argument 126 name##_SPLAY_FIND(struct name *head, struct type *elm) \ 130 name##_SPLAY(head, elm); \ 131 if ((cmp)(elm, (head)->sph_root) == 0) \ 137 name##_SPLAY_NEXT(struct name *head, struct type *elm) \ 139 name##_SPLAY(head, elm); \ 140 if (SPLAY_RIGHT(elm, field) != NULL) { \ 141 elm = SPLAY_RIGHT(elm, field); \ 142 while (SPLAY_LEFT(elm, field) != NULL) { \ [all …]
|
/titanic_44/usr/src/uts/common/io/drm/ |
H A D | queue.h | 179 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 180 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 181 SLIST_NEXT((slistelm), field) = (elm); \ 184 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 185 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 186 SLIST_FIRST((head)) = (elm); \ 189 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 191 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 192 if (SLIST_FIRST((head)) == (elm)) { \ 197 while (SLIST_NEXT(curelm, field) != (elm)) \ [all …]
|
/titanic_44/usr/src/cmd/sendmail/include/sm/ |
H A D | tailq.h | 79 #define SM_TAILQ_NEXT(elm, field) ((elm)->field.tqe_next) argument 83 #define SM_TAILQ_PREV(elm, headname, field) \ argument 84 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last)) 106 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \ argument 107 if (((elm)->field.tqe_next = (head)->tqh_first) != NULL) \ 109 &(elm)->field.tqe_next; \ 111 (head)->tqh_last = &(elm)->field.tqe_next; \ 112 (head)->tqh_first = (elm); \ 113 (elm)->field.tqe_prev = &(head)->tqh_first; \ 116 #define SM_TAILQ_INSERT_TAIL(head, elm, field) do { \ argument [all …]
|
/titanic_44/usr/src/cmd/prstat/ |
H A D | prtable.c | 246 plwp_t *elm = Zalloc(sizeof (plwp_t)); in lwpid_add() local 249 elm->l_pid = pid; in lwpid_add() 250 elm->l_lwpid = lwpid; in lwpid_add() 251 elm->l_lwp = lwp; in lwpid_add() 252 elm->l_next = plwp_tbl[hash]; /* add in front of chain */ in lwpid_add() 253 plwp_tbl[hash] = elm; in lwpid_add() 259 plwp_t *elm, *elm_prev; in lwpid_del() local 262 elm = plwp_tbl[hash]; in lwpid_del() 265 while (elm) { in lwpid_del() 266 if ((elm->l_pid == pid) && (elm->l_lwpid == lwpid)) { in lwpid_del() [all …]
|
/titanic_44/usr/src/lib/libsmbfs/smb/ |
H A D | queue.h | 81 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 82 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 83 SLIST_NEXT((slistelm), field) = (elm); \ 86 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 87 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 88 SLIST_FIRST((head)) = (elm); \ 91 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 93 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 94 if (SLIST_FIRST((head)) == (elm)) { \ 99 while (SLIST_NEXT(curelm, field) != (elm)) \
|
/titanic_44/usr/src/uts/common/io/scsi/targets/ |
H A D | ses_ses.c | 727 ses_decode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) in ses_decode() argument 749 if (elm >= ep[elt]) in ses_decode() 768 idx += (4 * elm); in ses_decode() 783 elt, elm, idx-4); in ses_decode() 795 ses_encode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) in ses_encode() argument 817 if (elm >= ep[elt]) in ses_encode() 836 idx += (4 * elm); in ses_encode() 854 "%x %x %x %x", elt, elm, idx, sp->comstatus, sp->comstat[0], in ses_encode()
|
/titanic_44/usr/src/cmd/cron/ |
H A D | Makefile | 80 CRONOBJS= cron.o elm.o
|
/titanic_44/usr/src/cmd/look/ |
H A D | words | 7602 elm
|
/titanic_44/usr/src/cmd/spell/ |
H A D | list | 7600 elm
|