Searched refs:elm (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dqueue.h92 #define LIST_NEXT(elm, field) ((elm)->field.le_next)
102 #define LIST_INSERT_AFTER(listelm, elm, field) do { \
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 { \
111 (elm)->field.le_prev = (listelm)->field.le_prev; \
112 (elm)
[all...]
H A Dshqueue.h62 #define SH_LIST_NEXTP(elm, field, type) \
63 ((struct type *)(((u_int8_t *)(elm)) + (elm)->field.sle_next))
65 #define SH_LIST_NEXT(elm, field, type) \
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) \
70 ((ssize_t *)(((u_int8_t *)(elm)) + (elm)
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/include/
H A Ddb-queue.h103 #define LIST_INSERT_AFTER(listelm, elm, field) { \
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) { \
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)
[all...]
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dtailq.h79 #define SM_TAILQ_NEXT(elm, field) ((elm)->field.tqe_next)
83 #define SM_TAILQ_PREV(elm, headname, field) \
84 (*(((struct headname *)((elm)->field.tqe_prev))->tqh_last))
106 #define SM_TAILQ_INSERT_HEAD(head, elm, field) do { \
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)
[all...]
/illumos-gate/usr/src/uts/common/io/drm/
H A Dqueue.h179 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
180 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
181 SLIST_NEXT((slistelm), field) = (elm); \
184 #define SLIST_INSERT_HEAD(head, elm, field) do { \
185 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
186 SLIST_FIRST((head)) = (elm); \
189 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
191 #define SLIST_REMOVE(head, elm, type, field) do { \
192 if (SLIST_FIRST((head)) == (elm)) { \
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dqueue.h114 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \
118 #define QUEUEDEBUG_LIST_OP(elm, field) \
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, fiel
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dqueue.h81 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
82 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
83 SLIST_NEXT((slistelm), field) = (elm); \
86 #define SLIST_INSERT_HEAD(head, elm, field) do { \
87 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
88 SLIST_FIRST((head)) = (elm); \
91 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
93 #define SLIST_REMOVE(head, elm, type, field) do { \
94 if (SLIST_FIRST((head)) == (elm)) { \
[all...]
/illumos-gate/usr/src/cmd/prstat/
H A Dprtable.c246 plwp_t *elm = Zalloc(sizeof (plwp_t)); local
249 elm->l_pid = pid;
250 elm->l_lwpid = lwpid;
251 elm->l_lwp = lwp;
252 elm->l_next = plwp_tbl[hash]; /* add in front of chain */
253 plwp_tbl[hash] = elm;
259 plwp_t *elm, *elm_prev; local
262 elm = plwp_tbl[hash];
265 while (elm) {
266 if ((elm
283 plwp_t *elm = plwp_tbl[pid % PLWP_TBL_SZ]; local
296 plwp_t *elm = lwpid_getptr(pid, lwpid); local
306 plwp_t *elm; local
320 plwp_t *elm = lwpid_getptr(pid, lwpid); local
330 plwp_t *elm = lwpid_getptr(pid, lwpid); local
[all...]
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Dpandaboard-common.dtsi45 elm: elm@48078000 {
/illumos-gate/usr/src/boot/sys/sys/
H A Dqueue.h219 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \
220 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \
221 SLIST_NEXT((slistelm), field) = (elm); \
224 #define SLIST_INSERT_HEAD(head, elm, field) do { \
225 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
226 SLIST_FIRST((head)) = (elm); \
229 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next)
231 #define SLIST_REMOVE(head, elm, type, field) do { \
232 QMD_SAVELINK(oldnext, (elm)
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses_ses.c716 * int elm
727 ses_decode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) argument
749 if (elm >= ep[elt])
768 idx += (4 * elm);
783 elt, elm, idx-4);
795 ses_encode(char *b, int amt, uchar_t *ep, int elt, int elm, SesComStat *sp) argument
817 if (elm >= ep[elt])
836 idx += (4 * elm);
854 "%x %x %x %x", elt, elm, idx, sp->comstatus, sp->comstat[0],
/illumos-gate/usr/src/cmd/cron/
H A DMakefile80 CRONOBJS= cron.o elm.o

Completed in 367 milliseconds