|
Functions |
int | chiche_init_srv (void) |
int | main (int argc, char **argv) |
int | chiche_cache_read (t_chiche *chiche, u_int32_t dev, u_int32_t addr, void *buffer, u_int32_t nblocks) |
void | chiche_cache_write (t_chiche *chiche, u_int32_t addr, void *buffer, u_int32_t nblocks) |
int | chiche_read (t_chiche *chiche, u_int32_t dev, u_int32_t cluster, u_int32_t offset, void *data, u_int32_t nbytes) |
int | chiche_write (t_chiche *chiche, u_int32_t dev, u_int32_t cluster, u_int32_t offset, void *data, u_int32_t nbytes, int restore) |
int | chiche_write_super (t_chiche *chiche) |
int | chiche_read_super (t_chiche *chiche) |
u_int32_t | chiche_nxt_cluster (t_chiche *chiche, u_int32_t cluster) |
int | chiche_poll_directory (t_chiche *chiche, t_chiche_direntry *direntry, u_int32_t *root, int *no) |
int | chiche_mkfs (t_chiche *chiche) |
void | chiche_dump_cache_stats (t_chiche *chiche) |
void | chiche_dump_fat_stats (t_chiche *chiche) |
void | chiche_dump_superblock (t_chiche_super *super) |
u_int32_t | chiche_pathsz (t_path path) |
t_path | chiche_reserve_path (t_chiche *chiche, char *upath, char *psc) |
void | chiche_release_path (t_chiche *chiche, t_path path) |
void | chiche_dump_path (t_chiche *chiche, t_path path) |
int | chiche_mount (t_chiche *chiche) |
u_int32_t | chiche_find_free_cluster (t_chiche *chiche) |
int | chiche_set_fat_entry (t_chiche *chiche, u_int32_t cluster, u_int32_t set) |
void | chiche_dump_direntry (t_chiche *chiche, t_chiche_direntry *direntry) |
int | chiche_fill_root_direntry (t_chiche *chiche, t_chiche_direntry *direntry) |
int | chiche_dir_from_path (t_chiche *chiche, t_path path, t_chiche_direntry *dir, t_chiche_dirupdate *du) |
void | chiche_set_mode (t_chiche *chiche, u_int32_t *attr, mode_t mode, u_int32_t more) |
u_int32_t | chiche_dirsz (t_chiche *chiche, int fd) |
int | chiche_new_direntry (t_chiche *chiche, t_path path, mode_t mode, u_int32_t attr, int flags) |
int | chiche_mkfile (t_chiche *chiche, char *upath, mode_t mode, int flags) |
int | chiche_mkdir (t_chiche *chiche, char *upath, mode_t mode) |
int | chiche_is_fde_valid (t_chiche *chiche, int fd) |
void | chiche_fill_fde (t_chiche *chiche, t_chiche_direntry *direntry, u_int32_t cluster, u_int32_t no, int fd) |
u_int32_t | chiche_readlink (t_chiche *chiche, int fd, char *buffer, size_t bufsiz) |
int | chiche_check_perms (t_chiche *chiche, int fd, int flags, int chflags) |
int | chiche_open (t_chiche *chiche, int fd, char *upath, int flags, int chflags) |
int | chiche_reserve_fde (t_chiche *chiche) |
void | chiche_release_fde (t_chiche *chiche, int fd) |
int | chiche_fstat (t_chiche *chiche, int fd, struct stat *stat) |
u_int32_t | chiche_cluster_from_offset (t_chiche *chiche, u_int32_t cluster, off_t offset) |
int | chiche_getdents (t_chiche *chiche, int fd, void *data, u_int32_t *nbytes) |
int | chiche_fchmod (t_chiche *chiche, int fd, mode_t mode) |
int | chiche_resize_dir (t_chiche *chiche, t_chiche_direntry *dir) |
int | chiche_clean_direntry (t_chiche *chiche, t_chiche_direntry *direntry) |
int | chiche_rename (t_chiche *chiche, char *uoldpath, int fd, char *unewpath) |
int | chiche_unlink (t_chiche *chiche, char *upath, int fd) |
int | chiche_rmdir (t_chiche *chiche, char *upath, int fd) |
int | chiche_ftruncate (t_chiche *chiche, int fd, off_t length) |
int | chiche_writev (t_chiche *chiche, int fd, char *buffer, u_int32_t len) |
int | chiche_readv (t_chiche *chiche, int fd, char *buffer, u_int32_t len) |
int | chiche_exists (t_chiche *chiche, char *upath) |
int | chiche_lseek (t_chiche *chiche, int fd, off_t offset, int whence) |
int | chiche_symlink (t_chiche *chiche, char *oldpath, char *newpath) |
int | chiche_append (t_chiche *chiche, int fd) |
int | chiche_otrunc (t_chiche *chiche, int fd) |
void | sys_chiche_lseek (t_tcb *caller) |
void | sys_chiche_truncate (t_tcb *caller) |
void | sys_chiche_ftruncate (t_tcb *caller) |
void | sys_chiche_writev (t_tcb *caller) |
void | sys_chiche_readv (t_tcb *caller) |
void | sys_chiche_fsync (t_tcb *caller) |
void | sys_chiche_rename (t_tcb *caller) |
void | sys_chiche_fchmod (t_tcb *caller) |
void | sys_chiche_chmod (t_tcb *caller) |
void | sys_chiche_getdents (t_tcb *caller) |
void | sys_chiche_lstat (t_tcb *caller) |
void | sys_chiche_stat (t_tcb *caller) |
void | sys_chiche_fstat (t_tcb *caller) |
void | sys_chiche_close (t_tcb *caller) |
void | sys_chiche_open (t_tcb *caller) |
void | sys_chiche_access (t_tcb *caller) |
void | sys_chiche_unlink (t_tcb *caller) |
void | sys_chiche_rmdir (t_tcb *caller) |
void | sys_chiche_mkdir (t_tcb *caller) |
void | sys_chiche_symlink (t_tcb *caller) |
void | sys_chiche_readlink (t_tcb *caller) |
void | sys_chiche_umount (t_tcb *caller) |
void | sys_chiche_mount (t_tcb *caller) |
void | sys_chiche_chmbr (t_tcb *caller) |
void | sys_chiche_mkfs (t_tcb *caller) |
void | sys_chiche_init (t_tcb *caller) |
void | do_sys_chiche (void) |
void | sys_chiche (void) |
Variables |
int | errno |
int | suberrno |
t_chiche_common | chiche_common |
void * | ___mounted = NULL |
t_chiche_fde | ___fdtab [CHICHE_FDTABSZ] |
int(* | chiche_printf )(char *,...) = (void *)dprintf |