Home
last modified time | relevance | path

Searched defs:rb (Results 1 – 25 of 251) sorted by relevance

1234567891011

/openbmc/linux/kernel/events/
H A Dring_buffer.c38 struct perf_buffer *rb = handle->rb; in perf_output_get_handle() local
52 struct perf_buffer *rb = handle->rb; in perf_output_put_handle() local
154 struct perf_buffer *rb; in __perf_output_begin() local
310 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init()
372 struct perf_buffer *rb; in perf_aux_output_begin() local
460 static __always_inline bool rb_need_aux_wakeup(struct perf_buffer *rb) in rb_need_aux_wakeup()
486 struct perf_buffer *rb = handle->rb; in perf_aux_output_end() local
543 struct perf_buffer *rb = handle->rb; in perf_aux_output_skip() local
580 struct perf_buffer *rb = aux_handle->rb; in perf_output_copy_aux() local
637 static void rb_free_aux_page(struct perf_buffer *rb, int idx) in rb_free_aux_page()
[all …]
H A Dinternal.h66 struct perf_buffer *rb; in rb_free_rcu() local
72 static inline void rb_toggle_paused(struct perf_buffer *rb, bool pause) in rb_toggle_paused()
89 static inline bool rb_has_aux(struct perf_buffer *rb) in rb_has_aux()
107 static inline int page_order(struct perf_buffer *rb) in page_order()
114 static inline int page_order(struct perf_buffer *rb) in page_order()
120 static inline int data_page_nr(struct perf_buffer *rb) in data_page_nr()
125 static inline unsigned long perf_data_size(struct perf_buffer *rb) in perf_data_size()
130 static inline unsigned long perf_aux_size(struct perf_buffer *rb) in perf_aux_size()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc_ct.c185 void __iomem *rb; in bfa_ioc_ct_reg_init() local
244 void __iomem *rb; in bfa_ioc_ct2_reg_init() local
307 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct_map_port() local
324 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct2_map_port() local
340 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct_isr_mode_set() local
564 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct2_poweron() local
582 bfa_ioc_ct_pll_init(void __iomem *rb, enum bfi_asic_mode mode) in bfa_ioc_ct_pll_init()
648 bfa_ioc_ct2_sclk_init(void __iomem *rb) in bfa_ioc_ct2_sclk_init()
693 bfa_ioc_ct2_lclk_init(void __iomem *rb) in bfa_ioc_ct2_lclk_init()
733 bfa_ioc_ct2_mem_init(void __iomem *rb) in bfa_ioc_ct2_mem_init()
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dringbuf.c60 static void ringbuf_unmap_ring(struct ring_buffer *rb, struct ring *r) in ringbuf_unmap_ring()
73 int ring_buffer__add(struct ring_buffer *rb, int map_fd, in ring_buffer__add()
165 void ring_buffer__free(struct ring_buffer *rb) in ring_buffer__free()
186 struct ring_buffer *rb; in ring_buffer__new() local
275 int ring_buffer__consume(struct ring_buffer *rb) in ring_buffer__consume()
297 int ring_buffer__poll(struct ring_buffer *rb, int timeout_ms) in ring_buffer__poll()
321 int ring_buffer__epoll_fd(const struct ring_buffer *rb) in ring_buffer__epoll_fd()
326 static void user_ringbuf_unmap_ring(struct user_ring_buffer *rb) in user_ringbuf_unmap_ring()
338 void user_ring_buffer__free(struct user_ring_buffer *rb) in user_ring_buffer__free()
351 static int user_ringbuf_map(struct user_ring_buffer *rb, int map_fd) in user_ringbuf_map()
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dclient-buffers.c23 struct ishtp_cl_rb *rb; in ishtp_cl_alloc_rx_ring() local
99 struct ishtp_cl_rb *rb; in ishtp_cl_free_rx_ring() local
165 void ishtp_io_rb_free(struct ishtp_cl_rb *rb) in ishtp_io_rb_free()
184 struct ishtp_cl_rb *rb; in ishtp_io_rb_init() local
205 int ishtp_io_rb_alloc_buf(struct ishtp_cl_rb *rb, size_t length) in ishtp_io_rb_alloc_buf()
229 int ishtp_cl_io_rb_recycle(struct ishtp_cl_rb *rb) in ishtp_cl_io_rb_recycle()
286 struct ishtp_cl_rb *rb; in ishtp_cl_rx_get_rb() local
H A Dclient.c44 struct ishtp_cl_rb *rb; in ishtp_read_list_flush() local
447 struct ishtp_cl_rb *rb; in ishtp_cl_read_start() local
609 static void ishtp_cl_read_complete(struct ishtp_cl_rb *rb) in ishtp_cl_read_complete()
839 struct ishtp_cl_rb *rb; in recv_ishtp_cl_msg() local
969 struct ishtp_cl_rb *rb; in recv_ishtp_cl_msg_dma() local
/openbmc/linux/arch/arm/lib/
H A Dgetuser.S49 rb .req ip label
53 rb .req r0 label
117 rb .req ip label
121 rb .req r0 label
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc_ct.c251 void __iomem *rb; in bfa_ioc_ct_reg_init() local
310 void __iomem *rb; in bfa_ioc_ct2_reg_init() local
371 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct_map_port() local
386 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct2_map_port() local
397 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_ioc_ct_isr_mode_set() local
447 void __iomem *rb = ioc->pcidev.pci_bar_kva; in bfa_nw_ioc_ct2_poweron() local
601 bfa_ioc_ct_pll_init(void __iomem *rb, enum bfi_asic_mode asic_mode) in bfa_ioc_ct_pll_init()
678 bfa_ioc_ct2_sclk_init(void __iomem *rb) in bfa_ioc_ct2_sclk_init()
730 bfa_ioc_ct2_lclk_init(void __iomem *rb) in bfa_ioc_ct2_lclk_init()
770 bfa_ioc_ct2_mem_init(void __iomem *rb) in bfa_ioc_ct2_mem_init()
[all …]
/openbmc/obmc-console/
H A Dringbuffer.c31 struct ringbuffer *rb; in ringbuffer_init() local
45 void ringbuffer_fini(struct ringbuffer *rb) in ringbuffer_fini()
54 ringbuffer_consumer_register(struct ringbuffer *rb, ringbuffer_poll_fn_t fn, in ringbuffer_consumer_register()
82 struct ringbuffer *rb = rbc->rb; in ringbuffer_consumer_unregister() local
149 int ringbuffer_queue(struct ringbuffer *rb, uint8_t *data, size_t len) in ringbuffer_queue()
211 struct ringbuffer *rb = rbc->rb; in ringbuffer_dequeue_peek() local
/openbmc/linux/kernel/printk/
H A Dprintk_ringbuffer.c564 static bool data_make_reusable(struct printk_ringbuffer *rb, in data_make_reusable()
632 static bool data_push_tail(struct printk_ringbuffer *rb, unsigned long lpos) in data_push_tail()
767 static bool desc_push_tail(struct printk_ringbuffer *rb, in desc_push_tail()
875 static bool desc_reserve(struct printk_ringbuffer *rb, unsigned long *id_out) in desc_reserve()
1024 static char *data_alloc(struct printk_ringbuffer *rb, unsigned int size, in data_alloc()
1105 static char *data_realloc(struct printk_ringbuffer *rb, unsigned int size, in data_realloc()
1350 bool prb_reserve_in_last(struct prb_reserved_entry *e, struct printk_ringbuffer *rb, in prb_reserve_in_last()
1485 bool prb_reserve(struct prb_reserved_entry *e, struct printk_ringbuffer *rb, in prb_reserve()
1796 static int prb_read(struct printk_ringbuffer *rb, u64 seq, in prb_read()
1835 static u64 prb_first_seq(struct printk_ringbuffer *rb) in prb_first_seq()
[all …]
/openbmc/linux/kernel/bpf/
H A Dringbuf.c80 struct bpf_ringbuf *rb; member
97 struct bpf_ringbuf *rb; in bpf_ringbuf_area_alloc() local
152 struct bpf_ringbuf *rb = container_of(work, struct bpf_ringbuf, work); in bpf_ringbuf_notify() local
170 struct bpf_ringbuf *rb; in bpf_ringbuf_alloc() local
216 static void bpf_ringbuf_free(struct bpf_ringbuf *rb) in bpf_ringbuf_free()
299 static unsigned long ringbuf_avail_data_sz(struct bpf_ringbuf *rb) in ringbuf_avail_data_sz()
308 static u32 ringbuf_total_data_sz(const struct bpf_ringbuf *rb) in ringbuf_total_data_sz()
341 struct bpf_ringbuf *rb; in ringbuf_map_mem_usage() local
390 static size_t bpf_ringbuf_rec_pg_off(struct bpf_ringbuf *rb, in bpf_ringbuf_rec_pg_off()
408 static void *__bpf_ringbuf_reserve(struct bpf_ringbuf *rb, u64 size) in __bpf_ringbuf_reserve()
[all …]
/openbmc/qemu/migration/
H A Dpostcopy-ram.c340 static int test_ramblock_postcopiable(RAMBlock *rb, Error **errp) in test_ramblock_postcopiable()
488 static int init_range(RAMBlock *rb, void *opaque) in init_range()
520 static int cleanup_range(RAMBlock *rb, void *opaque) in cleanup_range()
676 static int nhp_range(RAMBlock *rb, void *opaque) in nhp_range()
719 static int ram_block_enable_notify(RAMBlock *rb, void *opaque) in ram_block_enable_notify()
746 RAMBlock *rb) in postcopy_wake_shared()
755 static int postcopy_request_page(MigrationIncomingState *mis, RAMBlock *rb, in postcopy_request_page()
783 int postcopy_request_shared_page(struct PostCopyFD *pcfd, RAMBlock *rb, in postcopy_request_shared_page()
830 RAMBlock *rb) in mark_postcopy_blocktime_begin()
962 RAMBlock *rb = NULL; in postcopy_ram_fault_thread() local
[all …]
H A Dram.c244 RAMBlock *rb; in ramblock_recv_map_init() local
252 int ramblock_recv_bitmap_test(RAMBlock *rb, void *host_addr) in ramblock_recv_bitmap_test()
258 bool ramblock_recv_bitmap_test_byte_offset(RAMBlock *rb, uint64_t byte_offset) in ramblock_recv_bitmap_test_byte_offset()
263 void ramblock_recv_bitmap_set(RAMBlock *rb, void *host_addr) in ramblock_recv_bitmap_set()
268 void ramblock_recv_bitmap_set_range(RAMBlock *rb, void *host_addr, in ramblock_recv_bitmap_set_range()
276 void ramblock_recv_bitmap_set_offset(RAMBlock *rb, uint64_t byte_offset) in ramblock_recv_bitmap_set_offset()
347 RAMBlock *rb; member
480 static void pss_init(PageSearchStatus *pss, RAMBlock *rb, ram_addr_t page) in pss_init()
714 RAMBlock *rb = pss->block; in pss_find_next_dirty() local
736 static void migration_clear_memory_region_dirty_bitmap(RAMBlock *rb, in migration_clear_memory_region_dirty_bitmap()
[all …]
/openbmc/qemu/stubs/
H A Dram-block.c6 void *qemu_ram_get_host_addr(RAMBlock *rb) in qemu_ram_get_host_addr()
11 ram_addr_t qemu_ram_get_offset(RAMBlock *rb) in qemu_ram_get_offset()
16 ram_addr_t qemu_ram_get_used_length(RAMBlock *rb) in qemu_ram_get_used_length()
/openbmc/linux/lib/
H A Drbtree_test.c20 struct rb_node rb; member
83 struct test_node, rb, u32, augmented, NODE_VAL) in RB_DECLARE_CALLBACKS_MAX() argument
158 static bool is_red(struct rb_node *rb) in is_red()
163 static int black_path_count(struct rb_node *rb) in black_path_count()
183 struct rb_node *rb; in check_postorder() local
193 struct rb_node *rb; in check() local
220 struct rb_node *rb; in check_augmented() local
/openbmc/u-boot/include/linux/
H A Drbtree_augmented.h82 #define rb_color(rb) __rb_color((rb)->__rb_parent_color) argument
83 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color) argument
84 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color) argument
86 static inline void rb_set_parent(struct rb_node *rb, struct rb_node *p) in rb_set_parent()
91 static inline void rb_set_parent_color(struct rb_node *rb, in rb_set_parent_color()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_mm.c152 INTERVAL_TREE_DEFINE(struct drm_mm_node, rb, in INTERVAL_TREE_DEFINE() argument
168 struct rb_node **link, *rb; in drm_mm_interval_tree_add_node() local
215 static u64 rb_to_hole_size(struct rb_node *rb) in rb_to_hole_size()
223 struct rb_node **link = &root->rb_root.rb_node, *rb = NULL; in insert_hole_size() local
295 static inline struct drm_mm_node *rb_hole_size_to_node(struct rb_node *rb) in rb_hole_size_to_node()
300 static inline struct drm_mm_node *rb_hole_addr_to_node(struct rb_node *rb) in rb_hole_addr_to_node()
307 struct rb_node *rb = mm->holes_size.rb_root.rb_node; in best_hole() local
325 static bool usable_hole_addr(struct rb_node *rb, u64 size) in usable_hole_addr()
332 struct rb_node *rb = mm->holes_addr.rb_node; in find_hole_addr() local
493 static u64 rb_to_hole_size_or_zero(struct rb_node *rb) in rb_to_hole_size_or_zero()
/openbmc/linux/tools/include/linux/
H A Drbtree_augmented.h155 #define rb_color(rb) __rb_color((rb)->__rb_parent_color) argument
156 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color) argument
157 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color) argument
159 static inline void rb_set_parent(struct rb_node *rb, struct rb_node *p) in rb_set_parent()
164 static inline void rb_set_parent_color(struct rb_node *rb, in rb_set_parent_color()
/openbmc/linux/include/linux/
H A Drbtree_augmented.h179 #define rb_color(rb) __rb_color((rb)->__rb_parent_color) argument
180 #define rb_is_red(rb) __rb_is_red((rb)->__rb_parent_color) argument
181 #define rb_is_black(rb) __rb_is_black((rb)->__rb_parent_color) argument
183 static inline void rb_set_parent(struct rb_node *rb, struct rb_node *p) in rb_set_parent()
188 static inline void rb_set_parent_color(struct rb_node *rb, in rb_set_parent_color()
/openbmc/qemu/target/alpha/
H A Dtranslate.c314 static void gen_load_fp(DisasContext *ctx, int ra, int rb, int32_t disp16, in gen_load_fp()
325 static void gen_load_int(DisasContext *ctx, int ra, int rb, int32_t disp16, in gen_load_int()
380 static void gen_store_fp(DisasContext *ctx, int ra, int rb, int32_t disp16, in gen_store_fp()
388 static void gen_store_int(DisasContext *ctx, int ra, int rb, int32_t disp16, in gen_store_int()
405 static DisasJumpType gen_store_conditional(DisasContext *ctx, int ra, int rb, in gen_store_conditional()
534 static void gen_fcmov(DisasContext *ctx, TCGCond cond, int ra, int rb, int rc) in gen_fcmov()
691 int rb, int rc, int fn11) in gen_ieee_arith2()
736 int rb, int rc, int fn11) in gen_ieee_intcvt()
781 int ra, int rb, int rc, int fn11) in gen_ieee_arith3()
877 static void gen_ext_h(DisasContext *ctx, TCGv vc, TCGv va, int rb, bool islit, in gen_ext_h()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dbtext.c198 int rb = dispDeviceRowBytes; in draw_byte() local
242 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32()
263 static void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16()
281 static void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8()
/openbmc/linux/drivers/misc/mchp_pci1xxxx/
H A Dmchp_pci1xxxx_otpe2p.c99 void __iomem *rb = priv->reg_base; in is_eeprom_responsive() local
124 void __iomem *rb = priv->reg_base; in pci1xxxx_eeprom_read() local
165 void __iomem *rb = priv->reg_base; in pci1xxxx_eeprom_write() local
219 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_read() local
268 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_write() local
/openbmc/linux/arch/powerpc/kvm/
H A De500_emulate.c51 static int kvmppc_e500_emul_msgclr(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgclr()
63 static int kvmppc_e500_emul_msgsnd(struct kvm_vcpu *vcpu, int rb) in kvmppc_e500_emul_msgsnd()
133 int rb = get_rb(inst); in kvmppc_core_emulate_op_e500() local
/openbmc/linux/drivers/firmware/arm_scmi/
H A Draw_mode.c261 struct scmi_raw_buffer *rb = NULL; in scmi_raw_buffer_get() local
275 struct scmi_raw_buffer *rb) in scmi_raw_buffer_put()
288 struct scmi_raw_buffer *rb) in scmi_raw_buffer_enqueue()
302 struct scmi_raw_buffer *rb = NULL; in scmi_raw_buffer_dequeue_unlocked() local
315 struct scmi_raw_buffer *rb; in scmi_raw_buffer_dequeue() local
326 struct scmi_raw_buffer *rb; in scmi_raw_buffer_queue_flush() local
698 struct scmi_raw_buffer *rb; in scmi_raw_message_dequeue() local
741 struct scmi_raw_buffer *rb; in scmi_raw_message_receive() local
1036 struct scmi_raw_buffer *rb; in scmi_raw_queue_init() local
1317 struct scmi_raw_buffer *rb; in scmi_raw_message_report() local
/openbmc/linux/fs/xfs/
H A Dxfs_rtalloc.h78 # define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb) (-ENOSYS) argument
79 # define xfs_rtpick_extent(m,t,l,rb) (-ENOSYS) argument

1234567891011