Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/drivers/virtio/
Dvirtio_balloon.c103 struct virtio_balloon *vb = vq->vdev->priv; in balloon_ack() local
105 wake_up(&vb->acked); in balloon_ack()
108 static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq) in tell_host() argument
113 sg_init_one(&sg, vb->pfns, sizeof(vb->pfns[0]) * vb->num_pfns); in tell_host()
116 virtqueue_add_outbuf(vq, &sg, 1, vb, GFP_KERNEL); in tell_host()
120 wait_event(vb->acked, virtqueue_get_buf(vq, &len)); in tell_host()
124 static void set_page_pfns(struct virtio_balloon *vb, in set_page_pfns() argument
134 pfns[i] = cpu_to_virtio32(vb->vdev, in set_page_pfns()
138 static unsigned fill_balloon(struct virtio_balloon *vb, size_t num) in fill_balloon() argument
146 num = min(num, ARRAY_SIZE(vb->pfns)); in fill_balloon()
[all …]
/Linux-v4.19/drivers/media/common/videobuf2/
Dvideobuf2-core.c53 #define log_memop(vb, op) \ argument
55 (vb)->vb2_queue, (vb)->index, #op, \
56 (vb)->vb2_queue->mem_ops->op ? "" : " (nop)")
58 #define call_memop(vb, op, args...) \ argument
60 struct vb2_queue *_q = (vb)->vb2_queue; \
63 log_memop(vb, op); \
66 (vb)->cnt_mem_ ## op++; \
70 #define call_ptr_memop(vb, op, args...) \ argument
72 struct vb2_queue *_q = (vb)->vb2_queue; \
75 log_memop(vb, op); \
[all …]
Dvideobuf2-v4l2.c56 static int __verify_planes_array(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_planes_array() argument
67 if (b->length < vb->num_planes || b->length > VB2_MAX_PLANES) { in __verify_planes_array()
69 vb->num_planes, b->length); in __verify_planes_array()
76 static int __verify_planes_array_core(struct vb2_buffer *vb, const void *pb) in __verify_planes_array_core() argument
78 return __verify_planes_array(vb, pb); in __verify_planes_array_core()
85 static int __verify_length(struct vb2_buffer *vb, const struct v4l2_buffer *b) in __verify_length() argument
95 for (plane = 0; plane < vb->num_planes; ++plane) { in __verify_length()
99 : vb->planes[plane].length; in __verify_length()
112 ? b->length : vb->planes[0].length; in __verify_length()
121 static void __copy_timestamp(struct vb2_buffer *vb, const void *pb) in __copy_timestamp() argument
[all …]
/Linux-v4.19/drivers/mfd/
Dviperboard.c55 struct vprbrd *vb; in vprbrd_probe() local
61 vb = kzalloc(sizeof(*vb), GFP_KERNEL); in vprbrd_probe()
62 if (!vb) in vprbrd_probe()
65 mutex_init(&vb->lock); in vprbrd_probe()
67 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface)); in vprbrd_probe()
70 usb_set_intfdata(interface, vb); in vprbrd_probe()
71 dev_set_drvdata(&vb->pdev.dev, vb); in vprbrd_probe()
74 pipe = usb_rcvctrlpipe(vb->usb_dev, 0); in vprbrd_probe()
75 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, in vprbrd_probe()
76 VPRBRD_USB_TYPE_IN, 0x0000, 0x0000, vb->buf, 1, in vprbrd_probe()
[all …]
/Linux-v4.19/drivers/gpio/
Dgpio-viperboard.c75 struct vprbrd *vb; member
92 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_get() local
93 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_get()
99 mutex_lock(&vb->lock); in vprbrd_gpioa_get()
113 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0), in vprbrd_gpioa_get()
120 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), in vprbrd_gpioa_get()
126 mutex_unlock(&vb->lock); in vprbrd_gpioa_get()
142 struct vprbrd *vb = gpio->vb; in vprbrd_gpioa_set() local
143 struct vprbrd_gpioa_msg *gamsg = (struct vprbrd_gpioa_msg *)vb->buf; in vprbrd_gpioa_set()
151 mutex_lock(&vb->lock); in vprbrd_gpioa_set()
[all …]
/Linux-v4.19/drivers/media/usb/go7007/
Dgo7007-driver.c387 static inline void store_byte(struct go7007_buffer *vb, u8 byte) in store_byte() argument
389 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte()
390 u8 *ptr = vb2_plane_vaddr(&vb->vb.vb2_buf, 0); in store_byte()
392 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte()
396 static void go7007_set_motion_regions(struct go7007 *go, struct go7007_buffer *vb, in go7007_set_motion_regions() argument
404 .frame_sequence = vb->vb.sequence, in go7007_set_motion_regions()
418 static void go7007_motion_regions(struct go7007 *go, struct go7007_buffer *vb) in go7007_motion_regions() argument
420 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions()
428 store_byte(vb, go->active_map[i]); in go7007_motion_regions()
441 go7007_set_motion_regions(go, vb, motion_regions); in go7007_motion_regions()
[all …]
/Linux-v4.19/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-v4.19/drivers/media/usb/au0828/
Dau0828-vbi.c47 static int vbi_buffer_prepare(struct vb2_buffer *vb) in vbi_buffer_prepare() argument
49 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_prepare()
54 if (vb2_plane_size(vb, 0) < size) { in vbi_buffer_prepare()
56 __func__, vb2_plane_size(vb, 0), size); in vbi_buffer_prepare()
59 vb2_set_plane_payload(vb, 0, size); in vbi_buffer_prepare()
65 vbi_buffer_queue(struct vb2_buffer *vb) in vbi_buffer_queue() argument
67 struct au0828_dev *dev = vb2_get_drv_priv(vb->vb2_queue); in vbi_buffer_queue()
68 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in vbi_buffer_queue()
70 container_of(vbuf, struct au0828_buffer, vb); in vbi_buffer_queue()
74 buf->mem = vb2_plane_vaddr(vb, 0); in vbi_buffer_queue()
[all …]
/Linux-v4.19/include/media/
Dvideobuf2-core.h392 int (*buf_init)(struct vb2_buffer *vb);
393 int (*buf_prepare)(struct vb2_buffer *vb);
394 void (*buf_finish)(struct vb2_buffer *vb);
395 void (*buf_cleanup)(struct vb2_buffer *vb);
400 void (*buf_queue)(struct vb2_buffer *vb);
418 int (*verify_planes_array)(struct vb2_buffer *vb, const void *pb);
419 void (*fill_user_buffer)(struct vb2_buffer *vb, void *pb);
420 int (*fill_vb2_buffer)(struct vb2_buffer *vb, const void *pb,
422 void (*copy_timestamp)(struct vb2_buffer *vb, const void *pb);
584 void *vb2_plane_vaddr(struct vb2_buffer *vb, unsigned int plane_no);
[all …]
/Linux-v4.19/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-v4.19/drivers/iio/adc/
Dviperboard_adc.c37 struct vprbrd *vb; member
62 struct vprbrd *vb = adc->vb; in vprbrd_iio_read_raw() local
63 struct vprbrd_adc_msg *admsg = (struct vprbrd_adc_msg *)vb->buf; in vprbrd_iio_read_raw()
67 mutex_lock(&vb->lock); in vprbrd_iio_read_raw()
73 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
74 usb_sndctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
82 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
83 usb_rcvctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
89 mutex_unlock(&vb->lock); in vprbrd_iio_read_raw()
114 struct vprbrd *vb = dev_get_drvdata(pdev->dev.parent); in vprbrd_adc_probe() local
[all …]
/Linux-v4.19/drivers/staging/xgifb/
DXGI_main_26.c35 struct vb_device_info *vb = &xgifb_info->dev_info; in dumpVGAReg() local
38 xgifb_reg_set(vb->P3c4, 0x05, 0x86); in dumpVGAReg()
41 reg = xgifb_reg_get(vb->P3c4, i); in dumpVGAReg()
47 reg = xgifb_reg_get(vb->P3d4, i); in dumpVGAReg()
650 struct vb_device_info *vb = &xgifb_info->dev_info; in XGIfb_pre_setmode() local
653 cr31 = xgifb_reg_get(vb->P3d4, 0x31); in XGIfb_pre_setmode()
690 xgifb_reg_set(vb->P3d4, IND_XGI_SCRATCH_REG_CR30, cr30); in XGIfb_pre_setmode()
691 xgifb_reg_set(vb->P3d4, IND_XGI_SCRATCH_REG_CR31, cr31); in XGIfb_pre_setmode()
692 xgifb_reg_set(vb->P3d4, IND_XGI_SCRATCH_REG_CR33, in XGIfb_pre_setmode()
698 struct vb_device_info *vb = &xgifb_info->dev_info; in XGIfb_post_setmode() local
[all …]
/Linux-v4.19/drivers/media/platform/
Dfsl-viu.c87 struct videobuf_buffer vb; member
301 buf = list_entry(vidq->active.next, struct viu_buf, vb.queue); in restart_video_queue()
303 buf, buf->vb.i); in restart_video_queue()
308 list_for_each_entry_safe(buf, prev, &vidq->active, vb.queue) { in restart_video_queue()
309 list_del(&buf->vb.queue); in restart_video_queue()
310 buf->vb.state = VIDEOBUF_ERROR; in restart_video_queue()
311 wake_up(&buf->vb.done); in restart_video_queue()
321 buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue); in restart_video_queue()
323 list_move_tail(&buf->vb.queue, &vidq->active); in restart_video_queue()
329 buf->vb.state = VIDEOBUF_ACTIVE; in restart_video_queue()
[all …]
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-risc.c585 struct videobuf_dmabuf *dma=videobuf_to_dma(&buf->vb); in bttv_dma_free()
588 videobuf_waiton(q, &buf->vb, 0, 0); in bttv_dma_free()
593 buf->vb.state = VIDEOBUF_NEEDS_INIT; in bttv_dma_free()
613 vbi->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_vbi()
614 list_del(&vbi->vb.queue); in bttv_buffer_activate_vbi()
655 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
656 if (set->top->vb.queue.next) in bttv_buffer_activate_video()
657 list_del(&set->top->vb.queue); in bttv_buffer_activate_video()
659 set->top->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
660 set->bottom->vb.state = VIDEOBUF_ACTIVE; in bttv_buffer_activate_video()
[all …]
/Linux-v4.19/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-v4.19/drivers/i2c/busses/
Di2c-viperboard.c45 struct vprbrd *vb = (struct vprbrd *)i2c->algo_data; in vprbrd_i2c_status() local
50 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0), in vprbrd_i2c_status()
118 static int vprbrd_i2c_read(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_read() argument
123 (struct vprbrd_i2c_read_msg *)vb->buf; in vprbrd_i2c_read()
205 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len1); in vprbrd_i2c_read()
213 ret = vprbrd_i2c_receive(vb->usb_dev, rmsg, len2); in vprbrd_i2c_read()
223 static int vprbrd_i2c_write(struct vprbrd *vb, struct i2c_msg *msg) in vprbrd_i2c_write() argument
229 (struct vprbrd_i2c_write_msg *)vb->buf; in vprbrd_i2c_write()
260 ret = usb_bulk_msg(vb->usb_dev, in vprbrd_i2c_write()
261 usb_sndbulkpipe(vb->usb_dev, in vprbrd_i2c_write()
[all …]
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-vbi.c138 static int buffer_prepare(struct vb2_buffer *vb) in buffer_prepare() argument
140 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_prepare()
141 struct cx23885_dev *dev = vb->vb2_queue->drv_priv; in buffer_prepare()
143 struct cx23885_buffer, vb); in buffer_prepare()
144 struct sg_table *sgt = vb2_dma_sg_plane_desc(vb, 0); in buffer_prepare()
150 if (vb2_plane_size(vb, 0) < lines * VBI_LINE_LENGTH * 2) in buffer_prepare()
152 vb2_set_plane_payload(vb, 0, lines * VBI_LINE_LENGTH * 2); in buffer_prepare()
162 static void buffer_finish(struct vb2_buffer *vb) in buffer_finish() argument
164 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in buffer_finish()
166 struct cx23885_buffer, vb); in buffer_finish()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dvideobuf-vmalloc.c141 struct videobuf_buffer *vb; in __videobuf_alloc_vb() local
143 vb = kzalloc(size + sizeof(*mem), GFP_KERNEL); in __videobuf_alloc_vb()
144 if (!vb) in __videobuf_alloc_vb()
145 return vb; in __videobuf_alloc_vb()
147 mem = vb->priv = ((char *)vb) + size; in __videobuf_alloc_vb()
151 __func__, vb, (long)sizeof(*vb), (long)size - sizeof(*vb), in __videobuf_alloc_vb()
154 return vb; in __videobuf_alloc_vb()
158 struct videobuf_buffer *vb, in __videobuf_iolock() argument
161 struct videobuf_vmalloc_memory *mem = vb->priv; in __videobuf_iolock()
168 switch (vb->memory) { in __videobuf_iolock()
[all …]
Dvideobuf-dma-contig.c161 struct videobuf_buffer *vb) in videobuf_dma_contig_user_get() argument
170 offset = vb->baddr & ~PAGE_MASK; in videobuf_dma_contig_user_get()
171 mem->size = PAGE_ALIGN(vb->size + offset); in videobuf_dma_contig_user_get()
176 vma = find_vma(mm, vb->baddr); in videobuf_dma_contig_user_get()
180 if ((vb->baddr + mem->size) > vma->vm_end) in videobuf_dma_contig_user_get()
185 user_address = vb->baddr; in videobuf_dma_contig_user_get()
214 struct videobuf_buffer *vb; in __videobuf_alloc() local
216 vb = kzalloc(size + sizeof(*mem), GFP_KERNEL); in __videobuf_alloc()
217 if (vb) { in __videobuf_alloc()
218 vb->priv = ((char *)vb) + size; in __videobuf_alloc()
[all …]
/Linux-v4.19/block/partitions/
Dldm.c588 struct vblk *vb; in ldm_create_data_partitions() local
605 vb = list_entry (item, struct vblk, list); in ldm_create_data_partitions()
606 part = &vb->vblk.part; in ldm_create_data_partitions()
734 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_cmp3() argument
739 BUG_ON (!buffer || !vb); in ldm_parse_cmp3()
763 comp = &vb->vblk.comp; in ldm_parse_cmp3()
785 static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr3() argument
790 BUG_ON (!buffer || !vb); in ldm_parse_dgr3()
812 dgrp = &vb->vblk.dgrp; in ldm_parse_dgr3()
829 static bool ldm_parse_dgr4 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr4() argument
[all …]
/Linux-v4.19/drivers/media/platform/vivid/
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()
99 buf->vb.vb2_buf.timestamp = ktime_get_ns() + dev->time_wrap_offset; in vivid_raw_vbi_cap_process()
107 vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_sliced_vbi_cap_process()
109 buf->vb.sequence = dev->vbi_cap_seq_count; in vivid_sliced_vbi_cap_process()
111 buf->vb.sequence /= 2; in vivid_sliced_vbi_cap_process()
113 vivid_sliced_vbi_cap_fill(dev, buf->vb.sequence); in vivid_sliced_vbi_cap_process()
[all …]
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-vbi.c211 videobuf_vmalloc_free(&buf->vb); in free_buffer()
212 buf->vb.state = VIDEOBUF_NEEDS_INIT; in free_buffer()
216 vbi_buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb, in vbi_buffer_prepare() argument
221 container_of(vb, struct cx231xx_buffer, vb); in vbi_buffer_prepare()
228 buf->vb.size = ((dev->width << 1) * height * 2); in vbi_buffer_prepare()
230 if (0 != buf->vb.baddr && buf->vb.bsize < buf->vb.size) in vbi_buffer_prepare()
233 buf->vb.width = dev->width; in vbi_buffer_prepare()
234 buf->vb.height = height; in vbi_buffer_prepare()
235 buf->vb.field = field; in vbi_buffer_prepare()
236 buf->vb.field = V4L2_FIELD_SEQ_TB; in vbi_buffer_prepare()
[all …]
/Linux-v4.19/drivers/media/platform/rockchip/rga/
Drga-buf.c46 static int rga_buf_prepare(struct vb2_buffer *vb) in rga_buf_prepare() argument
48 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_prepare()
49 struct rga_frame *f = rga_get_frame(ctx, vb->vb2_queue->type); in rga_buf_prepare()
54 vb2_set_plane_payload(vb, 0, f->size); in rga_buf_prepare()
59 static void rga_buf_queue(struct vb2_buffer *vb) in rga_buf_queue() argument
61 struct vb2_v4l2_buffer *vbuf = to_vb2_v4l2_buffer(vb); in rga_buf_queue()
62 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_queue()
121 void rga_buf_map(struct vb2_buffer *vb) in rga_buf_map() argument
123 struct rga_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in rga_buf_map()
131 if (vb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) in rga_buf_map()
[all …]
/Linux-v4.19/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-v4.19/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