Lines Matching refs:syscalls
76 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native()
77 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native()
88 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native()
89 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native()
90 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native()
108 zfree(&tbl->syscalls.entries); in syscalltbl__delete()
119 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
120 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id()
129 struct syscall *syscalls = tbl->syscalls.entries; in syscalltbl__strglobmatch_next() local
131 for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { in syscalltbl__strglobmatch_next()
132 if (strglobmatch(syscalls[i].name, syscall_glob)) { in syscalltbl__strglobmatch_next()
134 return syscalls[i].id; in syscalltbl__strglobmatch_next()