Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/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 …]
/openbmc/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 Dtb.c49 struct tb *tb; member
171 ev->tb = tb; in tb_queue_hotplug()
388 struct tb *tb = sw->tb; in tb_switch_discover_tunnels() local
472 struct tb *tb = sw->tb; in tb_scan_xdomain() local
1023 struct tb *tb; in tb_deactivate_and_free_tunnel() local
1159 struct tb *tb = group->tb; in tb_recalc_estimated_bandwidth_for_group() local
1707 struct tb *tb = ev->tb; in tb_handle_hotplug() local
1821 struct tb *tb = tunnel->tb; in tb_alloc_dp_bandwidth() local
1937 struct tb *tb = ev->tb; in tb_handle_dp_bandwidth_request() local
2028 ev->tb = tb; in tb_queue_dp_bandwidth_request()
[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.h179 struct tb *tb; member
232 struct tb *tb; member
331 struct tb *tb; member
416 struct tb *tb; member
490 int (*driver_ready)(struct tb *tb);
492 void (*stop)(struct tb *tb);
494 int (*resume_noirq)(struct tb *tb);
495 int (*suspend)(struct tb *tb);
497 int (*thaw_noirq)(struct tb *tb);
498 void (*complete)(struct tb *tb);
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/qemu/hw/timer/
H A Darm_mptimer.c58 qemu_set_irq(tb->irq, tb->status && (tb->control & 4)); in timerblock_update_irq()
95 if ((tb->control & 2) && (tb->control & 0xff00) == 0 && in timerblock_tick()
99 tb->status = 1; in timerblock_tick()
113 return tb->control; in timerblock_read()
115 return tb->status; in timerblock_read()
168 tb->control = value; in timerblock_write()
219 tb->control = 0; in timerblock_reset()
220 tb->status = 0; in timerblock_reset()
221 if (tb->timer) { in timerblock_reset()
272 tb->timer = ptimer_init(timerblock_tick, tb, PTIMER_POLICY); in arm_mptimer_realize()
[all …]
/openbmc/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 …]
/openbmc/qemu/accel/tcg/
H A Dtranslate-all.c141 prev = (!(tb_cflags(tb) & CF_PCREL) && j == 0 ? tb->pc : 0); in encode_search()
168 const uint8_t *p = tb->tc.ptr + tb->tc.size; in cpu_unwind_data_from_tb()
238 if (tb) { in cpu_restore_state()
250 if (tb) { in cpu_unwind_state_data()
330 tb->pc = pc; in tb_gen_code()
332 tb->flags = flags; in tb_gen_code()
355 trace_translate_block(tb, pc, tb->tc.ptr); in tb_gen_code()
536 return tb; in tb_gen_code()
562 return tb; in tb_gen_code()
573 if (tb) { in tb_check_watchpoint()
[all …]
H A Dtb-maint.c39 tb; tb = (TranslationBlock *)tb->field[n], n = (uintptr_t)tb & 1, \
40 tb = (TranslationBlock *)((uintptr_t)tb & ~1))
96 tb->itree.last = tb->itree.start + tb->size - 1; in tb_record()
141 if (tb) { in foreach_tb_next()
892 if (qatomic_read(&jc->array[h].tb) == tb) { in tb_jmp_cache_inval_tb()
914 qatomic_set(&tb->cflags, tb->cflags | CF_INVALID); in do_tb_phys_invalidate()
920 tb->flags, tb->cs_base, orig_cflags); in do_tb_phys_invalidate()
983 tb_record(tb); in tb_link_page()
986 h = tb_hash_func(tb_page_addr0(tb), tb->pc, in tb_link_page()
987 tb->flags, tb->cs_base, tb->cflags); in tb_link_page()
[all …]
H A Dcpu-exec.c258 tb = qatomic_load_acquire(&jc->array[hash].tb); in tb_lookup()
273 qatomic_store_release(&jc->array[hash].tb, tb); in tb_lookup()
276 tb = qatomic_rcu_read(&jc->array[hash].tb); in tb_lookup()
290 qatomic_set(&jc->array[hash].tb, tb); in tb_lookup()
293 return tb; in tb_lookup()
303 cpu->cpu_index, tb->tc.ptr, tb->cs_base, pc, in log_cpu_exec()
304 tb->flags, tb->cflags, lookup_symbol(pc)); in log_cpu_exec()
424 if (tb == NULL) { in HELPER()
920 tb = cpu_tb_exec(cpu, tb, tb_exit); in cpu_loop_exec_tb()
1018 qatomic_store_release(&jc->array[h].tb, tb); in cpu_exec_loop()
[all …]
/openbmc/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 …]
/openbmc/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()
451 if (!tb[NFTA_TUNNEL_KEY_ID]) in nft_tunnel_obj_init()
459 if (tb[NFTA_TUNNEL_KEY_IP]) { in nft_tunnel_obj_init()
492 if (tb[NFTA_TUNNEL_KEY_TOS]) in nft_tunnel_obj_init()
494 if (tb[NFTA_TUNNEL_KEY_TTL]) in nft_tunnel_obj_init()
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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>>...26