Lines Matching refs:syscalls
68 entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); in syscalltbl__init_native()
69 if (tbl->syscalls.entries == NULL) in syscalltbl__init_native()
80 qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); in syscalltbl__init_native()
81 tbl->syscalls.nr_entries = nr_entries; in syscalltbl__init_native()
82 tbl->syscalls.max_id = syscalltbl_native_max_id; in syscalltbl__init_native()
100 zfree(&tbl->syscalls.entries); in syscalltbl__delete()
111 struct syscall *sc = bsearch(name, tbl->syscalls.entries, in syscalltbl__id()
112 tbl->syscalls.nr_entries, sizeof(*sc), in syscalltbl__id()
121 struct syscall *syscalls = tbl->syscalls.entries; in syscalltbl__strglobmatch_next() local
123 for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { in syscalltbl__strglobmatch_next()
124 if (strglobmatch(syscalls[i].name, syscall_glob)) { in syscalltbl__strglobmatch_next()
126 return syscalls[i].id; in syscalltbl__strglobmatch_next()