Lines Matching refs:sctbl
144 struct syscalltbl *sctbl; member
2069 const char *name = syscalltbl__name(trace->sctbl, id); in trace__read_syscall_info()
2074 trace->syscalls.table = calloc(trace->sctbl->syscalls.max_id + 1, sizeof(*sc)); in trace__read_syscall_info()
2079 if (id > trace->sctbl->syscalls.max_id || (id == 0 && trace->syscalls.table == NULL)) { in trace__read_syscall_info()
2090 …memset(table + trace->sctbl->syscalls.max_id + 1, 0, (id - trace->sctbl->syscalls.max_id) * sizeof… in trace__read_syscall_info()
2093 trace->sctbl->syscalls.max_id = id; in trace__read_syscall_info()
2190 int id = syscalltbl__id(trace->sctbl, sc), match_next = -1; in trace__validate_ev_qualifier()
2193 id = syscalltbl__strglobmatch_first(trace->sctbl, sc, &match_next); in trace__validate_ev_qualifier()
2213 id = syscalltbl__strglobmatch_next(trace->sctbl, sc, &match_next); in trace__validate_ev_qualifier()
2443 if (id > trace->sctbl->syscalls.max_id) {
2445 if (id >= trace->sctbl->syscalls.max_id) {
2470 if (id <= trace->sctbl->syscalls.max_id && trace->syscalls.table[id].name != NULL)
3755 for (int i = 0; i < trace->sctbl->syscalls.nr_entries; ++i) {
3756 int id = syscalltbl__id_at_idx(trace->sctbl, i);
3849 for (int i = 0; i < trace->sctbl->syscalls.nr_entries; ++i) {
3850 int prog_fd, key = syscalltbl__id_at_idx(trace->sctbl, i);
3905 for (int i = 0; i < trace->sctbl->syscalls.nr_entries; ++i) {
3906 int key = syscalltbl__id_at_idx(trace->sctbl, i);
4361 trace->fd_path_disabled = !trace__syscall_enabled(trace, syscalltbl__id(trace->sctbl, "close"));
4926 if (syscalltbl__id(trace->sctbl, s) >= 0 ||
4927 syscalltbl__strglobmatch_first(trace->sctbl, s, &idx) >= 0) {
5061 for (i = 0; i <= trace->sctbl->syscalls.max_id; i++)
5065 syscalltbl__delete(trace->sctbl);
5211 trace.sctbl = syscalltbl__new();
5213 if (trace.evlist == NULL || trace.sctbl == NULL) {