fd.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  IoDirection {
  IoDirection::Read,
  IoDirection::Write
}
 distinguishes reading/importing I/O operations from their writing/exporting counterparts More...
 

Functions

void fd_close (int fd)
 
void fd_open (int fd, unsigned int type, const char *)
 
void fd_note (int fd, const char *)
 
void fd_bytes (int fd, int len, IoDirection)
 
void fdDumpOpen (void)
 
int fdUsageHigh (void)
 
void fdAdjustReserved (void)
 
int default_read_method (int, char *, int)
 
int default_write_method (int, const char *, int)
 

Enumeration Type Documentation

◆ IoDirection

enum IoDirection
strong
Enumerator
Read 
Write 

Definition at line 15 of file fd.h.

Function Documentation

◆ default_read_method()

int default_read_method ( int  ,
char *  ,
int   
)

Definition at line 129 of file fd.cc.

Referenced by fd_open(), Ssl::Bio::read(), and fde::useDefaultIo().

◆ default_write_method()

int default_write_method ( int  ,
const char *  ,
int   
)

Definition at line 135 of file fd.cc.

Referenced by fd_open(), fde::useDefaultIo(), and Ssl::Bio::write().

◆ fd_bytes()

◆ fd_close()

◆ fd_note()

◆ fd_open()

◆ fdAdjustReserved()

void fdAdjustReserved ( void  )

Definition at line 288 of file fd.cc.

References DBG_CRITICAL, debugs, fatalf(), last, min(), Number_FD, RESERVED_FD, squid_curtime, and Squid_MaxFD.

Referenced by comm_open_uds(), and comm_openex().

◆ fdDumpOpen()

void fdDumpOpen ( void  )

Definition at line 244 of file fd.cc.

References debugs, DebugStream(), F(), fd_table, Important, and Squid_MaxFD.

Referenced by SquidShutdown().

◆ fdUsageHigh()

int fdUsageHigh ( void  )

 

Introduction

Documentation

Support

Miscellaneous