Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/kernel/events/
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()
370 struct perf_buffer *rb; in perf_aux_output_begin() local
458 static __always_inline bool rb_need_aux_wakeup(struct perf_buffer *rb) in rb_need_aux_wakeup()
484 struct perf_buffer *rb = handle->rb; in perf_aux_output_end() local
541 struct perf_buffer *rb = handle->rb; in perf_aux_output_skip() local
578 struct perf_buffer *rb = aux_handle->rb; in perf_output_copy_aux() local
635 static void rb_free_aux_page(struct perf_buffer *rb, int idx) in rb_free_aux_page()
[all …]
Dinternal.h65 struct perf_buffer *rb; in rb_free_rcu() local
71 static inline void rb_toggle_paused(struct perf_buffer *rb, bool pause) in rb_toggle_paused()
88 static inline bool rb_has_aux(struct perf_buffer *rb) in rb_has_aux()
106 static inline int page_order(struct perf_buffer *rb) in page_order()
113 static inline int page_order(struct perf_buffer *rb) in page_order()
119 static inline int data_page_nr(struct perf_buffer *rb) in data_page_nr()
124 static inline unsigned long perf_data_size(struct perf_buffer *rb) in perf_data_size()
129 static inline unsigned long perf_aux_size(struct perf_buffer *rb) in perf_aux_size()
/linux-6.6.21/drivers/scsi/bfa/
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 …]
/linux-6.6.21/tools/lib/bpf/
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 …]
/linux-6.6.21/drivers/hid/intel-ish-hid/ishtp/
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
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
/linux-6.6.21/arch/arm/lib/
Dgetuser.S49 rb .req ip label
53 rb .req r0 label
117 rb .req ip label
121 rb .req r0 label
/linux-6.6.21/drivers/net/ethernet/brocade/bna/
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 …]
/linux-6.6.21/kernel/printk/
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 …]
/linux-6.6.21/kernel/bpf/
Dringbuf.c78 struct bpf_ringbuf *rb; member
95 struct bpf_ringbuf *rb; in bpf_ringbuf_area_alloc() local
150 struct bpf_ringbuf *rb = container_of(work, struct bpf_ringbuf, work); in bpf_ringbuf_notify() local
168 struct bpf_ringbuf *rb; in bpf_ringbuf_alloc() local
213 static void bpf_ringbuf_free(struct bpf_ringbuf *rb) in bpf_ringbuf_free()
296 static unsigned long ringbuf_avail_data_sz(struct bpf_ringbuf *rb) in ringbuf_avail_data_sz()
305 static u32 ringbuf_total_data_sz(const struct bpf_ringbuf *rb) in ringbuf_total_data_sz()
338 struct bpf_ringbuf *rb; in ringbuf_map_mem_usage() local
387 static size_t bpf_ringbuf_rec_pg_off(struct bpf_ringbuf *rb, in bpf_ringbuf_rec_pg_off()
405 static void *__bpf_ringbuf_reserve(struct bpf_ringbuf *rb, u64 size) in __bpf_ringbuf_reserve()
[all …]
/linux-6.6.21/lib/
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
/linux-6.6.21/drivers/gpu/drm/
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()
/linux-6.6.21/tools/include/linux/
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()
/linux-6.6.21/include/linux/
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()
/linux-6.6.21/arch/sparc/kernel/
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()
/linux-6.6.21/drivers/misc/mchp_pci1xxxx/
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
166 void __iomem *rb = priv->reg_base; in pci1xxxx_eeprom_write() local
221 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_read() local
271 void __iomem *rb = priv->reg_base; in pci1xxxx_otp_write() local
/linux-6.6.21/drivers/firmware/arm_scmi/
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
1031 struct scmi_raw_buffer *rb; in scmi_raw_queue_init() local
1312 struct scmi_raw_buffer *rb; in scmi_raw_message_report() local
/linux-6.6.21/arch/powerpc/kvm/
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
/linux-6.6.21/fs/xfs/
Dxfs_rtalloc.h144 # define xfs_rtallocate_extent(t,b,min,max,l,f,p,rb) (-ENOSYS) argument
146 # define xfs_rtfree_blocks(t,rb,rl) (-ENOSYS) argument
147 # define xfs_rtpick_extent(m,t,l,rb) (-ENOSYS) argument
/linux-6.6.21/net/sunrpc/xprtrdma/
Dverbs.c850 struct rpcrdma_regbuf *rb; in rpcrdma_req_setup() local
1232 struct rpcrdma_regbuf *rb; in rpcrdma_regbuf_alloc() local
1258 bool rpcrdma_regbuf_realloc(struct rpcrdma_regbuf *rb, size_t size, gfp_t flags) in rpcrdma_regbuf_realloc()
1282 struct rpcrdma_regbuf *rb) in __rpcrdma_regbuf_dma_map()
1301 static void rpcrdma_regbuf_dma_unmap(struct rpcrdma_regbuf *rb) in rpcrdma_regbuf_dma_unmap()
1314 static void rpcrdma_regbuf_free(struct rpcrdma_regbuf *rb) in rpcrdma_regbuf_free()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_tlb.c32 unsigned long rb; in tlbiel_radix_set_isa300() local
103 unsigned long rb,rs,prs,r; in __tlbiel_pid() local
118 unsigned long rb,rs,prs,r; in __tlbie_pid() local
132 unsigned long rb,rs,prs,r; in __tlbie_lpid() local
146 unsigned long rb,rs,prs,r; in __tlbie_lpid_guest() local
161 unsigned long rb,rs,prs,r; in __tlbiel_va() local
177 unsigned long rb,rs,prs,r; in __tlbie_va() local
193 unsigned long rb,rs,prs,r; in __tlbie_lpid_va() local
1379 unsigned long rb,prs,r,rs; in radix__flush_tlb_all() local
1406 unsigned long rb, rs, prs, r; in __tlbie_pid_lpid() local
[all …]
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_scheduler.c34 static inline struct i915_priolist *to_priolist(struct rb_node *rb) in to_priolist()
41 struct rb_node *rb; in assert_priolists() local
63 struct rb_node **parent, *rb; in i915_sched_lookup_priolist() local
/linux-6.6.21/arch/powerpc/kernel/
Dbtext.c410 static void draw_byte_32(unsigned char *font, unsigned int *base, int rb) in draw_byte_32()
431 static inline void draw_byte_16(unsigned char *font, unsigned int *base, int rb) in draw_byte_16()
449 static inline void draw_byte_8(unsigned char *font, unsigned int *base, int rb) in draw_byte_8()
469 int rb = dispDeviceRowBytes; in draw_byte() local
/linux-6.6.21/fs/ocfs2/
Drefcounttree.c75 struct ocfs2_refcount_block *rb = in ocfs2_validate_refcount_block() local
451 struct ocfs2_refcount_block *rb; in ocfs2_lock_refcount_tree() local
559 struct ocfs2_refcount_block *rb; in ocfs2_create_refcount_tree() local
700 struct ocfs2_refcount_block *rb; in ocfs2_set_refcount_tree() local
761 struct ocfs2_refcount_block *rb; in ocfs2_remove_refcount_tree() local
881 struct ocfs2_refcount_block *rb = in ocfs2_find_refcount_rec_in_rl() local
1070 struct ocfs2_refcount_block *rb = in ocfs2_get_refcount_rec() local
1148 ocfs2_refcount_rec_adjacent(struct ocfs2_refcount_block *rb, in ocfs2_refcount_rec_adjacent()
1162 ocfs2_refcount_rec_contig(struct ocfs2_refcount_block *rb, in ocfs2_refcount_rec_contig()
1186 static void ocfs2_rotate_refcount_rec_left(struct ocfs2_refcount_block *rb, in ocfs2_rotate_refcount_rec_left()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/include/
Dreg.h109 #define VSX_XX1(xs, ra, rb) (((xs) & 0x1f) << 21 | ((ra) << 16) | \ argument
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

12345678