Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/plockstat/
H A Dplockstat.c354 static size_t g_proglen; variable
448 bcopy(prog, g_prog + g_proglen, len + 1); in dprog_add()
449 g_proglen += len; in dprog_add()
450 assert(g_proglen < sizeof (g_prog)); in dprog_add()
/titanic_41/usr/src/cmd/lockstat/
H A Dlockstat.c118 static int g_proglen; variable
601 if (g_proglen == 0) { in dprog_add()
604 offs = g_proglen - 1; in dprog_add()
607 g_proglen = offs + size; in dprog_add()
609 if ((g_prog = realloc(g_prog, g_proglen)) == NULL) in dprog_add()