| /linux/fs/reiserfs/ |
| A D | do_balan.c | 22 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 …]
|
| A D | fix_node.c | 898 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() 2414 (tb->tb_sb, tb->L[i])) in wait_tb_buffers_until_unlocked() 2423 (tb->tb_sb, tb->FL[i])) in wait_tb_buffers_until_unlocked() 2432 (tb->tb_sb, tb->CFL[i])) in wait_tb_buffers_until_unlocked() 2445 (tb->tb_sb, tb->R[i])) in wait_tb_buffers_until_unlocked() 2454 (tb->tb_sb, tb->FR[i])) in wait_tb_buffers_until_unlocked() 2463 (tb->tb_sb, tb->CFR[i])) in wait_tb_buffers_until_unlocked() 2481 (tb->tb_sb, tb->FEB[i])) in wait_tb_buffers_until_unlocked() [all …]
|
| A D | ibalance.c | 41 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 …]
|
| A D | prints.c | 646 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 …]
|
| A D | lbalance.c | 641 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/ |
| A D | domain.c | 125 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_show() local 140 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 167 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_store() local 221 ret = tb->cm_ops->set_boot_acl(tb, acl, tb->nboot_acl); in boot_acl_store() 273 struct tb *tb = container_of(dev, struct tb, dev); in security_show() local 295 struct tb *tb = container_of(dev, struct tb, dev); in domain_attr_is_visible() local 328 struct tb *tb = container_of(dev, struct tb, dev); in tb_domain_release() local 345 struct tb *tb = data; in tb_domain_event_cb() local 383 struct tb *tb; in tb_domain_alloc() local 510 tb->cm_ops->stop(tb); in tb_domain_remove() [all …]
|
| A D | tb.c | 46 struct tb *tb; member 62 ev->tb = tb; in tb_queue_hotplug() 110 struct tb *tb = sw->tb; in tb_discover_tunnels() local 185 struct tb *tb = sw->tb; in tb_scan_xdomain() local 684 struct tb *tb; in tb_deactivate_and_free_tunnel() local 692 tb = tunnel->tb; in tb_deactivate_and_free_tunnel() 1166 struct tb *tb = ev->tb; in tb_handle_hotplug() local 1293 static void tb_stop(struct tb *tb) in tb_stop() argument 1341 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in tb_start() 1525 struct tb *tb = tcm_to_tb(tcm); in tb_remove_work() local [all …]
|
| A D | icm.c | 105 int (*cio_reset)(struct tb *tb); 106 int (*get_mode)(struct tb *tb); 112 void (*set_uuid)(struct tb *tb); 127 struct tb *tb; member 612 struct tb *tb = parent_sw->tb; in alloc_switch() local 1697 struct tb *tb = n->tb; in icm_handle_notification() local 1746 n->tb = tb; in icm_handle_event() 2152 tb->root_switch = tb_switch_alloc(tb, &tb->dev, 0); in icm_start() 2261 struct tb *tb = sw->tb; in icm_usb4_switch_op() local 2321 struct tb *tb = sw->tb; in icm_usb4_switch_nvm_authenticate_status() local [all …]
|
| A D | tb.h | 163 struct tb *tb; member 280 struct tb *tb; member 363 struct tb *tb; member 431 int (*driver_ready)(struct tb *tb); 432 int (*start)(struct tb *tb); 433 void (*stop)(struct tb *tb); 436 int (*suspend)(struct tb *tb); 438 int (*thaw_noirq)(struct tb *tb); 439 void (*complete)(struct tb *tb); 679 int tb_domain_add(struct tb *tb); [all …]
|
| /linux/net/bridge/ |
| A D | br_cfm_netlink.c | 459 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 …]
|
| A D | br_mrp_netlink.c | 58 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/bpf/bpftool/ |
| A D | netlink_dumper.c | 18 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/tools/testing/selftests/powerpc/pmu/ebb/ |
| A D | trace.c | 31 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/ |
| A D | task_barrier.h | 57 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/ |
| A D | nfnetlink_cthelper.c | 83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple() 224 if (!tb[NFCTH_TUPLE] || !tb[NFCTH_POLICY] || !tb[NFCTH_PRIV_DATA_LEN]) in nfnl_cthelper_create() 254 if (tb[NFCTH_QUEUE_NUM]) in nfnl_cthelper_create() 257 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_create() 392 if (tb[NFCTH_POLICY]) { in nfnl_cthelper_update() 400 if (tb[NFCTH_STATUS]) { in nfnl_cthelper_update() 427 if (!tb[NFCTH_NAME] || !tb[NFCTH_TUPLE]) in nfnl_cthelper_new() 633 if (tb[NFCTH_NAME]) in nfnl_cthelper_get() 636 if (tb[NFCTH_TUPLE]) { in nfnl_cthelper_get() 690 if (tb[NFCTH_NAME]) in nfnl_cthelper_del() [all …]
|
| A D | nft_tunnel.c | 80 if (!tb[NFTA_TUNNEL_KEY] || in nft_tunnel_get_init() 81 !tb[NFTA_TUNNEL_DREG]) in nft_tunnel_get_init() 96 if (tb[NFTA_TUNNEL_MODE]) { in nft_tunnel_get_init() 174 if (!tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init() 177 if (tb[NFTA_TUNNEL_KEY_IP_SRC]) in nft_tunnel_obj_ip_init() 179 if (tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init() 421 if (!tb[NFTA_TUNNEL_KEY_ID]) in nft_tunnel_obj_init() 429 if (tb[NFTA_TUNNEL_KEY_IP]) { in nft_tunnel_obj_init() 462 if (tb[NFTA_TUNNEL_KEY_TOS]) in nft_tunnel_obj_init() 464 if (tb[NFTA_TUNNEL_KEY_TTL]) in nft_tunnel_obj_init() [all …]
|
| /linux/net/ethtool/ |
| A D | bitset.c | 338 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 …]
|
| /linux/arch/powerpc/kernel/ |
| A D | watchdog.c | 118 u64 tb = get_tb(); in wd_lockup_ipi() local 139 wd_smp_last_reset_tb = tb; in set_cpumask_stuck() 215 cpu, tb); in wd_smp_clear_cpu_pending() 233 wd_smp_last_reset_tb = tb; in wd_smp_clear_cpu_pending() 244 u64 tb = get_tb(); in watchdog_timer_interrupt() local 246 per_cpu(wd_timer_tb, cpu) = tb; in watchdog_timer_interrupt() 251 watchdog_smp_panic(cpu, tb); in watchdog_timer_interrupt() 258 u64 tb; in DEFINE_INTERRUPT_HANDLER_NMI() local 268 tb = get_tb(); in DEFINE_INTERRUPT_HANDLER_NMI() 275 set_cpu_stuck(cpu, tb); in DEFINE_INTERRUPT_HANDLER_NMI() [all …]
|
| /linux/arch/sparc/mm/ |
| A D | tlb.c | 28 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/net/netfilter/ipset/ |
| A D | ip_set_hash_ipportnet.c | 173 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() 260 if (tb[IPSET_ATTR_IP2_TO]) { in hash_ipportnet4_uadt() 426 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet6_uadt() 429 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet6_uadt() 455 if (tb[IPSET_ATTR_CIDR2]) { in hash_ipportnet6_uadt() [all …]
|
| A D | ip_set_hash_ipportip.c | 119 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() 288 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip6_uadt() 291 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip6_uadt() 295 if (unlikely(tb[IPSET_ATTR_IP_TO])) in hash_ipportip6_uadt() [all …]
|
| A D | ip_set_hash_ipmac.c | 118 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 …]
|
| A D | ip_set_hash_netportnet.c | 190 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet4_uadt() 194 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet4_uadt() 212 if (tb[IPSET_ATTR_CIDR]) { in hash_netportnet4_uadt() 218 if (tb[IPSET_ATTR_CIDR2]) { in hash_netportnet4_uadt() 226 if (tb[IPSET_ATTR_PROTO]) { in hash_netportnet4_uadt() 248 !(tb[IPSET_ATTR_IP_TO] || with_ports || tb[IPSET_ATTR_IP2_TO])) { in hash_netportnet4_uadt() 257 if (tb[IPSET_ATTR_IP_TO]) { in hash_netportnet4_uadt() 481 if (tb[IPSET_ATTR_LINENO]) in hash_netportnet6_uadt() 485 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_netportnet6_uadt() 490 if (unlikely(tb[IPSET_ATTR_IP_TO] || tb[IPSET_ATTR_IP2_TO])) in hash_netportnet6_uadt() [all …]
|
| /linux/drivers/target/ |
| A D | target_core_hba.c | 42 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/drivers/net/wireless/ti/wlcore/ |
| A D | testmode.c | 67 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() 149 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_interrogate() 215 if (!tb[WL1271_TM_ATTR_DATA]) in wl1271_tm_cmd_configure() 217 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_configure() 283 if (!tb[WL1271_TM_ATTR_PLT_MODE]) in wl1271_tm_cmd_set_plt_mode() 297 ret = wl1271_tm_detect_fem(wl, tb); in wl1271_tm_cmd_set_plt_mode() 366 if (!tb[WL1271_TM_ATTR_CMD_ID]) in wl1271_tm_cmd() 378 return wl1271_tm_cmd_test(wl, tb); in wl1271_tm_cmd() [all …]
|