| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 129 struct tb *tb; member 299 static int icm_request(struct tb *tb, const void *request, size_t request_size, in icm_request() 343 static void icm_postpone_rescan(struct tb *tb) in icm_postpone_rescan() 352 static void icm_veto_begin(struct tb *tb) in icm_veto_begin() 363 static void icm_veto_end(struct tb *tb) in icm_veto_end() 386 struct tb *tb = xd->tb; in icm_xdomain_activated() local 399 static void icm_dp_event(struct tb *tb) in icm_dp_event() 404 static bool icm_fr_is_supported(struct tb *tb) in icm_fr_is_supported() 420 static int icm_fr_get_route(struct tb *tb, u8 link, u8 depth, u64 *route) in icm_fr_get_route() 471 static void icm_fr_save_devices(struct tb *tb) in icm_fr_save_devices() [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | trace.c | 17 struct trace_buffer *tb; in trace_buffer_allocate() local 38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() 43 static bool trace_check_alloc(struct trace_buffer *tb, void *p) in trace_check_alloc() 62 static void *trace_alloc(struct trace_buffer *tb, int bytes) in trace_alloc() 76 static struct trace_entry *trace_alloc_entry(struct trace_buffer *tb, int payload_size) in trace_alloc_entry() 87 int trace_log_reg(struct trace_buffer *tb, u64 reg, u64 value) in trace_log_reg() 104 int trace_log_counter(struct trace_buffer *tb, u64 value) in trace_log_counter() 120 int trace_log_string(struct trace_buffer *tb, char *str) in trace_log_string() 142 int trace_log_indent(struct trace_buffer *tb) in trace_log_indent() 155 int trace_log_outdent(struct trace_buffer *tb) in trace_log_outdent() [all …]
|
| /linux/tools/bpf/bpftool/ |
| H A D | netlink_dumper.c | 14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id() argument 32 struct nlattr *tb[IFLA_XDP_MAX + 1]; in do_xdp_dump_one() local 72 do_xdp_dump(struct ifinfomsg * ifinfo,struct nlattr ** tb) do_xdp_dump() argument 83 struct nlattr *tb[TCA_ACT_BPF_MAX + 1]; do_bpf_dump_one_act() local 104 struct nlattr *tb[TCA_ACT_MAX + 1]; do_dump_one_act() local 121 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; do_bpf_act_dump() local 140 struct nlattr *tb[TCA_BPF_MAX + 1]; do_bpf_filter_dump() local 161 do_filter_dump(struct tcmsg * info,struct nlattr ** tb,const char * kind,const char * devname,int ifindex) do_filter_dump() argument [all...] |
| /linux/include/drm/ |
| H A D | task_barrier.h | 55 static inline void task_barrier_init(struct task_barrier *tb) in task_barrier_init() 63 static inline void task_barrier_add_task(struct task_barrier *tb) in task_barrier_add_task() 68 static inline void task_barrier_rem_task(struct task_barrier *tb) in task_barrier_rem_task() 78 static inline void task_barrier_enter(struct task_barrier *tb) in task_barrier_enter() 92 static inline void task_barrier_exit(struct task_barrier *tb) in task_barrier_exit() 101 static inline void task_barrier_full(struct task_barrier *tb) in task_barrier_full()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | mmrc.c | 257 static void rate_update_index(struct mmrc_table *tb, struct mmrc_rate *rate) in rate_update_index() 277 static struct mmrc_rate get_rate_row(struct mmrc_table *tb, u16 index) in get_rate_row() 447 static u32 calculate_throughput(struct mmrc_table *tb, u8 index) in calculate_throughput() 471 static bool validate_rate(struct mmrc_table *tb, struct mmrc_rate *rate) in validate_rate() 498 static u16 find_baseline_index(struct mmrc_table *tb) in find_baseline_index() 531 static void mmrc_fill_retry_rates(struct mmrc_table *tb) in mmrc_fill_retry_rates() 569 static void generate_table_priority(struct mmrc_table *tb, u32 new_stats) in generate_table_priority() 734 static void calculate_remaining_attempts(struct mmrc_table *tb, in calculate_remaining_attempts() 803 void mmrc_get_rates(struct mmrc_table *tb, struct mmrc_rate_table *out, in mmrc_get_rates() 1007 static void mmrc_process_variation(struct mmrc_table *tb, u16 current_success, in mmrc_process_variation() [all …]
|
| /linux/net/netfilter/ |
| H A D | nfnetlink_cthelper.c | 79 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() local 150 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() local 187 struct nlattr *tb[NFCTH_POLICY_SET_MAX+1]; in nfnl_cthelper_parse_expect_policy() local 222 nfnl_cthelper_create(const struct nlattr * const tb[], in nfnl_cthelper_create() 302 struct nlattr *tb[NFCTH_POLICY_MAX + 1]; in nfnl_cthelper_update_policy_one() local 331 static int nfnl_cthelper_update_policy_all(struct nlattr *tb[], in nfnl_cthelper_update_policy_all() 374 struct nlattr *tb[NFCTH_POLICY_SET_MAX + 1]; in nfnl_cthelper_update_policy() local 395 nfnl_cthelper_update(const struct nlattr * const tb[], in nfnl_cthelper_update() 431 const struct nlattr * const tb[]) in nfnl_cthelper_new() 631 const struct nlattr * const tb[]) in nfnl_cthelper_get() [all …]
|
| H A D | nft_bitwise.c | 143 const struct nlattr *const tb[]) in nft_bitwise_init_mask_xor() 182 const struct nlattr *const tb[]) in nft_bitwise_init_shift() 214 const struct nlattr *const tb[]) in nft_bitwise_init_bool() 252 const struct nlattr * const tb[]) in nft_bitwise_init() 415 nft_bitwise_extract_u32_data(const struct nlattr * const tb, u32 *out) in nft_bitwise_extract_u32_data() 436 const struct nlattr * const tb[]) in nft_bitwise_fast_init() 524 const struct nlattr * const tb[]) in nft_bitwise_select_ops()
|
| H A D | nft_compat.c | 203 struct nlattr *tb[NFTA_RULE_COMPAT_MAX+1]; in nft_parse_compat() local 245 const struct nlattr * const tb[]) in nft_target_init() 523 const struct nlattr * const tb[], in __nft_match_init() 551 const struct nlattr * const tb[]) in nft_match_init() 558 const struct nlattr * const tb[]) in nft_match_large_init() 724 const struct nlattr * const tb[]) in nfnl_compat_get_rcu() 824 const struct nlattr * const tb[]) in nft_match_select_ops() 904 const struct nlattr * const tb[]) in nft_target_select_ops()
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | testmode.c | 58 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() 137 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() 201 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() 233 static int wl1271_tm_detect_fem(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_detect_fem() 270 static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_set_plt_mode() 301 static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[]) in wl12xx_tm_cmd_get_mac() 351 struct nlattr *tb[WL1271_TM_ATTR_MAX + 1]; in wl1271_tm_cmd() local
|
| /linux/net/dcb/ |
| H A D | dcbnl.c | 242 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getstate() 253 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfccfg() 298 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getperm_hwaddr() 312 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getcap() 357 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getnumtcs() 404 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setnumtcs() 438 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getpfcstate() 448 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setpfcstate() 466 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_getapp() 536 u32 seq, struct nlattr **tb, struct sk_buff *skb) in dcbnl_setapp() [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | testmode.c | 210 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version() 336 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start() 470 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop() 494 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi() 550 static int ath10k_tm_cmd_tlv(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_tlv() 633 struct nlattr *tb[ATH10K_TM_ATTR_MAX + 1]; in ath10k_tm_cmd() local
|
| /linux/drivers/target/ |
| H A D | target_core_hba.c | 40 struct target_backend *tb, *old; in transport_backend_register() local 68 struct target_backend *tb; in target_backend_unregister() local 92 struct target_backend *tb; in core_get_backend() local
|
| /linux/include/linux/ |
| H A D | thunderbolt.h | 82 struct tb { struct 85 struct tb_nhi *nhi; argument 86 struct tb_ctl *ctl; argument 88 struct tb_switch *root_switch; argument 89 const struct tb_cm_ops *cm_ops; argument 91 enum tb_security_level security_level; argument 96 extern const struct bus_type tb_bus_type; argument 252 struct tb *tb; member 311 tb_xdomain_find_by_uuid_locked(struct tb *tb, const uuid_t *uuid) in tb_xdomain_find_by_uuid_locked() 323 tb_xdomain_find_by_route_locked(struct tb *tb, u64 route) in tb_xdomain_find_by_route_locked()
|
| /linux/net/ethtool/ |
| H A D | rss.c | 72 struct nlattr **tb, in rss_parse_request() 374 struct nlattr **tb = info->attrs; in ethnl_rss_dump_start() local 586 struct nlattr **tb = info->attrs; in ethnl_rss_set_validate() local 623 struct nlattr **tb = info->attrs; in rss_set_prep_indir() local 701 struct nlattr **tb = info->attrs; in rss_set_prep_hkey() local 725 struct nlattr **tb = info->attrs; in rss_check_rxfh_fields_sym() local 802 rss_set_ctx_update(struct ethtool_rxfh_context *ctx, struct nlattr **tb, in rss_set_ctx_update() 832 struct nlattr **tb = info->attrs; in ethnl_rss_set() local 949 struct nlattr **tb = info->attrs; in ethnl_rss_create_validate() local 1007 struct nlattr **tb = info->attrs; in ethnl_rss_create_doit() local [all …]
|
| H A D | pse-pd.c | 61 struct nlattr **tb = info->attrs; in pse_prepare_data() local 245 struct nlattr **tb = info->attrs; in ethnl_set_pse_validate() local 278 struct nlattr **tb = info->attrs; in ethnl_set_pse() local
|
| /linux/net/ipv4/ |
| H A D | fib_trie.c | 1015 struct fib_table *tb; in fib_find_matching_alias() local 1194 int fib_table_insert(struct net *net, struct fib_table *tb, in fib_table_insert() 1420 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() 1688 int fib_table_delete(struct net *net, struct fib_table *tb, in fib_table_delete() 1814 static void fib_trie_free(struct fib_table *tb) in fib_trie_free() 1931 void fib_table_flush_external(struct fib_table *tb) in fib_table_flush_external() 2000 int fib_table_flush(struct net *net, struct fib_table *tb, bool flush_all) in fib_table_flush() 2084 static void __fib_info_notify_update(struct net *net, struct fib_table *tb, in __fib_info_notify_update() 2138 struct fib_table *tb; in fib_info_notify_update() local 2145 static int fib_leaf_notify(struct key_vector *l, struct fib_table *tb, in fib_leaf_notify() [all …]
|
| H A D | fib_frontend.c | 79 struct fib_table *tb, *new_tb, *alias = NULL; in fib_new_table() local 131 struct fib_table *tb = NULL; in fib_get_table() local 213 struct fib_table *tb; in fib_flush() local 660 struct fib_table *tb; in ip_rt_ioctl() local 901 struct fib_table *tb; in inet_rtm_delroute() local 935 struct fib_table *tb; in inet_rtm_newroute() local 965 struct nlattr *tb[RTA_MAX + 1]; in ip_valid_fib_dump_req() local 1043 struct fib_table *tb; in inet_dump_fib() local 1117 struct fib_table *tb; in fib_magic() local 1392 struct fib_table *tb; in nl_fib_lookup() local [all …]
|
| H A D | ip_gre.c | 1097 static int ipgre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[], in ipgre_tunnel_validate() 1121 static int ipgre_tap_validate(struct nlattr *tb[], struct nlattr *data[], in ipgre_tap_validate() 1146 static int erspan_validate(struct nlattr *tb[], struct nlattr *data[], in erspan_validate() 1188 struct nlattr *tb[], in ipgre_netlink_parms() 1257 struct nlattr *tb[], in erspan_netlink_parms() 1418 struct nlattr **tb = params->tb; in ipgre_newlink() local 1439 struct nlattr **tb = params->tb; in erspan_newlink() local 1455 static int ipgre_changelink(struct net_device *dev, struct nlattr *tb[], in ipgre_changelink() 1487 static int erspan_changelink(struct net_device *dev, struct nlattr *tb[], in erspan_changelink()
|
| /linux/net/sched/ |
| H A D | em_ipt.c | 60 static int policy_validate_match_data(struct nlattr **tb, u8 mrev) in policy_validate_match_data() 75 static int addrtype_validate_match_data(struct nlattr **tb, u8 mrev) in addrtype_validate_match_data() 97 static struct xt_match *get_xt_match(struct nlattr **tb) in get_xt_match() 129 struct nlattr *tb[TCA_EM_IPT_MAX + 1]; in em_ipt_change() local
|
| H A D | cls_flower.c | 813 if (!tb[val_type]) in fl_set_key_val() argument 844 fl_set_key_val(tb, &key->tp_range.tp_min.dst, in fl_set_key_port_range() argument 826 fl_set_key_spi(struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_key_spi() argument 896 struct nlattr *tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_MAX + 1]; fl_set_key_mpls_lse() local 1011 fl_set_key_mpls(struct nlattr ** tb,struct flow_dissector_key_mpls * key_val,struct flow_dissector_key_mpls * key_mask,struct netlink_ext_ack * extack) fl_set_key_mpls() argument 1088 fl_set_key_vlan(struct nlattr ** tb,__be16 ethertype,int vlan_id_key,int vlan_prio_key,int vlan_next_eth_type_key,struct flow_dissector_key_vlan * key_val,struct flow_dissector_key_vlan * key_mask) fl_set_key_vlan() argument 1119 fl_set_key_pppoe(struct nlattr ** tb,struct flow_dissector_key_pppoe * key_val,struct flow_dissector_key_pppoe * key_mask,struct fl_flow_key * key,struct fl_flow_key * mask) fl_set_key_pppoe() argument 1174 fl_set_key_flags(struct nlattr * tca_opts,struct nlattr ** tb,bool encap,u32 * flags_key,u32 * flags_mask,struct netlink_ext_ack * extack) fl_set_key_flags() argument 1225 fl_set_key_ip(struct nlattr ** tb,bool encap,struct flow_dissector_key_ip * key,struct flow_dissector_key_ip * mask) fl_set_key_ip() argument 1242 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX + 1]; fl_set_geneve_opt() local 1330 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_VXLAN_MAX + 1]; fl_set_vxlan_opt() local 1367 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_ERSPAN_MAX + 1]; fl_set_erspan_opt() local 1433 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_GTP_MAX + 1]; fl_set_gtp_opt() local 1476 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_PFCP_MAX + 1]; fl_set_pfcp_opt() local 1510 fl_set_enc_opt(struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_enc_opt() argument 1715 fl_validate_ct_state(u16 state,struct nlattr * tb,struct netlink_ext_ack * extack) fl_validate_ct_state() argument 1749 fl_set_key_ct(struct nlattr ** tb,struct flow_dissector_key_ct * key,struct flow_dissector_key_ct * mask,struct netlink_ext_ack * extack) fl_set_key_ct() argument 1803 is_vlan_key(struct nlattr * tb,__be16 * ethertype,struct fl_flow_key * key,struct fl_flow_key * mask,int vthresh) is_vlan_key() argument 1823 fl_set_key_cfm_md_level(struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_key_cfm_md_level() argument 1838 fl_set_key_cfm_opcode(struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_key_cfm_opcode() argument 1848 fl_set_key_cfm(struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_key_cfm() argument 1871 fl_set_key(struct net * net,struct nlattr * tca_opts,struct nlattr ** tb,struct fl_flow_key * key,struct fl_flow_key * mask,struct netlink_ext_ack * extack) fl_set_key() argument 2370 struct nlattr **tb; fl_change() local 2812 struct nlattr **tb; fl_tmplt_create() local [all...] |
| /linux/tools/lib/bpf/ |
| H A D | nlattr.c | 104 int libbpf_nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, in libbpf_nla_parse() 148 int libbpf_nla_parse_nested(struct nlattr *tb[], int maxtype, in libbpf_nla_parse_nested() 163 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1], *attr; in libbpf_nla_dump_errormsg() local
|
| /linux/arch/powerpc/kernel/ |
| H A D | smp-tbsync.c | 25 volatile u64 tb; member 48 u64 tb; in smp_generic_take_timebase() local 81 u64 tb; in start_contest() local
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 2501 bool strict_check, struct nlattr **tb, in rtnl_valid_dump_ifinfo_req() 2551 struct nlattr *tb[IFLA_MAX+1]; in rtnl_dump_ifinfo() local 2645 int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer, in rtnl_nla_parse_ifinfomsg() 2667 static struct net *rtnl_link_get_net_ifla(struct nlattr *tb[]) in rtnl_link_get_net_ifla() 2682 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() 2701 struct nlattr *tb[]) in rtnl_link_get_net_by_nlattr() 2720 struct nlattr *tb[], int cap) in rtnl_link_get_net_capable() 2739 static int rtnl_ensure_unique_netns(struct nlattr *tb[], in rtnl_ensure_unique_netns() 2781 static int validate_linkmsg(struct net_device *dev, struct nlattr *tb[], in validate_linkmsg() 2868 static int do_setvfinfo(struct net_device *dev, struct nlattr **tb) in do_setvfinfo() [all …]
|
| /linux/net/bridge/netfilter/ |
| H A D | nft_meta_bridge.c | 85 const struct nlattr * const tb[]) in nft_meta_bridge_get_init() 160 const struct nlattr * const tb[]) in nft_meta_bridge_set_init() 212 const struct nlattr * const tb[]) in nft_meta_bridge_select_ops()
|
| /linux/net/bridge/ |
| H A D | br_vlan_options.c | 162 struct nlattr **tb, in br_vlan_modify_tunnel() 221 struct nlattr **tb, in br_vlan_process_one_opts() 307 struct nlattr **tb, in br_vlan_process_options() 553 struct nlattr **tb, in br_vlan_process_global_one_opts() 691 struct nlattr *tb[BRIDGE_VLANDB_GOPTS_MAX + 1]; in br_vlan_rtm_process_global_options() local
|