Lines Matching refs:cmdline_count
171 cmdlines = malloc(sizeof(*cmdlines) * tep->cmdline_count); in cmdline_init()
185 qsort(cmdlines, tep->cmdline_count, sizeof(*cmdlines), cmdline_cmp); in cmdline_init()
206 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in find_cmdline()
235 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count, in tep_is_pid_registered()
263 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count, in add_new_comm()
281 cmdlines = realloc(cmdlines, sizeof(*cmdlines) * (tep->cmdline_count + 1)); in add_new_comm()
294 if (!tep->cmdline_count) { in add_new_comm()
297 tep->cmdline_count++; in add_new_comm()
302 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1, in add_new_comm()
305 cnt = tep->cmdline_count; in add_new_comm()
313 if (key.pid > tep->cmdlines[tep->cmdline_count - 1].pid) { in add_new_comm()
314 tep->cmdlines[tep->cmdline_count++] = key; in add_new_comm()
322 tep->cmdline_count++; in add_new_comm()
351 tep->cmdline_count++; in _tep_register_comm()
5942 next >= tep->cmdlines + tep->cmdline_count) in tep_data_pid_from_comm()
5951 while (cmdline < tep->cmdlines + tep->cmdline_count) { in tep_data_pid_from_comm()
5980 cmdline >= tep->cmdlines + tep->cmdline_count) in tep_cmdline_pid()
7536 for (i = 0; i < tep->cmdline_count; i++) in tep_free()