RetroArch
Macros | Functions
btpbuf.c File Reference
#include <stdlib.h>
#include <string.h>
#include "btmemb.h"
#include "btmemr.h"
#include "btpbuf.h"
Include dependency graph for btpbuf.c:

Macros

#define STAT(s)
 

Functions

 MEMB (pool_pbufs, sizeof(struct pbuf)+PBUF_POOL_BUFSIZE, PBUF_POOL_NUM)
 
 MEMB (rom_pbufs, sizeof(struct pbuf), PBUF_ROM_NUM)
 
void btpbuf_init ()
 
struct pbufbtpbuf_alloc (pbuf_layer layer, u16_t len, pbuf_flag flag)
 
u8_t btpbuf_free (struct pbuf *p)
 
void btpbuf_realloc (struct pbuf *p, u16_t new_len)
 
u8_t btpbuf_header (struct pbuf *p, s16_t hdr_size_inc)
 
u8_t btpbuf_clen (struct pbuf *p)
 
void btpbuf_ref (struct pbuf *p)
 
void btpbuf_cat (struct pbuf *h, struct pbuf *t)
 
void btpbuf_queue (struct pbuf *p, struct pbuf *n)
 
struct pbufbtpbuf_dequeue (struct pbuf *p)
 
void btpbuf_chain (struct pbuf *h, struct pbuf *t)
 
struct pbufbtpbuf_dechain (struct pbuf *p)
 
struct pbufbtpbuf_take (struct pbuf *p)
 

Macro Definition Documentation

◆ STAT

#define STAT (   s)

Function Documentation

◆ btpbuf_alloc()

struct pbuf* btpbuf_alloc ( pbuf_layer  layer,
u16_t  len,
pbuf_flag  flag 
)
Here is the call graph for this function:

◆ btpbuf_cat()

void btpbuf_cat ( struct pbuf h,
struct pbuf t 
)
Here is the caller graph for this function:

◆ btpbuf_chain()

void btpbuf_chain ( struct pbuf h,
struct pbuf t 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ btpbuf_clen()

u8_t btpbuf_clen ( struct pbuf p)

◆ btpbuf_dechain()

struct pbuf* btpbuf_dechain ( struct pbuf p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ btpbuf_dequeue()

struct pbuf* btpbuf_dequeue ( struct pbuf p)

◆ btpbuf_free()

u8_t btpbuf_free ( struct pbuf p)
Here is the call graph for this function:

◆ btpbuf_header()

u8_t btpbuf_header ( struct pbuf p,
s16_t  hdr_size_inc 
)
Here is the caller graph for this function:

◆ btpbuf_init()

void btpbuf_init ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ btpbuf_queue()

void btpbuf_queue ( struct pbuf p,
struct pbuf n 
)
Here is the call graph for this function:

◆ btpbuf_realloc()

void btpbuf_realloc ( struct pbuf p,
u16_t  new_len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ btpbuf_ref()

void btpbuf_ref ( struct pbuf p)
Here is the caller graph for this function:

◆ btpbuf_take()

struct pbuf* btpbuf_take ( struct pbuf p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEMB() [1/2]

MEMB ( pool_pbufs  ,
sizeof(struct pbuf)+  PBUF_POOL_BUFSIZE,
PBUF_POOL_NUM   
)

◆ MEMB() [2/2]

MEMB ( rom_pbufs  ,
sizeof(struct pbuf ,
PBUF_ROM_NUM   
)