Lines Matching refs:nandfs
34 #include <fs/nandfs/nandfs_fs.h>
66 struct nandfs {
98 static int nandfs_buf_read(struct nandfs *, void **, size_t *);
99 static struct nandfs_node *nandfs_lookup_path(struct nandfs *, const char *);
100 static int nandfs_read_inode(struct nandfs *, struct nandfs_node *,
102 static int nandfs_read_blk(struct nandfs *, nandfs_daddr_t, void *, int);
103 static int nandfs_bmap_lookup(struct nandfs *, struct nandfs_node *,
105 static int nandfs_get_checkpoint(struct nandfs *, uint64_t,
107 static nandfs_daddr_t nandfs_vtop(struct nandfs *, nandfs_daddr_t);
115 "nandfs",
195 nandfs_find_super_block(struct nandfs *fs, struct open_file *f)
245 nandfs_find_fsdata(struct nandfs *fs, struct open_file *f)
270 nandfs_read_structures(struct nandfs *fs, struct open_file *f)
288 nandfs_mount(struct nandfs *fs, struct open_file *f)
371 struct nandfs *fs;
377 fs = malloc(sizeof(struct nandfs));
404 NANDFS_DEBUG("Cannot mount nandfs: %s\n", strerror(err));
437 struct nandfs *fs = f->f_fsdata;
453 struct nandfs *fs = (struct nandfs *)f->f_fsdata;
487 struct nandfs *fs = f->f_fsdata;
525 struct nandfs *fs = f->f_fsdata;
539 struct nandfs *fs = f->f_fsdata;
570 nandfs_buf_read(struct nandfs *fs, void **buf_p, size_t *size_p)
600 nandfs_lookup_node(struct nandfs *fs, uint64_t ino)
631 nandfs_lookup_path(struct nandfs *fs, const char *path)
768 nandfs_read_inode(struct nandfs *fs, struct nandfs_node *node,
811 nandfs_read_blk(struct nandfs *fs, nandfs_daddr_t blknr, void *buf, int phys)
822 nandfs_get_checkpoint(struct nandfs *fs, uint64_t cpno,
851 nandfs_get_map(struct nandfs *fs, struct nandfs_node *node, nandfs_daddr_t blknr,
879 nandfs_bmap_lookup(struct nandfs *fs, struct nandfs_node *node,
945 nandfs_vtop(struct nandfs *fs, nandfs_daddr_t vblocknr)
1015 int bsize = ((struct nandfs *)f->f_fsdata)->nf_sectorsize;