Home
last modified time | relevance | path

Searched refs:fsdata (Results 1 – 25 of 66) sorted by relevance

123

/openbmc/u-boot/fs/fat/
H A Dfat.c147 static int flush_dirty_fat_buffer(fsdata *mydata);
151 int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
162 static __u32 get_fatent(fsdata *mydata, __u32 entry) in get_fatent()
247 get_cluster(fsdata *mydata, __u32 clustnum, __u8 *buffer, unsigned long size) in get_cluster()
309 static int get_contents(fsdata *mydata, dir_entry *dentptr, loff_t pos, in get_contents()
545 static int get_fs_info(fsdata *mydata) in get_fs_info()
651 fsdata *fsdata; /* filesystem parameters */ member
679 static int fat_itr_root(fat_itr *itr, fsdata *fsdata) in fat_itr_root() argument
681 if (get_fs_info(fsdata)) in fat_itr_root()
684 itr->fsdata = fsdata; in fat_itr_root()
[all …]
H A Dfat_write.c105 static int flush_dirty_fat_buffer(fsdata *mydata) in flush_dirty_fat_buffer()
264 static int set_fatent_value(fsdata *mydata, __u32 entry, __u32 entry_value) in set_fatent_value()
371 static __u32 determine_fatent(fsdata *mydata, __u32 entry) in determine_fatent()
402 set_cluster(fsdata *mydata, u32 clustnum, u8 *buffer, u32 size) in set_cluster()
466 get_set_cluster(fsdata *mydata, __u32 clustnum, loff_t pos, __u8 *buffer, in get_set_cluster()
578 static int find_empty_cluster(fsdata *mydata) in find_empty_cluster()
597 fsdata *mydata = itr->fsdata; in flush_dir_table()
632 static int clear_fatent(fsdata *mydata, __u32 entry) in clear_fatent()
656 static void set_start_cluster(const fsdata *mydata, dir_entry *dentptr, in set_start_cluster()
670 static int check_overflow(fsdata *mydata, __u32 clustnum, loff_t size) in check_overflow()
[all …]
/openbmc/u-boot/include/
H A Dfat.h178 } fsdata; typedef
180 static inline u32 clust_to_sect(fsdata *fsdata, u32 clust) in clust_to_sect() argument
182 return fsdata->data_begin + clust * fsdata->clust_size; in clust_to_sect()
185 static inline u32 sect_to_clust(fsdata *fsdata, int sect) in sect_to_clust() argument
187 return (sect - fsdata->data_begin) / fsdata->clust_size; in sect_to_clust()
/openbmc/linux/fs/xfs/scrub/
H A Dxfile.c227 void *fsdata = NULL; in xfile_pwrite() local
241 &fsdata); in xfile_pwrite()
260 fsdata); in xfile_pwrite()
329 void *fsdata = NULL; in xfile_get_page() local
350 &fsdata); in xfile_get_page()
381 xfpage->fsdata = fsdata; in xfile_get_page()
410 xfpage->page, xfpage->fsdata); in xfile_put_page()
H A Dxfile.h11 void *fsdata; member
/openbmc/linux/fs/ocfs2/
H A Dmmap.c57 void *fsdata; in __ocfs2_page_mkwrite() local
94 &locked_page, &fsdata, di_bh, page); in __ocfs2_page_mkwrite()
106 err = ocfs2_write_end_nolock(mapping, pos, len, len, fsdata); in __ocfs2_page_mkwrite()
H A Daops.h31 loff_t pos, unsigned len, unsigned copied, void *fsdata);
41 struct page **pagep, void **fsdata,
H A Daops.c1647 struct page **pagep, void **fsdata, in ocfs2_write_begin_nolock() argument
1832 *fsdata = wc; in ocfs2_write_begin_nolock()
1883 struct page **pagep, void **fsdata) in ocfs2_write_begin() argument
1905 pagep, fsdata, di_bh, NULL); in ocfs2_write_begin()
1950 loff_t pos, unsigned len, unsigned copied, void *fsdata) in ocfs2_write_end_nolock() argument
1956 struct ocfs2_write_ctxt *wc = fsdata; in ocfs2_write_end_nolock()
2080 struct page *page, void *fsdata) in ocfs2_write_end() argument
2085 ret = ocfs2_write_end_nolock(mapping, pos, len, copied, fsdata); in ocfs2_write_end()
/openbmc/linux/fs/hpfs/
H A Dfile.c193 struct page **pagep, void **fsdata) in hpfs_write_begin() argument
198 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in hpfs_write_begin()
209 struct page *pagep, void *fsdata) in hpfs_write_end() argument
213 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in hpfs_write_end()
/openbmc/linux/fs/jffs2/
H A Dfile.c26 struct page *pg, void *fsdata);
29 struct page **pagep, void **fsdata);
133 struct page **pagep, void **fsdata) in jffs2_write_begin() argument
246 struct page *pg, void *fsdata) in jffs2_write_end() argument
/openbmc/linux/fs/f2fs/
H A Dverity.c84 void *fsdata = NULL; in pagecache_write() local
87 res = aops->write_begin(NULL, mapping, pos, n, &page, &fsdata); in pagecache_write()
93 res = aops->write_end(NULL, mapping, pos, n, n, page, fsdata); in pagecache_write()
H A Dcompress.c1060 struct page **pagep, pgoff_t index, void **fsdata) in prepare_compress_overwrite() argument
1133 *fsdata = cc->rpages; in prepare_compress_overwrite()
1147 struct page **pagep, pgoff_t index, void **fsdata) in f2fs_prepare_compress_overwrite() argument
1158 return prepare_compress_overwrite(&cc, pagep, index, fsdata); in f2fs_prepare_compress_overwrite()
1161 bool f2fs_compress_write_end(struct inode *inode, void *fsdata, in f2fs_compress_write_end() argument
1169 .rpages = fsdata, in f2fs_compress_write_end()
1184 void *fsdata = NULL; in f2fs_truncate_partial_cluster() local
1201 start_idx, &fsdata); in f2fs_truncate_partial_cluster()
1210 struct page **rpages = fsdata; in f2fs_truncate_partial_cluster()
1226 f2fs_compress_write_end(inode, fsdata, start_idx, true); in f2fs_truncate_partial_cluster()
/openbmc/linux/fs/9p/
H A Dvfs_addr.c277 struct page **subpagep, void **fsdata) in v9fs_write_begin() argument
289 retval = netfs_write_begin(&v9inode->netfs, filp, mapping, pos, len, &folio, fsdata); in v9fs_write_begin()
299 struct page *subpage, void *fsdata) in v9fs_write_end() argument
/openbmc/linux/fs/ext4/
H A Dverity.c80 void *fsdata = NULL; in pagecache_write() local
83 res = aops->write_begin(NULL, mapping, pos, n, &page, &fsdata); in pagecache_write()
89 res = aops->write_end(NULL, mapping, pos, n, n, page, fsdata); in pagecache_write()
/openbmc/linux/fs/affs/
H A Dfile.c420 struct page **pagep, void **fsdata) in affs_write_begin() argument
425 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in affs_write_begin()
436 struct page *page, void *fsdata) in affs_write_end() argument
441 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); in affs_write_end()
651 struct page **pagep, void **fsdata) in affs_write_begin_ofs() argument
690 struct page *page, void *fsdata) in affs_write_end_ofs() argument
886 void *fsdata = NULL; in affs_truncate() local
890 res = mapping->a_ops->write_begin(NULL, mapping, isize, 0, &page, &fsdata); in affs_truncate()
892 res = mapping->a_ops->write_end(NULL, mapping, isize, 0, 0, page, fsdata); in affs_truncate()
/openbmc/linux/fs/jfs/
H A Dinode.c295 struct page **pagep, void **fsdata) in jfs_write_begin() argument
308 void *fsdata) in jfs_write_end() argument
312 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); in jfs_write_end()
/openbmc/linux/fs/exfat/
H A Dinode.c365 struct page **pagep, void **fsdata) in exfat_write_begin() argument
370 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in exfat_write_begin()
382 struct page *pagep, void *fsdata) in exfat_write_end() argument
388 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); in exfat_write_end()
/openbmc/linux/fs/
H A Dbuffer.c2244 struct page *page, void *fsdata) in block_write_end() argument
2278 struct page *page, void *fsdata) in generic_write_end() argument
2284 copied = block_write_end(file, mapping, pos, len, copied, page, fsdata); in generic_write_end()
2471 void *fsdata = NULL; in generic_cont_expand_simple() local
2478 err = aops->write_begin(NULL, mapping, size, 0, &page, &fsdata); in generic_cont_expand_simple()
2482 err = aops->write_end(NULL, mapping, size, 0, 0, page, fsdata); in generic_cont_expand_simple()
2497 void *fsdata = NULL; in cont_expand_zero() local
2515 &page, &fsdata); in cont_expand_zero()
2520 page, fsdata); in cont_expand_zero()
2548 &page, &fsdata); in cont_expand_zero()
[all …]
/openbmc/linux/fs/adfs/
H A Dinode.c56 struct page **pagep, void **fsdata) in adfs_write_begin() argument
61 ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata, in adfs_write_begin()
/openbmc/linux/fs/hfs/
H A Dextent.c489 void *fsdata = NULL; in hfs_file_truncate() local
495 &fsdata); in hfs_file_truncate()
498 page, fsdata); in hfs_file_truncate()
/openbmc/linux/fs/ecryptfs/
H A Dmmap.c268 struct page **pagep, void **fsdata) in ecryptfs_write_begin() argument
466 struct page *page, void *fsdata) in ecryptfs_write_end() argument
/openbmc/linux/fs/hfsplus/
H A Dextents.c558 void *fsdata = NULL; in hfsplus_file_truncate() local
562 &page, &fsdata); in hfsplus_file_truncate()
566 page, fsdata); in hfsplus_file_truncate()
/openbmc/linux/fs/bfs/
H A Dfile.c173 struct page **pagep, void **fsdata) in bfs_write_begin() argument
/openbmc/linux/block/
H A Dfops.c429 loff_t pos, unsigned len, struct page **pagep, void **fsdata) in blkdev_write_begin() argument
436 void *fsdata) in blkdev_write_end() argument
439 ret = block_write_end(file, mapping, pos, len, copied, page, fsdata); in blkdev_write_end()
/openbmc/linux/include/linux/
H A Dnetfs.h292 struct folio **, void **fsdata);

123