Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-4.4.0-119 /
include /
media /
Delete
Unzip
Name
Size
Permission
Date
Action
blackfin
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
davinci
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
ad9389b.h
1.41
KB
-rw-r--r--
2016-01-11 00:01
adp1653.h
4.21
KB
-rw-r--r--
2016-01-11 00:01
adv7183.h
1.76
KB
-rw-r--r--
2016-01-11 00:01
adv7343.h
1.94
KB
-rw-r--r--
2016-01-11 00:01
adv7393.h
883
B
-rw-r--r--
2016-01-11 00:01
adv7511.h
1.2
KB
-rw-r--r--
2016-01-11 00:01
adv7604.h
4.66
KB
-rw-r--r--
2016-01-11 00:01
adv7842.h
6.11
KB
-rw-r--r--
2016-01-11 00:01
ak881x.h
665
B
-rw-r--r--
2016-01-11 00:01
as3645a.h
2.35
KB
-rw-r--r--
2016-01-11 00:01
bt819.h
1.15
KB
-rw-r--r--
2016-01-11 00:01
cs5345.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
cs53l32a.h
1.17
KB
-rw-r--r--
2016-01-11 00:01
cx2341x.h
9.78
KB
-rw-r--r--
2016-01-11 00:01
cx25840.h
5.38
KB
-rw-r--r--
2016-01-11 00:01
exynos-fimc.h
4.75
KB
-rw-r--r--
2016-01-11 00:01
gpio-ir-recv.h
733
B
-rw-r--r--
2016-01-11 00:01
i2c-addr.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
ir-kbd-i2c.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
ir-rx51.h
163
B
-rw-r--r--
2016-01-11 00:01
lirc.h
6.27
KB
-rw-r--r--
2016-01-11 00:01
lirc_dev.h
6.57
KB
-rw-r--r--
2016-01-11 00:01
lm3560.h
2.7
KB
-rw-r--r--
2016-01-11 00:01
lm3646.h
2.52
KB
-rw-r--r--
2016-01-11 00:01
m52790.h
2.72
KB
-rw-r--r--
2016-01-11 00:01
m5mols.h
1.05
KB
-rw-r--r--
2016-01-11 00:01
media-device.h
3.22
KB
-rw-r--r--
2016-01-11 00:01
media-devnode.h
3.21
KB
-rw-r--r--
2016-01-11 00:01
media-entity.h
5.46
KB
-rw-r--r--
2016-01-11 00:01
mmp-camera.h
179
B
-rw-r--r--
2016-01-11 00:01
msp3400.h
8.29
KB
-rw-r--r--
2016-01-11 00:01
mt9m032.h
1.06
KB
-rw-r--r--
2016-01-11 00:01
mt9p031.h
271
B
-rw-r--r--
2016-01-11 00:01
mt9t001.h
141
B
-rw-r--r--
2016-01-11 00:01
mt9t112.h
690
B
-rw-r--r--
2016-01-11 00:01
mt9v011.h
384
B
-rw-r--r--
2016-01-11 00:01
mt9v022.h
362
B
-rw-r--r--
2016-01-11 00:01
mt9v032.h
163
B
-rw-r--r--
2016-01-11 00:01
noon010pc30.h
727
B
-rw-r--r--
2016-01-11 00:01
omap1_camera.h
880
B
-rw-r--r--
2016-01-11 00:01
omap4iss.h
1.42
KB
-rw-r--r--
2016-01-11 00:01
ov2659.h
1.08
KB
-rw-r--r--
2016-01-11 00:01
ov7670.h
615
B
-rw-r--r--
2016-01-11 00:01
ov772x.h
1.4
KB
-rw-r--r--
2016-01-11 00:01
ov9650.h
874
B
-rw-r--r--
2016-01-11 00:01
rc-core.h
9.15
KB
-rw-r--r--
2016-01-11 00:01
rc-map.h
10.15
KB
-rw-r--r--
2016-01-11 00:01
rj54n1cb0c.h
425
B
-rw-r--r--
2016-01-11 00:01
s3c_camif.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
s5c73m3.h
1.54
KB
-rw-r--r--
2016-01-11 00:01
s5k4ecgx.h
892
B
-rw-r--r--
2016-01-11 00:01
s5k6aa.h
1.4
KB
-rw-r--r--
2016-01-11 00:01
s5p_hdmi.h
985
B
-rw-r--r--
2016-01-11 00:01
saa6588.h
1.28
KB
-rw-r--r--
2016-01-11 00:01
saa7115.h
4.69
KB
-rw-r--r--
2016-01-11 00:01
saa7127.h
1.24
KB
-rw-r--r--
2016-01-11 00:01
saa7146.h
17.5
KB
-rw-r--r--
2016-01-11 00:01
saa7146_vv.h
7.48
KB
-rw-r--r--
2016-01-11 00:01
sh_mobile_ceu.h
866
B
-rw-r--r--
2016-01-11 00:01
sh_mobile_csi2.h
986
B
-rw-r--r--
2016-01-11 00:01
sh_vou.h
716
B
-rw-r--r--
2016-01-11 00:01
si4713.h
1.36
KB
-rw-r--r--
2016-01-11 00:01
si476x.h
1.23
KB
-rw-r--r--
2016-01-11 00:01
sii9234.h
590
B
-rw-r--r--
2016-01-11 00:01
smiapp.h
2.45
KB
-rw-r--r--
2016-01-11 00:01
soc_camera.h
13.57
KB
-rw-r--r--
2016-01-11 00:01
soc_camera_platform.h
1.93
KB
-rw-r--r--
2016-01-11 00:01
soc_mediabus.h
3.5
KB
-rw-r--r--
2016-01-11 00:01
sr030pc30.h
628
B
-rw-r--r--
2016-01-11 00:01
tc358743.h
3.88
KB
-rw-r--r--
2016-01-11 00:01
tea575x.h
2.89
KB
-rw-r--r--
2016-01-11 00:01
ths7303.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
timb_radio.h
994
B
-rw-r--r--
2016-01-11 00:01
timb_video.h
1.01
KB
-rw-r--r--
2016-01-11 00:01
tuner-types.h
6.93
KB
-rw-r--r--
2016-01-11 00:01
tuner.h
8.82
KB
-rw-r--r--
2016-01-11 00:01
tvaudio.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
tveeprom.h
3.27
KB
-rw-r--r--
2016-01-11 00:01
tvp514x.h
2.76
KB
-rw-r--r--
2016-01-11 00:01
tvp5150.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
tvp7002.h
2.07
KB
-rw-r--r--
2016-01-11 00:01
tw9910.h
784
B
-rw-r--r--
2016-01-11 00:01
uda1342.h
960
B
-rw-r--r--
2016-01-11 00:01
upd64031a.h
1.32
KB
-rw-r--r--
2016-01-11 00:01
upd64083.h
2.23
KB
-rw-r--r--
2016-01-11 00:01
v4l2-async.h
2.8
KB
-rw-r--r--
2016-01-11 00:01
v4l2-clk.h
1.98
KB
-rw-r--r--
2016-01-11 00:01
v4l2-common.h
6.41
KB
-rw-r--r--
2016-01-11 00:01
v4l2-ctrls.h
33.24
KB
-rw-r--r--
2016-01-11 00:01
v4l2-dev.h
7.29
KB
-rw-r--r--
2016-01-11 00:01
v4l2-device.h
7.57
KB
-rw-r--r--
2016-01-11 00:01
v4l2-dv-timings.h
7.07
KB
-rw-r--r--
2016-01-11 00:01
v4l2-event.h
5.22
KB
-rw-r--r--
2016-01-11 00:01
v4l2-fh.h
3.36
KB
-rw-r--r--
2016-01-11 00:01
v4l2-flash-led-class.h
4.56
KB
-rw-r--r--
2016-01-11 00:01
v4l2-image-sizes.h
864
B
-rw-r--r--
2016-01-11 00:01
v4l2-ioctl.h
13.58
KB
-rw-r--r--
2016-01-11 00:01
v4l2-mediabus.h
3.94
KB
-rw-r--r--
2016-01-11 00:01
v4l2-mem2mem.h
8.56
KB
-rw-r--r--
2016-01-11 00:01
v4l2-of.h
3.52
KB
-rw-r--r--
2016-01-11 00:01
v4l2-subdev.h
31.48
KB
-rw-r--r--
2016-01-11 00:01
videobuf-core.h
6.99
KB
-rw-r--r--
2016-01-11 00:01
videobuf-dma-contig.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
videobuf-dma-sg.h
2.94
KB
-rw-r--r--
2016-01-11 00:01
videobuf-dvb.h
1.67
KB
-rw-r--r--
2016-01-11 00:01
videobuf-vmalloc.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
videobuf2-core.h
23.61
KB
-rw-r--r--
2018-04-02 18:07
videobuf2-dma-contig.h
831
B
-rw-r--r--
2016-01-11 00:01
videobuf2-dma-sg.h
790
B
-rw-r--r--
2016-01-11 00:01
videobuf2-dvb.h
1.64
KB
-rw-r--r--
2016-01-11 00:01
videobuf2-memops.h
1.06
KB
-rw-r--r--
2016-01-11 00:01
videobuf2-v4l2.h
5.27
KB
-rw-r--r--
2016-01-11 00:01
videobuf2-vmalloc.h
509
B
-rw-r--r--
2016-01-11 00:01
wm8775.h
1.36
KB
-rw-r--r--
2016-01-11 00:01
Save
Rename
/* * Memory-to-memory device framework for Video for Linux 2. * * Helper functions for devices that use memory buffers for both source * and destination. * * Copyright (c) 2009 Samsung Electronics Co., Ltd. * Pawel Osciak, <pawel@osciak.com> * Marek Szyprowski, <m.szyprowski@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the * License, or (at your option) any later version */ #ifndef _MEDIA_V4L2_MEM2MEM_H #define _MEDIA_V4L2_MEM2MEM_H #include <media/videobuf2-v4l2.h> /** * struct v4l2_m2m_ops - mem-to-mem device driver callbacks * @device_run: required. Begin the actual job (transaction) inside this * callback. * The job does NOT have to end before this callback returns * (and it will be the usual case). When the job finishes, * v4l2_m2m_job_finish() has to be called. * @job_ready: optional. Should return 0 if the driver does not have a job * fully prepared to run yet (i.e. it will not be able to finish a * transaction without sleeping). If not provided, it will be * assumed that one source and one destination buffer are all * that is required for the driver to perform one full transaction. * This method may not sleep. * @job_abort: required. Informs the driver that it has to abort the currently * running transaction as soon as possible (i.e. as soon as it can * stop the device safely; e.g. in the next interrupt handler), * even if the transaction would not have been finished by then. * After the driver performs the necessary steps, it has to call * v4l2_m2m_job_finish() (as if the transaction ended normally). * This function does not have to (and will usually not) wait * until the device enters a state when it can be stopped. * @lock: optional. Define a driver's own lock callback, instead of using * m2m_ctx->q_lock. * @unlock: optional. Define a driver's own unlock callback, instead of * using m2m_ctx->q_lock. */ struct v4l2_m2m_ops { void (*device_run)(void *priv); int (*job_ready)(void *priv); void (*job_abort)(void *priv); void (*lock)(void *priv); void (*unlock)(void *priv); }; struct v4l2_m2m_dev; struct v4l2_m2m_queue_ctx { /* private: internal use only */ struct vb2_queue q; /* Queue for buffers ready to be processed as soon as this * instance receives access to the device */ struct list_head rdy_queue; spinlock_t rdy_spinlock; u8 num_rdy; bool buffered; }; struct v4l2_m2m_ctx { /* optional cap/out vb2 queues lock */ struct mutex *q_lock; /* private: internal use only */ struct v4l2_m2m_dev *m2m_dev; /* Capture (output to memory) queue context */ struct v4l2_m2m_queue_ctx cap_q_ctx; /* Output (input from memory) queue context */ struct v4l2_m2m_queue_ctx out_q_ctx; /* For device job queue */ struct list_head queue; unsigned long job_flags; wait_queue_head_t finished; /* Instance private data */ void *priv; }; struct v4l2_m2m_buffer { struct vb2_v4l2_buffer vb; struct list_head list; }; void *v4l2_m2m_get_curr_priv(struct v4l2_m2m_dev *m2m_dev); struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type); void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx); void v4l2_m2m_job_finish(struct v4l2_m2m_dev *m2m_dev, struct v4l2_m2m_ctx *m2m_ctx); static inline void v4l2_m2m_buf_done(struct vb2_v4l2_buffer *buf, enum vb2_buffer_state state) { vb2_buffer_done(&buf->vb2_buf, state); } int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_requestbuffers *reqbufs); int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf); int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf); int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf); int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_buffer *buf); int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_create_buffers *create); int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct v4l2_exportbuffer *eb); int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type); int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, enum v4l2_buf_type type); unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct poll_table_struct *wait); int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx, struct vm_area_struct *vma); struct v4l2_m2m_dev *v4l2_m2m_init(const struct v4l2_m2m_ops *m2m_ops); void v4l2_m2m_release(struct v4l2_m2m_dev *m2m_dev); struct v4l2_m2m_ctx *v4l2_m2m_ctx_init(struct v4l2_m2m_dev *m2m_dev, void *drv_priv, int (*queue_init)(void *priv, struct vb2_queue *src_vq, struct vb2_queue *dst_vq)); static inline void v4l2_m2m_set_src_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) { m2m_ctx->out_q_ctx.buffered = buffered; } static inline void v4l2_m2m_set_dst_buffered(struct v4l2_m2m_ctx *m2m_ctx, bool buffered) { m2m_ctx->cap_q_ctx.buffered = buffered; } void v4l2_m2m_ctx_release(struct v4l2_m2m_ctx *m2m_ctx); void v4l2_m2m_buf_queue(struct v4l2_m2m_ctx *m2m_ctx, struct vb2_v4l2_buffer *vbuf); /** * v4l2_m2m_num_src_bufs_ready() - return the number of source buffers ready for * use * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline unsigned int v4l2_m2m_num_src_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) { return m2m_ctx->out_q_ctx.num_rdy; } /** * v4l2_m2m_num_src_bufs_ready() - return the number of destination buffers * ready for use * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline unsigned int v4l2_m2m_num_dst_bufs_ready(struct v4l2_m2m_ctx *m2m_ctx) { return m2m_ctx->cap_q_ctx.num_rdy; } void *v4l2_m2m_next_buf(struct v4l2_m2m_queue_ctx *q_ctx); /** * v4l2_m2m_next_src_buf() - return next source buffer from the list of ready * buffers * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline void *v4l2_m2m_next_src_buf(struct v4l2_m2m_ctx *m2m_ctx) { return v4l2_m2m_next_buf(&m2m_ctx->out_q_ctx); } /** * v4l2_m2m_next_dst_buf() - return next destination buffer from the list of * ready buffers * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline void *v4l2_m2m_next_dst_buf(struct v4l2_m2m_ctx *m2m_ctx) { return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); } /** * v4l2_m2m_get_src_vq() - return vb2_queue for source buffers * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline struct vb2_queue *v4l2_m2m_get_src_vq(struct v4l2_m2m_ctx *m2m_ctx) { return &m2m_ctx->out_q_ctx.q; } /** * v4l2_m2m_get_dst_vq() - return vb2_queue for destination buffers * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline struct vb2_queue *v4l2_m2m_get_dst_vq(struct v4l2_m2m_ctx *m2m_ctx) { return &m2m_ctx->cap_q_ctx.q; } void *v4l2_m2m_buf_remove(struct v4l2_m2m_queue_ctx *q_ctx); /** * v4l2_m2m_src_buf_remove() - take off a source buffer from the list of ready * buffers and return it * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline void *v4l2_m2m_src_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) { return v4l2_m2m_buf_remove(&m2m_ctx->out_q_ctx); } /** * v4l2_m2m_dst_buf_remove() - take off a destination buffer from the list of * ready buffers and return it * * @m2m_ctx: pointer to struct v4l2_m2m_ctx */ static inline void *v4l2_m2m_dst_buf_remove(struct v4l2_m2m_ctx *m2m_ctx) { return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); } /* v4l2 ioctl helpers */ int v4l2_m2m_ioctl_reqbufs(struct file *file, void *priv, struct v4l2_requestbuffers *rb); int v4l2_m2m_ioctl_create_bufs(struct file *file, void *fh, struct v4l2_create_buffers *create); int v4l2_m2m_ioctl_querybuf(struct file *file, void *fh, struct v4l2_buffer *buf); int v4l2_m2m_ioctl_expbuf(struct file *file, void *fh, struct v4l2_exportbuffer *eb); int v4l2_m2m_ioctl_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf); int v4l2_m2m_ioctl_dqbuf(struct file *file, void *fh, struct v4l2_buffer *buf); int v4l2_m2m_ioctl_prepare_buf(struct file *file, void *fh, struct v4l2_buffer *buf); int v4l2_m2m_ioctl_streamon(struct file *file, void *fh, enum v4l2_buf_type type); int v4l2_m2m_ioctl_streamoff(struct file *file, void *fh, enum v4l2_buf_type type); int v4l2_m2m_fop_mmap(struct file *file, struct vm_area_struct *vma); unsigned int v4l2_m2m_fop_poll(struct file *file, poll_table *wait); #endif /* _MEDIA_V4L2_MEM2MEM_H */