Lines Matching refs:fn
231 def wrapper_defs(func_name, func_type, args, fn, userspace_only): argument
315 if fn not in notracing:
410 def analyze_fn(match_group, fn, userspace_only): argument
428 invocation = wrapper_defs(func_name, func_type, args, fn, userspace_only)
484 for match_group, fn, to_emit in syscalls:
485 handler, inv, mrsh, sys_id, entry = analyze_fn(match_group, fn, args.userspace_only)
487 if fn not in invocations:
488 invocations[fn] = []
490 invocations[fn].append(inv)
504 mrsh_includes[syscall] = "#include <zephyr/syscalls/%s>" % fn
560 for fn, invo_list in invocations.items():
561 out_fn = os.path.join(args.base_output, fn)
563 ig = re.sub("[^a-zA-Z0-9]", "_", "Z_INCLUDE_SYSCALLS_" + fn).upper()
566 if fn not in notracing:
575 for fn in mrsh_defs:
576 mrsh_fn = os.path.join(args.base_output, fn + "_mrsh.c")
580 fp.write(mrsh_includes[fn] + "\n")
582 fp.write(mrsh_defs[fn] + "\n")