FreeBSD kernel kern code
uipc_cow.c File Reference
#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>
Include dependency graph for uipc_cow.c:

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
 

Function Documentation

__FBSDID ( "$BSDSUniX$"  )
FEATURE ( zero_copy_sockets  ,
"Zero copy sockets support"   
)
static void socow_iodone ( void *  addr,
void *  args 
)
static

Definition at line 76 of file uipc_cow.c.

References netsend_cow_stats::iodone, and socow_stats.

Referenced by socow_setup().

Here is the caller graph for this function:

int socow_setup ( struct mbuf *  m0,
struct uio *  uio 
)

Variable Documentation

struct netsend_cow_stats socow_stats
static

Definition at line 71 of file uipc_cow.c.

Referenced by socow_iodone(), and socow_setup().