Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 270) sorted by relevance

1234567891011

/tools/perf/util/
Dtrace-event-read.c26 static int __do_read(int fd, void *buf, int size) in __do_read()
52 static int do_read(void *data, int size) in do_read()
69 static void skip(int size) in skip()
103 int size = 0; in read_string() local
145 unsigned int size; in read_proc_kallsyms() local
168 unsigned int size; in read_ftrace_printk() local
195 unsigned long long size; in read_header_files() local
244 static int read_ftrace_file(struct tep_handle *pevent, unsigned long long size) in read_ftrace_file()
270 unsigned long long size) in read_event_file()
295 unsigned long long size; in read_ftrace_files() local
[all …]
Dtrace-event-parse.c16 int *offset, int *size, const char *type) in get_common_field()
41 static int size; in common_lock_depth() local
55 static int size; in common_flags() local
69 static int size; in common_pc() local
95 unsigned long long read_size(struct tep_event *event, void *ptr, int size) in read_size()
101 int cpu, void *data, int size, FILE *fp) in event_format__fprintf()
118 int cpu, void *data, int size) in event_format__print()
165 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size) in parse_ftrace_file()
171 char *buf, unsigned long size, char *sys) in parse_event_file()
Dbpf-loader.h147 __bpf_strerror(char *buf, size_t size) in __bpf_strerror()
162 char *buf, size_t size) in bpf__strerror_prepare_load()
170 char *buf, size_t size) in bpf__strerror_probe()
177 char *buf, size_t size) in bpf__strerror_load()
188 char *buf, size_t size) in bpf__strerror_config_obj()
195 char *buf, size_t size) in bpf__strerror_apply_obj_config()
202 int err __maybe_unused, char *buf, size_t size) in bpf__strerror_setup_output_event()
209 static inline int bpf__strerror_setup_stdout(struct evlist *evlist, int err, char *buf, size_t size) in bpf__strerror_setup_stdout()
Dcolor.c13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf()
62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf()
73 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf()
153 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf()
159 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf()
170 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
/tools/perf/trace/beauty/
Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) 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()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_kvm_cmd()
91 static size_t ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_vhost_virtio_cmd()
104 static size_t ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_perf_cmd()
115 static size_t ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_usbdevfs_cmd()
126 static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) in ioctl__scnprintf_cmd()
175 size_t syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_ioctl_cmd()
Dfcntl.c12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) 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()
23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) 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()
36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *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()
Dmmap.c5 static size_t syscall_arg__scnprintf_mmap_prot(char *bf, size_t size, in syscall_arg__scnprintf_mmap_prot()
36 static size_t mmap__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_flags()
44 static size_t syscall_arg__scnprintf_mmap_flags(char *bf, size_t size, in syscall_arg__scnprintf_mmap_flags()
57 static size_t syscall_arg__scnprintf_mremap_flags(char *bf, size_t size, in syscall_arg__scnprintf_mremap_flags()
82 static size_t madvise__scnprintf_behavior(int behavior, char *bf, size_t size) in madvise__scnprintf_behavior()
93 static size_t syscall_arg__scnprintf_madvise_behavior(char *bf, size_t size, in syscall_arg__scnprintf_madvise_behavior()
Dsockaddr.c20 static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet__scnprintf()
28 static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_inet6__scnprintf()
43 static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) in af_local__scnprintf()
55 …ic size_t syscall_arg__scnprintf_augmented_sockaddr(struct syscall_arg *arg, char *bf, size_t size) in syscall_arg__scnprintf_augmented_sockaddr()
70 size_t syscall_arg__scnprintf_sockaddr(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_sockaddr()
Dprctl.c14 static size_t prctl__scnprintf_option(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_option()
20 static size_t prctl__scnprintf_set_mm(int option, char *bf, size_t size, bool show_prefix) in prctl__scnprintf_set_mm()
26 size_t syscall_arg__scnprintf_prctl_arg2(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg2()
42 size_t syscall_arg__scnprintf_prctl_arg3(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_arg3()
52 size_t syscall_arg__scnprintf_prctl_option(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_prctl_option()
Dkcmp.c16 size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_idx()
29 static size_t kcmp__scnprintf_type(int type, char *bf, size_t size, bool show_prefix) in kcmp__scnprintf_type()
35 size_t syscall_arg__scnprintf_kcmp_type(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_type()
Dpkey_alloc.c12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… in strarray__scnprintf_flags()
41 static size_t pkey_alloc__scnprintf_access_rights(int access_rights, char *bf, size_t size, bool sh… in pkey_alloc__scnprintf_access_rights()
49 size_t syscall_arg__scnprintf_pkey_alloc_access_rights(char *bf, size_t size, struct syscall_arg *a… in syscall_arg__scnprintf_pkey_alloc_access_rights()
Dfspick.c11 static size_t fspick__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in fspick__scnprintf_flags()
19 size_t syscall_arg__scnprintf_fspick_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fspick_flags()
Dsocket.c12 static size_t socket__scnprintf_ipproto(int protocol, char *bf, size_t size, bool show_prefix) in socket__scnprintf_ipproto()
20 size_t syscall_arg__scnprintf_socket_protocol(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_socket_protocol()
Dmove_mount.c11 static size_t move_mount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_pre… in move_mount__scnprintf_flags()
19 size_t syscall_arg__scnprintf_move_mount_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_move_mount_flags()
Drenameat.c6 static size_t renameat2__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_pref… in renameat2__scnprintf_flags()
14 size_t syscall_arg__scnprintf_renameat2_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_renameat2_flags()
Dfsmount.c12 static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_p… in fsmount__scnprintf_attr_flags()
29 size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fsmount_attr_flags()
/tools/lib/
Dfind_bit.c68 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit()
79 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
96 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
110 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
119 const unsigned long *addr2, unsigned long size, in find_next_and_bit()
Dvsprintf.c6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf()
14 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf()
27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad()
/tools/testing/radix-tree/
Dbenchmark.c53 unsigned long size, unsigned long step) in benchmark_insert()
74 unsigned long size, unsigned long step) in benchmark_tagging()
95 unsigned long size, unsigned long step) in benchmark_delete()
115 static void benchmark_size(unsigned long size, unsigned long step) in benchmark_size()
139 unsigned long size[] = {1 << 10, 1 << 20, 0}; in benchmark() local
/tools/perf/pmu-events/
Djson.c44 static char *mapfile(const char *fn, size_t *size) in mapfile()
73 static void unmapfile(char *map, size_t size) in unmapfile()
83 jsmntok_t *parse_json(const char *fn, char **map, size_t *size, int *len) in parse_json()
115 void free_json(char *map, size_t size, jsmntok_t *tokens) in free_json()
/tools/testing/selftests/timers/
Dclocksource-switch.c43 size_t size; in get_clocksources() local
75 int get_cur_clocksource(char *buf, size_t size) in get_cur_clocksource()
89 ssize_t size; in change_clocksource() local
/tools/include/linux/
Dbitops.h35 #define for_each_set_bit(bit, addr, size) \ argument
40 #define for_each_clear_bit(bit, addr, size) \ argument
46 #define for_each_set_bit_from(bit, addr, size) \ argument
/tools/testing/selftests/networking/timestamping/
Dhwtstamp_config.c20 lookup_value(const char **names, int size, const char *name) in lookup_value()
32 lookup_name(const char **names, int size, int value) in lookup_name()
37 static void list_names(FILE *f, const char **names, int size) in list_names()
/tools/perf/bench/
Dmem-functions.c118 static void __bench_mem_function(struct bench_mem_info *info, int r_idx, size_t size, double size_t… in __bench_mem_function()
179 size_t size; in bench_mem_common() local
226 static void memcpy_prefault(memcpy_t fn, size_t size, void *src, void *dst) in memcpy_prefault()
238 static u64 do_memcpy_cycles(const struct function *r, size_t size, void *src, void *dst) in do_memcpy_cycles()
254 static double do_memcpy_gettimeofday(const struct function *r, size_t size, void *src, void *dst) in do_memcpy_gettimeofday()
304 static u64 do_memset_cycles(const struct function *r, size_t size, void *src __maybe_unused, void *… in do_memset_cycles()
324 static double do_memset_gettimeofday(const struct function *r, size_t size, void *src __maybe_unuse… in do_memset_gettimeofday()
/tools/perf/tests/
Ddso-data.c18 static char *test_file(int size) in test_file()
57 int size; member
135 ssize_t size; in test__dso_data() local
148 ssize_t size; in test__dso_data() local
204 static int dsos__create(int cnt, int size) in dsos__create()

1234567891011