Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/tmpfs/tmpfs.h
Show First 20 Lines • Show All 431 Lines • ▼ Show 20 Lines | int tmpfs_alloc_file(struct vnode *, struct vnode **, struct vattr *, | ||||
struct componentname *, const char *); | struct componentname *, const char *); | ||||
void tmpfs_check_mtime(struct vnode *); | void tmpfs_check_mtime(struct vnode *); | ||||
void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *); | void tmpfs_dir_attach(struct vnode *, struct tmpfs_dirent *); | ||||
void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *); | void tmpfs_dir_detach(struct vnode *, struct tmpfs_dirent *); | ||||
void tmpfs_dir_destroy(struct tmpfs_mount *, struct tmpfs_node *); | void tmpfs_dir_destroy(struct tmpfs_mount *, struct tmpfs_node *); | ||||
struct tmpfs_dirent * tmpfs_dir_lookup(struct tmpfs_node *node, | struct tmpfs_dirent * tmpfs_dir_lookup(struct tmpfs_node *node, | ||||
struct tmpfs_node *f, | struct tmpfs_node *f, | ||||
struct componentname *cnp); | struct componentname *cnp); | ||||
int tmpfs_dir_getdents(struct tmpfs_node *, struct uio *, int, | int tmpfs_dir_getdents(struct tmpfs_mount *, struct tmpfs_node *, | ||||
u_long *, int *); | struct uio *, int, u_long *, int *); | ||||
int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *); | int tmpfs_dir_whiteout_add(struct vnode *, struct componentname *); | ||||
void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *); | void tmpfs_dir_whiteout_remove(struct vnode *, struct componentname *); | ||||
int tmpfs_reg_resize(struct vnode *, off_t, boolean_t); | int tmpfs_reg_resize(struct vnode *, off_t, boolean_t); | ||||
int tmpfs_chflags(struct vnode *, u_long, struct ucred *, struct thread *); | int tmpfs_chflags(struct vnode *, u_long, struct ucred *, struct thread *); | ||||
int tmpfs_chmod(struct vnode *, mode_t, struct ucred *, struct thread *); | int tmpfs_chmod(struct vnode *, mode_t, struct ucred *, struct thread *); | ||||
int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *, | int tmpfs_chown(struct vnode *, uid_t, gid_t, struct ucred *, | ||||
struct thread *); | struct thread *); | ||||
int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *, struct thread *); | int tmpfs_chsize(struct vnode *, u_quad_t, struct ucred *, struct thread *); | ||||
int tmpfs_chtimes(struct vnode *, struct vattr *, struct ucred *cred, | int tmpfs_chtimes(struct vnode *, struct vattr *, struct ucred *cred, | ||||
struct thread *); | struct thread *); | ||||
void tmpfs_itimes(struct vnode *, const struct timespec *, | void tmpfs_itimes(struct vnode *, const struct timespec *, | ||||
const struct timespec *); | const struct timespec *); | ||||
void tmpfs_set_status(struct tmpfs_node *node, int status); | void tmpfs_set_status(struct tmpfs_mount *tm, struct tmpfs_node *node, | ||||
int status); | |||||
void tmpfs_update(struct vnode *); | void tmpfs_update(struct vnode *); | ||||
int tmpfs_truncate(struct vnode *, off_t); | int tmpfs_truncate(struct vnode *, off_t); | ||||
struct tmpfs_dirent *tmpfs_dir_first(struct tmpfs_node *dnode, | struct tmpfs_dirent *tmpfs_dir_first(struct tmpfs_node *dnode, | ||||
struct tmpfs_dir_cursor *dc); | struct tmpfs_dir_cursor *dc); | ||||
struct tmpfs_dirent *tmpfs_dir_next(struct tmpfs_node *dnode, | struct tmpfs_dirent *tmpfs_dir_next(struct tmpfs_node *dnode, | ||||
struct tmpfs_dir_cursor *dc); | struct tmpfs_dir_cursor *dc); | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |