Home
last modified time | relevance | path

Searched refs:vb (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/Linux-v5.10/drivers/virtio/
Dvirtio_balloon.c147 struct virtio_balloon *vb = vq->vdev->priv; in balloon_ack() local
149 wake_up(&vb->acked); in balloon_ack()
152 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) in tell_host() argument
157 sg_init_one(&sg, vb->pfns, sizeof(vb->pfns[0]) * vb->num_pfns); in tell_host()
160 virtqueue_add_outbuf(vq, &sg, 1, vb, GFP_KERNEL); in tell_host()
164 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
171 struct virtio_balloon *vb = in virtballoon_free_page_report() local
173 struct virtqueue *vq = vb->reporting_vq; in virtballoon_free_page_report()
177 err = virtqueue_add_inbuf(vq, sg, nents, vb, GFP_NOWAIT | __GFP_NOWARN); in virtballoon_free_page_report()
190 wait_event(vb->acked, virtqueue_get_buf(vq, &unused)); in virtballoon_free_page_report()
[all …]
/Linux-v5.10/drivers/media/common/videobuf2/
Dvideobuf2-core.c54 #define log_memop(vb, op) \ argument
55 dprintk((vb)->vb2_queue, 2, "call_memop(%d, %s)%s\n", \
56 (vb)->index, #op, \
57 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)")
59 #define call_memop(vb, op, args...) \ argument
61 struct vb2_queue *_q = (vb)->vb2_queue; \
64 log_memop(vb, op); \
67 (vb)->cnt_mem_ ## op++; \
71 #define call_ptr_memop(vb, op, args...) \ argument
73 struct vb2_queue *_q = (vb)->vb2_queue; \
[all …]
Dvideobuf2-v4l2.c64 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array() argument
71 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
76 if (b->length < vb->num_planes || b->length > VB2_MAX_PLANES) { in __verify_planes_array()
77 dprintk(vb->vb2_queue, 1, in __verify_planes_array()
79 vb->num_planes, b->length); in __verify_planes_array()
86 static int __verify_planes_array_core(struct vb2_buffer *vb, const void *pb) in __verify_planes_array_core() argument
88 return __verify_planes_array(vb, pb); in __verify_planes_array_core()
95 static int __verify_length(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_length() argument
105 for (plane = 0; plane < vb->num_planes; ++plane) { in __verify_length()
109 : vb->planes[plane].length; in __verify_length()
[all …]
/Linux-v5.10/drivers/mfd/
Dviperboard.c50 struct vprbrd *vb; in vprbrd_probe() local
56 vb = kzalloc(sizeof(*vb), GFP_KERNEL); in vprbrd_probe()
57 if (!vb) in vprbrd_probe()
60 mutex_init(&vb->lock); in vprbrd_probe()
62 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in vprbrd_probe()
65 usb_set_intfdata(interface, vb); in vprbrd_probe()
66 dev_set_drvdata(&vb->pdev.dev, vb); in vprbrd_probe()
69 pipe = usb_rcvctrlpipe(vb->usb_dev, 0); in vprbrd_probe()
70 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, in vprbrd_probe()
71 VPRBRD_USB_TYPE_IN, 0x0000, 0x0000, vb->buf, 1, in vprbrd_probe()
[all …]
/Linux-v5.10/drivers/gpio/
Dgpio-viperboard.c69 struct vprbrd *vb; member
86 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_get() local
87 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_get()
93 mutex_lock(&vb->lock); in vprbrd_gpioa_get()
107 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), in vprbrd_gpioa_get()
114 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), in vprbrd_gpioa_get()
120 mutex_unlock(&vb->lock); in vprbrd_gpioa_get()
136 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_set() local
137 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_set()
145 mutex_lock(&vb->lock); in vprbrd_gpioa_set()
[all …]
/Linux-v5.10/drivers/media/usb/go7007/
Dgo7007-driver.c379 static inline void store_byte(struct go7007_buffer *vb, u8 byte) in store_byte() argument
381 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte()
382 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte()
384 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte()
388 static void go7007_set_motion_regions(struct go7007 *go, struct go7007_buffer *vb, in go7007_set_motion_regions() argument
396 .frame_sequence = vb->vb.sequence, in go7007_set_motion_regions()
410 static void go7007_motion_regions(struct go7007 *go, struct go7007_buffer *vb) in go7007_motion_regions() argument
412 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions()
420 store_byte(vb, go->active_map[i]); in go7007_motion_regions()
433 go7007_set_motion_regions(go, vb, motion_regions); in go7007_motion_regions()
[all …]
/Linux-v5.10/include/trace/events/
Dvb2.h12 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
13 TP_ARGS(q, vb),
30 __entry->index = vb->index;
31 __entry->type = vb->type;
32 __entry->bytesused = vb->planes[0].bytesused;
33 __entry->timestamp = vb->timestamp;
47 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
48 TP_ARGS(q, vb)
52 TP_PROTO(struct vb2_queue *q, struct vb2_buffer *vb),
53 TP_ARGS(q, vb)
[all …]
/Linux-v5.10/drivers/media/test-drivers/vivid/
Dvivid-meta-cap.c40 static int meta_cap_buf_prepare(struct vb2_buffer *vb) in meta_cap_buf_prepare() argument
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_prepare()
55 if (vb2_plane_size(vb, 0) < size) { in meta_cap_buf_prepare()
57 __func__, vb2_plane_size(vb, 0), size); in meta_cap_buf_prepare()
60 vb2_set_plane_payload(vb, 0, size); in meta_cap_buf_prepare()
65 static void meta_cap_buf_queue(struct vb2_buffer *vb) in meta_cap_buf_queue() argument
67 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in meta_cap_buf_queue()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_cap_buf_queue()
69 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in meta_cap_buf_queue()
98 vb2_buffer_done(&buf->vb.vb2_buf, in meta_cap_start_streaming()
[all …]
Dvivid-kthread-out.c85 v4l2_ctrl_request_setup(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
87 v4l2_ctrl_request_complete(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
89 vid_out_buf->vb.sequence = dev->vid_out_seq_count; in vivid_thread_vid_out_tick()
95 vid_out_buf->vb.sequence /= 2; in vivid_thread_vid_out_tick()
97 vid_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick()
99 vb2_buffer_done(&vid_out_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_out_tick()
102 vid_out_buf->vb.vb2_buf.index); in vivid_thread_vid_out_tick()
106 v4l2_ctrl_request_setup(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
108 v4l2_ctrl_request_complete(vbi_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
113 vbi_out_buf->vb.sequence = dev->vbi_out_seq_count; in vivid_thread_vid_out_tick()
[all …]
Dvivid-meta-out.c40 static int meta_out_buf_prepare(struct vb2_buffer *vb) in meta_out_buf_prepare() argument
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_prepare()
55 if (vb2_plane_size(vb, 0) < size) { in meta_out_buf_prepare()
57 __func__, vb2_plane_size(vb, 0), size); in meta_out_buf_prepare()
60 vb2_set_plane_payload(vb, 0, size); in meta_out_buf_prepare()
65 static void meta_out_buf_queue(struct vb2_buffer *vb) in meta_out_buf_queue() argument
67 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in meta_out_buf_queue()
68 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in meta_out_buf_queue()
69 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in meta_out_buf_queue()
98 vb2_buffer_done(&buf->vb.vb2_buf, in meta_out_start_streaming()
[all …]
Dvivid-vbi-cap.c85 u8 *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_raw_vbi_cap_process()
88 buf->vb.sequence = dev->vbi_cap_seq_count; in vivid_raw_vbi_cap_process()
90 buf->vb.sequence /= 2; in vivid_raw_vbi_cap_process()
92 vivid_sliced_vbi_cap_fill(dev, buf->vb.sequence); in vivid_raw_vbi_cap_process()
94 memset(vbuf, 0x10, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_raw_vbi_cap_process()
105 vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sliced_vbi_cap_process()
107 buf->vb.sequence = dev->vbi_cap_seq_count; in vivid_sliced_vbi_cap_process()
109 buf->vb.sequence /= 2; in vivid_sliced_vbi_cap_process()
111 vivid_sliced_vbi_cap_fill(dev, buf->vb.sequence); in vivid_sliced_vbi_cap_process()
113 memset(vbuf, 0, vb2_plane_size(&buf->vb.vb2_buf, 0)); in vivid_sliced_vbi_cap_process()
[all …]
Dvivid-vbi-out.c40 static int vbi_out_buf_prepare(struct vb2_buffer *vb) in vbi_out_buf_prepare() argument
42 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_prepare()
44 unsigned size = vb->vb2_queue->type == V4L2_BUF_TYPE_SLICED_VBI_OUTPUT ? in vbi_out_buf_prepare()
58 if (vb2_plane_size(vb, 0) < size) { in vbi_out_buf_prepare()
60 __func__, vb2_plane_size(vb, 0), size); in vbi_out_buf_prepare()
63 vb2_set_plane_payload(vb, 0, size); in vbi_out_buf_prepare()
68 static void vbi_out_buf_queue(struct vb2_buffer *vb) in vbi_out_buf_queue() argument
70 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_out_buf_queue()
71 struct vivid_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_out_buf_queue()
72 struct vivid_buffer *buf = container_of(vbuf, struct vivid_buffer, vb); in vbi_out_buf_queue()
[all …]
/Linux-v5.10/include/media/
Dvideobuf2-core.h425 int (*buf_out_validate)(struct vb2_buffer *vb);
426 int (*buf_init)(struct vb2_buffer *vb);
427 int (*buf_prepare)(struct vb2_buffer *vb);
428 void (*buf_finish)(struct vb2_buffer *vb);
429 void (*buf_cleanup)(struct vb2_buffer *vb);
434 void (*buf_queue)(struct vb2_buffer *vb);
436 void (*buf_request_complete)(struct vb2_buffer *vb);
457 int (*verify_planes_array)(struct vb2_buffer *vb, const void *pb);
458 void (*init_buffer)(struct vb2_buffer *vb);
459 void (*fill_user_buffer)(struct vb2_buffer *vb, void *pb);
[all …]
/Linux-v5.10/drivers/media/usb/au0828/
Dau0828-vbi.c34 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare() argument
36 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare()
41 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
43 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
46 vb2_set_plane_payload(vb, 0, size); in vbi_buffer_prepare()
52 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue() argument
54 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
55 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_buffer_queue()
57 container_of(vbuf, struct au0828_buffer, vb); in vbi_buffer_queue()
61 buf->mem = vb2_plane_vaddr(vb, 0); in vbi_buffer_queue()
[all …]
/Linux-v5.10/drivers/media/usb/em28xx/
Dem28xx-vbi.c54 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare() argument
56 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare()
62 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
65 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
68 vb2_set_plane_payload(vb, 0, size); in vbi_buffer_prepare()
74 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue() argument
76 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_buffer_queue()
77 struct em28xx *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
79 container_of(vbuf, struct em28xx_buffer, vb); in vbi_buffer_queue()
83 buf->mem = vb2_plane_vaddr(vb, 0); in vbi_buffer_queue()
[all …]
/Linux-v5.10/drivers/iio/adc/
Dviperboard_adc.c32 struct vprbrd *vb; member
57 struct vprbrd *vb = adc->vb; in vprbrd_iio_read_raw() local
58 struct vprbrd_adc_msg *admsg = (struct vprbrd_adc_msg *)vb->buf; in vprbrd_iio_read_raw()
62 mutex_lock(&vb->lock); in vprbrd_iio_read_raw()
68 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
69 usb_sndctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
77 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
78 usb_rcvctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
84 mutex_unlock(&vb->lock); in vprbrd_iio_read_raw()
109 struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent); in vprbrd_adc_probe() local
[all …]
/Linux-v5.10/drivers/media/platform/
Dfsl-viu.c82 struct videobuf_buffer vb; member
296 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
298 buf, buf->vb.i); in restart_video_queue()
303 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { in restart_video_queue()
304 list_del(&buf->vb.queue); in restart_video_queue()
305 buf->vb.state = VIDEOBUF_ERROR; in restart_video_queue()
306 wake_up(&buf->vb.done); in restart_video_queue()
316 buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue); in restart_video_queue()
318 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
324 buf->vb.state = VIDEOBUF_ACTIVE; in restart_video_queue()
[all …]
/Linux-v5.10/drivers/media/pci/bt8xx/
Dbttv-risc.c573 struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb); in bttv_dma_free()
576 videobuf_waiton(q, &buf->vb, 0, 0); in bttv_dma_free()
581 buf->vb.state = VIDEOBUF_NEEDS_INIT; in bttv_dma_free()
601 vbi->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_vbi()
602 list_del(&vbi->vb.queue); in bttv_buffer_activate_vbi()
643 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
644 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
645 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
647 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
648 set->bottom->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
[all …]
/Linux-v5.10/drivers/media/pci/cx88/
Dcx88-vbi.c108 buf, buf->vb.vb2_buf.index); in cx8800_restart_vbi_queue()
129 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare() argument
131 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare()
132 struct cx8800_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare()
133 struct cx88_buffer *buf = container_of(vbuf, struct cx88_buffer, vb); in buffer_prepare()
134 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
143 if (vb2_plane_size(vb, 0) < size) in buffer_prepare()
145 vb2_set_plane_payload(vb, 0, size); in buffer_prepare()
154 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish() argument
156 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish()
[all …]
/Linux-v5.10/drivers/i2c/busses/
Di2c-viperboard.c40 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_status() local
45 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), in vprbrd_i2c_status()
113 static int vprbrd_i2c_read(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_read() argument
118 (struct vprbrd_i2c_read_msg *)vb->buf; in vprbrd_i2c_read()
200 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len1); in vprbrd_i2c_read()
208 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); in vprbrd_i2c_read()
218 static int vprbrd_i2c_write(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_write() argument
224 (struct vprbrd_i2c_write_msg *)vb->buf; in vprbrd_i2c_write()
255 ret = usb_bulk_msg(vb->usb_dev, in vprbrd_i2c_write()
256 usb_sndbulkpipe(vb->usb_dev, in vprbrd_i2c_write()
[all …]
/Linux-v5.10/drivers/media/pci/cx23885/
Dcx23885-vbi.c128 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare() argument
130 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare()
131 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare()
133 struct cx23885_buffer, vb); in buffer_prepare()
134 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
140 if (vb2_plane_size(vb, 0) < lines * VBI_LINE_LENGTH * 2) in buffer_prepare()
142 vb2_set_plane_payload(vb, 0, lines * VBI_LINE_LENGTH * 2); in buffer_prepare()
152 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish() argument
154 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish()
156 struct cx23885_buffer, vb); in buffer_finish()
[all …]
/Linux-v5.10/block/partitions/
Dldm.c574 struct vblk *vb; in ldm_create_data_partitions() local
591 vb = list_entry (item, struct vblk, list); in ldm_create_data_partitions()
592 part = &vb->vblk.part; in ldm_create_data_partitions()
720 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_cmp3() argument
725 BUG_ON (!buffer || !vb); in ldm_parse_cmp3()
749 comp = &vb->vblk.comp; in ldm_parse_cmp3()
771 static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr3() argument
776 BUG_ON (!buffer || !vb); in ldm_parse_dgr3()
798 dgrp = &vb->vblk.dgrp; in ldm_parse_dgr3()
815 static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr4() argument
[all …]
/Linux-v5.10/drivers/media/platform/rockchip/rga/
Drga-buf.c38 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare() argument
40 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare()
41 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare()
46 vb2_set_plane_payload(vb, 0, f->size); in rga_buf_prepare()
51 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue() argument
53 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue()
54 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue()
114 void rga_buf_map(struct vb2_buffer *vb) in rga_buf_map() argument
116 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map()
124 if (vb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) in rga_buf_map()
[all …]
/Linux-v5.10/drivers/media/dvb-core/
Ddvb_vb2.c54 static int _buffer_prepare(struct vb2_buffer *vb) in _buffer_prepare() argument
56 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_prepare()
59 if (vb2_plane_size(vb, 0) < size) { in _buffer_prepare()
61 ctx->name, vb2_plane_size(vb, 0), size); in _buffer_prepare()
65 vb2_set_plane_payload(vb, 0, size); in _buffer_prepare()
71 static void _buffer_queue(struct vb2_buffer *vb) in _buffer_queue() argument
73 struct dvb_vb2_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in _buffer_queue()
74 struct dvb_buffer *buf = container_of(vb, struct dvb_buffer, vb); in _buffer_queue()
104 vb2_buffer_done(&buf->vb, VB2_BUF_STATE_ERROR); in _stop_streaming()
137 static void _fill_dmx_buffer(struct vb2_buffer *vb, void *pb) in _fill_dmx_buffer() argument
[all …]
/Linux-v5.10/fs/ceph/
Dceph_frag.c11 unsigned vb = ceph_frag_value(b); in ceph_frag_compare() local
12 if (va < vb) in ceph_frag_compare()
14 if (va > vb) in ceph_frag_compare()
17 vb = ceph_frag_bits(b); in ceph_frag_compare()
18 if (va < vb) in ceph_frag_compare()
20 if (va > vb) in ceph_frag_compare()

12345678910>>...12