Lines Matching refs:num
373 int num; in reg_event_syscall_enter() local
375 num = ((struct syscall_metadata *)call->data)->syscall_nr; in reg_event_syscall_enter()
376 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_enter()
382 rcu_assign_pointer(tr->enter_syscall_files[num], file); in reg_event_syscall_enter()
393 int num; in unreg_event_syscall_enter() local
395 num = ((struct syscall_metadata *)call->data)->syscall_nr; in unreg_event_syscall_enter()
396 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_enter()
400 RCU_INIT_POINTER(tr->enter_syscall_files[num], NULL); in unreg_event_syscall_enter()
411 int num; in reg_event_syscall_exit() local
413 num = ((struct syscall_metadata *)call->data)->syscall_nr; in reg_event_syscall_exit()
414 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_exit()
420 rcu_assign_pointer(tr->exit_syscall_files[num], file); in reg_event_syscall_exit()
431 int num; in unreg_event_syscall_exit() local
433 num = ((struct syscall_metadata *)call->data)->syscall_nr; in unreg_event_syscall_exit()
434 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_exit()
438 RCU_INIT_POINTER(tr->exit_syscall_files[num], NULL); in unreg_event_syscall_exit()
447 int num; in init_syscall_trace() local
449 num = ((struct syscall_metadata *)call->data)->syscall_nr; in init_syscall_trace()
450 if (num < 0 || num >= NR_syscalls) { in init_syscall_trace()
625 int num; in perf_sysenter_enable() local
627 num = ((struct syscall_metadata *)call->data)->syscall_nr; in perf_sysenter_enable()
635 set_bit(num, enabled_perf_enter_syscalls); in perf_sysenter_enable()
644 int num; in perf_sysenter_disable() local
646 num = ((struct syscall_metadata *)call->data)->syscall_nr; in perf_sysenter_disable()
650 clear_bit(num, enabled_perf_enter_syscalls); in perf_sysenter_disable()
721 int num; in perf_sysexit_enable() local
723 num = ((struct syscall_metadata *)call->data)->syscall_nr; in perf_sysexit_enable()
731 set_bit(num, enabled_perf_exit_syscalls); in perf_sysexit_enable()
740 int num; in perf_sysexit_disable() local
742 num = ((struct syscall_metadata *)call->data)->syscall_nr; in perf_sysexit_disable()
746 clear_bit(num, enabled_perf_exit_syscalls); in perf_sysexit_disable()