Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c141 static uint8_t *peek_area = NULL; variable
299 if (peek_area != NULL) { in pcp_close()
300 umem_free(peek_area, PEEK_AREA_SIZE); in pcp_close()
301 peek_area = NULL; in pcp_close()
648 if (peek_area == NULL) { in pcp_peek()
649 peek_area = (uint8_t *)umem_zalloc(PEEK_AREA_SIZE, in pcp_peek()
651 if (peek_area == NULL) { in pcp_peek()
659 peek_ctrl.buf = (caddr_t)peek_area; in pcp_peek()
681 (void) memcpy(buf, peek_area, m); in pcp_peek()
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c207 uint8_t *peek_area; member
532 if ((softc->peek_area = (uint8_t *)kmem_zalloc(softc->mtu_size, in tsalarm_open()
562 if (softc->peek_area != NULL) in tsalarm_open()
563 kmem_free(softc->peek_area, softc->mtu_size); in tsalarm_open()
625 if (softc->peek_area != NULL) { in tsalarm_close()
626 kmem_free(softc->peek_area, softc->mtu_size); in tsalarm_close()
627 softc->peek_area = NULL; in tsalarm_close()
1132 if (sc->peek_area == NULL) { in tsal_pcp_peek()
1139 peek_ctrl.buf = (caddr_t)sc->peek_area; in tsal_pcp_peek()
1157 (void) memcpy(buf, sc->peek_area, m); in tsal_pcp_peek()