RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
宏定义 | |
#define | DBG_TAG "DFS.seq" |
#define | DBG_LVL DBG_WARNING |
#define | PAGE_SIZE 4096 |
函数 | |
int | dfs_seq_open (struct dfs_file *file, const struct dfs_seq_ops *ops) |
ssize_t | dfs_seq_read (struct dfs_file *file, void *buf, size_t size, off_t *pos) |
off_t | dfs_seq_lseek (struct dfs_file *file, off_t offset, int whence) |
int | dfs_seq_release (struct dfs_file *file) |
void | dfs_seq_vprintf (struct dfs_seq_file *seq, const char *f, va_list args) |
void | dfs_seq_printf (struct dfs_seq_file *seq, const char *f,...) |
void | dfs_seq_putc (struct dfs_seq_file *seq, char c) |
void | dfs_seq_puts (struct dfs_seq_file *seq, const char *s) |
int | dfs_seq_write (struct dfs_seq_file *seq, const void *data, size_t len) |
void | dfs_seq_pad (struct dfs_seq_file *seq, char c) |
#define DBG_TAG "DFS.seq" |
在文件 dfs_seq_file.c 第 13 行定义.
#define DBG_LVL DBG_WARNING |
在文件 dfs_seq_file.c 第 14 行定义.
#define PAGE_SIZE 4096 |
在文件 dfs_seq_file.c 第 18 行定义.
int dfs_seq_open | ( | struct dfs_file * | file, |
const struct dfs_seq_ops * | ops ) |
在文件 dfs_seq_file.c 第 31 行定义.
引用了 dfs_file::data, dfs_file::dentry, dfs_seq_file::file, dfs_seq_file::lock, LOG_E, LOG_W, dfs_seq_file::ops, dfs_dentry::pathname, rt_calloc(), RT_IPC_FLAG_PRIO , 以及 rt_mutex_init().
ssize_t dfs_seq_read | ( | struct dfs_file * | file, |
void * | buf, | ||
size_t | size, | ||
off_t * | pos ) |
在文件 dfs_seq_file.c 第 114 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count, dfs_file::data, dfs_seq_file::file, dfs_seq_file::from, dfs_seq_file::index, dfs_seq_file::lock, LOG_W, dfs_seq_ops::next, dfs_seq_file::ops, PAGE_SIZE, dfs_seq_file::read_pos, rt_free(), rt_mutex_release(), rt_mutex_take(), RT_WAITING_FOREVER, dfs_seq_ops::show, dfs_seq_file::size, dfs_seq_ops::start , 以及 dfs_seq_ops::stop.
off_t dfs_seq_lseek | ( | struct dfs_file * | file, |
off_t | offset, | ||
int | whence ) |
在文件 dfs_seq_file.c 第 259 行定义.
引用了 dfs_seq_file::count, dfs_file::data, dfs_seq_file::file, dfs_file::fpos, dfs_seq_file::index, dfs_seq_file::lock, dfs_seq_file::read_pos, rt_mutex_release(), rt_mutex_take() , 以及 RT_WAITING_FOREVER.
int dfs_seq_release | ( | struct dfs_file * | file | ) |
在文件 dfs_seq_file.c 第 298 行定义.
引用了 dfs_seq_file::buf, dfs_file::data, dfs_seq_file::file, dfs_seq_file::lock, rt_free() , 以及 rt_mutex_detach().
void dfs_seq_vprintf | ( | struct dfs_seq_file * | seq, |
const char * | f, | ||
va_list | args ) |
在文件 dfs_seq_file.c 第 315 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count , 以及 dfs_seq_file::size.
void dfs_seq_printf | ( | struct dfs_seq_file * | seq, |
const char * | f, | ||
... ) |
在文件 dfs_seq_file.c 第 331 行定义.
引用了 dfs_seq_vprintf().
void dfs_seq_putc | ( | struct dfs_seq_file * | seq, |
char | c ) |
write char to buffer
在文件 dfs_seq_file.c 第 343 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count , 以及 dfs_seq_file::size.
void dfs_seq_puts | ( | struct dfs_seq_file * | seq, |
const char * | s ) |
write string to buffer
在文件 dfs_seq_file.c 第 354 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count , 以及 dfs_seq_file::size.
int dfs_seq_write | ( | struct dfs_seq_file * | seq, |
const void * | data, | ||
size_t | len ) |
write arbitrary data to buffer
在文件 dfs_seq_file.c 第 370 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count, dfs_seq_file::data , 以及 dfs_seq_file::size.
void dfs_seq_pad | ( | struct dfs_seq_file * | seq, |
char | c ) |
write padding spaces to buffer
在文件 dfs_seq_file.c 第 385 行定义.
引用了 dfs_seq_file::buf, dfs_seq_file::count, dfs_seq_putc(), dfs_seq_file::pad_until , 以及 dfs_seq_file::size.