| /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/infiniband/core/ |
| H A D | nldev.c | 1124 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_get_doit() local 1174 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_set_doit() local 1274 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_port_get_doit() local 1332 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_port_get_dumpit() local 1390 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_res_get_doit() local 1540 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in res_get_common_doit() local 1621 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in res_get_common_dumpit() local 1821 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_newlink() local 1868 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_dellink() local 1909 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_get_chardev() local [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 { global() struct 85 nhitb global() argument 86 ctltb global() argument 88 root_switchtb global() argument 89 cm_opstb global() argument 91 security_leveltb global() argument 96 privdatatb global() argument 252 struct tb *tb; global() member 311 tb_xdomain_find_by_uuid_locked(struct tb * tb,const uuid_t * uuid) tb_xdomain_find_by_uuid_locked() argument 323 tb_xdomain_find_by_route_locked(struct tb * tb,u64 route) tb_xdomain_find_by_route_locked() argument [all...] |
| /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 …]
|
| /linux/net/ipv4/ |
| H A D | fib_trie.c | 1015 struct fib_table *tb; in fib_find_matching_alias() local 1194 fib_table_insert(struct net * net,struct fib_table * tb,struct fib_config * cfg,struct netlink_ext_ack * extack) fib_table_insert() argument 1420 fib_table_lookup(struct fib_table * tb,const struct flowi4 * flp,struct fib_result * res,int fib_flags) fib_table_lookup() argument 1688 fib_table_delete(struct net * net,struct fib_table * tb,struct fib_config * cfg,struct netlink_ext_ack * extack) fib_table_delete() argument 1814 fib_trie_free(struct fib_table * tb) fib_trie_free() argument 1931 fib_table_flush_external(struct fib_table * tb) fib_table_flush_external() argument 2000 fib_table_flush(struct net * net,struct fib_table * tb,bool flush_all) fib_table_flush() argument 2084 __fib_info_notify_update(struct net * net,struct fib_table * tb,struct nl_info * info) __fib_info_notify_update() argument 2138 struct fib_table *tb; fib_info_notify_update() local 2145 fib_leaf_notify(struct key_vector * l,struct fib_table * tb,struct notifier_block * nb,struct netlink_ext_ack * extack) fib_leaf_notify() argument 2182 fib_table_notify(struct fib_table * tb,struct notifier_block * nb,struct netlink_ext_ack * extack) fib_table_notify() argument 2211 struct fib_table *tb; fib_notify() local 2224 struct fib_table *tb = container_of(head, struct fib_table, rcu); __trie_free_rcu() local 2234 fib_free_table(struct fib_table * tb) fib_free_table() argument 2239 fn_trie_dump_leaf(struct key_vector * l,struct fib_table * tb,struct sk_buff * skb,struct netlink_callback * cb,struct fib_dump_filter * filter) fn_trie_dump_leaf() argument 2326 fib_table_dump(struct fib_table * tb,struct sk_buff * skb,struct netlink_callback * cb,struct fib_dump_filter * filter) fib_table_dump() argument 2383 struct fib_table *tb; fib_trie_table() local 2419 struct fib_table *tb; global() member 2596 fib_table_print(struct seq_file * seq,struct fib_table * tb) fib_table_print() argument 2620 struct fib_table *tb; fib_triestat_seq_show() local 2653 struct fib_table *tb; fib_trie_get_idx() local 2682 struct fib_table *tb = iter->tb; fib_trie_seq_next() local 2864 struct fib_table *tb; fib_route_seq_start() local 2941 struct fib_table *tb = iter->main_tb; fib_route_seq_show() local [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() 1493 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 | 809 static void fl_set_key_val(struct nlattr **tb, in fl_set_key_val() 822 static int fl_set_key_spi(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_spi() 840 static int fl_set_key_port_range(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_port_range() 892 struct nlattr *tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_MAX + 1]; in fl_set_key_mpls_lse() local 1007 static int fl_set_key_mpls(struct nlattr **tb, in fl_set_key_mpls() 1084 static void fl_set_key_vlan(struct nlattr **tb, in fl_set_key_vlan() 1115 static void fl_set_key_pppoe(struct nlattr **tb, in fl_set_key_pppoe() 1170 static int fl_set_key_flags(struct nlattr *tca_opts, struct nlattr **tb, in fl_set_key_flags() 1221 static void fl_set_key_ip(struct nlattr **tb, bool encap, in fl_set_key_ip() 1238 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX + 1]; in fl_set_geneve_opt() 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 | 2506 bool strict_check, struct nlattr **tb, in rtnl_valid_dump_ifinfo_req() 2556 struct nlattr *tb[IFLA_MAX+1]; in rtnl_dump_ifinfo() local 2650 int rtnl_nla_parse_ifinfomsg(struct nlattr **tb, const struct nlattr *nla_peer, in rtnl_nla_parse_ifinfomsg() 2672 static struct net *rtnl_link_get_net_ifla(struct nlattr *tb[]) in rtnl_link_get_net_ifla() 2687 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() 2706 struct nlattr *tb[]) in rtnl_link_get_net_by_nlattr() 2725 struct nlattr *tb[], int cap) in rtnl_link_get_net_capable() 2744 static int rtnl_ensure_unique_netns(struct nlattr *tb[], in rtnl_ensure_unique_netns() 2786 static int validate_linkmsg(struct net_device *dev, struct nlattr *tb[], in validate_linkmsg() 2873 static int do_setvfinfo(struct net_device *dev, struct nlattr **tb) in do_setvfinfo() [all …]
|
| /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
|
| /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()
|