XINU
Data Structures | Macros | Variables
bufpool.h File Reference

バッファプールに関する構造体や定数の宣言。 More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bpentry
 バッファプールテーブルエントリ More...
 

Macros

#define BP_MAXB   8192
 最大バッファサイズ(Byte) More...
 
#define BP_MAXN   2048
 バッファプールに存在するバッファの最大数 More...
 
#define BP_MINB   8
 最小バッファサイズ(Byte) More...
 
#define NBPOOLS   20
 バッファプール数の最大数 More...
 

Variables

struct bpentry buftab []
 バッファプールテーブルのextern宣言 More...
 
bpid32 nbpools
 割り当てられたバッファプールの現在の数 More...
 

Detailed Description

バッファプールに関する構造体や定数の宣言。

Definition in file bufpool.h.

Macro Definition Documentation

◆ BP_MAXB

#define BP_MAXB   8192

最大バッファサイズ(Byte)

Definition at line 13 of file bufpool.h.

Referenced by mkbufpool().

◆ BP_MAXN

#define BP_MAXN   2048

バッファプールに存在するバッファの最大数

Definition at line 20 of file bufpool.h.

Referenced by mkbufpool().

◆ BP_MINB

#define BP_MINB   8

最小バッファサイズ(Byte)

Definition at line 17 of file bufpool.h.

◆ NBPOOLS

#define NBPOOLS   20

バッファプール数の最大数

Definition at line 8 of file bufpool.h.

Referenced by mkbufpool().

Variable Documentation

◆ buftab

struct bpentry buftab[]

バッファプールテーブルのextern宣言

バッファプールテーブルのextern宣言

Definition at line 8 of file bufinit.c.

Referenced by freebuf(), getbuf(), and mkbufpool().

◆ nbpools

bpid32 nbpools

割り当てられたバッファプールの現在の数

Definition at line 10 of file bufinit.c.

Referenced by bufinit(), freebuf(), getbuf(), and mkbufpool().