Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/linux-6.15/drivers/thunderbolt/
H A Ddomain.c123 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_show() local
138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show()
163 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_store() local
256 struct tb *tb = container_of(dev, struct tb, dev); in iommu_dma_protection_show() local
265 struct tb *tb = container_of(dev, struct tb, dev); in security_show() local
287 struct tb *tb = container_of(dev, struct tb, dev); in domain_attr_is_visible() local
320 struct tb *tb = container_of(dev, struct tb, dev); in tb_domain_release() local
337 struct tb *tb = data; in tb_domain_event_cb() local
375 struct tb *tb; in tb_domain_alloc() local
503 tb->cm_ops->stop(tb); in tb_domain_remove()
[all …]
H A Dtb.c79 struct tb *tb; member
101 ev->tb = tb; in tb_queue_hotplug()
382 struct tb *tb = sw->tb; in tb_switch_discover_tunnels() local
436 struct tb *tb = sw->tb; in tb_scan_xdomain() local
1218 struct tb *tb = sw->tb; in tb_configure_link() local
1418 struct tb *tb = group->tb; in tb_recalc_estimated_bandwidth_for_group() local
1554 struct tb *tb = group->tb; in tb_bandwidth_group_release_work() local
2405 struct tb *tb = ev->tb; in tb_handle_hotplug() local
2521 struct tb *tb = tunnel->tb; in tb_alloc_dp_bandwidth() local
2712 struct tb *tb = ev->tb; in tb_handle_dp_bandwidth_request() local
[all …]
H A Dicm.c106 int (*cio_reset)(struct tb *tb);
107 int (*get_mode)(struct tb *tb);
113 void (*set_uuid)(struct tb *tb);
128 struct tb *tb; member
612 struct tb *tb = parent_sw->tb; in alloc_switch() local
1695 struct tb *tb = n->tb; in icm_handle_notification() local
1749 n->tb = tb; in icm_handle_event()
2155 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start()
2264 struct tb *tb = sw->tb; in icm_usb4_switch_op() local
2324 struct tb *tb = sw->tb; in icm_usb4_switch_nvm_authenticate_status() local
[all …]
H A Dtb.h177 struct tb *tb; member
239 struct tb *tb; member
341 struct tb *tb; member
431 struct tb *tb; member
507 int (*driver_ready)(struct tb *tb);
509 void (*stop)(struct tb *tb);
510 void (*deinit)(struct tb *tb);
513 int (*suspend)(struct tb *tb);
515 int (*thaw_noirq)(struct tb *tb);
516 void (*complete)(struct tb *tb);
[all …]
H A Ddebugfs.c225 struct tb *tb = sw->tb; in regs_write() local
386 struct tb *tb = sw->tb; in port_sb_regs_write() local
419 struct tb *tb = rt->tb; in retimer_sb_regs_write() local
814 struct tb *tb = port->sw->tb; in margining_lanes_write() local
1226 struct tb *tb = sw->tb; in margining_run_write() local
2100 struct tb *tb = sw->tb; in port_regs_show() local
2204 struct tb *tb = sw->tb; in switch_regs_show() local
2256 struct tb *tb = sw->tb; in path_show() local
2319 struct tb *tb = sw->tb; in counters_show() local
2379 struct tb *tb = sw->tb; in port_sb_regs_show() local
[all …]
/linux-6.15/tools/bpf/bpftool/
H A Dnetlink_dumper.c18 if (!tb[attr]) in xdp_dump_prog_id()
38 if (!tb[IFLA_XDP_ATTACHED]) in do_xdp_dump_one()
74 if (!tb[IFLA_XDP]) in do_xdp_dump()
88 if (!tb[TCA_ACT_BPF_PARMS]) in do_bpf_dump_one_act()
92 if (tb[TCA_ACT_BPF_NAME]) in do_bpf_dump_one_act()
95 if (tb[TCA_ACT_BPF_ID]) in do_bpf_dump_one_act()
112 if (tb[TCA_ACT_KIND] && in do_dump_one_act()
146 if (tb[TCA_BPF_NAME]) in do_bpf_filter_dump()
149 if (tb[TCA_BPF_ID]) in do_bpf_filter_dump()
152 if (tb[TCA_BPF_ACT]) { in do_bpf_filter_dump()
[all …]
/linux-6.15/net/bridge/
H A Dbr_cfm_netlink.c459 struct nlattr *tb; in br_cfm_config_fill_info() local
463 if (!tb) in br_cfm_config_fill_info()
482 nla_nest_end(skb, tb); in br_cfm_config_fill_info()
486 if (!tb) in br_cfm_config_fill_info()
510 if (!tb) in br_cfm_config_fill_info()
534 if (!tb) in br_cfm_config_fill_info()
549 if (!tb) in br_cfm_config_fill_info()
591 if (!tb) in br_cfm_config_fill_info()
622 struct nlattr *tb; in br_cfm_status_fill_info() local
626 if (!tb) in br_cfm_status_fill_info()
[all …]
H A Dbr_mrp_netlink.c58 if (tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]) in br_mrp_instance_parse()
378 if (tb[IFLA_BRIDGE_MRP_INSTANCE]) { in br_mrp_parse()
385 if (tb[IFLA_BRIDGE_MRP_PORT_STATE]) { in br_mrp_parse()
392 if (tb[IFLA_BRIDGE_MRP_PORT_ROLE]) { in br_mrp_parse()
407 if (tb[IFLA_BRIDGE_MRP_RING_ROLE]) { in br_mrp_parse()
422 if (tb[IFLA_BRIDGE_MRP_IN_STATE]) { in br_mrp_parse()
429 if (tb[IFLA_BRIDGE_MRP_IN_ROLE]) { in br_mrp_parse()
449 struct nlattr *tb, *mrp_tb; in br_mrp_fill_info() local
460 if (!tb) in br_mrp_fill_info()
514 nla_nest_end(skb, tb); in br_mrp_fill_info()
[all …]
H A Dbr_vlan_options.c138 struct nlattr **tb, in br_vlan_modify_tunnel() argument
156 attr = tb[BRIDGE_VLANDB_ENTRY_TUNNEL_INFO]; in br_vlan_modify_tunnel()
197 struct nlattr **tb, in br_vlan_process_one_opts() argument
204 if (tb[BRIDGE_VLANDB_ENTRY_STATE]) { in br_vlan_process_one_opts()
211 if (tb[BRIDGE_VLANDB_ENTRY_TUNNEL_INFO]) { in br_vlan_process_one_opts()
218 if (tb[BRIDGE_VLANDB_ENTRY_MCAST_ROUTER]) { in br_vlan_process_one_opts()
267 struct nlattr **tb, in br_vlan_process_options() argument
514 struct nlattr **tb, in br_vlan_process_global_one_opts() argument
615 if (tb[BRIDGE_VLANDB_GOPTS_MSTI]) { in br_vlan_process_global_one_opts()
676 if (!tb[BRIDGE_VLANDB_GOPTS_ID]) { in br_vlan_rtm_process_global_options()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c31 tb->size = size; in trace_buffer_allocate()
32 tb->tail = tb->data; in trace_buffer_allocate()
33 tb->overflow = false; in trace_buffer_allocate()
35 return tb; in trace_buffer_allocate()
40 return p < ((void *)tb + tb->size); in trace_check_bounds()
51 if (tb->overflow) in trace_check_alloc()
66 p = tb->tail; in trace_alloc()
71 tb->tail = newtail; in trace_alloc()
282 p = tb->data; in trace_buffer_print()
287 while (trace_check_bounds(tb, p) && p < tb->tail) { in trace_buffer_print()
[all …]
/linux-6.15/include/drm/
H A Dtask_barrier.h57 tb->n = 0; in task_barrier_init()
58 atomic_set(&tb->count, 0); in task_barrier_init()
65 tb->n++; in task_barrier_add_task()
70 tb->n--; in task_barrier_rem_task()
80 if (atomic_inc_return(&tb->count) == tb->n) in task_barrier_enter()
81 task_barrier_signal_turnstile(&tb->enter_turnstile, tb->n); in task_barrier_enter()
83 down(&tb->enter_turnstile); in task_barrier_enter()
95 task_barrier_signal_turnstile(&tb->exit_turnstile, tb->n); in task_barrier_exit()
97 down(&tb->exit_turnstile); in task_barrier_exit()
103 task_barrier_enter(tb); in task_barrier_full()
[all …]
/linux-6.15/net/netfilter/
H A Dnfnetlink_cthelper.c83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple()
228 if (!tb[NFCTH_TUPLE] || !tb[NFCTH_POLICY] || !tb[NFCTH_PRIV_DATA_LEN]) in nfnl_cthelper_create()
258 if (tb[NFCTH_QUEUE_NUM]) in nfnl_cthelper_create()
261 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_create()
396 if (tb[NFCTH_POLICY]) { in nfnl_cthelper_update()
404 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_update()
431 if (!tb[NFCTH_NAME] || !tb[NFCTH_TUPLE]) in nfnl_cthelper_new()
637 if (tb[NFCTH_NAME]) in nfnl_cthelper_get()
640 if (tb[NFCTH_TUPLE]) { in nfnl_cthelper_get()
694 if (tb[NFCTH_NAME]) in nfnl_cthelper_del()
[all …]
H A Dnft_tunnel.c81 if (!tb[NFTA_TUNNEL_KEY] || in nft_tunnel_get_init()
82 !tb[NFTA_TUNNEL_DREG]) in nft_tunnel_get_init()
97 if (tb[NFTA_TUNNEL_MODE]) { in nft_tunnel_get_init()
203 if (!tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init()
206 if (tb[NFTA_TUNNEL_KEY_IP_SRC]) in nft_tunnel_obj_ip_init()
208 if (tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init()
232 if (!tb[NFTA_TUNNEL_KEY_IP6_DST]) in nft_tunnel_obj_ip6_init()
454 if (!tb[NFTA_TUNNEL_KEY_ID]) in nft_tunnel_obj_init()
464 if (tb[NFTA_TUNNEL_KEY_IP]) { in nft_tunnel_obj_init()
498 if (tb[NFTA_TUNNEL_KEY_TOS]) in nft_tunnel_obj_init()
[all …]
H A Dnft_bitwise.c153 if (tb[NFTA_BITWISE_DATA] || in nft_bitwise_init_mask_xor()
154 tb[NFTA_BITWISE_SREG2]) in nft_bitwise_init_mask_xor()
158 !tb[NFTA_BITWISE_XOR]) in nft_bitwise_init_mask_xor()
187 if (tb[NFTA_BITWISE_MASK] || in nft_bitwise_init_shift()
189 tb[NFTA_BITWISE_SREG2]) in nft_bitwise_init_shift()
192 if (!tb[NFTA_BITWISE_DATA]) in nft_bitwise_init_shift()
214 tb[NFTA_BITWISE_XOR]) in nft_bitwise_init_bool()
217 if ((!tb[NFTA_BITWISE_DATA] && !tb[NFTA_BITWISE_SREG2]) || in nft_bitwise_init_bool()
218 (tb[NFTA_BITWISE_DATA] && tb[NFTA_BITWISE_SREG2])) in nft_bitwise_init_bool()
267 if (tb[NFTA_BITWISE_OP]) { in nft_bitwise_init()
[all …]
/linux-6.15/net/ethtool/
H A Dbitset.c338 if (tb[ETHTOOL_A_BITSET_BITS]) { in ethnl_bitset_is_compact()
339 if (tb[ETHTOOL_A_BITSET_VALUE] || tb[ETHTOOL_A_BITSET_MASK]) in ethnl_bitset_is_compact()
344 if (!tb[ETHTOOL_A_BITSET_SIZE] || !tb[ETHTOOL_A_BITSET_VALUE]) in ethnl_bitset_is_compact()
459 if (tb[ETHTOOL_A_BITSET_VALUE]) { in ethnl_update_bitset32_verbose()
464 if (tb[ETHTOOL_A_BITSET_MASK]) { in ethnl_update_bitset32_verbose()
522 struct nlattr **tb, in ethnl_compact_sanity_checks() argument
534 if (!tb[ETHTOOL_A_BITSET_SIZE]) { in ethnl_compact_sanity_checks()
557 if (tb[ETHTOOL_A_BITSET_MASK] && in ethnl_compact_sanity_checks()
608 if (tb[ETHTOOL_A_BITSET_BITS]) in ethnl_update_bitset32()
663 if (!tb[ETHTOOL_A_BITSET_BITS]) { in ethnl_parse_bitset()
[all …]
H A Drings.c154 struct nlattr **tb = info->attrs; in ethnl_set_rings_validate() local
156 if (tb[ETHTOOL_A_RINGS_RX_BUF_LEN] && in ethnl_set_rings_validate()
180 if (tb[ETHTOOL_A_RINGS_CQE_SIZE] && in ethnl_set_rings_validate()
183 tb[ETHTOOL_A_RINGS_CQE_SIZE], in ethnl_set_rings_validate()
188 if (tb[ETHTOOL_A_RINGS_TX_PUSH] && in ethnl_set_rings_validate()
191 tb[ETHTOOL_A_RINGS_TX_PUSH], in ethnl_set_rings_validate()
196 if (tb[ETHTOOL_A_RINGS_RX_PUSH] && in ethnl_set_rings_validate()
199 tb[ETHTOOL_A_RINGS_RX_PUSH], in ethnl_set_rings_validate()
221 struct nlattr **tb = info->attrs; in ethnl_set_rings() local
275 err_attr = tb[ETHTOOL_A_RINGS_RX]; in ethnl_set_rings()
[all …]
/linux-6.15/drivers/target/
H A Dtarget_core_hba.c42 tb = kzalloc(sizeof(*tb), GFP_KERNEL); in transport_backend_register()
43 if (!tb) in transport_backend_register()
45 tb->ops = ops; in transport_backend_register()
52 kfree(tb); in transport_backend_register()
68 struct target_backend *tb; in target_backend_unregister() local
72 if (tb->ops == ops) { in target_backend_unregister()
73 list_del(&tb->list); in target_backend_unregister()
82 kfree(tb); in target_backend_unregister()
102 if (tb->ops->owner && !try_module_get(tb->ops->owner)) in core_get_backend()
103 tb = NULL; in core_get_backend()
[all …]
/linux-6.15/arch/sparc/mm/
H A Dtlb.c28 if (!tb->tlb_nr) in flush_tlb_pending()
31 flush_tsb_user(tb); in flush_tlb_pending()
38 smp_flush_tlb_pending(tb->mm, tb->tlb_nr, in flush_tlb_pending()
42 tb->tlb_nr, &tb->vaddrs[0]); in flush_tlb_pending()
47 tb->tlb_nr = 0; in flush_tlb_pending()
59 tb->active = 1; in arch_enter_lazy_mmu_mode()
66 if (tb->tlb_nr) in arch_leave_lazy_mmu_mode()
68 tb->active = 0; in arch_leave_lazy_mmu_mode()
82 nr = tb->tlb_nr; in tlb_batch_add_one()
89 if (!tb->active) { in tlb_batch_add_one()
[all …]
/linux-6.15/net/netfilter/ipset/
H A Dip_set_hash_ipportnet.c173 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet4_uadt()
176 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet4_uadt()
194 if (tb[IPSET_ATTR_CIDR2]) { in hash_ipportnet4_uadt()
203 if (tb[IPSET_ATTR_PROTO]) { in hash_ipportnet4_uadt()
225 !(tb[IPSET_ATTR_CIDR] || tb[IPSET_ATTR_IP_TO] || with_ports || in hash_ipportnet4_uadt()
235 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportnet4_uadt()
257 if (tb[IPSET_ATTR_IP2_TO]) { in hash_ipportnet4_uadt()
429 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet6_uadt()
432 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet6_uadt()
458 if (tb[IPSET_ATTR_CIDR2]) { in hash_ipportnet6_uadt()
[all …]
H A Dip_set_hash_ipmac.c118 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac4_uadt()
119 !tb[IPSET_ATTR_ETHER] || in hash_ipmac4_uadt()
120 nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN || in hash_ipmac4_uadt()
129 if (tb[IPSET_ATTR_LINENO]) in hash_ipmac4_uadt()
130 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipmac4_uadt()
133 ip_set_get_extensions(set, tb, &ext); in hash_ipmac4_uadt()
237 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipmac6_uadt()
238 !tb[IPSET_ATTR_ETHER] || in hash_ipmac6_uadt()
248 if (tb[IPSET_ATTR_LINENO]) in hash_ipmac6_uadt()
249 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipmac6_uadt()
[all …]
H A Dip_set_hash_ipportip.c119 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip4_uadt()
122 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip4_uadt()
141 if (tb[IPSET_ATTR_PROTO]) { in hash_ipportip4_uadt()
155 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipportip4_uadt()
156 tb[IPSET_ATTR_PORT_TO])) { in hash_ipportip4_uadt()
162 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipportip4_uadt()
168 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipportip4_uadt()
289 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip6_uadt()
292 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip6_uadt()
296 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt()
[all …]
H A Dip_set_hash_netportnet.c200 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet4_uadt()
204 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet4_uadt()
222 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt()
228 if (tb[IPSET_ATTR_CIDR2]) { in hash_netportnet4_uadt()
236 if (tb[IPSET_ATTR_PROTO]) { in hash_netportnet4_uadt()
258 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt()
267 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt()
484 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet6_uadt()
488 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet6_uadt()
493 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt()
[all …]
H A Dip_set_hash_netport.c166 if (tb[IPSET_ATTR_LINENO]) in hash_netport4_uadt()
169 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_netport4_uadt()
183 if (tb[IPSET_ATTR_CIDR]) { in hash_netport4_uadt()
192 if (tb[IPSET_ATTR_PROTO]) { in hash_netport4_uadt()
207 if (tb[IPSET_ATTR_CADT_FLAGS]) { in hash_netport4_uadt()
222 if (tb[IPSET_ATTR_PORT_TO]) { in hash_netport4_uadt()
227 if (tb[IPSET_ATTR_IP_TO]) { in hash_netport4_uadt()
386 if (tb[IPSET_ATTR_LINENO]) in hash_netport6_uadt()
405 if (tb[IPSET_ATTR_CIDR]) { in hash_netport6_uadt()
415 if (tb[IPSET_ATTR_PROTO]) { in hash_netport6_uadt()
[all …]
H A Dip_set_hash_ipport.c123 if (tb[IPSET_ATTR_LINENO]) in hash_ipport4_uadt()
126 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport4_uadt()
145 if (tb[IPSET_ATTR_PROTO]) { in hash_ipport4_uadt()
159 !(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_CIDR] || in hash_ipport4_uadt()
160 tb[IPSET_ATTR_PORT_TO])) { in hash_ipport4_uadt()
166 if (tb[IPSET_ATTR_IP_TO]) { in hash_ipport4_uadt()
172 } else if (tb[IPSET_ATTR_CIDR]) { in hash_ipport4_uadt()
294 if (tb[IPSET_ATTR_LINENO]) in hash_ipport6_uadt()
297 if (unlikely(!tb[IPSET_ATTR_IP] || in hash_ipport6_uadt()
301 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipport6_uadt()
[all …]
/linux-6.15/drivers/net/wireless/ti/wlcore/
H A Dtestmode.c67 if (!tb[WL1271_TM_ATTR_DATA]) in wl1271_tm_cmd_test()
70 buf = nla_data(tb[WL1271_TM_ATTR_DATA]); in wl1271_tm_cmd_test()
73 if (tb[WL1271_TM_ATTR_ANSWER]) in wl1271_tm_cmd_test()
147 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_interrogate()
211 if (!tb[WL1271_TM_ATTR_DATA]) in wl1271_tm_cmd_configure()
213 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_configure()
279 if (!tb[WL1271_TM_ATTR_PLT_MODE]) in wl1271_tm_cmd_set_plt_mode()
293 ret = wl1271_tm_detect_fem(wl, tb); in wl1271_tm_cmd_set_plt_mode()
362 if (!tb[WL1271_TM_ATTR_CMD_ID]) in wl1271_tm_cmd()
374 return wl1271_tm_cmd_test(wl, tb); in wl1271_tm_cmd()
[all …]

12345678910>>...20