/linux/tools/perf/trace/beauty/ |
A D | beauty.h | 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); 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 152 size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg); 155 size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg); 158 size_t syscall_arg__scnprintf_ptr(char *bf, size_t size, struct syscall_arg *arg); 161 size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg); 164 size_t syscall_arg__scnprintf_long(char *bf, size_t size, struct syscall_arg *arg); 167 size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg); 179 size_t syscall_arg__scnprintf_flock(char *bf, size_t size, struct syscall_arg *arg); [all …]
|
A D | ioctl.c | 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 66 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'A', nr, dir); in ioctl__scnprintf_sndrv_pcm_cmd() 77 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'U', nr, dir); in ioctl__scnprintf_sndrv_ctl_cmd() 88 return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAE, nr, dir); in ioctl__scnprintf_kvm_cmd() 99 return scnprintf(bf, size, "VHOST_%s", s->entries[nr]); in ioctl__scnprintf_vhost_virtio_cmd() 101 return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAF, nr, dir); in ioctl__scnprintf_vhost_virtio_cmd() 112 return scnprintf(bf, size, "(%#x, %#x, %#x)", 0xAE, nr, dir); in ioctl__scnprintf_perf_cmd() 123 return scnprintf(bf, size, "(%c, %#x, %#x)", 'U', nr, dir); in ioctl__scnprintf_usbdevfs_cmd() 136 size_t (*scnprintf)(int nr, int dir, char *bf, size_t size); in ioctl__scnprintf_cmd() [all …]
|
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 19 return mmap__scnprintf_prot(prot, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_mmap_prot() 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() 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 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 [all …]
|
A D | fcntl.c | 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() 20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd() 67 return syscall_arg__scnprintf_strarrays(bf, size, arg); in syscall_arg__scnprintf_fcntl_cmd() 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() [all …]
|
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 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) = { 55 printed = scnprintf(bf, size, "{ .family: %s", family); in syscall_arg__scnprintf_augmented_sockaddr() 58 printed += af_scnprintfs[sa->sa_family](sa, bf + printed, size - printed); in syscall_arg__scnprintf_augmented_sockaddr() 60 return printed + scnprintf(bf + printed, size - printed, " }"); in syscall_arg__scnprintf_augmented_sockaddr() 66 return syscall_arg__scnprintf_augmented_sockaddr(arg, bf, size); in syscall_arg__scnprintf_sockaddr() [all …]
|
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 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, size, arg); in syscall_arg__scnprintf_prctl_arg3() 50 return syscall_arg__scnprintf_long(bf, size, arg); in syscall_arg__scnprintf_prctl_arg3() [all …]
|
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, size, arg->show_string_prefix); in syscall_arg__scnprintf_socket_level()
|
A D | pkey_alloc.c | 12 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()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | xmit.c | 248 bf = fi->bf; in ath_tx_flush_tid() 332 bf = fi->bf; in ath_tid_drain() 348 struct ath_buf *bf = fi->bf; in ath_tx_set_retry() local 434 bf = bf->bf_next; in ath_tx_count_frames() 582 if (bf == bf->bf_lastbf) in ath_tx_complete_aggr() 910 bf = fi->bf; in ath_tx_get_tid_subframe() 923 bf->bf_lastbf = bf; in ath_tx_get_tid_subframe() 1435 bf = bf->bf_next; in ath_tx_fill_desc() 2065 bf->bf_lastbf = bf; in ath_tx_send_normal() 2200 fi->bf = bf; in ath_tx_setup_buffer() [all …]
|
A D | recv.c | 45 ds = bf->bf_desc; in ath_rx_buf_link() 166 BUG_ON(!bf); in ath_rx_remove_buffer() 217 if (!bf) in ath_rx_edma_init() 644 BUG_ON(!bf); in ath_edma_get_buffers() 673 bf = NULL; in ath_edma_get_buffers() 676 *dest = bf; in ath_edma_get_buffers() 687 if (!bf) in ath_edma_get_next_rx_buf() 690 return bf; in ath_edma_get_next_rx_buf() 773 return bf; in ath_get_next_rx_buf() 784 return bf; in ath_get_next_rx_buf() [all …]
|
A D | beacon.c | 117 struct ath_buf *bf; in ath9k_beacon_generate() local 128 bf = avp->av_bcbuf; in ath9k_beacon_generate() 129 skb = bf->bf_mpdu; in ath9k_beacon_generate() 134 bf->bf_buf_addr = 0; in ath9k_beacon_generate() 135 bf->bf_mpdu = NULL; in ath9k_beacon_generate() 142 bf->bf_mpdu = skb; in ath9k_beacon_generate() 159 bf->bf_mpdu = NULL; in ath9k_beacon_generate() 192 return bf; in ath9k_beacon_generate() 228 if (bf && bf->bf_mpdu) { in ath9k_beacon_remove_slot() 233 bf->bf_mpdu = NULL; in ath9k_beacon_remove_slot() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_acl_bloom_filter.c | 177 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_add() 205 mutex_unlock(&bf->lock); in mlxsw_sp_acl_bf_entry_add() 220 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_del() 238 mutex_unlock(&bf->lock); in mlxsw_sp_acl_bf_entry_del() 244 struct mlxsw_sp_acl_bf *bf; in mlxsw_sp_acl_bf_init() local 254 bf = kzalloc(struct_size(bf, refcnt, bf_bank_size * num_erp_banks), in mlxsw_sp_acl_bf_init() 256 if (!bf) in mlxsw_sp_acl_bf_init() 260 mutex_init(&bf->lock); in mlxsw_sp_acl_bf_init() 262 return bf; in mlxsw_sp_acl_bf_init() 267 mutex_destroy(&bf->lock); in mlxsw_sp_acl_bf_fini() [all …]
|
/linux/fs/xfs/libxfs/ |
A D | xfs_dir2_data.c | 155 if (bf[0].offset) in __xfs_dir3_data_check() 160 if (bf[1].offset) in __xfs_dir3_data_check() 165 if (bf[2].offset) in __xfs_dir3_data_check() 170 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) in __xfs_dir3_data_check() 172 if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length)) in __xfs_dir3_data_check() 477 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xfs_dir2_data_freefind_verify() 537 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xfs_dir2_data_freefind() 613 bf[0] = bf[1]; in xfs_dir2_data_freeremove() 614 bf[1] = bf[2]; in xfs_dir2_data_freeremove() 620 bf[1] = bf[2]; in xfs_dir2_data_freeremove() [all …]
|
/linux/sound/pci/ctxfi/ |
A D | cthw20k1.c | 90 } bf; member 117 } bf; member 142 } bf; member 298 ctl->dirty.bf.ca = 1; in src_set_ca() 307 ctl->dirty.bf.sa = 1; in src_set_sa() 589 } bf; member 667 if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) { in amixer_commit_write() 750 } bf; member 765 } bf; member 811 } bf; member [all …]
|
A D | cthw20k2.c | 90 } bf; member 117 } bf; member 142 } bf; member 181 ctl->dirty.bf.ctl = 1; in src_set_state() 298 ctl->dirty.bf.ca = 1; in src_set_ca() 307 ctl->dirty.bf.sa = 1; in src_set_sa() 588 } bf; member 669 if (ctl->dirty.bf.amoplo || ctl->dirty.bf.amophi) { in amixer_commit_write() 741 } bf; member 781 } bf; member [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | pd.c | 221 bf->uar = uar; in mlx4_bf_alloc() 222 bf->offset = 0; in mlx4_bf_alloc() 231 bf->uar = NULL; in mlx4_bf_alloc() 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() 257 if (!bf->uar->free_bf_bmap) { in mlx4_bf_free() 259 list_del(&bf->uar->bf_list); in mlx4_bf_free() 261 io_mapping_unmap(bf->uar->bf_map); in mlx4_bf_free() 262 iounmap(bf->uar->map); in mlx4_bf_free() 263 mlx4_uar_free(dev, bf->uar); in mlx4_bf_free() [all …]
|
/linux/drivers/net/wireless/ath/ath5k/ |
A D | base.c | 638 bf->skb = skb; in ath5k_rxbuf_setup() 656 ds = bf->desc; in ath5k_rxbuf_setup() 919 BUG_ON(!bf); in ath5k_txbuf_free_skb() 920 if (!bf->skb) in ath5k_txbuf_free_skb() 922 dma_unmap_single(ah->dev, bf->skbaddr, bf->skb->len, in ath5k_txbuf_free_skb() 935 BUG_ON(!bf); in ath5k_rxbuf_free_skb() 936 if (!bf->skb) in ath5k_rxbuf_free_skb() 1648 bf->skb = skb; in ath5k_tx_queue() 1831 ds = bf->desc; in ath5k_beacon_setup() 2004 ATH5K_WARN(ah, "bf=%p bf_skb=%p\n", bf, bf->skb); in ath5k_beacon_send() [all …]
|
/linux/drivers/crypto/amcc/ |
A D | crypto4xx_sa.h | 40 } bf; member 104 } bf; member 165 } bf; member 280 + cts->sa_contents.bf.inner_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() 289 + cts->sa_contents.bf.iv0 in get_dynamic_sa_offset_state_ptr_field() 290 + cts->sa_contents.bf.iv1 in get_dynamic_sa_offset_state_ptr_field() 291 + cts->sa_contents.bf.iv2 in get_dynamic_sa_offset_state_ptr_field() [all …]
|
A D | crypto4xx_alg.c | 37 sa->sa_command_0.bf.save_iv = save_iv; 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() 45 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0() 46 sa->sa_command_0.bf.opcode = op; in set_dynamic_sa_command_0() 47 sa->sa_command_0.bf.dir = dir; in set_dynamic_sa_command_0() 59 sa->sa_command_1.bf.sa_rev = 1; in set_dynamic_sa_command_1() 64 sa->sa_command_1.bf.copy_pad = cp_pad; in set_dynamic_sa_command_1() [all …]
|
/linux/tools/perf/util/ |
A D | color.c | 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() 156 return color_snprintf(bf, size, color, fmt, value); in value_color_snprintf() 167 return value_color_snprintf(bf, size, fmt, percent); in percent_color_snprintf() [all …]
|
A D | top.c | 46 ret = SNPRINTF(bf, size, in perf_top__header_snprintf() 56 ret = SNPRINTF(bf, size, in perf_top__header_snprintf() 75 ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ", in perf_top__header_snprintf() 82 ret += SNPRINTF(bf + ret, size - ret, "], "); in perf_top__header_snprintf() 85 ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s", in perf_top__header_snprintf() 88 ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s", in perf_top__header_snprintf() 91 ret += SNPRINTF(bf + ret, size - ret, " (uid: %s", in perf_top__header_snprintf() 94 ret += SNPRINTF(bf + ret, size - ret, " (all"); in perf_top__header_snprintf() 97 ret += SNPRINTF(bf + ret, size - ret, ", CPU%s: %s)", in perf_top__header_snprintf() 102 ret += SNPRINTF(bf + ret, size - ret, ")"); in perf_top__header_snprintf() [all …]
|
A D | sort.c | 67 n = vsnprintf(bf, size, fmt, ap); in repsep_snprintf() 69 char *sep = bf; in repsep_snprintf() 342 he->level, bf, size, width); in hist_entry__sym_snprintf() 492 char *bf, size_t size, in hist_entry__sym_ipc_null_snprintf() argument 635 char *bf, size_t size, in hist_entry__cgroup_id_snprintf() argument 658 char *bf, size_t size, in hist_entry__cgroup_snprintf() argument 827 bf, size, width); in hist_entry__dso_from_snprintf() 859 bf, size, width); in hist_entry__dso_to_snprintf() 918 he->level, bf, size, width); in hist_entry__sym_from_snprintf() 931 he->level, bf, size, width); in hist_entry__sym_to_snprintf() [all …]
|
/linux/tools/testing/selftests/powerpc/copyloops/ |
A D | memcpy_power7.S | 42 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 183 bf cr7*4+0,12f 272 bf cr7*4+3,1f 308 bf cr7*4+3,5f 383 bf cr7*4+1,9f 444 bf cr7*4+3,1f [all …]
|
/linux/arch/powerpc/lib/ |
A D | memcpy_power7.S | 42 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 183 bf cr7*4+0,12f 272 bf cr7*4+3,1f 308 bf cr7*4+3,5f 383 bf cr7*4+1,9f 444 bf cr7*4+3,1f [all …]
|
/linux/arch/openrisc/lib/ |
A D | memset.S | 24 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
|