HelenOS sources
segment_begin 70 uspace/drv/bus/usb/xhci/trb_ring.c return segment_begin(segment) + SEGMENT_TRB_COUNT;
segment_begin 141 uspace/drv/bus/usb/xhci/trb_ring.c ring->enqueue_trb = segment_begin(segment);
segment_begin 182 uspace/drv/bus/usb/xhci/trb_ring.c ring->enqueue_trb = segment_begin(ring->enqueue_segment);
segment_begin 190 uspace/drv/bus/usb/xhci/trb_ring.c size_t trb_id = ring->enqueue_trb - segment_begin(ring->enqueue_segment);
segment_begin 370 uspace/drv/bus/usb/xhci/trb_ring.c ring->dequeue_trb = segment_begin(segment);
segment_begin 390 uspace/drv/bus/usb/xhci/trb_ring.c uintptr_t trb_id = ring->dequeue_trb - segment_begin(ring->dequeue_segment);
segment_begin 422 uspace/drv/bus/usb/xhci/trb_ring.c const unsigned index = ring->dequeue_trb - segment_begin(ring->dequeue_segment);
segment_begin 437 uspace/drv/bus/usb/xhci/trb_ring.c ring->dequeue_trb = segment_begin(ring->dequeue_segment);
HelenOS homepage, sources at GitHub