Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libpcp/common/
H A Dlibpcp.c137 static uint8_t *read_area = NULL; variable
297 if (read_area != NULL) { in pcp_close()
298 umem_free(read_area, READ_AREA_SIZE); in pcp_close()
299 read_area = NULL; in pcp_close()
744 if (read_area == NULL) { in pcp_read()
745 read_area = (uint8_t *)umem_zalloc(READ_AREA_SIZE, in pcp_read()
747 if (read_area == NULL) { in pcp_read()
750 read_head = read_area; in pcp_read()
751 read_tail = read_area; in pcp_read()
769 read_area[i] = read_head[i]; in pcp_read()
[all …]
/titanic_44/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c206 uint8_t *read_area; member
400 softc->read_area = NULL; in tsalarm_attach()
601 if (softc->read_area != NULL) { in tsalarm_close()
602 kmem_free(softc->read_area, 2*softc->mtu_size); in tsalarm_close()
603 softc->read_area = NULL; in tsalarm_close()
1218 if (sc->read_area == NULL) { in tsal_pcp_read()
1219 sc->read_area = (uint8_t *)kmem_zalloc(read_area_size, in tsal_pcp_read()
1221 if (sc->read_area == NULL) { in tsal_pcp_read()
1224 sc->read_head = sc->read_area; in tsal_pcp_read()
1225 sc->read_tail = sc->read_area; in tsal_pcp_read()
[all …]