/* * videobuf2-memops.h - generic memory handling routines for videobuf2 * * Copyright (C) 2010 Samsung Electronics * * Author: Pawel Osciak * Marek Szyprowski * * 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 #include /** * 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 'selected'>master net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2017-01-30 06:45:43 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2017-01-30 06:45:43 +0100
commit1995876a06bcf6f9f7d7b699bdbf387831679771 (patch)
tree9f308c68f35e233c0ce5ce91d64bb096bec9ebb7 /net/tipc/socket.h
parentf991bb9da142ba79b54ed0757f22e756f45e2c5a (diff)
xfrm: Add a dummy network device for napi.
This patch adds a dummy network device so that we can use gro_cells for IPsec GRO. With this, we handle IPsec GRO with no impact on the generic networking code. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/tipc/socket.h')