Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/sendmail/db/include/
H A Dshqueue.h72 #define SH_PTR_TO_OFF(src, dest) \ macro
83 (-(elm)->field.sle_next + SH_PTR_TO_OFF(elm, &(elm)->field.sle_next))
89 (elm)->field.sle_next = SH_PTR_TO_OFF(elm, \
95 (listelm)->field.sle_next = SH_PTR_TO_OFF(listelm, elm); \
102 (head)->slh_first - SH_PTR_TO_OFF(head, elm); \
107 (head)->slh_first = SH_PTR_TO_OFF(head, elm); \
108 (elm)->field.sle_prev = SH_PTR_TO_OFF(elm, &(head)->slh_first); \
157 (-(elm)->field.stqe_next + SH_PTR_TO_OFF(elm, &(elm)->field.stqe_next))
163 (head)->stqh_last = SH_PTR_TO_OFF(head, &(head)->stqh_first); \
169 (head)->stqh_first - SH_PTR_TO_OFF(head, elm); \
[all …]
/titanic_41/usr/src/cmd/sendmail/db/lock/
H A Dlock.c484 newl->obj = SH_PTR_TO_OFF(newl, sh_obj);
857 sh_obj->lockobj.off = SH_PTR_TO_OFF(&sh_obj->lockobj, p);