FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysctl.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/mbuf.h>
#include <sys/sf_buf.h>
#include <sys/socketvar.h>
#include <sys/uio.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
#include <vm/vm_page.h>
#include <vm/vm_object.h>
Go to the source code of this file.
Data Structures | |
struct | netsend_cow_stats |
Functions | |
__FBSDID ("$BSDSUniX$") | |
FEATURE (zero_copy_sockets,"Zero copy sockets support") | |
static void | socow_iodone (void *addr, void *args) |
int | socow_setup (struct mbuf *m0, struct uio *uio) |
Variables | |
static struct netsend_cow_stats | socow_stats |
__FBSDID | ( | "$BSDSUniX$" | ) |
FEATURE | ( | zero_copy_sockets | , |
"Zero copy sockets support" | |||
) |
|
static |
Definition at line 76 of file uipc_cow.c.
References netsend_cow_stats::iodone, and socow_stats.
Referenced by socow_setup().
int socow_setup | ( | struct mbuf * | m0, |
struct uio * | uio | ||
) |
Definition at line 100 of file uipc_cow.c.
References netsend_cow_stats::attempted, netsend_cow_stats::fail_not_mapped, netsend_cow_stats::fail_sf_buf, socow_iodone(), socow_stats, and netsend_cow_stats::success.
|
static |
Definition at line 71 of file uipc_cow.c.
Referenced by socow_iodone(), and socow_setup().