Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/msdosfs/denode.h
Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Values for the de_flag field of the denode. | * Values for the de_flag field of the denode. | ||||
*/ | */ | ||||
#define DE_UPDATE 0x0004 /* Modification time update request */ | #define DE_UPDATE 0x0004 /* Modification time update request */ | ||||
#define DE_CREATE 0x0008 /* Creation time update */ | #define DE_CREATE 0x0008 /* Creation time update */ | ||||
#define DE_ACCESS 0x0010 /* Access time update */ | #define DE_ACCESS 0x0010 /* Access time update */ | ||||
#define DE_MODIFIED 0x0020 /* Denode has been modified */ | #define DE_MODIFIED 0x0020 /* Denode has been modified */ | ||||
#define DE_RENAME 0x0040 /* Denode is in the process of being renamed */ | |||||
/* Maximum size of a file on a FAT filesystem */ | /* Maximum size of a file on a FAT filesystem */ | ||||
#define MSDOSFS_FILESIZE_MAX 0xFFFFFFFFLL | #define MSDOSFS_FILESIZE_MAX 0xFFFFFFFFLL | ||||
/* | /* | ||||
* Transfer directory entries between internal and external form. | * Transfer directory entries between internal and external form. | ||||
* dep is a struct denode * (internal form), | * dep is a struct denode * (internal form), | ||||
* dp is a struct direntry * (external form). | * dp is a struct direntry * (external form). | ||||
▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
extern struct vop_vector msdosfs_vnodeops; | extern struct vop_vector msdosfs_vnodeops; | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
int msdosfs_lookup(struct vop_cachedlookup_args *); | int msdosfs_lookup(struct vop_cachedlookup_args *); | ||||
int msdosfs_inactive(struct vop_inactive_args *); | int msdosfs_inactive(struct vop_inactive_args *); | ||||
int msdosfs_reclaim(struct vop_reclaim_args *); | int msdosfs_reclaim(struct vop_reclaim_args *); | ||||
int msdosfs_lookup_ino(struct vnode *vdp, struct vnode **vpp, | |||||
struct componentname *cnp, daddr_t *scnp, u_long *blkoffp); | |||||
#endif | #endif | ||||
/* | /* | ||||
* Internal service routine prototypes. | * Internal service routine prototypes. | ||||
*/ | */ | ||||
struct componentname; | struct componentname; | ||||
int deget(struct msdosfsmount *, u_long, u_long, struct denode **); | int deget(struct msdosfsmount *, u_long, u_long, int, struct denode **); | ||||
int uniqdosname(struct denode *, struct componentname *, u_char *); | int uniqdosname(struct denode *, struct componentname *, u_char *); | ||||
int readep(struct msdosfsmount *pmp, u_long dirclu, u_long dirofs, struct buf **bpp, struct direntry **epp); | int readep(struct msdosfsmount *pmp, u_long dirclu, u_long dirofs, struct buf **bpp, struct direntry **epp); | ||||
int readde(struct denode *dep, struct buf **bpp, struct direntry **epp); | int readde(struct denode *dep, struct buf **bpp, struct direntry **epp); | ||||
int deextend(struct denode *dep, u_long length, struct ucred *cred); | int deextend(struct denode *dep, u_long length, struct ucred *cred); | ||||
int fillinusemap(struct msdosfsmount *pmp); | int fillinusemap(struct msdosfsmount *pmp); | ||||
void reinsert(struct denode *dep); | void reinsert(struct denode *dep); | ||||
int dosdirempty(struct denode *dep); | int dosdirempty(struct denode *dep); | ||||
int createde(struct denode *dep, struct denode *ddep, struct denode **depp, struct componentname *cnp); | int createde(struct denode *dep, struct denode *ddep, struct denode **depp, struct componentname *cnp); | ||||
int deupdat(struct denode *dep, int waitfor); | int deupdat(struct denode *dep, int waitfor); | ||||
int removede(struct denode *pdep, struct denode *dep); | int removede(struct denode *pdep, struct denode *dep); | ||||
int detrunc(struct denode *dep, u_long length, int flags, struct ucred *cred); | int detrunc(struct denode *dep, u_long length, int flags, struct ucred *cred); | ||||
int doscheckpath( struct denode *source, struct denode *target); | int doscheckpath( struct denode *source, struct denode *target, | ||||
daddr_t *wait_scn); | |||||
#endif /* _KERNEL || MAKEFS */ | #endif /* _KERNEL || MAKEFS */ | ||||
#endif /* !_FS_MSDOSFS_DENODE_H_ */ | #endif /* !_FS_MSDOSFS_DENODE_H_ */ |