/* * videobuf2-memops.h - generic memory handling routines for videobuf2 * * Copyright (C) 2010 Samsung Electronics * * Author: 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. */ #ifndef _MEDIA_VIDEOBUF2_MEMOPS_H #define _MEDIA_VIDEOBUF2_MEMOPS_H #include <media/videobuf2-v4l2.h> #include <linux/mm.h> /** * struct vb2_vmarea_handler - common vma refcount tracking handler * * @refcount: pointer to refcount entry in the buffer * @put: callback to function that decreases buffer refcount * @arg: argument for @put callback */ struct vb2_vmarea_handler { atomic_t *refcount; void (*put)(void *arg); void *arg; }; extern const struct vm_operations_struct vb2_common_vm_ops; struct frame_vector *vb2_create_framevec(unsigned long start, unsigned long length, bool write); void vb2_destroy_framevec(struct frame_vector *vec); #endif s-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=d254586c34538c0014280806c5d4795697cf21e5'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/wimax'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/wimax?id=d254586c34538c0014280806c5d4795697cf21e5'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/wimax?id=d254586c34538c0014280806c5d4795697cf21e5'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/wimax?id=d254586c34538c0014280806c5d4795697cf21e5'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/wimax'> <input type='hidden' name='id' value='d254586c34538c0014280806c5d4795697cf21e5'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=d254586c34538c0014280806c5d4795697cf21e5'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=d254586c34538c0014280806c5d4795697cf21e5'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/wimax?id=d254586c34538c0014280806c5d4795697cf21e5'>wimax</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/wimax?id=d254586c34538c0014280806c5d4795697cf21e5&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>