/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | beauty.h | 30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); 31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_suffix, int val); 32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags); 34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret); 35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret); 57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 124 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 127 bool syscall_arg__strtoul_strarray(char *bf, size_ [all...] |
H A D | ioctl.c | 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument 64 return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_sndrv_pcm_cmd() 66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); in ioctl__scnprintf_sndrv_pcm_cmd() 69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_ argument 80 ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_kvm_cmd() argument 91 ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_vhost_virtio_cmd() argument 104 ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_perf_cmd() argument 115 ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_usbdevfs_cmd() argument 126 ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) ioctl__scnprintf_cmd() argument 175 syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_ioctl_cmd() argument [all...] |
H A D | mmap.c | 7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot() argument 9 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); in mmap__scnprintf_prot() 12 static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mmap_prot() argument 17 return scnprintf(bf, size, "%sNONE", arg->show_string_prefix ? strarray__mmap_prot.prefix : ""); in syscall_arg__scnprintf_mmap_prot() 19 return mmap__scnprintf_prot(prot, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_prot() 27 static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_flags() argument 29 return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags); in mmap__scnprintf_flags() 32 static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size, in syscall_arg__scnprintf_mmap_flags() argument 40 return mmap__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_flags() 48 static size_t mremap__scnprintf_flags(unsigned long flags, char *bf, size_ argument 53 syscall_arg__scnprintf_mremap_flags(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_mremap_flags() argument 65 madvise__scnprintf_behavior(int behavior, char *bf, size_t size) madvise__scnprintf_behavior() argument 76 syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_madvise_behavior() argument [all...] |
H A D | fcntl.c | 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_ argument 70 syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_fcntl_arg() argument [all...] |
H A D | sockaddr.c | 13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() argument 17 return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port), in af_inet__scnprintf() 21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() argument 26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf() 29 printed += scnprintf(bf + printed, size - printed, ", flowinfo: %lu", flowinfo); in af_inet6__scnprintf() 31 printed += scnprintf(bf + printed, size - printed, ", scope_id: %lu", sin6->sin6_scope_id); in af_inet6__scnprintf() 36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() argument 39 return scnprintf(bf, size, ", path: %s", sun->sun_path); in af_local__scnprintf() 42 static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = { 48 static size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_ argument 63 syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_sockaddr() argument [all...] |
H A D | prctl.c | 16 static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_option() argument 18 return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_option() 21 static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_set_mm() argument 24 return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_set_mm() 27 size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg2() argument 32 return prctl__scnprintf_set_mm(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_prctl_arg2() 38 return syscall_arg__scnprintf_hex(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2() 40 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2() 43 size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg3() argument 48 return syscall_arg__scnprintf_hex(bf, siz in syscall_arg__scnprintf_prctl_arg3() 53 syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_prctl_option() argument [all...] |
H A D | perf_event_open.c | 18 static size_t syscall_arg__scnprintf_perf_flags(char *bf, size_t size, in syscall_arg__scnprintf_perf_flags() argument 30 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_perf_flags() 41 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in syscall_arg__scnprintf_perf_flags() 50 char *bf; member 57 size_t printed = scnprintf(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args->first ? "" : ", ", name, val); in attr__fprintf() 64 static size_t perf_event_attr___scnprintf(struct perf_event_attr *attr, char *bf, size_t size, bool show_zeros __maybe_unused) in perf_event_attr___scnprintf() argument 67 .printed = scnprintf(bf, size, "{ "), in perf_event_attr___scnprintf() 70 .bf = bf, in perf_event_attr___scnprintf() 74 return args.printed + scnprintf(bf in perf_event_attr___scnprintf() 77 syscall_arg__scnprintf_augmented_perf_event_attr(struct syscall_arg *arg, char *bf, size_t size) syscall_arg__scnprintf_augmented_perf_event_attr() argument 82 syscall_arg__scnprintf_perf_event_attr(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_perf_event_attr() argument [all...] |
H A D | socket.c | 14 static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) in socket__scnprintf_ipproto() argument 18 return strarray__scnprintf(&strarray__socket_ipproto, bf, size, "%d", show_prefix, protocol); in socket__scnprintf_ipproto() 21 size_t syscall_arg__scnprintf_socket_protocol(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_socket_protocol() argument 26 return socket__scnprintf_ipproto(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_socket_protocol() 28 return syscall_arg__scnprintf_int(bf, size, arg); in syscall_arg__scnprintf_socket_protocol() 31 static size_t socket__scnprintf_level(int level, char *bf, size_t size, bool show_prefix) in socket__scnprintf_level() argument 39 return scnprintf(bf, size, "%sSOCKET", show_prefix ? "SOL_" : ""); in socket__scnprintf_level() 41 return strarray__scnprintf(&strarray__socket_level, bf, size, "%d", show_prefix, level); in socket__scnprintf_level() 44 size_t syscall_arg__scnprintf_socket_level(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_socket_level() argument 46 return socket__scnprintf_level(arg->val, bf, siz in syscall_arg__scnprintf_socket_level() [all...] |
H A D | pkey_alloc.c | 12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags) in strarray__scnprintf_flags() argument 19 return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); in strarray__scnprintf_flags() 20 return scnprintf(bf, size, "%d", 0); in strarray__scnprintf_flags() 30 printed += scnprintf(bf + printed, size - printed, "|"); in strarray__scnprintf_flags() 33 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); in strarray__scnprintf_flags() 35 printed += scnprintf(bf + printed, size - printed, "0x%#", bit); in strarray__scnprintf_flags() 41 static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix) in pkey_alloc__scnprintf_access_rights() argument 46 return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, access_rights); in pkey_alloc__scnprintf_access_rights() 49 size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_pkey_alloc_access_rights() argument 53 return pkey_alloc__scnprintf_access_rights(cmd, bf, siz in syscall_arg__scnprintf_pkey_alloc_access_rights() [all...] |
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | beauty.h | 30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); 31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_suffix, int val); 32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags); 34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret); 35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret); 57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 123 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 126 bool syscall_arg__strtoul_strarray(char *bf, size_ [all...] |
H A D | ioctl.c | 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument 64 return scnprintf(bf, size, "SNDRV_PCM_%s", strarray__sndrv_pcm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_sndrv_pcm_cmd() 66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); in ioctl__scnprintf_sndrv_pcm_cmd() 69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_ argument 80 ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_kvm_cmd() argument 91 ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_vhost_virtio_cmd() argument 104 ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_perf_cmd() argument 115 ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) ioctl__scnprintf_usbdevfs_cmd() argument 126 ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) ioctl__scnprintf_cmd() argument 175 syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_ioctl_cmd() argument [all...] |
H A D | mmap.c | 7 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot() argument 9 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); in mmap__scnprintf_prot() 12 static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mmap_prot() argument 17 return scnprintf(bf, size, "%sNONE", arg->show_string_prefix ? strarray__mmap_prot.prefix : ""); in syscall_arg__scnprintf_mmap_prot() 19 return mmap__scnprintf_prot(prot, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_prot() 27 static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_flags() argument 29 return strarray__scnprintf_flags(&strarray__mmap_flags, bf, size, show_prefix, flags); in mmap__scnprintf_flags() 32 static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size, in syscall_arg__scnprintf_mmap_flags() argument 40 return mmap__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_flags() 48 static size_t mremap__scnprintf_flags(unsigned long flags, char *bf, size_ argument 53 syscall_arg__scnprintf_mremap_flags(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_mremap_flags() argument 65 madvise__scnprintf_behavior(int behavior, char *bf, size_t size) madvise__scnprintf_behavior() argument 76 syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_madvise_behavior() argument [all...] |
H A D | fcntl.c | 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_ argument 70 syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_fcntl_arg() argument [all...] |
H A D | sockaddr.c | 13 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf() argument 17 return scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin->sin_port), in af_inet__scnprintf() 21 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf() argument 26 size_t printed = scnprintf(bf, size, ", port: %d, addr: %s", ntohs(sin6->sin6_port), in af_inet6__scnprintf() 29 printed += scnprintf(bf + printed, size - printed, ", flowinfo: %lu", flowinfo); in af_inet6__scnprintf() 31 printed += scnprintf(bf + printed, size - printed, ", scope_id: %lu", sin6->sin6_scope_id); in af_inet6__scnprintf() 36 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf() argument 39 return scnprintf(bf, size, ", path: %s", sun->sun_path); in af_local__scnprintf() 42 static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = { 48 static size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_ argument 63 syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_sockaddr() argument [all...] |
H A D | prctl.c | 16 static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_option() argument 18 return strarray__scnprintf(&strarray__prctl_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_option() 21 static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_set_mm() argument 24 return strarray__scnprintf(&strarray__prctl_set_mm_options, bf, size, "%d", show_prefix, option); in prctl__scnprintf_set_mm() 27 size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg2() argument 32 return prctl__scnprintf_set_mm(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_prctl_arg2() 38 return syscall_arg__scnprintf_hex(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2() 40 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_prctl_arg2() 43 size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg3() argument 48 return syscall_arg__scnprintf_hex(bf, siz in syscall_arg__scnprintf_prctl_arg3() 53 syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg) syscall_arg__scnprintf_prctl_option() argument [all...] |
H A D | pkey_alloc.c | 12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags) in strarray__scnprintf_flags() argument 19 return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); in strarray__scnprintf_flags() 20 return scnprintf(bf, size, "%d", 0); in strarray__scnprintf_flags() 30 printed += scnprintf(bf + printed, size - printed, "|"); in strarray__scnprintf_flags() 33 printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); in strarray__scnprintf_flags() 35 printed += scnprintf(bf + printed, size - printed, "0x%#", bit); in strarray__scnprintf_flags() 41 static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool show_prefix) in pkey_alloc__scnprintf_access_rights() argument 46 return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, access_rights); in pkey_alloc__scnprintf_access_rights() 49 size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_pkey_alloc_access_rights() argument 53 return pkey_alloc__scnprintf_access_rights(cmd, bf, siz in syscall_arg__scnprintf_pkey_alloc_access_rights() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 61 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 67 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 71 struct ath_buf *bf); 163 static bool ath_merge_ratetbl(struct ieee80211_sta *sta, struct ath_buf *bf, in ath_merge_ratetbl() argument 181 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl() 186 bf->rates[i].idx = ratetbl->rate[i].idx; in ath_merge_ratetbl() 187 bf->rates[i].flags = ratetbl->rate[i].flags; in ath_merge_ratetbl() 189 bf->rates[i].count = ratetbl->rate[i].count_rts; in ath_merge_ratetbl() 191 bf->rates[i].count = ratetbl->rate[i].count_cts; in ath_merge_ratetbl() 193 bf in ath_merge_ratetbl() 199 ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ath_buf *bf) ath_set_rates() argument 283 struct ath_buf *bf; ath_tx_flush_tid() local 318 ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf) ath_tx_update_baw() argument 341 ath_tx_addto_baw(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf) ath_tx_addto_baw() argument 368 struct ath_buf *bf; ath_tid_drain() local 395 struct ath_buf *bf = fi->bf; ath_tx_set_retry() local 413 struct ath_buf *bf = NULL; ath_tx_get_buffer() local 430 ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) ath_tx_return_buffer() argument 437 ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) ath_clone_txbuf() argument 456 ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int txok, int *nframes, int *nbad) ath_tx_count_frames() argument 488 ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf, struct list_head *bf_q, struct ieee80211_sta *sta, struct ath_atx_tid *tid, struct ath_tx_status *ts, int txok) ath_tx_complete_aggr() argument 706 bf_is_ampdu_not_probing(struct ath_buf *bf) bf_is_ampdu_not_probing() argument 712 ath_tx_count_airtime(struct ath_softc *sc, struct ieee80211_sta *sta, struct ath_buf *bf, struct ath_tx_status *ts, u8 tid) ath_tx_count_airtime() argument 730 ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf, struct list_head *bf_head) ath_tx_process_buffer() argument 779 ath_lookup_legacy(struct ath_buf *bf) ath_lookup_legacy() argument 801 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_atx_tid *tid) ath_lookup_rate() argument 872 ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf, u16 frmlen, bool first_subfrm) ath_compute_num_delims() argument 948 struct ath_buf *bf; ath_tx_get_tid_subframe() local 1037 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_aggr() local 1179 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, u8 rateidx, bool is_40, bool is_cck, bool is_mcs) ath_get_rate_txpower() argument 1265 ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_info *info, int len, bool rts) ath_buf_set_rate() argument 1408 ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, int len) ath_tx_fill_desc() argument 1505 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_burst() local 1537 struct ath_buf *bf = NULL; ath_tx_sched_aggr() local 1675 ath9k_set_moredata(struct ath_softc *sc, struct ath_buf *bf, bool val) ath9k_set_moredata() argument 1700 struct ath_buf *bf_tail = NULL, *bf = NULL; ath9k_release_buffered_frames() local 1874 struct ath_buf *bf, *lastbf; ath_drain_txq_list() local 2045 struct ath_buf *bf, *bf_last; ath_tx_txqaddbuf() local 2113 struct ath_buf *bf = fi->bf; ath_tx_send_normal() local 2220 struct ath_buf *bf; ath_tx_setup_buffer() local 2344 struct ath_buf *bf; ath_tx_start() local 2408 struct ath_buf *bf; ath_tx_cabq() local 2517 ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, struct list_head *bf_q, struct ieee80211_sta *sta, struct ath_tx_status *ts, int txok) ath_tx_complete_buf() argument 2573 ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int nframes, int nbad, int txok) ath_tx_rc_status() argument 2634 struct ath_buf *bf, *lastbf, *bf_held = NULL; ath_tx_processq() local 2725 struct ath_buf *bf, *lastbf; ath_tx_edma_tasklet() local 2925 struct ath_buf *bf; ath9k_tx99_send() local [all...] |
H A D | recv.c | 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument 45 ds = bf->bf_desc; in ath_rx_buf_link() 47 ds->ds_data = bf->bf_buf_addr; in ath_rx_buf_link() 50 skb = bf->bf_mpdu; in ath_rx_buf_link() 64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link() 66 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument 77 sc->rx.buf_hold = bf; in ath_rx_buf_relink() 116 struct ath_rxbuf *bf; in ath_rx_edma_buf_link() local 122 bf in ath_rx_edma_buf_link() 142 struct ath_rxbuf *bf, *tbf; ath_rx_addbuffer_edma() local 158 struct ath_rxbuf *bf; ath_rx_remove_buffer() local 175 struct ath_rxbuf *bf; ath_rx_edma_cleanup() local 203 struct ath_rxbuf *bf; ath_rx_edma_init() local 275 struct ath_rxbuf *bf; ath_rx_init() local 336 struct ath_rxbuf *bf; ath_rx_cleanup() local 444 struct ath_rxbuf *bf, *tbf; ath_startrecv() local 636 struct ath_rxbuf *bf; ath_edma_get_buffers() local 684 struct ath_rxbuf *bf = NULL; ath_edma_get_next_rx_buf() local 701 struct ath_rxbuf *bf; ath_get_next_rx_buf() local 1062 struct ath_rxbuf *bf; ath_rx_tasklet() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | xmit.c | 55 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, 61 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, 65 struct ath_buf *bf); 158 struct ath_buf *bf) in ath_set_rates() 160 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates() 161 ARRAY_SIZE(bf->rates)); in ath_set_rates() 236 struct ath_buf *bf; in ath_tx_flush_tid() local 248 bf = fi->bf; in ath_tx_flush_tid() 157 ath_set_rates(struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ath_buf *bf) ath_set_rates() argument 271 ath_tx_update_baw(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf) ath_tx_update_baw() argument 294 ath_tx_addto_baw(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf) ath_tx_addto_baw() argument 321 struct ath_buf *bf; ath_tid_drain() local 348 struct ath_buf *bf = fi->bf; ath_tx_set_retry() local 366 struct ath_buf *bf = NULL; ath_tx_get_buffer() local 383 ath_tx_return_buffer(struct ath_softc *sc, struct ath_buf *bf) ath_tx_return_buffer() argument 390 ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf) ath_clone_txbuf() argument 409 ath_tx_count_frames(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int txok, int *nframes, int *nbad) ath_tx_count_frames() argument 439 ath_tx_complete_aggr(struct ath_softc *sc, struct ath_txq *txq, struct ath_buf *bf, struct list_head *bf_q, struct ieee80211_sta *sta, struct ath_atx_tid *tid, struct ath_tx_status *ts, int txok) ath_tx_complete_aggr() argument 657 bf_is_ampdu_not_probing(struct ath_buf *bf) bf_is_ampdu_not_probing() argument 663 ath_tx_count_airtime(struct ath_softc *sc, struct ieee80211_sta *sta, struct ath_buf *bf, struct ath_tx_status *ts, u8 tid) ath_tx_count_airtime() argument 681 ath_tx_process_buffer(struct ath_softc *sc, struct ath_txq *txq, struct ath_tx_status *ts, struct ath_buf *bf, struct list_head *bf_head) ath_tx_process_buffer() argument 730 ath_lookup_legacy(struct ath_buf *bf) ath_lookup_legacy() argument 752 ath_lookup_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_atx_tid *tid) ath_lookup_rate() argument 823 ath_compute_num_delims(struct ath_softc *sc, struct ath_atx_tid *tid, struct ath_buf *bf, u16 frmlen, bool first_subfrm) ath_compute_num_delims() argument 899 struct ath_buf *bf; ath_tx_get_tid_subframe() local 988 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_aggr() local 1130 ath_get_rate_txpower(struct ath_softc *sc, struct ath_buf *bf, u8 rateidx, bool is_40, bool is_cck) ath_get_rate_txpower() argument 1204 ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_info *info, int len, bool rts) ath_buf_set_rate() argument 1347 ath_tx_fill_desc(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, int len) ath_tx_fill_desc() argument 1444 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_burst() local 1476 struct ath_buf *bf = NULL; ath_tx_sched_aggr() local 1614 ath9k_set_moredata(struct ath_softc *sc, struct ath_buf *bf, bool val) ath9k_set_moredata() argument 1639 struct ath_buf *bf_tail = NULL, *bf = NULL; ath9k_release_buffered_frames() local 1815 struct ath_buf *bf, *lastbf; ath_drain_txq_list() local 1986 struct ath_buf *bf, *bf_last; ath_tx_txqaddbuf() local 2054 struct ath_buf *bf = fi->bf; ath_tx_send_normal() local 2161 struct ath_buf *bf; ath_tx_setup_buffer() local 2285 struct ath_buf *bf; ath_tx_start() local 2349 struct ath_buf *bf; ath_tx_cabq() local 2458 ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf, struct ath_txq *txq, struct list_head *bf_q, struct ieee80211_sta *sta, struct ath_tx_status *ts, int txok) ath_tx_complete_buf() argument 2514 ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf, struct ath_tx_status *ts, int nframes, int nbad, int txok) ath_tx_rc_status() argument 2575 struct ath_buf *bf, *lastbf, *bf_held = NULL; ath_tx_processq() local 2666 struct ath_buf *bf, *lastbf; ath_tx_edma_tasklet() local 2866 struct ath_buf *bf; ath9k_tx99_send() local [all...] |
H A D | recv.c | 37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument 45 ds = bf->bf_desc; in ath_rx_buf_link() 47 ds->ds_data = bf->bf_buf_addr; in ath_rx_buf_link() 50 skb = bf->bf_mpdu; in ath_rx_buf_link() 64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link() 66 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_rx_buf_link() 71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument 77 sc->rx.buf_hold = bf; in ath_rx_buf_relink() 116 struct ath_rxbuf *bf; in ath_rx_edma_buf_link() local 122 bf in ath_rx_edma_buf_link() 142 struct ath_rxbuf *bf, *tbf; ath_rx_addbuffer_edma() local 158 struct ath_rxbuf *bf; ath_rx_remove_buffer() local 175 struct ath_rxbuf *bf; ath_rx_edma_cleanup() local 203 struct ath_rxbuf *bf; ath_rx_edma_init() local 275 struct ath_rxbuf *bf; ath_rx_init() local 336 struct ath_rxbuf *bf; ath_rx_cleanup() local 444 struct ath_rxbuf *bf, *tbf; ath_startrecv() local 636 struct ath_rxbuf *bf; ath_edma_get_buffers() local 684 struct ath_rxbuf *bf = NULL; ath_edma_get_next_rx_buf() local 701 struct ath_rxbuf *bf; ath_get_next_rx_buf() local 1062 struct ath_rxbuf *bf; ath_rx_tasklet() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 23 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, 103 xfs_dir2_data_free_t *bf; /* bestfree table */ in __xfs_dir3_data_check() local 152 bf = xfs_dir2_data_bestfree_p(mp, hdr); in __xfs_dir3_data_check() 154 if (!bf[0].length) { in __xfs_dir3_data_check() 155 if (bf[0].offset) in __xfs_dir3_data_check() 159 if (!bf[1].length) { in __xfs_dir3_data_check() 160 if (bf[1].offset) in __xfs_dir3_data_check() 164 if (!bf[2].length) { in __xfs_dir3_data_check() 165 if (bf[2].offset) in __xfs_dir3_data_check() 170 if (be16_to_cpu(bf[ in __xfs_dir3_data_check() 458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument 517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument 597 xfs_dir2_data_freeremove( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_free *dfp, int *loghead) xfs_dir2_data_freeremove() argument 644 struct xfs_dir2_data_free *bf = xfs_dir2_data_bestfree_p(mp, hdr); xfs_dir2_data_freescan() local 702 struct xfs_dir2_data_free *bf; xfs_dir3_data_init() local 850 struct xfs_dir2_data_free *bf; xfs_dir2_data_make_free() local 1066 struct xfs_dir2_data_free *bf; xfs_dir2_data_use_free() local [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 23 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, 103 xfs_dir2_data_free_t *bf; /* bestfree table */ in __xfs_dir3_data_check() local 152 bf = xfs_dir2_data_bestfree_p(mp, hdr); in __xfs_dir3_data_check() 154 if (!bf[0].length) { in __xfs_dir3_data_check() 155 if (bf[0].offset) in __xfs_dir3_data_check() 159 if (!bf[1].length) { in __xfs_dir3_data_check() 160 if (bf[1].offset) in __xfs_dir3_data_check() 164 if (!bf[2].length) { in __xfs_dir3_data_check() 165 if (bf[2].offset) in __xfs_dir3_data_check() 170 if (be16_to_cpu(bf[ in __xfs_dir3_data_check() 458 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) xfs_dir2_data_freefind_verify() argument 517 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) xfs_dir2_data_freefind() argument 597 xfs_dir2_data_freeremove( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_free *dfp, int *loghead) xfs_dir2_data_freeremove() argument 644 struct xfs_dir2_data_free *bf = xfs_dir2_data_bestfree_p(mp, hdr); xfs_dir2_data_freescan() local 702 struct xfs_dir2_data_free *bf; xfs_dir3_data_init() local 850 struct xfs_dir2_data_free *bf; xfs_dir2_data_make_free() local 1066 struct xfs_dir2_data_free *bf; xfs_dir2_data_use_free() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_bloom_filter.c | 146 mlxsw_sp_acl_bf_rule_count_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_rule_count_index_get() argument 150 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get() 154 mlxsw_sp_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_index_get() argument 167 struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_entry_add() 177 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_add() 179 bf_index = mlxsw_sp_acl_bf_index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_add() 180 rule_index = mlxsw_sp_acl_bf_rule_count_index_get(bf, erp_bank, in mlxsw_sp_acl_bf_entry_add() 183 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add() 201 refcount_set(&bf->refcnt[rule_index], 1); in mlxsw_sp_acl_bf_entry_add() 205 mutex_unlock(&bf in mlxsw_sp_acl_bf_entry_add() 166 mlxsw_sp_acl_bf_entry_add(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_bf *bf, struct mlxsw_sp_acl_atcam_region *aregion, unsigned int erp_bank, struct mlxsw_sp_acl_atcam_entry *aentry) mlxsw_sp_acl_bf_entry_add() argument 210 mlxsw_sp_acl_bf_entry_del(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_bf *bf, struct mlxsw_sp_acl_atcam_region *aregion, unsigned int erp_bank, struct mlxsw_sp_acl_atcam_entry *aentry) mlxsw_sp_acl_bf_entry_del() argument 244 struct mlxsw_sp_acl_bf *bf; mlxsw_sp_acl_bf_init() local 265 mlxsw_sp_acl_bf_fini(struct mlxsw_sp_acl_bf *bf) mlxsw_sp_acl_bf_fini() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | color.c | 13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument 29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf() 30 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf() 32 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); in __color_vsnprintf() 34 r += scnprintf(bf + r, size - r, "%s", trail); in __color_vsnprintf() 62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument 65 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf() 73 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf() argument 80 r = color_vsnprintf(bf, size, color, fmt, args); in color_snprintf() 153 int value_color_snprintf(char *bf, size_ argument 159 percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) percent_color_snprintf() argument 170 percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) percent_color_len_snprintf() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | color.c | 13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument 29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf() 30 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf() 32 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); in __color_vsnprintf() 34 r += scnprintf(bf + r, size - r, "%s", trail); in __color_vsnprintf() 62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument 65 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf() 73 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf() argument 80 r = color_vsnprintf(bf, size, color, fmt, args); in color_snprintf() 153 int value_color_snprintf(char *bf, size_ argument 159 percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) percent_color_snprintf() argument 170 percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) percent_color_len_snprintf() argument [all...] |