Lines Matching refs:bf
12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd() argument
14 return val ? scnprintf(bf, size, "%s", "0") : in fcntl__scnprintf_getfd()
15 scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); in fcntl__scnprintf_getfd()
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()
23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease() argument
28 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); in fcntl__scnprintf_getlease()
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
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
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()