Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c150 static uint8_t *peek_read_area = NULL; variable
303 if (peek_read_area != NULL) { in pcp_close()
304 umem_free(peek_read_area, PEEK_READ_AREA_SIZE); in pcp_close()
305 peek_read_area = NULL; in pcp_close()
893 if (peek_read_area == NULL) { in pcp_peek_read()
894 peek_read_area = (uint8_t *)umem_zalloc(PEEK_READ_AREA_SIZE, in pcp_peek_read()
896 if (peek_read_area == NULL) { in pcp_peek_read()
899 peek_read_head = peek_read_area; in pcp_peek_read()
900 peek_read_tail = peek_read_area; in pcp_peek_read()
918 peek_read_area[i] = read_head[i]; in pcp_peek_read()
[all …]
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c208 uint8_t *peek_read_area; member
536 if ((softc->peek_read_area = (uint8_t *)kmem_zalloc(2*softc->mtu_size, in tsalarm_open()
564 if (softc->peek_read_area != NULL) in tsalarm_open()
565 kmem_free(softc->peek_read_area, 2*softc->mtu_size); in tsalarm_open()
629 if (softc->peek_read_area != NULL) { in tsalarm_close()
630 kmem_free(softc->peek_read_area, 2*softc->mtu_size); in tsalarm_close()
631 softc->peek_read_area = NULL; in tsalarm_close()
1310 if (sc->peek_read_area == NULL) { in tsal_pcp_peek_read()
1313 peek_read_head = sc->peek_read_area; in tsal_pcp_peek_read()
1314 peek_read_tail = sc->peek_read_area; in tsal_pcp_peek_read()
[all …]