Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
ngx_files.c File Reference
#include <ngx_config.h>
#include <ngx_core.h>
Include dependency graph for ngx_files.c:

Go to the source code of this file.

Macros

#define NGX_IOVS   8

Functions

ssize_t ngx_read_file (ngx_file_t *file, u_char *buf, size_t size, off_t offset)
ssize_t ngx_write_file (ngx_file_t *file, u_char *buf, size_t size, off_t offset)
ngx_fd_t ngx_open_tempfile (u_char *name, ngx_uint_t persistent, ngx_uint_t access)
ssize_t ngx_write_chain_to_file (ngx_file_t *file, ngx_chain_t *cl, off_t offset, ngx_pool_t *pool)
ngx_int_t ngx_set_file_time (u_char *name, ngx_fd_t fd, time_t s)
ngx_int_t ngx_create_file_mapping (ngx_file_mapping_t *fm)
void ngx_close_file_mapping (ngx_file_mapping_t *fm)
ngx_int_t ngx_open_dir (ngx_str_t *name, ngx_dir_t *dir)
ngx_int_t ngx_read_dir (ngx_dir_t *dir)
ngx_int_t ngx_open_glob (ngx_glob_t *gl)
ngx_int_t ngx_read_glob (ngx_glob_t *gl, ngx_str_t *name)
void ngx_close_glob (ngx_glob_t *gl)
ngx_err_t ngx_trylock_fd (ngx_fd_t fd)
ngx_err_t ngx_lock_fd (ngx_fd_t fd)
ngx_err_t ngx_unlock_fd (ngx_fd_t fd)
size_t ngx_fs_bsize (u_char *name)

Macro Definition Documentation

#define NGX_IOVS   8

Definition at line 149 of file ngx_files.c.

Function Documentation

void ngx_close_file_mapping ( ngx_file_mapping_t fm)

Definition at line 314 of file ngx_files.c.

Here is the call graph for this function:

void ngx_close_glob ( ngx_glob_t gl)

Definition at line 409 of file ngx_files.c.

Here is the caller graph for this function:

ngx_int_t ngx_create_file_mapping ( ngx_file_mapping_t fm)

Definition at line 277 of file ngx_files.c.

Here is the call graph for this function:

size_t ngx_fs_bsize ( u_char *  name)

Definition at line 559 of file ngx_files.c.

ngx_err_t ngx_lock_fd ( ngx_fd_t  fd)

Definition at line 433 of file ngx_files.c.

Here is the caller graph for this function:

ngx_int_t ngx_open_dir ( ngx_str_t name,
ngx_dir_t dir 
)

Definition at line 329 of file ngx_files.c.

Here is the caller graph for this function:

ngx_int_t ngx_open_glob ( ngx_glob_t gl)

Definition at line 362 of file ngx_files.c.

Here is the caller graph for this function:

ngx_fd_t ngx_open_tempfile ( u_char *  name,
ngx_uint_t  persistent,
ngx_uint_t  access 
)

Definition at line 134 of file ngx_files.c.

Here is the caller graph for this function:

ngx_int_t ngx_read_dir ( ngx_dir_t dir)

Definition at line 344 of file ngx_files.c.

Here is the caller graph for this function:

ssize_t ngx_read_file ( ngx_file_t file,
u_char *  buf,
size_t  size,
off_t  offset 
)

Definition at line 20 of file ngx_files.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ngx_int_t ngx_read_glob ( ngx_glob_t gl,
ngx_str_t name 
)

Definition at line 385 of file ngx_files.c.

Here is the caller graph for this function:

ngx_int_t ngx_set_file_time ( u_char *  name,
ngx_fd_t  fd,
time_t  s 
)

Definition at line 259 of file ngx_files.c.

Here is the caller graph for this function:

ngx_err_t ngx_trylock_fd ( ngx_fd_t  fd)

Definition at line 416 of file ngx_files.c.

Here is the caller graph for this function:

ngx_err_t ngx_unlock_fd ( ngx_fd_t  fd)

Definition at line 450 of file ngx_files.c.

Here is the caller graph for this function:

ssize_t ngx_write_chain_to_file ( ngx_file_t file,
ngx_chain_t cl,
off_t  offset,
ngx_pool_t pool 
)

Definition at line 152 of file ngx_files.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ssize_t ngx_write_file ( ngx_file_t file,
u_char *  buf,
size_t  size,
off_t  offset 
)

Definition at line 68 of file ngx_files.c.

Here is the call graph for this function:

Here is the caller graph for this function: