Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 25 of 227) sorted by relevance

12345678910

/linux/tools/perf/trace/beauty/
H A Dbeauty.h30 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);
125 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
128 bool syscall_arg__strtoul_strarray(char *bf, size_
[all...]
H A Dioctl.c21 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_t size) in ioctl__scnprintf_sndrv_ctl_cmd() argument
[all …]
H A Dmmap.c7 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
[all …]
H A Dfcntl.c12 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 Dsockaddr.c13 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 Dperf_event_open.c18 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 Dprctl.c16 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 Dsocket.c14 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, size, arg->show_string_prefix); in syscall_arg__scnprintf_socket_level()
H A Dpkey_alloc.c12 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… 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->entr… 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 sh… in pkey_alloc__scnprintf_access_rights() argument
46 …return strarray__scnprintf_flags(&strarray__pkey_alloc_access_rights, bf, size, show_prefix, acces… 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() argument
53 return pkey_alloc__scnprintf_access_rights(cmd, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_pkey_alloc_access_rights()
H A Dkcmp.c16 size_t syscall_arg__scnprintf_kcmp_idx(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_kcmp_idx() argument
23 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_kcmp_idx()
26 return pid__scnprintf_fd(arg->trace, pid, fd, bf, size); 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() argument
32 return strarray__scnprintf(&strarray__kcmp_types, bf, size, "%d", show_prefix, type); 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() argument
42 return kcmp__scnprintf_type(type, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_kcmp_type()
/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c61 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->rates[i].count = ratetbl->rate[i].count; in ath_merge_ratetbl()
[all …]
H A Drecv.c37 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 = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_rx_edma_buf_link()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_dir2_data.c24 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
104 xfs_dir2_data_free_t *bf; /* bestfree table */ in __xfs_dir3_data_check() local
153 bf = xfs_dir2_data_bestfree_p(mp, hdr); in __xfs_dir3_data_check()
155 if (!bf[0].length) { in __xfs_dir3_data_check()
156 if (bf[0].offset) in __xfs_dir3_data_check()
160 if (!bf[1].length) { in __xfs_dir3_data_check()
161 if (bf[1].offset) in __xfs_dir3_data_check()
165 if (!bf[2].length) { in __xfs_dir3_data_check()
166 if (bf[2].offset) in __xfs_dir3_data_check()
171 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) in __xfs_dir3_data_check()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_bloom_filter.c273 mlxsw_sp2_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp2_acl_bf_index_get() argument
391 mlxsw_sp4_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp4_acl_bf_index_get() argument
403 mlxsw_sp_acl_bf_rule_count_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_rule_count_index_get() argument
407 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get()
412 struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_entry_add() argument
422 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_add()
424 bf_index = mlxsw_sp->acl_bf_ops->index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_add()
425 rule_index = mlxsw_sp_acl_bf_rule_count_index_get(bf, erp_bank, in mlxsw_sp_acl_bf_entry_add()
428 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add()
446 refcount_set(&bf->refcnt[rule_index], 1); in mlxsw_sp_acl_bf_entry_add()
[all …]
/linux/drivers/net/wireless/ath/ath5k/
H A Dbase.c628 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) in ath5k_rxbuf_setup() argument
630 struct sk_buff *skb = bf->skb; in ath5k_rxbuf_setup()
635 skb = ath5k_rx_skb_alloc(ah, &bf->skbaddr); in ath5k_rxbuf_setup()
638 bf->skb = skb; in ath5k_rxbuf_setup()
656 ds = bf->desc; in ath5k_rxbuf_setup()
657 ds->ds_link = bf->daddr; /* link to self */ in ath5k_rxbuf_setup()
658 ds->ds_data = bf->skbaddr; in ath5k_rxbuf_setup()
666 *ah->rxlink = bf->daddr; in ath5k_rxbuf_setup()
697 struct ath5k_buf *bf, int idx) in ath5k_get_rate() argument
703 if (bf->rates[idx].idx < 0) { in ath5k_get_rate()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c172 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) in mlx4_bf_alloc() argument
221 bf->uar = uar; in mlx4_bf_alloc()
222 bf->offset = 0; in mlx4_bf_alloc()
223 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc()
224 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc()
231 bf->uar = NULL; in mlx4_bf_alloc()
246 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) in mlx4_bf_free() argument
251 if (!bf->uar || !bf->uar->bf_map) in mlx4_bf_free()
255 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free()
256 bf->uar->free_bf_bmap &= ~(1 << idx); in mlx4_bf_free()
[all …]
/linux/sound/pci/ctxfi/
H A Dcthw20k1.c90 } bf; member
117 } bf; member
142 } bf; member
181 ctl->dirty.bf.ctl = 1; in src_set_state()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
199 ctl->dirty.bf.ctl = 1; in src_set_rsr()
208 ctl->dirty.bf.ctl = 1; in src_set_sf()
217 ctl->dirty.bf.ctl = 1; in src_set_wr()
226 ctl->dirty.bf.ctl = 1; in src_set_pm()
235 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
H A Dcthw20k2.c90 } bf; member
117 } bf; member
142 } bf; member
181 ctl->dirty.bf.ctl = 1; in src_set_state()
190 ctl->dirty.bf.ctl = 1; in src_set_bm()
199 ctl->dirty.bf.ctl = 1; in src_set_rsr()
208 ctl->dirty.bf.ctl = 1; in src_set_sf()
217 ctl->dirty.bf.ctl = 1; in src_set_wr()
226 ctl->dirty.bf.ctl = 1; in src_set_pm()
235 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
/linux/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h40 } bf; member
104 } bf; member
165 } bf; member
279 offset = cts->sa_contents.bf.key_size in get_dynamic_sa_offset_state_ptr_field()
280 + cts->sa_contents.bf.inner_size in get_dynamic_sa_offset_state_ptr_field()
281 + cts->sa_contents.bf.outer_size in get_dynamic_sa_offset_state_ptr_field()
282 + cts->sa_contents.bf.spi in get_dynamic_sa_offset_state_ptr_field()
283 + cts->sa_contents.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field()
284 + cts->sa_contents.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field()
285 + cts->sa_contents.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field()
[all …]
H A Dcrypto4xx_alg.c36 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0()
37 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0()
38 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0()
39 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0()
40 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0()
41 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
42 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
43 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0()
44 sa->sa_command_0.bf.extend_pad = pad_type >> 2; in set_dynamic_sa_command_0()
45 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0()
[all …]
/linux/tools/perf/util/
H A Dcolor.c13 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_t size, const char *fmt, double value) in value_color_snprintf() argument
[all …]
H A Dtop.c23 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument
47 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
57 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
76 ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ", in perf_top__header_snprintf()
81 ret += SNPRINTF(bf + ret, size - ret, "%s", evsel__name(top->sym_evsel)); in perf_top__header_snprintf()
83 ret += SNPRINTF(bf + ret, size - ret, "], "); in perf_top__header_snprintf()
86 ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s", in perf_top__header_snprintf()
89 ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s", in perf_top__header_snprintf()
92 ret += SNPRINTF(bf + ret, size - ret, " (uid: %s", in perf_top__header_snprintf()
95 ret += SNPRINTF(bf + ret, size - ret, " (all"); in perf_top__header_snprintf()
[all …]
H A Dsort.c74 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf() argument
80 n = vsnprintf(bf, size, fmt, ap); in repsep_snprintf()
82 char *sep = bf; in repsep_snprintf()
116 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() argument
122 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_snprintf()
165 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf() argument
171 return repsep_snprintf(bf, size, ""); in hist_entry__simd_snprintf()
176 return repsep_snprintf(bf, size, "[e] %s", name); in hist_entry__simd_snprintf()
178 return repsep_snprintf(bf, size, "[p] %s", name); in hist_entry__simd_snprintf()
180 return repsep_snprintf(bf, siz in hist_entry__simd_snprintf()
215 hist_entry__comm_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__comm_snprintf() argument
259 _hist_entry__dso_snprintf(struct map * map,char * bf,size_t size,unsigned int width) _hist_entry__dso_snprintf() argument
271 hist_entry__dso_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_snprintf() argument
356 _hist_entry__sym_snprintf(struct map_symbol * ms,u64 ip,char level,char * bf,size_t size,unsigned int width) _hist_entry__sym_snprintf() argument
398 hist_entry__sym_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_snprintf() argument
450 hist_entry__symoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__symoff_snprintf() argument
512 hist_entry__srcline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_snprintf() argument
565 hist_entry__srcline_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_from_snprintf() argument
613 hist_entry__srcline_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_to_snprintf() argument
629 hist_entry__sym_ipc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_ipc_snprintf() argument
664 hist_entry__sym_ipc_null_snprintf(struct hist_entry * he __maybe_unused,char * bf,size_t size,unsigned int width) hist_entry__sym_ipc_null_snprintf() argument
734 hist_entry__srcfile_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcfile_snprintf() argument
764 hist_entry__parent_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__parent_snprintf() argument
786 hist_entry__cpu_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cpu_snprintf() argument
825 hist_entry__cgroup_id_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__cgroup_id_snprintf() argument
848 hist_entry__cgroup_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__cgroup_snprintf() argument
880 hist_entry__socket_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__socket_snprintf() argument
912 hist_entry__time_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__time_snprintf() argument
980 hist_entry__trace_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__trace_snprintf() argument
1014 hist_entry__dso_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_from_snprintf() argument
1046 hist_entry__dso_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_to_snprintf() argument
1102 hist_entry__sym_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_from_snprintf() argument
1115 hist_entry__sym_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_to_snprintf() argument
1185 _hist_entry__addr_snprintf(struct map_symbol * ms,u64 ip,char level,char * bf,size_t size,unsigned int width) _hist_entry__addr_snprintf() argument
1215 hist_entry__addr_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_from_snprintf() argument
1228 hist_entry__addr_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_to_snprintf() argument
1319 hist_entry__mispredict_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__mispredict_snprintf() argument
1343 hist_entry__cycles_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cycles_snprintf() argument
1375 hist_entry__daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__daddr_snprintf() argument
1401 hist_entry__iaddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__iaddr_snprintf() argument
1428 hist_entry__dso_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_daddr_snprintf() argument
1458 hist_entry__locked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__locked_snprintf() argument
1486 hist_entry__tlb_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__tlb_snprintf() argument
1514 hist_entry__lvl_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__lvl_snprintf() argument
1542 hist_entry__snoop_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__snoop_snprintf() argument
1611 hist_entry__dcacheline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dcacheline_snprintf() argument
1652 hist_entry__local_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__local_weight_snprintf() argument
1665 hist_entry__global_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_weight_snprintf() argument
1685 hist_entry__local_ins_lat_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__local_ins_lat_snprintf() argument
1698 hist_entry__global_ins_lat_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_ins_lat_snprintf() argument
1718 hist_entry__global_p_stage_cyc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_p_stage_cyc_snprintf() argument
1726 hist_entry__p_stage_cyc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__p_stage_cyc_snprintf() argument
1821 hist_entry__blocked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__blocked_snprintf() argument
1850 hist_entry__phys_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__phys_daddr_snprintf() argument
1891 hist_entry__data_page_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__data_page_size_snprintf() argument
1916 hist_entry__code_page_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__code_page_size_snprintf() argument
1942 hist_entry__abort_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__abort_snprintf() argument
1974 hist_entry__in_tx_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__in_tx_snprintf() argument
2037 hist_entry__transaction_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__transaction_snprintf() argument
2085 _hist_entry__sym_size_snprintf(struct symbol * sym,char * bf,size_t bf_size,unsigned int width) _hist_entry__sym_size_snprintf() argument
2094 hist_entry__sym_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_size_snprintf() argument
2124 _hist_entry__dso_size_snprintf(struct map * map,char * bf,size_t bf_size,unsigned int width) _hist_entry__dso_size_snprintf() argument
2133 hist_entry__dso_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_size_snprintf() argument
2164 hist_entry__addr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_snprintf() argument
2235 hist_entry__type_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__type_snprintf() argument
2301 hist_entry__typeoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__typeoff_snprintf() argument
[all...]
/linux/arch/openrisc/lib/
H A Dmemset.S24 l.bf 4f
31 l.bf 1f
43 l.bf 3f
51 l.bf 2f
59 l.bf 2f
67 l.bf 2f
79 l.bf 2b
84 l.bf 4f
90 l.bf 3b
/linux/arch/powerpc/lib/
H A Dmemcpy_power7.S42 bf cr7*4+3,1f
48 1: bf cr7*4+2,2f
54 2: bf cr7*4+1,3f
136 6: bf cr7*4+1,7f
157 7: bf cr7*4+2,8f
170 8: bf cr7*4+3,9f
183 bf cr7*4+0,12f
191 12: bf cr7*4+1,13f
197 13: bf cr7*4+2,14f
203 14: bf cr7*4+3,15f
[all …]

12345678910