Searched refs:SH_PTR_TO_OFF (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | shqueue.h | 70 #define SH_PTR_TO_OFF(src, dest) \ macro 81 (-(elm)->field.sle_next + SH_PTR_TO_OFF(elm, &(elm)->field.sle_next)) 87 (elm)->field.sle_next = SH_PTR_TO_OFF(elm, \ 93 (listelm)->field.sle_next = SH_PTR_TO_OFF(listelm, elm); \ 100 (head)->slh_first - SH_PTR_TO_OFF(head, elm); \ 105 (head)->slh_first = SH_PTR_TO_OFF(head, elm); \ 106 (elm)->field.sle_prev = SH_PTR_TO_OFF(elm, &(head)->slh_first); \ 155 (-(elm)->field.stqe_next + SH_PTR_TO_OFF(elm, &(elm)->field.stqe_next)) 161 (head)->stqh_last = SH_PTR_TO_OFF(head, &(head)->stqh_first); \ 167 (head)->stqh_first - SH_PTR_TO_OFF(head, elm); \ [all …]
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 484 newl->obj = SH_PTR_TO_OFF(newl, sh_obj); 857 sh_obj->lockobj.off = SH_PTR_TO_OFF(&sh_obj->lockobj, p);
|