/openbmc/linux/lib/ |
H A D | test_xarray.c | 172 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 D | xarray.c | 439 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 D | idr.c | 383 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 D | xarray.h | 531 #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 D | idr.h | 247 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 D | multiorder.c | 18 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 D | iteration_check_2.c | 35 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 D | test.c | 79 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 D | xdp.c | 56 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() 456 struct xdp_mem_allocator *xa = bq->xa; in xdp_flush_frame_bulk() local 479 xa = bq->xa; in xdp_return_frame_bulk() 480 if (unlikely(!xa)) { in xdp_return_frame_bulk() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | restrack.c | 35 xa_init_flags(&rt[i].xa, XA_FLAGS_ALLOC); in rdma_restrack_init() 50 struct xarray *xa = &dev->res[i].xa; in rdma_restrack_clean() local 52 WARN_ON(!xa_empty(xa)); in rdma_restrack_clean() 53 xa_destroy(xa); in rdma_restrack_clean() 67 XA_STATE(xas, &rt->xa, 0); in rdma_restrack_count() 70 xa_lock(&rt->xa); in rdma_restrack_count() 73 xa_unlock(&rt->xa); in rdma_restrack_count() 241 xa_lock(&rt->xa); in rdma_restrack_get_byid() 242 res = xa_load(&rt->xa, id); in rdma_restrack_get_byid() 245 xa_unlock(&rt->xa); in rdma_restrack_get_byid() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | insn64.decode | 56 &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 D | insn32.decode | 241 &XX3 xt xa xb 244 &XX3_rc xt xa xb rc:bool 248 &MMIRR_XX3 xa xb xt pmsk xmsk ymsk 254 &XX3_dm xt xa xb dm 257 &XX4 xt xa xb xc 1195 XVI4GER8 111011 ... -- ..... ..... 00100011 ..- @XX3_at xa=%xx_xa 1196 XVI4GER8PP 111011 ... -- ..... ..... 00100010 ..- @XX3_at xa=%xx_xa 1197 XVI8GER4 111011 ... -- ..... ..... 00000011 ..- @XX3_at xa=%xx_xa 1198 XVI8GER4PP 111011 ... -- ..... ..... 00000010 ..- @XX3_at xa=%xx_xa 1199 XVI16GER2 111011 ... -- ..... ..... 01001011 ..- @XX3_at xa=%xx_xa [all …]
|
H A D | fpu_helper.c | 1625 t.f128 = float128_add(xa->f128, xb->f128, &tstat); in helper_xsaddqp() 2172 ppc_vsr_t *xa, ppc_vsr_t *xb) in helper_xscmpexpdp() argument 2177 exp_a = extract64(xa->VsrD(0), 52, 11); in helper_xscmpexpdp() 2180 if (unlikely(float64_is_any_nan(xa->VsrD(0)) || in helper_xscmpexpdp() 2201 ppc_vsr_t *xa, ppc_vsr_t *xb) in helper_xscmpexpqp() argument 2206 exp_a = extract64(xa->VsrD(0), 48, 15); in helper_xscmpexpqp() 2209 if (unlikely(float128_is_any_nan(xa->f128) || in helper_xscmpexpqp() 2285 do_scalar_cmp(env, xa, xb, BF(opcode), true); in helper_xscmpodp() 2291 do_scalar_cmp(env, xa, xb, BF(opcode), false); in helper_xscmpudp() 2350 do_scalar_cmpq(env, xa, xb, BF(opcode), true); in helper_xscmpoqp() [all …]
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.c | 109 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 D | xen_overlay.c | 76 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 D | xdp.h | 325 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 D | rk3288-vyasa-u-boot.dtsi | 7 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 D | rk3288-miqi.dts | 19 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 D | rk3288-popmetal.dts | 19 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 D | rk3288-firefly.dts | 24 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 D | pmr735d.dtsi | 59 reg = <0xa SPMI_USID>; 66 interrupts = <0xa 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 90 interrupts = <0xb 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
|
H A D | pm8550vs.dtsi | 108 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 D | msi.c | 88 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 D | vsx-impl.c.inc | 617 tcg_gen_and_i64(xa, xa, sgm); \ 803 TCGv_ptr xt, xa, xb; 806 xa = gen_vsr_ptr(a->xa); 1268 TCGv_ptr xt, xa, xb; 1274 xa = gen_vsr_ptr(a->xa); 1283 TCGv_ptr xt, xa, xb; 1289 xa = gen_vsr_ptr(a->xa); 1331 xa = gen_vsr_ptr(a->xa); 2495 int xt = vsr_full_offset(a->xt), xa = vsr_full_offset(a->xa), 2670 xa = gen_vsr_ptr(a->xa); [all …]
|
/openbmc/linux/io_uring/ |
H A D | tctx.c | 51 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()
|