| /linux/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); 59 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); 61 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 63 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 127 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 130 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_t size) in ioctl__scnprintf_sndrv_ctl_cmd() argument [all …]
|
| H A D | mmap.c | 8 static size_t mmap__scnprintf_prot(unsigned long prot, char *bf, size_t size, bool show_prefix) in mmap__scnprintf_prot() 10 return strarray__scnprintf_flags(&strarray__mmap_prot, bf, size, show_prefix, prot); in mmap__scnprintf_prot() 12 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 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 7 mmap__scnprintf_prot(unsigned long prot,char * bf,size_t size,bool show_prefix) mmap__scnprintf_prot() 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 | 28 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease() 30 return val ? scnprintf(bf, size, "%s", "0") : 31 scnprintf(bf, size, "%s%s", show_prefix ? "FD_" : "", "CLOEXEC"); in syscall_arg__scnprintf_fcntl_getlease() argument 34 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease() 36 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_cmd() argument 39 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in syscall_arg__scnprintf_fcntl_cmd() 44 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); in syscall_arg__scnprintf_fcntl_cmd() 47 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd() 49 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_cmd() 52 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_ in syscall_arg__scnprintf_fcntl_cmd() 12 fcntl__scnprintf_getfd(unsigned long val,char * bf,size_t size,bool show_prefix) fcntl__scnprintf_getfd() argument 18 syscall_arg__scnprintf_fcntl_getfd(char * bf,size_t size,struct syscall_arg * arg) syscall_arg__scnprintf_fcntl_getfd() argument 23 fcntl__scnprintf_getlease(unsigned long val,char * bf,size_t size,bool show_prefix) fcntl__scnprintf_getlease() 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_t s… in syscall_arg__scnprintf_augmented_sockaddr() argument [all …]
|
| H A D | perf_event_open.c | 23 size_t syscall_arg__scnprintf_perf_flags(char *bf, size_t size, in syscall_arg__scnprintf_perf_flags() 35 printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? prefix : "", #n); \ in syscall_arg__scnprintf_perf_flags() 46 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); 55 char *bf; in attr__fprintf() 62 size_t printed = scnprintf(args->bf + args->printed , args->size - args->printed, "%s%s: %s", args->first ? "" : ", ", name, val); in attr__fprintf() 69 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() 72 .printed = scnprintf(bf, size, "{ "), in perf_event_attr___scnprintf() 75 .bf = bf, in perf_event_attr___scnprintf() 79 return args.printed + scnprintf(bf in syscall_arg__scnprintf_augmented_perf_event_attr() 18 syscall_arg__scnprintf_perf_flags(char * bf,size_t size,struct syscall_arg * arg) syscall_arg__scnprintf_perf_flags() argument 50 char *bf; global() member 64 perf_event_attr___scnprintf(struct perf_event_attr * attr,char * bf,size_t size,bool show_zeros __maybe_unused) perf_event_attr___scnprintf() argument 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 | 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 | 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()
|
| H 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()
|
| H A D | fsmount.c | 20 static size_t fsmount__scnprintf_flags(unsigned long flags, char *bf, size_t size, bool show_prefix) in fsmount__scnprintf_flags() argument 25 return strarray__scnprintf_flags(&strarray__fsmount_flags, bf, size, show_prefix, flags); in fsmount__scnprintf_flags() 28 size_t syscall_arg__scnprintf_fsmount_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fsmount_flags() argument 32 return fsmount__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fsmount_flags() 35 static size_t fsmount__scnprintf_attr_flags(unsigned long flags, char *bf, size_t size, bool show_p… in fsmount__scnprintf_attr_flags() argument 42 … printed += strarray__scnprintf_flags(&strarray__fsmount_attr_flags, bf, size, show_prefix, flags); in fsmount__scnprintf_attr_flags() 45 printed += scnprintf(bf + printed, size - printed, "%s%s%s", in fsmount__scnprintf_attr_flags() 52 size_t syscall_arg__scnprintf_fsmount_attr_flags(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fsmount_attr_flags() argument 56 return fsmount__scnprintf_attr_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fsmount_attr_flags()
|
| H A D | kcmp.c | 16 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 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, 70 static void ath_tx_update_baw(struct ath_atx_tid *tid, struct ath_buf *bf); 162 static bool ath_merge_ratetbl(struct ieee80211_sta *sta, struct ath_buf *bf, in ath_merge_ratetbl() argument 180 bf->rates[0] = tx_info->control.rates[0]; in ath_merge_ratetbl() 185 bf->rates[i].idx = ratetbl->rate[i].idx; in ath_merge_ratetbl() 186 bf->rates[i].flags = ratetbl->rate[i].flags; in ath_merge_ratetbl() 188 bf->rates[i].count = ratetbl->rate[i].count_rts; in ath_merge_ratetbl() 190 bf->rates[i].count = ratetbl->rate[i].count_cts; in ath_merge_ratetbl() 192 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 282 struct ath_buf *bf; ath_tx_flush_tid() local 317 ath_tx_update_baw(struct ath_atx_tid * tid,struct ath_buf * bf) ath_tx_update_baw() argument 339 ath_tx_addto_baw(struct ath_atx_tid * tid,struct ath_buf * bf) ath_tx_addto_baw() argument 365 struct ath_buf *bf; ath_tid_drain() local 391 struct ath_buf *bf = fi->bf; ath_tx_set_retry() local 409 struct ath_buf *bf = NULL; ath_tx_get_buffer() local 426 ath_tx_return_buffer(struct ath_softc * sc,struct ath_buf * bf) ath_tx_return_buffer() argument 433 ath_clone_txbuf(struct ath_softc * sc,struct ath_buf * bf) ath_clone_txbuf() argument 452 ath_tx_count_frames(struct ath_buf * bf,struct ath_tx_status * ts,int txok,int * nframes,int * nbad) ath_tx_count_frames() argument 484 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 701 bf_is_ampdu_not_probing(struct ath_buf * bf) bf_is_ampdu_not_probing() argument 709 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 726 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 774 ath_lookup_legacy(struct ath_buf * bf) ath_lookup_legacy() argument 796 ath_lookup_rate(struct ath_softc * sc,struct ath_buf * bf,struct ath_atx_tid * tid) ath_lookup_rate() argument 868 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 943 struct ath_buf *bf; ath_tx_get_tid_subframe() local 1032 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_aggr() local 1174 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 1260 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 1403 ath_tx_fill_desc(struct ath_softc * sc,struct ath_buf * bf,struct ath_txq * txq,int len) ath_tx_fill_desc() argument 1500 struct ath_buf *bf = bf_first, *bf_prev = NULL; ath_tx_form_burst() local 1532 struct ath_buf *bf = NULL; ath_tx_sched_aggr() local 1670 ath9k_set_moredata(struct ath_softc * sc,struct ath_buf * bf,bool val) ath9k_set_moredata() argument 1701 struct ath_buf *bf_tail = NULL, *bf = NULL; ath9k_release_buffered_frames() local 1875 struct ath_buf *bf, *lastbf; ath_drain_txq_list() local 2046 struct ath_buf *bf, *bf_last; ath_tx_txqaddbuf() local 2114 struct ath_buf *bf = fi->bf; ath_tx_send_normal() local 2221 struct ath_buf *bf; ath_tx_setup_buffer() local 2336 struct ath_buf *bf; ath_tx_start() local 2400 struct ath_buf *bf; ath_tx_cabq() local 2509 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 2565 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 2626 struct ath_buf *bf, *lastbf, *bf_held = NULL; ath_tx_processq() local 2717 struct ath_buf *bf, *lastbf; ath_tx_edma_tasklet() local 2917 struct ath_buf *bf; ath9k_tx99_send() local [all...] |
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dir2_data.c | 24 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 D | spectrum_acl_bloom_filter.c | 290 mlxsw_sp2_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp2_acl_bf_index_get() argument 408 mlxsw_sp4_acl_bf_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp4_acl_bf_index_get() argument 420 mlxsw_sp_acl_bf_rule_count_index_get(struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_rule_count_index_get() argument 424 return erp_bank * bf->bank_size + bf_index; in mlxsw_sp_acl_bf_rule_count_index_get() 429 struct mlxsw_sp_acl_bf *bf, in mlxsw_sp_acl_bf_entry_add() argument 439 mutex_lock(&bf->lock); in mlxsw_sp_acl_bf_entry_add() 441 bf_index = mlxsw_sp->acl_bf_ops->index_get(bf, aregion, aentry); in mlxsw_sp_acl_bf_entry_add() 442 rule_index = mlxsw_sp_acl_bf_rule_count_index_get(bf, erp_bank, in mlxsw_sp_acl_bf_entry_add() 445 if (refcount_inc_not_zero(&bf->refcnt[rule_index])) { in mlxsw_sp_acl_bf_entry_add() 463 refcount_set(&bf->refcnt[rule_index], 1); in mlxsw_sp_acl_bf_entry_add() [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | base.c | 628 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 in ath5k_get_rate() 713 ath5k_get_rate_hw_value(const struct ieee80211_hw * hw,const struct ieee80211_tx_info * info,struct ath5k_buf * bf,int idx) ath5k_get_rate_hw_value() argument 731 ath5k_merge_ratetbl(struct ieee80211_sta * sta,struct ath5k_buf * bf,struct ieee80211_tx_info * tx_info) ath5k_merge_ratetbl() argument 768 ath5k_txbuf_setup(struct ath5k_hw * ah,struct ath5k_buf * bf,struct ath5k_txq * txq,int padsize,struct ieee80211_tx_control * control) ath5k_txbuf_setup() argument 901 struct ath5k_buf *bf; ath5k_desc_alloc() local 963 ath5k_txbuf_free_skb(struct ath5k_hw * ah,struct ath5k_buf * bf) ath5k_txbuf_free_skb() argument 977 ath5k_rxbuf_free_skb(struct ath5k_hw * ah,struct ath5k_buf * bf) ath5k_rxbuf_free_skb() argument 995 struct ath5k_buf *bf; ath5k_desc_free() local 1158 struct ath5k_buf *bf, *bf0; ath5k_drain_tx_buffs() local 1208 struct ath5k_buf *bf; ath5k_rx_start() local 1591 struct ath5k_buf *bf; ath5k_tasklet_rx() local 1659 struct ath5k_buf *bf; ath5k_tx_queue() local 1713 ath5k_tx_frame_completed(struct ath5k_hw * ah,struct sk_buff * skb,struct ath5k_txq * txq,struct ath5k_tx_status * ts,struct ath5k_buf * bf) ath5k_tx_frame_completed() argument 1781 struct ath5k_buf *bf, *bf0; ath5k_tx_processq() local 1855 ath5k_beacon_setup(struct ath5k_hw * ah,struct ath5k_buf * bf) ath5k_beacon_setup() argument 1978 struct ath5k_buf *bf; ath5k_beacon_send() local [all...] |
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | pd.c | 172 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 D | cthw20k1.c | 90 } 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 D | cthw20k2.c | 90 } 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 D | crypto4xx_sa.h | 40 } 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 …]
|
| /linux/tools/perf/util/ |
| H A D | top.c | 23 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 D | sort.c | 81 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf() 87 n = vsnprintf(bf, size, fmt, ap); in repsep_snprintf() 89 char *sep = bf; in repsep_snprintf() 123 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() 129 return repsep_snprintf(bf, size, "%7d:%-*.*s", thread__tid(he->thread), in hist_entry__thread_filter() 159 static int hist_entry__tgid_snprintf(struct hist_entry *he, char *bf, in hist_entry__tgid_snprintf() 178 return repsep_snprintf(bf, size, "%7d:%-*.*s", tgid, width, width, comm ?: ""); 213 static int hist_entry__simd_snprintf(struct hist_entry *he, char *bf, in hist_entry__simd_snprintf() 220 return repsep_snprintf(bf, size, ""); 233 return repsep_snprintf(bf, siz 74 repsep_snprintf(char * bf,size_t size,const char * fmt,...) repsep_snprintf() argument 116 hist_entry__thread_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__thread_snprintf() argument 152 hist_entry__tgid_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__tgid_snprintf() argument 202 hist_entry__simd_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__simd_snprintf() argument 252 hist_entry__comm_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__comm_snprintf() argument 296 _hist_entry__dso_snprintf(struct map * map,char * bf,size_t size,unsigned int width) _hist_entry__dso_snprintf() argument 308 hist_entry__dso_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_snprintf() argument 393 _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 435 hist_entry__sym_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_snprintf() argument 487 hist_entry__symoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__symoff_snprintf() argument 549 hist_entry__srcline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_snprintf() argument 602 hist_entry__srcline_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_from_snprintf() argument 650 hist_entry__srcline_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcline_to_snprintf() argument 666 hist_entry__sym_ipc_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_ipc_snprintf() argument 701 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 727 hist_entry__callchain_branch_predicted_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_predicted_snprintf() argument 760 hist_entry__callchain_branch_abort_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_abort_snprintf() argument 790 hist_entry__callchain_branch_cycles_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__callchain_branch_cycles_snprintf() argument 867 hist_entry__srcfile_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__srcfile_snprintf() argument 897 hist_entry__parent_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__parent_snprintf() argument 919 hist_entry__cpu_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cpu_snprintf() argument 950 hist_entry__parallelism_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__parallelism_snprintf() argument 990 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 1013 hist_entry__cgroup_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__cgroup_snprintf() argument 1045 hist_entry__socket_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__socket_snprintf() argument 1077 hist_entry__time_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__time_snprintf() argument 1147 hist_entry__trace_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__trace_snprintf() argument 1181 hist_entry__dso_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_from_snprintf() argument 1213 hist_entry__dso_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_to_snprintf() argument 1269 hist_entry__sym_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_from_snprintf() argument 1282 hist_entry__sym_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_to_snprintf() argument 1352 _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 1382 hist_entry__addr_from_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_from_snprintf() argument 1395 hist_entry__addr_to_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_to_snprintf() argument 1486 hist_entry__mispredict_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__mispredict_snprintf() argument 1510 hist_entry__cycles_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__cycles_snprintf() argument 1542 hist_entry__daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__daddr_snprintf() argument 1568 hist_entry__iaddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__iaddr_snprintf() argument 1595 hist_entry__dso_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_daddr_snprintf() argument 1625 hist_entry__locked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__locked_snprintf() argument 1653 hist_entry__tlb_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__tlb_snprintf() argument 1681 hist_entry__lvl_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__lvl_snprintf() argument 1709 hist_entry__snoop_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__snoop_snprintf() argument 1783 hist_entry__dcacheline_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dcacheline_snprintf() argument 1824 hist_entry__local_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__local_weight_snprintf() argument 1837 hist_entry__global_weight_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__global_weight_snprintf() argument 1857 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 1870 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 1890 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 1897 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 1992 hist_entry__blocked_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__blocked_snprintf() argument 2021 hist_entry__phys_daddr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__phys_daddr_snprintf() argument 2062 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 2087 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 2113 hist_entry__abort_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__abort_snprintf() argument 2145 hist_entry__in_tx_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__in_tx_snprintf() argument 2208 hist_entry__transaction_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__transaction_snprintf() argument 2256 _hist_entry__sym_size_snprintf(struct symbol * sym,char * bf,size_t bf_size,unsigned int width) _hist_entry__sym_size_snprintf() argument 2265 hist_entry__sym_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__sym_size_snprintf() argument 2295 _hist_entry__dso_size_snprintf(struct map * map,char * bf,size_t bf_size,unsigned int width) _hist_entry__dso_size_snprintf() argument 2304 hist_entry__dso_size_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__dso_size_snprintf() argument 2335 hist_entry__addr_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__addr_snprintf() argument 2406 hist_entry__type_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width) hist_entry__type_snprintf() argument 2447 hist_entry__typeoff_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__typeoff_snprintf() argument 2510 hist_entry__typecln_snprintf(struct hist_entry * he,char * bf,size_t size,unsigned int width __maybe_unused) hist_entry__typecln_snprintf() argument [all...] |
| /linux/arch/openrisc/lib/ |
| H 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
|
| /linux/tools/perf/ui/ |
| H A D | keysyms.c | 7 const char *key_name(int key, char *bf, size_t size) in key_name() argument 10 scnprintf(bf, size, "%c", key); in key_name() 12 scnprintf(bf, size, "Ctrl+%c", key + '@'); in key_name() 34 scnprintf(bf, size, "F%d", key - SL_KEY_F(0)); in key_name() 36 scnprintf(bf, size, "Unknown (%d)", key); in key_name() 40 scnprintf(bf, size, "%s", name); in key_name() 43 return bf; in key_name()
|
| /linux/arch/powerpc/lib/ |
| H 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 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 …]
|
| /linux/tools/testing/selftests/powerpc/copyloops/ |
| H 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 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 …]
|