Home
last modified time | relevance | path

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

/illumos-gate/usr/src/common/list/
H A Dlist.c45 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
146 return (list_object(list, head)); in list_remove_head()
156 return (list_object(list, tail)); in list_remove_tail()
164 return (list_object(list, list->list_head.list_next)); in list_head()
172 return (list_object(list, list->list_head.list_prev)); in list_tail()
181 return (list_object(list, node->list_next)); in list_next()
192 return (list_object(list, node->list_prev)); in list_prev()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c556 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
591 pobj = list_object(&sctp->sctp_saddrs[i].sctp_ipif_list, in sctp_getsockaddr()
628 pobj = list_object(&sctp->sctp_saddrs[i]. in sctp_getsockaddr()
691 pobj = list_object(&sctp->sctp_saddrs[i]. in sctp_getsockaddr()
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_core.h72 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
80 temp = list_object((list_t), ((list_d2l(list_t, object))->list_next));\
83 temp = list_object((list_t), (list_d2l(list_t, temp))->list_next))
H A Darn_recv.c478 tbf = list_object(&sc->sc_rxbuf_list, in arn_rx_handler()
H A Darn_xmit.c746 bf->bf_lastbf = list_object(&bf_q, bf->bf_node.list_prev); in arn_tx_sched_aggr()
1128 txq->axq_linkbuf = list_object(list, txq->axq_q.prev); in arn_tx_txqaddbuf()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c3270 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
3315 entry = list_object(&head, head.list_head.list_next); in ilb_nat_src_walk_init()
3369 wsp->walk_addr = (uintptr_t)list_object(&head, in ilb_nat_src_walk_step()
3386 next_entry = list_object(&head, in ilb_nat_src_walk_step()
3557 st = list_object(&head, head.list_head.list_next); in ilb_sticky_walk_init()
3610 wsp->walk_addr = (uintptr_t)list_object(&head, in ilb_sticky_walk_step()
3628 st_next = list_object(&head, in ilb_sticky_walk_step()
/illumos-gate/usr/src/cmd/mdb/common/modules/sctp/
H A Dsctp.c70 #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) macro
1278 wsp->walk_addr = (uintptr_t)list_object(addr_list, in sctp_walk_saddr_init()
1329 wsp->walk_addr = (uintptr_t)list_object( in sctp_walk_saddr_step()