Lines Matching refs:arg
18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd() argument
20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd()
31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() argument
33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease()
36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() argument
38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd()
39 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_open_flags); in syscall_arg__scnprintf_fcntl_cmd()
42 if (arg->val == F_GETFD) { in syscall_arg__scnprintf_fcntl_cmd()
43 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_fcntl_getfd); in syscall_arg__scnprintf_fcntl_cmd()
46 if (arg->val == F_DUPFD_CLOEXEC || arg->val == F_DUPFD) { in syscall_arg__scnprintf_fcntl_cmd()
47 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_fd); in syscall_arg__scnprintf_fcntl_cmd()
50 if (arg->val == F_GETOWN) { in syscall_arg__scnprintf_fcntl_cmd()
51 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_pid); in syscall_arg__scnprintf_fcntl_cmd()
54 if (arg->val == F_GETLEASE) { in syscall_arg__scnprintf_fcntl_cmd()
55 syscall_arg__set_ret_scnprintf(arg, syscall_arg__scnprintf_fcntl_getlease); in syscall_arg__scnprintf_fcntl_cmd()
61 if (arg->val == F_GET_SEALS || in syscall_arg__scnprintf_fcntl_cmd()
62 arg->val == F_GETSIG) { in syscall_arg__scnprintf_fcntl_cmd()
64 arg->mask |= (1 << 2); in syscall_arg__scnprintf_fcntl_cmd()
67 return syscall_arg__scnprintf_strarrays(bf, size, arg); in syscall_arg__scnprintf_fcntl_cmd()
70 size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_arg() argument
72 bool show_prefix = arg->show_string_prefix; in syscall_arg__scnprintf_fcntl_arg()
73 int cmd = syscall_arg__val(arg, 1); in syscall_arg__scnprintf_fcntl_arg()
76 return syscall_arg__scnprintf_fd(bf, size, arg); in syscall_arg__scnprintf_fcntl_arg()
79 return fcntl__scnprintf_getfd(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg()
82 return open__scnprintf_flags(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg()
85 return syscall_arg__scnprintf_pid(bf, size, arg); in syscall_arg__scnprintf_fcntl_arg()
88 return fcntl__scnprintf_getlease(arg->val, bf, size, show_prefix); in syscall_arg__scnprintf_fcntl_arg()
98 return syscall_arg__scnprintf_hex(bf, size, arg); in syscall_arg__scnprintf_fcntl_arg()
100 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_fcntl_arg()