FreeBSD kernel libkern code
bcopy.c File Reference
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
Include dependency graph for bcopy.c:

Go to the source code of this file.

Macros

#define wsize   sizeof(word)
 
#define wmask   (wsize - 1)
 
#define TLOOP(s)   if (t) TLOOP1(s)
 
#define TLOOP1(s)   do { s; } while (--t)
 

Typedefs

typedef long word
 

Functions

 __FBSDID ("$FreeBSD$")
 
void * memcpy (void *dst0, const void *src0, size_t length)
 
 __strong_reference (memcpy, memmove)
 

Macro Definition Documentation

◆ TLOOP

#define TLOOP (   s)    if (t) TLOOP1(s)

◆ TLOOP1

#define TLOOP1 (   s)    do { s; } while (--t)

◆ wmask

#define wmask   (wsize - 1)

Definition at line 63 of file bcopy.c.

◆ wsize

#define wsize   sizeof(word)

Definition at line 62 of file bcopy.c.

Typedef Documentation

◆ word

typedef long word

Definition at line 60 of file bcopy.c.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ __strong_reference()

__strong_reference ( memcpy  ,
memmove   
)

◆ memcpy()

void * memcpy ( void *  dst0,
const void *  src0,
size_t  length 
)

Definition at line 71 of file bcopy.c.

References done, TLOOP, TLOOP1, wmask, and wsize.

Referenced by iconv_convmem(), inet_pton4(), and inet_pton6().

Here is the caller graph for this function: