Home
last modified time | relevance | path

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

12345678910>>...26

/openbmc/linux/fs/reiserfs/
H A Ddo_balan.c19 static inline void buffer_info_init_left(struct tree_balance *tb, in buffer_info_init_left() argument
22 bi->tb = tb; in buffer_info_init_left()
23 bi->bi_bh = tb->L[0]; in buffer_info_init_left()
24 bi->bi_parent = tb->FL[0]; in buffer_info_init_left()
25 bi->bi_position = get_left_neighbor_position(tb, 0); in buffer_info_init_left()
28 static inline void buffer_info_init_right(struct tree_balance *tb, in buffer_info_init_right() argument
31 bi->tb = tb; in buffer_info_init_right()
32 bi->bi_bh = tb->R[0]; in buffer_info_init_right()
33 bi->bi_parent = tb->FR[0]; in buffer_info_init_right()
34 bi->bi_position = get_right_neighbor_position(tb, 0); in buffer_info_init_right()
[all …]
H A Dfix_node.c51 static void create_virtual_node(struct tree_balance *tb, int h) in create_virtual_node() argument
54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node()
58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node()
62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node()
76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node()
115 op_create_vi(vn, vi, is_affected, tb->insert_size[0]); in create_virtual_node()
116 if (tb->vn_buf + tb->vn_buf_size < vn->vn_free_ptr) in create_virtual_node()
117 reiserfs_panic(tb->tb_sb, "vs-8030", in create_virtual_node()
125 vn->vn_vi[new_num].vi_item_len += tb->insert_size[0]; in create_virtual_node()
137 vi->vi_item_len = tb->insert_size[0]; in create_virtual_node()
[all …]
H A Dibalance.c28 struct tree_balance *tb, in internal_define_dest_src_infos() argument
41 src_bi->tb = tb; in internal_define_dest_src_infos()
42 src_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos()
43 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos()
44 src_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos()
45 dest_bi->tb = tb; in internal_define_dest_src_infos()
46 dest_bi->bi_bh = tb->L[h]; in internal_define_dest_src_infos()
47 dest_bi->bi_parent = tb->FL[h]; in internal_define_dest_src_infos()
48 dest_bi->bi_position = get_left_neighbor_position(tb, h); in internal_define_dest_src_infos()
49 *d_key = tb->lkey[h]; 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
128 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show()
132 pm_runtime_get_sync(&tb->dev); in boot_acl_show()
134 if (mutex_lock_interruptible(&tb->lock)) { in boot_acl_show()
138 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show()
140 mutex_unlock(&tb->lock); in boot_acl_show()
143 mutex_unlock(&tb->lock); in boot_acl_show()
145 for (ret = 0, i = 0; i < tb->nboot_acl; i++) { in boot_acl_show()
149 ret += sysfs_emit_at(buf, ret, "%s", i < tb->nboot_acl - 1 ? "," : "\n"); in boot_acl_show()
153 pm_runtime_mark_last_busy(&tb->dev); in boot_acl_show()
[all …]
H A Dtb.c65 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb()
67 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb()
72 struct tb *tb; member
85 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups()
186 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug() argument
194 ev->tb = tb; in tb_queue_hotplug()
199 queue_work(tb->wq, &ev->work); in tb_queue_hotplug()
206 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources()
223 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources()
240 static void tb_discover_dp_resource(struct tb *tb, struct tb_port *port) in tb_discover_dp_resource() argument
[all …]
H A Dicm.c105 bool (*is_supported)(struct tb *tb);
106 int (*cio_reset)(struct tb *tb);
107 int (*get_mode)(struct tb *tb);
108 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route);
109 void (*save_devices)(struct tb *tb);
110 int (*driver_ready)(struct tb *tb,
113 void (*set_uuid)(struct tb *tb);
114 void (*device_connected)(struct tb *tb,
116 void (*device_disconnected)(struct tb *tb,
118 void (*xdomain_connected)(struct tb *tb,
[all …]
H A Dtb.h174 struct tb *tb; member
227 struct tb *tb; member
326 struct tb *tb; member
411 struct tb *tb; member
485 int (*driver_ready)(struct tb *tb);
486 int (*start)(struct tb *tb, bool reset);
487 void (*stop)(struct tb *tb);
488 int (*suspend_noirq)(struct tb *tb);
489 int (*resume_noirq)(struct tb *tb);
490 int (*suspend)(struct tb *tb);
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A Dnetlink_dumper.c14 static void xdp_dump_prog_id(struct nlattr **tb, int attr, in xdp_dump_prog_id() argument
18 if (!tb[attr]) in xdp_dump_prog_id()
24 NET_DUMP_UINT("id", " id %u", libbpf_nla_getattr_u32(tb[attr])) in xdp_dump_prog_id()
32 struct nlattr *tb[IFLA_XDP_MAX + 1]; in do_xdp_dump_one() local
35 if (libbpf_nla_parse_nested(tb, IFLA_XDP_MAX, attr, NULL) < 0) in do_xdp_dump_one()
38 if (!tb[IFLA_XDP_ATTACHED]) in do_xdp_dump_one()
41 mode = libbpf_nla_getattr_u8(tb[IFLA_XDP_ATTACHED]); in do_xdp_dump_one()
55 xdp_dump_prog_id(tb, IFLA_XDP_SKB_PROG_ID, "generic", true); in do_xdp_dump_one()
56 xdp_dump_prog_id(tb, IFLA_XDP_DRV_PROG_ID, "driver", true); in do_xdp_dump_one()
57 xdp_dump_prog_id(tb, IFLA_XDP_HW_PROG_ID, "offload", true); in do_xdp_dump_one()
[all …]
/openbmc/linux/net/bridge/
H A Dbr_cfm_netlink.c93 struct nlattr *tb[IFLA_BRIDGE_CFM_MEP_CREATE_MAX + 1]; in br_mep_create_parse() local
98 err = nla_parse_nested(tb, IFLA_BRIDGE_CFM_MEP_CREATE_MAX, attr, in br_mep_create_parse()
103 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE]) { in br_mep_create_parse()
107 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]) { in br_mep_create_parse()
111 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]) { in br_mep_create_parse()
115 if (!tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX]) { in br_mep_create_parse()
122 instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_INSTANCE]); in br_mep_create_parse()
123 create.domain = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]); in br_mep_create_parse()
124 create.direction = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DIRECTION]); in br_mep_create_parse()
125 create.ifindex = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_IFINDEX]); in br_mep_create_parse()
[all …]
H A Dbr_mrp_netlink.c34 struct nlattr *tb[IFLA_BRIDGE_MRP_INSTANCE_MAX + 1]; in br_mrp_instance_parse() local
38 err = nla_parse_nested(tb, IFLA_BRIDGE_MRP_INSTANCE_MAX, attr, in br_mrp_instance_parse()
43 if (!tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID] || in br_mrp_instance_parse()
44 !tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX] || in br_mrp_instance_parse()
45 !tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]) { in br_mrp_instance_parse()
53 inst.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_RING_ID]); in br_mrp_instance_parse()
54 inst.p_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_P_IFINDEX]); in br_mrp_instance_parse()
55 inst.s_ifindex = nla_get_u32(tb[IFLA_BRIDGE_MRP_INSTANCE_S_IFINDEX]); in br_mrp_instance_parse()
58 if (tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]) in br_mrp_instance_parse()
59 inst.prio = nla_get_u16(tb[IFLA_BRIDGE_MRP_INSTANCE_PRIO]); in br_mrp_instance_parse()
[all …]
/openbmc/qemu/hw/timer/
H A Darm_mptimer.c56 static inline void timerblock_update_irq(TimerBlock *tb) in timerblock_update_irq() argument
58 qemu_set_irq(tb->irq, tb->status && (tb->control & 4)); in timerblock_update_irq()
91 TimerBlock *tb = (TimerBlock *)opaque; in timerblock_tick() local
95 if ((tb->control & 2) && (tb->control & 0xff00) == 0 && in timerblock_tick()
96 ptimer_get_limit(tb->timer) == 0) { in timerblock_tick()
97 ptimer_stop(tb->timer); in timerblock_tick()
99 tb->status = 1; in timerblock_tick()
100 timerblock_update_irq(tb); in timerblock_tick()
106 TimerBlock *tb = (TimerBlock *)opaque; in timerblock_read() local
109 return ptimer_get_limit(tb->timer); in timerblock_read()
[all …]
/openbmc/qemu/accel/tcg/
H A Dtranslate-all.c128 static int encode_search(TranslationBlock *tb, uint8_t *block) in encode_search() argument
136 for (i = 0, n = tb->icount; i < n; ++i) { in encode_search()
141 prev = (!(tb_cflags(tb) & CF_PCREL) && j == 0 ? tb->pc : 0); in encode_search()
164 static int cpu_unwind_data_from_tb(TranslationBlock *tb, uintptr_t host_pc, in cpu_unwind_data_from_tb() argument
167 uintptr_t iter_pc = (uintptr_t)tb->tc.ptr; in cpu_unwind_data_from_tb()
168 const uint8_t *p = tb->tc.ptr + tb->tc.size; in cpu_unwind_data_from_tb()
169 int i, j, num_insns = tb->icount; in cpu_unwind_data_from_tb()
178 if (!(tb_cflags(tb) & CF_PCREL)) { in cpu_unwind_data_from_tb()
179 data[0] = tb->pc; in cpu_unwind_data_from_tb()
202 void cpu_restore_state_from_tb(CPUState *cpu, TranslationBlock *tb, in cpu_restore_state_from_tb() argument
[all …]
H A Dtb-maint.c38 #define TB_FOR_EACH_TAGGED(head, tb, n, field) \ argument
39 for (n = (head) & 1, tb = (TranslationBlock *)((head) & ~1); \
40 tb; tb = (TranslationBlock *)tb->field[n], n = (uintptr_t)tb & 1, \
41 tb = (TranslationBlock *)((uintptr_t)tb & ~1))
43 #define TB_FOR_EACH_JMP(head_tb, tb, n) \ argument
44 TB_FOR_EACH_TAGGED((head_tb)->jmp_list_head, tb, n, jmp_list_next)
75 static inline void tb_lock_pages(const TranslationBlock *tb) { } in tb_lock_pages() argument
91 static void tb_record(TranslationBlock *tb) in tb_record() argument
97 tb->itree.last = tb->itree.start + tb->size - 1; in tb_record()
100 addr = tb_page_addr0(tb); in tb_record()
[all …]
H A Dcpu-exec.c190 const TranslationBlock *tb = p; in tb_lookup_cmp() local
193 if ((tb_cflags(tb) & CF_PCREL || tb->pc == desc->pc) && in tb_lookup_cmp()
194 tb_page_addr0(tb) == desc->page_addr0 && in tb_lookup_cmp()
195 tb->cs_base == desc->cs_base && in tb_lookup_cmp()
196 tb->flags == desc->flags && in tb_lookup_cmp()
197 tb_cflags(tb) == desc->cflags) { in tb_lookup_cmp()
199 tb_page_addr_t tb_phys_page1 = tb_page_addr1(tb); in tb_lookup_cmp()
253 TranslationBlock *tb; in tb_lookup() local
263 tb = qatomic_read(&jc->array[hash].tb); in tb_lookup()
264 if (likely(tb && in tb_lookup()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtrace.c17 struct trace_buffer *tb; in trace_buffer_allocate() local
19 if (size < sizeof(*tb)) { in trace_buffer_allocate()
24 tb = mmap(NULL, size, PROT_READ | PROT_WRITE, in trace_buffer_allocate()
26 if (tb == MAP_FAILED) { in trace_buffer_allocate()
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()
38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() argument
40 return p < ((void *)tb + tb->size); in trace_check_bounds()
[all …]
/openbmc/linux/include/drm/
H A Dtask_barrier.h55 static inline void task_barrier_init(struct task_barrier *tb) in task_barrier_init() argument
57 tb->n = 0; in task_barrier_init()
58 atomic_set(&tb->count, 0); in task_barrier_init()
59 sema_init(&tb->enter_turnstile, 0); in task_barrier_init()
60 sema_init(&tb->exit_turnstile, 0); in task_barrier_init()
63 static inline void task_barrier_add_task(struct task_barrier *tb) in task_barrier_add_task() argument
65 tb->n++; in task_barrier_add_task()
68 static inline void task_barrier_rem_task(struct task_barrier *tb) in task_barrier_rem_task() argument
70 tb->n--; in task_barrier_rem_task()
78 static inline void task_barrier_enter(struct task_barrier *tb) in task_barrier_enter() argument
[all …]
/openbmc/linux/net/netfilter/
H A Dnfnetlink_cthelper.c76 struct nlattr *tb[NFCTH_TUPLE_MAX+1]; in nfnl_cthelper_parse_tuple() local
78 err = nla_parse_nested_deprecated(tb, NFCTH_TUPLE_MAX, attr, in nfnl_cthelper_parse_tuple()
83 if (!tb[NFCTH_TUPLE_L3PROTONUM] || !tb[NFCTH_TUPLE_L4PROTONUM]) in nfnl_cthelper_parse_tuple()
89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple()
90 tuple->dst.protonum = nla_get_u8(tb[NFCTH_TUPLE_L4PROTONUM]); in nfnl_cthelper_parse_tuple()
141 struct nlattr *tb[NFCTH_POLICY_MAX+1]; in nfnl_cthelper_expect_policy() local
143 err = nla_parse_nested_deprecated(tb, NFCTH_POLICY_MAX, attr, in nfnl_cthelper_expect_policy()
148 if (!tb[NFCTH_POLICY_NAME] || in nfnl_cthelper_expect_policy()
149 !tb[NFCTH_POLICY_EXPECT_MAX] || in nfnl_cthelper_expect_policy()
150 !tb[NFCTH_POLICY_EXPECT_TIMEOUT]) in nfnl_cthelper_expect_policy()
[all …]
H A Dnft_tunnel.c76 const struct nlattr * const tb[]) in nft_tunnel_get_init() argument
81 if (!tb[NFTA_TUNNEL_KEY] || in nft_tunnel_get_init()
82 !tb[NFTA_TUNNEL_DREG]) in nft_tunnel_get_init()
85 priv->key = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY])); in nft_tunnel_get_init()
97 if (tb[NFTA_TUNNEL_MODE]) { in nft_tunnel_get_init()
98 priv->mode = ntohl(nla_get_be32(tb[NFTA_TUNNEL_MODE])); in nft_tunnel_get_init()
106 return nft_parse_register_store(ctx, tb[NFTA_TUNNEL_DREG], &priv->dreg, in nft_tunnel_get_init()
195 struct nlattr *tb[NFTA_TUNNEL_KEY_IP_MAX + 1]; in nft_tunnel_obj_ip_init() local
198 err = nla_parse_nested_deprecated(tb, NFTA_TUNNEL_KEY_IP_MAX, attr, in nft_tunnel_obj_ip_init()
203 if (!tb[NFTA_TUNNEL_KEY_IP_DST]) in nft_tunnel_obj_ip_init()
[all …]
/openbmc/linux/net/ethtool/
H A Dbitset.c330 struct nlattr *tb[ARRAY_SIZE(bitset_policy)]; in ethnl_bitset_is_compact() local
333 ret = nla_parse_nested(tb, ARRAY_SIZE(bitset_policy) - 1, bitset, in ethnl_bitset_is_compact()
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()
382 struct nlattr *tb[ARRAY_SIZE(bit_policy)]; in ethnl_parse_bit() local
385 ret = nla_parse_nested(tb, ARRAY_SIZE(bit_policy) - 1, bit_attr, in ethnl_parse_bit()
390 if (tb[ETHTOOL_A_BITSET_BIT_INDEX]) { in ethnl_parse_bit()
393 idx = nla_get_u32(tb[ETHTOOL_A_BITSET_BIT_INDEX]); in ethnl_parse_bit()
396 tb[ETHTOOL_A_BITSET_BIT_INDEX], in ethnl_parse_bit()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_hba.c40 struct target_backend *tb, *old; in transport_backend_register() local
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()
56 target_setup_backend_cits(tb); in transport_backend_register()
57 list_add_tail(&tb->list, &backend_list); in transport_backend_register()
68 struct target_backend *tb; in target_backend_unregister() local
71 list_for_each_entry(tb, &backend_list, list) { in target_backend_unregister()
72 if (tb->ops == ops) { in target_backend_unregister()
[all …]
/openbmc/linux/arch/sparc/mm/
H A Dtlb.c25 struct tlb_batch *tb = &get_cpu_var(tlb_batch); in flush_tlb_pending() local
26 struct mm_struct *mm = tb->mm; in flush_tlb_pending()
28 if (!tb->tlb_nr) in flush_tlb_pending()
31 flush_tsb_user(tb); in flush_tlb_pending()
34 if (tb->tlb_nr == 1) { in flush_tlb_pending()
35 global_flush_tlb_page(mm, tb->vaddrs[0]); in flush_tlb_pending()
38 smp_flush_tlb_pending(tb->mm, tb->tlb_nr, in flush_tlb_pending()
39 &tb->vaddrs[0]); in flush_tlb_pending()
41 __flush_tlb_pending(CTX_HWBITS(tb->mm->context), in flush_tlb_pending()
42 tb->tlb_nr, &tb->vaddrs[0]); in flush_tlb_pending()
[all …]
/openbmc/linux/net/netfilter/ipset/
H A Dip_set_hash_ipportnet.c160 hash_ipportnet4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportnet4_uadt() argument
173 if (tb[IPSET_ATTR_LINENO]) in hash_ipportnet4_uadt()
174 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipportnet4_uadt()
176 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportnet4_uadt()
177 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportnet4_uadt()
178 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO) || in hash_ipportnet4_uadt()
179 !ip_set_optattr_netorder(tb, IPSET_ATTR_CADT_FLAGS))) in hash_ipportnet4_uadt()
182 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP], &ip); in hash_ipportnet4_uadt()
186 ret = ip_set_get_extensions(set, tb, &ext); in hash_ipportnet4_uadt()
190 ret = ip_set_get_hostipaddr4(tb[IPSET_ATTR_IP2], &ip2_from); in hash_ipportnet4_uadt()
[all …]
H A Dip_set_hash_ipportip.c108 hash_ipportip4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipportip4_uadt() argument
119 if (tb[IPSET_ATTR_LINENO]) in hash_ipportip4_uadt()
120 *lineno = nla_get_u32(tb[IPSET_ATTR_LINENO]); in hash_ipportip4_uadt()
122 if (unlikely(!tb[IPSET_ATTR_IP] || !tb[IPSET_ATTR_IP2] || in hash_ipportip4_uadt()
123 !ip_set_attr_netorder(tb, IPSET_ATTR_PORT) || in hash_ipportip4_uadt()
124 !ip_set_optattr_netorder(tb, IPSET_ATTR_PORT_TO))) in hash_ipportip4_uadt()
127 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportip4_uadt()
131 ret = ip_set_get_extensions(set, tb, &ext); in hash_ipportip4_uadt()
135 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip4_uadt()
139 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt()
[all …]
H A Dip_set_hash_ipmac.c110 hash_ipmac4_uadt(struct ip_set *set, struct nlattr *tb[], in hash_ipmac4_uadt() argument
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()
121 !ip_set_optattr_netorder(tb, IPSET_ATTR_TIMEOUT) || in hash_ipmac4_uadt()
122 !ip_set_optattr_netorder(tb, IPSET_ATTR_PACKETS) || in hash_ipmac4_uadt()
123 !ip_set_optattr_netorder(tb, IPSET_ATTR_BYTES) || in hash_ipmac4_uadt()
124 !ip_set_optattr_netorder(tb, IPSET_ATTR_SKBMARK) || in hash_ipmac4_uadt()
125 !ip_set_optattr_netorder(tb, IPSET_ATTR_SKBPRIO) || in hash_ipmac4_uadt()
126 !ip_set_optattr_netorder(tb, IPSET_ATTR_SKBQUEUE))) in hash_ipmac4_uadt()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dtestmode.c58 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() argument
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()
71 buf_len = nla_len(tb[WL1271_TM_ATTR_DATA]); in wl1271_tm_cmd_test()
73 if (tb[WL1271_TM_ATTR_ANSWER]) in wl1271_tm_cmd_test()
74 answer = nla_get_u8(tb[WL1271_TM_ATTR_ANSWER]); in wl1271_tm_cmd_test()
138 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() argument
147 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_interrogate()
150 ie_id = nla_get_u8(tb[WL1271_TM_ATTR_IE_ID]); in wl1271_tm_cmd_interrogate()
203 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() argument
[all …]

12345678910>>...26