/openbmc/obmc-console/test/ |
H A D | test-ringbuffer-simple-poll.c | 14 struct ringbuffer *rb; in test_simple_poll() local 20 rb = ringbuffer_init(10); in test_simple_poll() 21 ctx->rbc = ringbuffer_consumer_register(rb, ringbuffer_poll_append_all, in test_simple_poll() 24 rc = ringbuffer_queue(rb, in_buf, sizeof(in_buf)); in test_simple_poll() 31 ringbuffer_fini(rb); in test_simple_poll()
|
H A D | test-ringbuffer-contained-offset-read.c | 14 struct ringbuffer *rb; in test_contained_offset_read() local 19 rb = ringbuffer_init(10); in test_contained_offset_read() 20 rbc = ringbuffer_consumer_register(rb, ringbuffer_poll_nop, NULL); in test_contained_offset_read() 22 rc = ringbuffer_queue(rb, in_buf, sizeof(in_buf)); in test_contained_offset_read() 34 ringbuffer_fini(rb); in test_contained_offset_read()
|
/openbmc/qemu/migration/ |
H A D | ram.h | 68 int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr); 69 bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset); 70 void ramblock_recv_bitmap_set(RAMBlock *rb, void *host_addr); 71 void ramblock_recv_bitmap_set_range(RAMBlock *rb, void *host_addr, size_t nr); 74 bool ram_dirty_bitmap_reload(MigrationState *s, RAMBlock *rb, Error **errp); 75 bool ramblock_page_is_discarded(RAMBlock *rb, ram_addr_t start);
|
H A D | postcopy-ram.h | 73 RAMBlock *rb); 80 RAMBlock *rb); 150 typedef int (*pcfdwake)(struct PostCopyFD *pcfd, RAMBlock *rb, uint64_t offset); 172 int postcopy_notify_shared_wake(RAMBlock *rb, uint64_t offset); 182 RAMBlock *rb); 184 int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb,
|
/openbmc/linux/sound/soc/uniphier/ |
H A D | aio-pxs2.c | 19 .rb = { 16, 11, }, 33 .rb = { 17, 12, }, 47 .rb = { 0, 0, }, 61 .rb = { 1, 1, }, 75 .rb = { 2, 2, }, 88 .rb = { 6, 4, }, 101 .rb = { 6, 4, }, 114 .rb = { 7, 5, }, 127 .rb = { 7, 5, },
|
H A D | aio-core.c | 205 regmap_write(r, A2RBNMAPCTR0(sub->swm->rb.hw), in aio_init() 206 MAPCTR0_EN | sub->swm->rb.map); in aio_init() 1024 (sub->swm->rb.map << CDA2D_CHMXAMODE_RSSEL_SHIFT); in aiodma_ch_set_param() 1042 BIT(sub->swm->rb.map), in aiodma_ch_set_enable() 1043 BIT(sub->swm->rb.map)); in aiodma_ch_set_enable() 1049 BIT(sub->swm->rb.map), in aiodma_ch_set_enable() 1112 regmap_write(r, CDA2D_RBMXWRPTR(sub->swm->rb.map), in aiodma_rb_set_wp() 1114 regmap_write(r, CDA2D_RBMXWRPTRU(sub->swm->rb.map), in aiodma_rb_set_wp() 1146 regmap_write(r, CDA2D_RBMXBGNADRS(sub->swm->rb.map), in aiodma_rb_set_buffer() 1246 regmap_write(r, CDA2D_RBMXIR(sub->swm->rb.map), in aiodma_rb_clear_irq() [all …]
|
/openbmc/linux/include/linux/ |
H A D | interval_tree_generic.h | 154 struct rb_node *rb = node->ITRB.rb_right, *prev; \ 164 if (rb) { \ 165 ITSTRUCT *right = rb_entry(rb, ITSTRUCT, ITRB); \ 173 rb = rb_parent(&node->ITRB); \ 174 if (!rb) \ 177 node = rb_entry(rb, ITSTRUCT, ITRB); \ 178 rb = node->ITRB.rb_right; \ 179 } while (prev == rb); \
|
/openbmc/linux/tools/include/linux/ |
H A D | interval_tree_generic.h | 154 struct rb_node *rb = node->ITRB.rb_right, *prev; \ 164 if (rb) { \ 165 ITSTRUCT *right = rb_entry(rb, ITSTRUCT, ITRB); \ 173 rb = rb_parent(&node->ITRB); \ 174 if (!rb) \ 177 node = rb_entry(rb, ITSTRUCT, ITRB); \ 178 rb = node->ITRB.rb_right; \ 179 } while (prev == rb); \
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | attach.c | 628 struct rb_node *rb; in ubi_remove_av() local 634 aeb = rb_entry(rb, struct ubi_ainf_peb, u.rb); in ubi_remove_av() 1166 struct rb_node *rb; in destroy_ai() local 1187 while (rb) { in destroy_ai() 1188 if (rb->rb_left) in destroy_ai() 1189 rb = rb->rb_left; in destroy_ai() 1191 rb = rb->rb_right; in destroy_ai() 1193 av = rb_entry(rb, struct ubi_ainf_volume, rb); in destroy_ai() 1195 rb = rb_parent(rb); in destroy_ai() 1196 if (rb) { in destroy_ai() [all …]
|
H A D | wl.c | 1413 struct rb_node *rb; local 1416 rb = root->rb_node; 1417 while (rb) { 1418 if (rb->rb_left) 1419 rb = rb->rb_left; 1420 else if (rb->rb_right) 1421 rb = rb->rb_right; 1423 e = rb_entry(rb, struct ubi_wl_entry, u.rb); 1425 rb = rb_parent(rb); 1426 if (rb) { [all …]
|
H A D | ubi.h | 174 struct rb_node rb; member 196 struct rb_node rb; member 655 struct rb_node rb; member 690 struct rb_node rb; member 957 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->free, u.rb) 966 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->used, u.rb) 975 ubi_rb_for_each_entry((tmp_rb), (e), &(ubi)->scrub, u.rb) 996 pos = (rb ? container_of(rb, typeof(*pos), member) : NULL); \ 998 rb = rb_next(rb), \ 999 pos = (rb ? container_of(rb, typeof(*pos), member) : NULL)) [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | nodelist.c | 124 struct rb_node *parent = &base->rb; in jffs2_fragtree_insert() 134 link = &base->rb.rb_right; in jffs2_fragtree_insert() 136 link = &base->rb.rb_left; in jffs2_fragtree_insert() 143 rb_link_node(&newfrag->rb, &base->rb, link); in jffs2_fragtree_insert() 189 rb_link_node(&holefrag->rb, &this->rb, &this->rb.rb_right); in no_overlapping_node() 204 rb_link_node(&newfrag->rb, &this->rb, &this->rb.rb_right); in no_overlapping_node() 317 rb_replace_node(&this->rb, &newfrag->rb, root); in jffs2_add_frag_to_fragtree() 327 rb_insert_color(&this->rb, root); in jffs2_add_frag_to_fragtree() 338 rb_erase(&this->rb, root); in jffs2_add_frag_to_fragtree() 543 next = frag->rb.rb_right; in jffs2_lookup_node_frag() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 36 return rb_entry(rb, struct i915_priolist, node); in to_priolist() 41 struct rb_node *rb; in assert_priolists() local 51 for (rb = rb_first_cached(&sched_engine->queue); rb; rb = rb_next(rb)) { in assert_priolists() 52 const struct i915_priolist *p = to_priolist(rb); in assert_priolists() 63 struct rb_node **parent, *rb; in i915_sched_lookup_priolist() local 74 rb = NULL; in i915_sched_lookup_priolist() 77 rb = *parent; in i915_sched_lookup_priolist() 78 p = to_priolist(rb); in i915_sched_lookup_priolist() 80 parent = &rb->rb_left; in i915_sched_lookup_priolist() 82 parent = &rb->rb_right; in i915_sched_lookup_priolist() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/ruby/ruby/ |
H A D | 0004-lib-mkmf.rb-sort-list-of-object-files-in-generated-M.patch | 4 Subject: [PATCH] lib/mkmf.rb: sort list of object files in generated Makefile 16 lib/mkmf.rb | 2 +- 19 diff --git a/lib/mkmf.rb b/lib/mkmf.rb 21 --- a/lib/mkmf.rb 22 +++ b/lib/mkmf.rb
|
H A D | 0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch | 11 lib/rubygems/specification.rb | 4 +++- 14 diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb 16 --- a/lib/rubygems/specification.rb 17 +++ b/lib/rubygems/specification.rb
|
H A D | 0001-extmk-fix-cross-compilation-of-external-gems.patch | 15 ext/extmk.rb | 2 +- 18 diff --git a/ext/extmk.rb b/ext/extmk.rb 20 --- a/ext/extmk.rb 21 +++ b/ext/extmk.rb
|
/openbmc/qemu/include/exec/ |
H A D | ram_addr.h | 54 static inline void clear_bmap_set(RAMBlock *rb, uint64_t start, in clear_bmap_set() argument 57 uint8_t shift = rb->clear_bmap_shift; in clear_bmap_set() 73 uint8_t shift = rb->clear_bmap_shift; in clear_bmap_test_and_clear() 93 (uint64_t)(uintptr_t)(host_addr - (void *)rb->host); in ramblock_recv_bitmap_offset() 97 bool ramblock_is_pmem(RAMBlock *rb); 468 uint64_t cpu_physical_memory_sync_dirty_bitmap(RAMBlock *rb, in cpu_physical_memory_sync_dirty_bitmap() argument 475 unsigned long *dest = rb->bmap; in cpu_physical_memory_sync_dirty_bitmap() 479 (start + rb->offset) && in cpu_physical_memory_sync_dirty_bitmap() 508 if (rb->clear_bmap) { in cpu_physical_memory_sync_dirty_bitmap() 514 clear_bmap_set(rb, start >> TARGET_PAGE_BITS, in cpu_physical_memory_sync_dirty_bitmap() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | refcounttree.c | 99 rb->rf_signature); in ocfs2_validate_refcount_block() 630 rb->rf_records.rl_count = in ocfs2_create_refcount_tree() 789 if (rb->rf_suballoc_loc) in ocfs2_remove_refcount_tree() 844 if (!rb->rf_count) { in ocfs2_remove_refcount_tree() 1081 el = &rb->rf_list; in ocfs2_get_refcount_rec() 1201 memset(&rb->rf_records.rl_recs[le16_to_cpu(rb->rf_records.rl_used) - 1], in ocfs2_rotate_refcount_rec_left() 2132 BUG_ON(rb->rf_clusters); in ocfs2_remove_refcount_extent() 2137 rb->rf_flags = 0; in ocfs2_remove_refcount_extent() 2138 rb->rf_parent = 0; in ocfs2_remove_refcount_extent() 2139 rb->rf_cpos = 0; in ocfs2_remove_refcount_extent() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-udmabuf.c | 32 RAMBlock *rb; in virtio_gpu_create_udmabuf() local 46 rb = qemu_ram_block_from_host(res->iov[i].iov_base, false, &offset); in virtio_gpu_create_udmabuf() 49 if (!rb || rb->fd < 0) { in virtio_gpu_create_udmabuf() 54 list->list[i].memfd = rb->fd; in virtio_gpu_create_udmabuf() 100 RAMBlock *rb = backend->mr.ram_block; in find_memory_backend_type() local 102 if (rb && rb->fd > 0) { in find_memory_backend_type() 103 ret = fcntl(rb->fd, F_GET_SEALS); in find_memory_backend_type()
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 245 rb->mbuf = kmalloc(rb->msg.length, GFP_ATOMIC | GFP_DMA); in hvc_iucv_write() 246 if (!rb->mbuf) in hvc_iucv_write() 250 rb->mbuf, rb->msg.length, NULL); in hvc_iucv_write() 263 (rb->msg.length != MSG_SIZE(rb->mbuf->datalen))) in hvc_iucv_write() 269 written = min_t(int, rb->mbuf->datalen - rb->offset, count); in hvc_iucv_write() 270 memcpy(buf, rb->mbuf->data + rb->offset, written); in hvc_iucv_write() 271 if (written < (rb->mbuf->datalen - rb->offset)) { in hvc_iucv_write() 293 list_del(&rb->list); in hvc_iucv_write() 294 destroy_tty_buffer(rb); in hvc_iucv_write() 922 if (!rb) { in hvc_iucv_msg_pending() [all …]
|
/openbmc/linux/fs/nilfs2/ |
H A D | recovery.c | 349 rb = kmalloc(sizeof(*rb), GFP_NOFS); in nilfs_scan_dsync_log() 350 if (unlikely(!rb)) { in nilfs_scan_dsync_log() 354 rb->ino = ino; in nilfs_scan_dsync_log() 355 rb->blocknr = blocknr++; in nilfs_scan_dsync_log() 359 list_add_tail(&rb->list, head); in nilfs_scan_dsync_log() 378 struct nilfs_recovery_block *rb; in dispose_recovery_list() local 381 list_del(&rb->list); in dispose_recovery_list() 382 kfree(rb); in dispose_recovery_list() 549 err, (unsigned long)rb->ino, in nilfs_recover_dsync_blocks() 555 list_del_init(&rb->list); in nilfs_recover_dsync_blocks() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | reg.h | 109 #define VSX_XX1(xs, ra, rb) (((xs) & 0x1f) << 21 | ((ra) << 16) | \ argument 110 ((rb) << 11) | (((xs) >> 5))) 111 #define STXVD2X(xs, ra, rb) .long (0x7c000798 | VSX_XX1((xs), (ra), (rb))) argument 112 #define LXVD2X(xs, ra, rb) .long (0x7c000698 | VSX_XX1((xs), (ra), (rb))) argument
|
/openbmc/linux/drivers/mtd/ubi/ |
H A D | wl.c | 1619 struct rb_node *rb; local 1622 rb = root->rb_node; 1623 while (rb) { 1624 if (rb->rb_left) 1625 rb = rb->rb_left; 1626 else if (rb->rb_right) 1627 rb = rb->rb_right; 1629 e = rb_entry(rb, struct ubi_wl_entry, u.rb); 1631 rb = rb_parent(rb); 1632 if (rb) { [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | insn32.decode | 87 &X rt ra rb 90 &X_rc rt ra rb rc:bool 106 &X_tb rt rb 112 &X_tb_rc rt rb rc:bool 124 &X_bf bf ra rb 131 &X_bf_uim bf uim rb 136 &X_bfl bf l:bool ra rb 155 &X_rb rb 164 &X_tb_sp_rc rt rb sp rc:bool 169 &X_tb_s_rc rt rb s:bool rc:bool [all …]
|
/openbmc/qemu/target/ppc/translate/ |
H A D | storage-ctrl-impl.c.inc | 33 gen_helper_SLBIE(tcg_env, cpu_gpr[a->rb]); 47 gen_helper_SLBIEG(tcg_env, cpu_gpr[a->rb]); 89 gen_helper_SLBMTE(tcg_env, cpu_gpr[a->rb], cpu_gpr[a->rt]); 103 gen_helper_SLBMFEV(cpu_gpr[a->rt], tcg_env, cpu_gpr[a->rb]); 117 gen_helper_SLBMFEE(cpu_gpr[a->rt], tcg_env, cpu_gpr[a->rb]); 141 cpu_gpr[a->rb]); 179 int rb; 181 rb = a->rb; 213 tcg_gen_ext32u_tl(t0, cpu_gpr[rb]); 222 gen_helper_tlbie_isa300(tcg_env, cpu_gpr[rb], cpu_gpr[a->rs], [all …]
|