Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libpcp/common/
H A Dlibpcp.c152 static uint8_t *peek_read_area = NULL; variable
305 if (peek_read_area != NULL) { in pcp_close()
306 umem_free(peek_read_area, PEEK_READ_AREA_SIZE); in pcp_close()
307 peek_read_area = NULL; in pcp_close()
895 if (peek_read_area == NULL) { in pcp_peek_read()
896 peek_read_area = (uint8_t *)umem_zalloc(PEEK_READ_AREA_SIZE, in pcp_peek_read()
898 if (peek_read_area == NULL) { in pcp_peek_read()
901 peek_read_head = peek_read_area; in pcp_peek_read()
902 peek_read_tail = peek_read_area; in pcp_peek_read()
920 peek_read_area[i] = read_head[i]; in pcp_peek_read()
[all …]
/titanic_44/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 …]