Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c135 static uint8_t *read_area = NULL; variable
295 if (read_area != NULL) { in pcp_close()
296 umem_free(read_area, READ_AREA_SIZE); in pcp_close()
297 read_area = NULL; in pcp_close()
742 if (read_area == NULL) { in pcp_read()
743 read_area = (uint8_t *)umem_zalloc(READ_AREA_SIZE, in pcp_read()
745 if (read_area == NULL) { in pcp_read()
748 read_head = read_area; in pcp_read()
749 read_tail = read_area; in pcp_read()
767 read_area[i] = read_head[i]; in pcp_read()
[all …]
/illumos-gate/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 …]