Lines Matching refs:sc
17 static vector<int> collect_nonnull(const Syscall& sc) { in collect_nonnull() argument
19 int out_idx = static_cast<int>(sc.arg_spec.size()); in collect_nonnull()
20 sc.for_each_return([&](const TypeSpec& type) { in collect_nonnull()
28 bool HeaderGenerator::syscall(std::ofstream& os, const Syscall& sc) { in syscall() argument
32 if (name_prefix.second(sc)) in syscall()
35 auto syscall_name = name_prefix.first + sc.name; in syscall()
40 os, sc, name_prefix.first, in syscall()
43 allow_pointer_wrapping_ && !sc.is_vdso(), in syscall()
47 const vector<int> nonnull = collect_nonnull(sc); in syscall()
61 for (const auto& attr : sc.attributes) { in syscall()
67 if (sc.ret_spec.size() > 0) in syscall()
68 write_argument_annotation(os, sc.ret_spec[0]); in syscall()