Lines Matching refs:bf
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_t size, bool show_prefix) in mremap__scnprintf_flags() argument
50 return strarray__scnprintf_flags(&strarray__mremap_flags, bf, size, show_prefix, flags); in mremap__scnprintf_flags()
53 static size_t syscall_arg__scnprintf_mremap_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_mremap_flags() argument
60 return mremap__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mremap_flags()
65 static size_t madvise__scnprintf_behavior(int behavior, char *bf, size_t size) in madvise__scnprintf_behavior() argument
71 return scnprintf(bf, size, "MADV_%s", strarray__madvise_advices.entries[behavior]); in madvise__scnprintf_behavior()
73 return scnprintf(bf, size, "%#", behavior); in madvise__scnprintf_behavior()
76 static size_t syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size, in syscall_arg__scnprintf_madvise_behavior() argument
79 return madvise__scnprintf_behavior(arg->val, bf, size); in syscall_arg__scnprintf_madvise_behavior()