Home
last modified time | relevance | path

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

12345678910>>...20

/linux/fs/reiserfs/
H A Ddo_balan.c22 bi->tb = tb; in buffer_info_init_left()
31 bi->tb = tb; in buffer_info_init_right()
40 bi->tb = tb; in buffer_info_init_tbS0()
50 bi->tb = tb; in buffer_info_init_bh()
98 replace_key(tb, tb->CFL[0], tb->lkey[0], in balance_leaf_when_delete_del()
183 replace_key(tb, tb->CFR[0], tb->rkey[0], tb->R[0], 0); in balance_leaf_when_delete_left()
222 leaf_shift_left(tb, tb->lnum[0], tb->lbytes); in balance_leaf_when_delete_left()
677 replace_key(tb, tb->CFR[0], tb->rkey[0], tb->R[0], 0); in balance_leaf_insert_right()
700 replace_key(tb, tb->CFR[0], tb->rkey[0], tb->R[0], 0); in balance_leaf_insert_right()
748 replace_key(tb, tb->CFR[0], tb->rkey[0], tb->R[0], 0); in balance_leaf_paste_right_shift_dirent()
[all …]
H A Dfix_node.c898 RFALSE(tb->FEB[tb->cur_blknum], in get_empty_nodes()
1644 set_parameters(tb, h, tb->lnum[h], tb->rnum[h], in ip_check_balance()
2173 tb->FL[h]) ? tb->lkey[h] : B_NR_ITEMS(tb-> in get_neighbors()
2415 (tb->tb_sb, tb->L[i])) in wait_tb_buffers_until_unlocked()
2424 (tb->tb_sb, tb->FL[i])) in wait_tb_buffers_until_unlocked()
2433 (tb->tb_sb, tb->CFL[i])) in wait_tb_buffers_until_unlocked()
2446 (tb->tb_sb, tb->R[i])) in wait_tb_buffers_until_unlocked()
2455 (tb->tb_sb, tb->FR[i])) in wait_tb_buffers_until_unlocked()
2464 (tb->tb_sb, tb->CFR[i])) in wait_tb_buffers_until_unlocked()
2482 (tb->tb_sb, tb->FEB[i])) in wait_tb_buffers_until_unlocked()
[all …]
H A Dibalance.c41 src_bi->tb = tb; in internal_define_dest_src_infos()
45 dest_bi->tb = tb; in internal_define_dest_src_infos()
53 src_bi->tb = tb; in internal_define_dest_src_infos()
57 dest_bi->tb = tb; in internal_define_dest_src_infos()
68 src_bi->tb = tb; in internal_define_dest_src_infos()
72 dest_bi->tb = tb; in internal_define_dest_src_infos()
81 src_bi->tb = tb; in internal_define_dest_src_infos()
85 dest_bi->tb = tb; in internal_define_dest_src_infos()
94 dest_bi->tb = tb; in internal_define_dest_src_infos()
101 dest_bi->tb = tb; in internal_define_dest_src_infos()
[all …]
H A Dprints.c646 if (!tb) in store_print_tb()
655 tb->tb_mode, PATH_LAST_POSITION(tb->tb_path), in store_print_tb()
679 (tb->FL[h]) ? (long long)(tb->FL[h]-> in store_print_tb()
681 (tb->FR[h]) ? (long long)(tb->FR[h]-> in store_print_tb()
683 (tb->CFL[h]) ? (long long)(tb->CFL[h]-> in store_print_tb()
685 (tb->CFR[h]) ? (long long)(tb->CFR[h]-> in store_print_tb()
693 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0], in store_print_tb()
694 tb->rbytes, tb->blknum[0], tb->s0num, tb->snum[0], in store_print_tb()
695 tb->sbytes[0], tb->snum[1], tb->sbytes[1], in store_print_tb()
696 tb->cur_blknum, tb->lkey[0], tb->rkey[0]); in store_print_tb()
[all …]
H A Dlbalance.c641 src_bi->tb = tb; in leaf_define_dest_src_infos()
647 dest_bi->tb = tb; in leaf_define_dest_src_infos()
655 src_bi->tb = tb; in leaf_define_dest_src_infos()
659 dest_bi->tb = tb; in leaf_define_dest_src_infos()
667 src_bi->tb = tb; in leaf_define_dest_src_infos()
671 dest_bi->tb = tb; in leaf_define_dest_src_infos()
679 src_bi->tb = tb; in leaf_define_dest_src_infos()
683 dest_bi->tb = tb; in leaf_define_dest_src_infos()
691 src_bi->tb = tb; in leaf_define_dest_src_infos()
695 dest_bi->tb = tb; in leaf_define_dest_src_infos()
[all …]
/linux/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 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.c73 struct tb *tb; member
89 ev->tb = tb; in tb_queue_hotplug()
334 struct tb *tb = sw->tb; in tb_switch_discover_tunnels() local
388 struct tb *tb = sw->tb; in tb_scan_xdomain() local
1170 struct tb *tb = sw->tb; in tb_configure_link() local
1360 struct tb *tb = group->tb; in tb_recalc_estimated_bandwidth_for_group() local
1496 struct tb *tb = group->tb; in tb_bandwidth_group_release_work() local
2271 struct tb *tb = ev->tb; in tb_handle_hotplug() local
2387 struct tb *tb = tunnel->tb; in tb_alloc_dp_bandwidth() local
2578 struct tb *tb = ev->tb; in tb_handle_dp_bandwidth_request() local
[all …]
H A Dtb.h175 struct tb *tb; member
234 struct tb *tb; member
335 struct tb *tb; member
422 struct tb *tb; member
498 int (*driver_ready)(struct tb *tb);
500 void (*stop)(struct tb *tb);
501 void (*deinit)(struct tb *tb);
504 int (*suspend)(struct tb *tb);
506 int (*thaw_noirq)(struct tb *tb);
507 void (*complete)(struct tb *tb);
[all …]
/linux/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/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 …]
/linux/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/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/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()
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()
500 if (tb[NFTA_TUNNEL_KEY_TTL]) in nft_tunnel_obj_init()
[all …]
/linux/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()
439 if (tb[ETHTOOL_A_BITSET_VALUE]) { in ethnl_update_bitset32_verbose()
444 if (tb[ETHTOOL_A_BITSET_MASK]) { in ethnl_update_bitset32_verbose()
482 struct nlattr **tb, in ethnl_compact_sanity_checks() argument
494 if (!tb[ETHTOOL_A_BITSET_SIZE]) { in ethnl_compact_sanity_checks()
517 if (tb[ETHTOOL_A_BITSET_MASK] && in ethnl_compact_sanity_checks()
568 if (tb[ETHTOOL_A_BITSET_BITS]) in ethnl_update_bitset32()
623 if (!tb[ETHTOOL_A_BITSET_BITS]) { in ethnl_parse_bitset()
[all …]
H A Drings.c140 struct nlattr **tb = info->attrs; in ethnl_set_rings_validate() local
142 if (tb[ETHTOOL_A_RINGS_RX_BUF_LEN] && in ethnl_set_rings_validate()
158 if (tb[ETHTOOL_A_RINGS_CQE_SIZE] && in ethnl_set_rings_validate()
161 tb[ETHTOOL_A_RINGS_CQE_SIZE], in ethnl_set_rings_validate()
166 if (tb[ETHTOOL_A_RINGS_TX_PUSH] && in ethnl_set_rings_validate()
169 tb[ETHTOOL_A_RINGS_TX_PUSH], in ethnl_set_rings_validate()
174 if (tb[ETHTOOL_A_RINGS_RX_PUSH] && in ethnl_set_rings_validate()
177 tb[ETHTOOL_A_RINGS_RX_PUSH], in ethnl_set_rings_validate()
199 struct nlattr **tb = info->attrs; in ethnl_set_rings() local
230 err_attr = tb[ETHTOOL_A_RINGS_RX]; in ethnl_set_rings()
[all …]
/linux/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()
57 tb->active = 1; in arch_enter_lazy_mmu_mode()
64 if (tb->tlb_nr) in arch_leave_lazy_mmu_mode()
66 tb->active = 0; in arch_leave_lazy_mmu_mode()
79 nr = tb->tlb_nr; in tlb_batch_add_one()
86 if (!tb->active) { in tlb_batch_add_one()
[all …]
/linux/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/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 …]
/linux/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