Home
last modified time | relevance | path

Searched refs:xa (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/openbmc/linux/lib/
H A Dtest_xarray.c172 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_load()
197 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
249 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
251 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_mark_1()
331 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_shrink()
351 XA_BUG_ON(xa, !xa_empty(xa)); in check_xa_shrink()
435 XA_BUG_ON(xa, xa_empty(xa)); in check_reserve()
459 XA_BUG_ON(xa, xa_empty(xa)); in check_reserve()
1170 XA_BUG_ON(xa, xa_find_entry(xa, xa) != -1); in check_find_entry()
1176 XA_BUG_ON(xa, xa_find_entry(xa, xa) != -1); in check_find_entry()
[all …]
H A Dxarray.c439 struct xarray *xa = xas->xa; in xas_shrink() local
561 struct xarray *xa = xas->xa; in xas_expand() local
641 struct xarray *xa = xas->xa; in xas_create() local
1515 xa_lock(xa); in xa_erase()
1517 xa_unlock(xa); in xa_erase()
1579 xa_lock(xa); in xa_store()
1581 xa_unlock(xa); in xa_store()
1976 xa_lock(xa); in xa_set_mark()
1994 xa_lock(xa); in xa_clear_mark()
2303 xa->xa_flags, xa_marked(xa, XA_MARK_0), in xa_dump()
[all …]
H A Didr.c383 XA_STATE(xas, &ida->xa, min / IDA_BITMAP_BITS); in ida_alloc_range()
489 XA_STATE(xas, &ida->xa, id / IDA_BITMAP_BITS); in ida_free()
543 XA_STATE(xas, &ida->xa, 0); in ida_destroy()
594 struct xarray *xa = &ida->xa; in ida_dump() local
595 pr_debug("ida: %p node %p free %d\n", ida, xa->xa_head, in ida_dump()
596 xa->xa_flags >> ROOT_TAG_SHIFT); in ida_dump()
597 ida_dump_entry(xa->xa_head, 0); in ida_dump()
/openbmc/linux/include/linux/
H A Dxarray.h531 #define xa_trylock(xa) spin_trylock(&(xa)->xa_lock) argument
532 #define xa_lock(xa) spin_lock(&(xa)->xa_lock) argument
533 #define xa_unlock(xa) spin_unlock(&(xa)->xa_lock) argument
534 #define xa_lock_bh(xa) spin_lock_bh(&(xa)->xa_lock) argument
535 #define xa_unlock_bh(xa) spin_unlock_bh(&(xa)->xa_lock) argument
536 #define xa_lock_irq(xa) spin_lock_irq(&(xa)->xa_lock) argument
537 #define xa_unlock_irq(xa) spin_unlock_irq(&(xa)->xa_lock) argument
694 xa_lock(xa); in xa_cmpxchg()
780 xa_lock(xa); in xa_insert()
873 xa_lock(xa); in xa_alloc()
[all …]
H A Didr.h247 struct xarray xa; member
253 .xa = XARRAY_INIT(name, IDA_INIT_FLAGS) \
316 xa_init_flags(&ida->xa, IDA_INIT_FLAGS); in ida_init()
329 return xa_empty(&ida->xa); in ida_is_empty()
/openbmc/linux/tools/testing/radix-tree/
H A Dmultiorder.c18 XA_STATE_ORDER(xas, xa, index, order); in item_insert_order()
34 void multiorder_iteration(struct xarray *xa) in multiorder_iteration() argument
36 XA_STATE(xas, xa, 0); in multiorder_iteration()
71 item_kill_tree(xa); in multiorder_iteration()
76 XA_STATE(xas, xa, 0); in multiorder_tagged_iteration()
92 assert(!xa_marked(xa, XA_MARK_1)); in multiorder_tagged_iteration()
95 xa_set_mark(xa, tag_index[i], XA_MARK_1); in multiorder_tagged_iteration()
159 item_kill_tree(xa); in multiorder_tagged_iteration()
212 item_kill_tree(xa); in multiorder_iteration_race()
253 static void load_race(struct xarray *xa) in load_race() argument
[all …]
H A Diteration_check_2.c35 struct xarray *xa = arg; in throbber() local
43 xa_store(xa, i, xa_mk_value(i), GFP_KERNEL); in throbber()
44 xa_set_mark(xa, i, XA_MARK_0); in throbber()
47 xa_erase(xa, i); in throbber()
H A Dtest.c79 int item_delete_rcu(struct xarray *xa, unsigned long index) in item_delete_rcu() argument
81 struct item *item = xa_erase(xa, index); in item_delete_rcu()
173 int tag_tagged_items(struct xarray *xa, unsigned long start, unsigned long end, in tag_tagged_items() argument
176 XA_STATE(xas, xa, start); in tag_tagged_items()
255 void item_kill_tree(struct xarray *xa) in item_kill_tree() argument
257 XA_STATE(xas, xa, 0); in item_kill_tree()
267 assert(xa_empty(xa)); in item_kill_tree()
/openbmc/linux/net/core/
H A Dxdp.c56 return xa->mem.id != mem_id; in xdp_mem_id_cmp()
73 struct xdp_mem_allocator *xa; in __xdp_mem_allocator_rcu_free() local
80 kfree(xa); in __xdp_mem_allocator_rcu_free()
85 trace_mem_disconnect(xa); in mem_xa_remove()
93 struct xdp_mem_allocator *xa; in mem_allocator_disconnect() local
102 while ((xa = rhashtable_walk_next(&iter)) && !IS_ERR(xa)) { in mem_allocator_disconnect()
104 mem_xa_remove(xa); in mem_allocator_disconnect()
460 struct xdp_mem_allocator *xa = bq->xa; in xdp_flush_frame_bulk() local
483 xa = bq->xa; in xdp_return_frame_bulk()
484 if (unlikely(!xa)) { in xdp_return_frame_bulk()
[all …]
/openbmc/qemu/target/ppc/
H A Dinsn64.decode56 &8RR_XX4 xt xa xb xc
59 &8RR_XX4 xt=%8rr_xx_xt xa=%8rr_xx_xa xb=%8rr_xx_xb xc=%8rr_xx_xc
61 &8RR_XX4_imm xt xa xb xc imm
64 &8RR_XX4_imm xt=%8rr_xx_xt xa=%8rr_xx_xa xb=%8rr_xx_xb xc=%8rr_xx_xc
66 &8RR_XX4_uim3 xt xa xb xc uim3
72 &MMIRR_XX3 !extern xa xb xt pmsk xmsk ymsk
79 &MMIRR_XX3 xa=%xx3_xa xb=%xx3_xb xt=%xx3_at
176 111011 ... -- ..... ..... 00011011 ..- @MMIRR_XX3_NO_P xa=%xx3_xa
178 111011 ... -- ..... ..... 00011010 ..- @MMIRR_XX3_NO_P xa=%xx3_xa
180 111011 ... -- ..... ..... 10011010 ..- @MMIRR_XX3_NO_P xa=%xx3_xa
[all …]
H A Dinsn32.decode211 &XX3 xt xa xb
215 &MMIRR_XX3 xa xb xt pmsk xmsk ymsk
221 &XX3_dm xt xa xb dm
224 &XX4 xt xa xb xc
886 XVI4GER8 111011 ... -- ..... ..... 00100011 ..- @XX3_at xa=%xx_xa
887 XVI4GER8PP 111011 ... -- ..... ..... 00100010 ..- @XX3_at xa=%xx_xa
888 XVI8GER4 111011 ... -- ..... ..... 00000011 ..- @XX3_at xa=%xx_xa
889 XVI8GER4PP 111011 ... -- ..... ..... 00000010 ..- @XX3_at xa=%xx_xa
890 XVI16GER2 111011 ... -- ..... ..... 01001011 ..- @XX3_at xa=%xx_xa
891 XVI16GER2PP 111011 ... -- ..... ..... 01101011 ..- @XX3_at xa=%xx_xa
[all …]
H A Dfpu_helper.c1722 t.f128 = float128_add(xa->f128, xb->f128, &tstat); in helper_xsaddqp()
2269 ppc_vsr_t *xa, ppc_vsr_t *xb) in helper_xscmpexpdp() argument
2274 exp_a = extract64(xa->VsrD(0), 52, 11); in helper_xscmpexpdp()
2277 if (unlikely(float64_is_any_nan(xa->VsrD(0)) || in helper_xscmpexpdp()
2298 ppc_vsr_t *xa, ppc_vsr_t *xb) in helper_xscmpexpqp() argument
2303 exp_a = extract64(xa->VsrD(0), 48, 15); in helper_xscmpexpqp()
2306 if (unlikely(float128_is_any_nan(xa->f128) || in helper_xscmpexpqp()
2382 do_scalar_cmp(env, xa, xb, BF(opcode), true); in helper_xscmpodp()
2388 do_scalar_cmp(env, xa, xb, BF(opcode), false); in helper_xscmpudp()
2447 do_scalar_cmpq(env, xa, xb, BF(opcode), true); in helper_xscmpoqp()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Drestrack.c70 struct xarray *xa = &dev->res[i].xa; in rdma_restrack_clean() local
72 if (!xa_empty(xa)) { in rdma_restrack_clean()
79 xa_for_each(xa, index, e) { in rdma_restrack_clean()
99 xa_destroy(xa); in rdma_restrack_clean()
116 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count()
119 xa_lock(&rt->xa); in rdma_restrack_count()
122 xa_unlock(&rt->xa); in rdma_restrack_count()
290 xa_lock(&rt->xa); in rdma_restrack_get_byid()
291 res = xa_load(&rt->xa, id); in rdma_restrack_get_byid()
294 xa_unlock(&rt->xa); in rdma_restrack_get_byid()
[all …]
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_pool.c109 xa_init_flags(&pool->xa, XA_FLAGS_ALLOC); in rxe_pool_init()
116 WARN_ON(!xa_empty(&pool->xa)); in rxe_pool_cleanup()
141 err = xa_alloc_cyclic(&pool->xa, &elem->index, NULL, pool->limit, in __rxe_add_to_pool()
156 struct xarray *xa = &pool->xa; in rxe_pool_get_index() local
160 elem = xa_load(xa, index); in rxe_pool_get_index()
180 struct xarray *xa = &pool->xa; in __rxe_cleanup() local
191 xa_ret = xa_erase(xa, elem->index); in __rxe_cleanup()
254 xa_ret = xa_store(&elem->pool->xa, elem->index, elem, GFP_KERNEL); in __rxe_finalize()
/openbmc/qemu/hw/i386/kvm/
H A Dxen_overlay.c76 struct kvm_xen_hvm_attr xa = { in xen_overlay_set_be_shinfo() local
81 return kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_overlay_set_be_shinfo()
233 struct kvm_xen_hvm_attr xa = { in xen_sync_long_mode() local
241 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_GET_ATTR, &xa); in xen_sync_long_mode()
243 xen_overlay_singleton->long_mode = xa.u.long_mode; in xen_sync_long_mode()
252 struct kvm_xen_hvm_attr xa = { in xen_set_long_mode() local
261 ret = kvm_vm_ioctl(kvm_state, KVM_XEN_HVM_SET_ATTR, &xa); in xen_set_long_mode()
263 xen_overlay_singleton->long_mode = xa.u.long_mode; in xen_set_long_mode()
/openbmc/linux/include/trace/events/
H A Dxdp.h325 TP_ARGS(xa),
335 __entry->xa = xa;
336 __entry->mem_id = xa->mem.id;
337 __entry->mem_type = xa->mem.type;
338 __entry->allocator = xa->allocator;
350 TP_PROTO(const struct xdp_mem_allocator *xa,
353 TP_ARGS(xa, rxq),
365 __entry->xa = xa;
366 __entry->mem_id = xa->mem.id;
367 __entry->mem_type = xa->mem.type;
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Drk3288-vyasa-u-boot.dtsi7 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
8 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
9 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
H A Drk3288-miqi.dts19 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
20 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
21 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
H A Drk3288-popmetal.dts19 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
20 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
21 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
H A Drk3288-firefly.dts24 rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
25 0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
26 0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dpmr735d.dtsi59 reg = <0xa SPMI_USID>;
66 interrupts = <0xa 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
90 interrupts = <0xb 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
H A Dpm8550vs.dtsi108 interrupts = <0x2 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
132 interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
156 interrupts = <0x4 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
180 interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
/openbmc/linux/kernel/irq/
H A Dmsi.c88 struct xarray *xa = &md->__domains[domid].store; in msi_insert_desc() local
112 ret = xa_insert(xa, index, desc, GFP_KERNEL); in msi_insert_desc()
183 struct xarray *xa; in msi_domain_free_descs() local
193 xa_erase(xa, idx); in msi_domain_free_descs()
353 struct xarray *xa = &md->__domains[domid].store; in msi_find_desc() local
436 struct xarray *xa; in msi_domain_get_virq() local
449 xa = &dev->msi.data->__domains[domid].store; in msi_domain_get_virq()
450 desc = xa_load(xa, pcimsi ? 0 : index); in msi_domain_get_virq()
1081 struct xarray *xa; in msi_domain_populate_irqs() local
1098 desc = xa_load(xa, virq); in msi_domain_populate_irqs()
[all …]
/openbmc/qemu/target/ppc/translate/
H A Dvsx-impl.c.inc609 tcg_gen_and_i64(xa, xa, sgm); \
1302 TCGv_ptr xt, xa, xb;
1308 xa = gen_vsr_ptr(a->xa);
1317 TCGv_ptr xt, xa, xb;
1323 xa = gen_vsr_ptr(a->xa);
1365 xa = gen_vsr_ptr(a->xa);
2543 int xt = vsr_full_offset(a->xt), xa = vsr_full_offset(a->xa),
2714 TCGv_ptr xt, xa, xb;
2720 xa = gen_vsr_ptr(a->xa);
2823 TCGv_ptr xt, xa, xb;
[all …]
/openbmc/linux/io_uring/
H A Dtctx.c51 WARN_ON_ONCE(!xa_empty(&tctx->xa)); in __io_uring_free()
84 xa_init(&tctx->xa); in io_uring_alloc_task_context()
115 if (!xa_load(&tctx->xa, (unsigned long)ctx)) { in __io_uring_add_tctx_node()
122 ret = xa_err(xa_store(&tctx->xa, (unsigned long)ctx, in __io_uring_add_tctx_node()
162 node = xa_erase(&tctx->xa, index); in io_uring_del_tctx_node()
184 xa_for_each(&tctx->xa, index, node) { in io_uring_clean_tctx()

12345678910>>...13