Searched refs:g_data (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 59 static tstat_data_t *g_data[2]; variable 271 if ((g_data[0] = malloc(g_datasize * g_max_cpus)) == NULL) in setup() 274 if ((g_data[1] = malloc(g_datasize * g_max_cpus)) == NULL) in setup() 538 if (ioctl(g_fd, TSTATIOC_READ, g_data[g_gen]) == -1) in check_pset() 1306 if (ioctl(g_fd, TSTATIOC_READ, g_data[g_gen ^ 1]) == -1) in main() 1325 if (ioctl(g_fd, TSTATIOC_READ, g_data[g_gen]) == -1) in main() 1332 check_data(g_data[g_gen], g_data[g_gen ^ 1]); in main() 1333 (*print)(g_data[g_gen], g_data[g_gen ^ 1]); in main()
|
/illumos-gate/usr/src/cmd/vtfontcvt/ |
H A D | vtfontcvt.c | 69 uint8_t *g_data; member 277 if (memcmp(gl->g_data, bytes, wbytes * height) == 0) { in add_glyph() 284 gl->g_data = xmalloc(wbytes * height); in add_glyph() 285 memcpy(gl->g_data, bytes, wbytes * height); in add_glyph() 611 if (cb(gl->g_data, wbytes * height, 1, fp) != 1) in write_glyphs()
|