Home | History | Annotate | Download | only in lfs

Lines Matching defs:STRUCT_LFS

165  * STRUCT_LFS is used by the libsa code to get accessors that work
170 #ifndef STRUCT_LFS
171 #define STRUCT_LFS struct lfs
289 lfs_dir_nameptr(const STRUCT_LFS *fs, LFS_DIRHEADER *dh)
299 lfs_dir_getino(const STRUCT_LFS *fs, const LFS_DIRHEADER *dh)
309 lfs_dir_getreclen(const STRUCT_LFS *fs, const LFS_DIRHEADER *dh)
319 lfs_dir_gettype(const STRUCT_LFS *fs, const LFS_DIRHEADER *dh)
332 lfs_dir_getnamlen(const STRUCT_LFS *fs, const LFS_DIRHEADER *dh)
346 lfs_dir_setino(STRUCT_LFS *fs, LFS_DIRHEADER *dh, uint64_t ino)
356 lfs_dir_setreclen(STRUCT_LFS *fs, LFS_DIRHEADER *dh, uint16_t reclen)
366 lfs_dir_settype(const STRUCT_LFS *fs, LFS_DIRHEADER *dh, uint8_t type)
380 lfs_dir_setnamlen(const STRUCT_LFS *fs, LFS_DIRHEADER *dh, uint8_t namlen)
394 lfs_copydirname(STRUCT_LFS *fs, char *dest, const char *src,
410 lfs_dirtemplate_dotdot(STRUCT_LFS *fs, union lfs_dirtemplate *dt)
421 lfs_dirtemplate_dotdotname(STRUCT_LFS *fs, union lfs_dirtemplate *dt)
449 lfs_copy_dinode(STRUCT_LFS *fs,
467 lfs_dino_get##field(STRUCT_LFS *fs, union lfs_dinode *dip) \
476 lfs_dino_set##field(STRUCT_LFS *fs, union lfs_dinode *dip, type val) \
509 lfs_dino_getdb(STRUCT_LFS *fs, union lfs_dinode *dip, unsigned ix)
521 lfs_dino_getib(STRUCT_LFS *fs, union lfs_dinode *dip, unsigned ix)
533 lfs_dino_setdb(STRUCT_LFS *fs, union lfs_dinode *dip, unsigned ix, daddr_t val)
544 lfs_dino_setib(STRUCT_LFS *fs, union lfs_dinode *dip, unsigned ix, daddr_t val)
556 lfs_dino_setbirthtime(STRUCT_LFS *fs, union lfs_dinode *dip,
572 lfs_iblock_get(STRUCT_LFS *fs, void *block, unsigned ix)
586 lfs_iblock_set(STRUCT_LFS *fs, void *block, unsigned ix, daddr_t val)
728 lfs_fi_get##field(STRUCT_LFS *fs, FINFO *fip) \
737 lfs_fi_set##field(STRUCT_LFS *fs, FINFO *fip, type val) \
756 lfs_fi_getblock(STRUCT_LFS *fs, FINFO *fip, unsigned idx)
770 lfs_fi_setblock(STRUCT_LFS *fs, FINFO *fip, unsigned idx, daddr_t blk)
800 lfs_ii_getblock(STRUCT_LFS *fs, IINFO *iip)
810 lfs_ii_setblock(STRUCT_LFS *fs, IINFO *iip, uint64_t block)
863 lfs_if_get##field(STRUCT_LFS *fs, IFILE *ifp) \
872 lfs_if_set##field(STRUCT_LFS *fs, IFILE *ifp, type val) \
902 lfs_ci_get##field(STRUCT_LFS *fs, CLEANERINFO *cip) \
911 lfs_ci_set##field(STRUCT_LFS *fs, CLEANERINFO *cip, type val) \
933 lfs_ci_shiftcleantodirty(STRUCT_LFS *fs, CLEANERINFO *cip, unsigned num)
940 lfs_ci_shiftdirtytoclean(STRUCT_LFS *fs, CLEANERINFO *cip, unsigned num)
1041 segsum_finfobase(STRUCT_LFS *fs, SEGSUM *ssp)
1052 lfs_ss_get##field(STRUCT_LFS *fs, SEGSUM *ssp) \
1061 lfs_ss_set##field(STRUCT_LFS *fs, SEGSUM *ssp, type val) \
1087 lfs_ss_getsumstart(STRUCT_LFS *fs)
1104 lfs_ss_getocreate(STRUCT_LFS *fs, SEGSUM *ssp)
1114 lfs_ss_setocreate(STRUCT_LFS *fs, SEGSUM *ssp, uint32_t val)
1134 lfs_sb_get##field(STRUCT_LFS *fs) \
1143 lfs_sb_set##field(STRUCT_LFS *fs, type val) \
1152 lfs_sb_add##field(STRUCT_LFS *fs, type val) \
1163 lfs_sb_sub##field(STRUCT_LFS *fs, type val) \
1178 lfs_sb_get##field(STRUCT_LFS *fs) \
1257 lfs_sb_getsboff(STRUCT_LFS *fs, unsigned n)
1269 lfs_sb_setsboff(STRUCT_LFS *fs, unsigned n, int32_t val)
1285 lfs_sb_getfsmnt(STRUCT_LFS *fs)
1295 lfs_sb_setfsmnt(STRUCT_LFS *fs, const char *str)
1325 LFS_FSBTODB(STRUCT_LFS *fs, uint64_t b)
1335 LFS_DBTOFSB(STRUCT_LFS *fs, uint64_t b)
1349 lfs_fsbtob(STRUCT_LFS *fs, uint64_t b)
1355 lfs_btofsb(STRUCT_LFS *fs, uint64_t b)
1392 lfs_blksize(STRUCT_LFS *fs, struct inode *ip, uint64_t lbn)
1407 lfs_blocks_fromvoid(STRUCT_LFS *fs, union lfs_blocks *bp, void *p)
1417 lfs_blocks_fromfinfo(STRUCT_LFS *fs, union lfs_blocks *bp, FINFO *fip)
1430 lfs_blocks_get(STRUCT_LFS *fs, union lfs_blocks *bp, unsigned idx)
1440 lfs_blocks_set(STRUCT_LFS *fs, union lfs_blocks *bp, unsigned idx, daddr_t val)
1450 lfs_blocks_inc(STRUCT_LFS *fs, union lfs_blocks *bp)
1460 lfs_blocks_eq(STRUCT_LFS *fs, union lfs_blocks *bp1, union lfs_blocks *bp2)
1470 lfs_blocks_sub(STRUCT_LFS *fs, union lfs_blocks *bp1, union lfs_blocks *bp2)