Home
last modified time | relevance | path

Searched defs:ofs (Results 1 – 25 of 32) sorted by relevance

12

/fs/logfs/
Ddev_mtd.c14 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1)) argument
16 static int logfs_mtd_read(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_read()
35 static int loffs_mtd_write(struct super_block *sb, loff_t ofs, size_t len, in loffs_mtd_write()
72 static int logfs_mtd_erase_mapping(struct super_block *sb, loff_t ofs, in logfs_mtd_erase_mapping()
90 static int logfs_mtd_erase(struct super_block *sb, loff_t ofs, size_t len, in logfs_mtd_erase()
148 static struct page *logfs_mtd_find_first_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_first_sb()
165 static struct page *logfs_mtd_find_last_sb(struct super_block *sb, u64 *ofs) in logfs_mtd_find_last_sb()
183 static int __logfs_mtd_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __logfs_mtd_writeseg()
205 static void logfs_mtd_writeseg(struct super_block *sb, u64 ofs, size_t len) in logfs_mtd_writeseg()
234 static int logfs_mtd_can_write_buf(struct super_block *sb, u64 ofs) in logfs_mtd_can_write_buf()
Ddev_bdev.c15 #define PAGE_OFS(ofs) ((ofs) & (PAGE_SIZE-1)) argument
91 static int __bdev_writeseg(struct super_block *sb, u64 ofs, pgoff_t index, in __bdev_writeseg()
150 static void bdev_writeseg(struct super_block *sb, u64 ofs, size_t len) in bdev_writeseg()
188 static int do_erase(struct super_block *sb, u64 ofs, pgoff_t index, in do_erase()
270 static struct page *bdev_find_first_sb(struct super_block *sb, u64 *ofs) in bdev_find_first_sb()
280 static struct page *bdev_find_last_sb(struct super_block *sb, u64 *ofs) in bdev_find_last_sb()
305 static int bdev_can_write_buf(struct super_block *sb, u64 ofs) in bdev_can_write_buf()
Dsegment.c41 s32 ofs; in logfs_get_free_bytes() local
70 int __logfs_buf_write(struct logfs_area *area, u64 ofs, void *buf, size_t len, in __logfs_buf_write()
108 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_partial_page() local
129 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_full_pages() local
297 s64 ofs; in __logfs_segment_write() local
399 int wbuf_read(struct super_block *sb, u64 ofs, size_t len, void *buf) in wbuf_read()
455 static int read_obj_header(struct super_block *sb, u64 ofs, in read_obj_header()
567 u64 ofs, u64 bix, level_t level) in __logfs_segment_read()
656 u64 ofs, u64 bix, level_t level) in logfs_segment_read()
715 u64 ofs, start, end; in freeseg() local
[all …]
Djournal.c119 u64 ofs; in read_area() local
159 static int __read_je_header(struct super_block *sb, u64 ofs, in __read_je_header()
184 static int __read_je_payload(struct super_block *sb, u64 ofs, in __read_je_payload()
211 static int __read_je(struct super_block *sb, u64 ofs, in __read_je()
222 static int read_je(struct super_block *sb, u64 ofs) in read_je()
264 u64 ofs, seg_ofs = dev_ofs(sb, segno, 0); in logfs_read_segment() local
395 u64 ofs; in journal_erase_segment() local
558 u64 ofs; in write_wbuf() local
632 s32 ofs; in logfs_get_free_bytes() local
658 s64 ofs; in logfs_write_je_buf() local
Dreadwrite.c956 static int logfs_is_valid_direct(struct logfs_inode *li, u64 bix, u64 ofs) in logfs_is_valid_direct()
962 u64 ofs, u64 bofs) in __logfs_is_valid_loop()
990 static int logfs_is_valid_loop(struct inode *inode, u64 bix, u64 ofs) in logfs_is_valid_loop()
1007 static int __logfs_is_valid_block(struct inode *inode, u64 bix, u64 ofs) in __logfs_is_valid_block()
1031 int logfs_is_valid_block(struct super_block *sb, u64 ofs, u64 ino, u64 bix, in logfs_is_valid_block()
1213 u64 ofs; member
1398 static int ptr_change(u64 ofs, struct page *page) in ptr_change()
1611 int logfs_rewrite_block(struct inode *inode, u64 bix, u64 ofs, in logfs_rewrite_block()
1645 u64 ofs, struct logfs_shadow *shadow, u64 size) in truncate_data_block()
2077 void logfs_set_segment_used(struct super_block *sb, u64 ofs, int increment) in logfs_set_segment_used()
Dgc.c113 static void logfs_cleanse_block(struct super_block *sb, u64 ofs, u64 ino, in logfs_cleanse_block()
130 u64 ofs, ino, bix; in logfs_gc_segment() local
638 u64 ofs = dev_ofs(sb, area->a_segno, area->a_written_bytes); in check_area() local
Dsuper.c188 struct page *(*find_sb)(struct super_block *sb, u64 *ofs)) in write_one_sb()
194 u64 ofs; in write_one_sb() local
Dlogfs.h608 static inline int logfs_buf_write(struct logfs_area *area, u64 ofs, in logfs_buf_write()
614 static inline int logfs_buf_recover(struct logfs_area *area, u64 ofs, in logfs_buf_recover()
668 static inline u64 dev_ofs(struct super_block *sb, u32 segno, u32 ofs) in dev_ofs()
673 static inline u32 seg_no(struct super_block *sb, u64 ofs) in seg_no()
678 static inline u32 seg_ofs(struct super_block *sb, u64 ofs) in seg_ofs()
683 static inline u64 seg_align(struct super_block *sb, u64 ofs) in seg_align()
/fs/jffs2/
Dsummary.c116 uint32_t ofs) in jffs2_sum_add_inode_mem()
134 uint32_t ofs) in jffs2_sum_add_dirent_mem()
158 int jffs2_sum_add_xattr_mem(struct jffs2_summary *s, struct jffs2_raw_xattr *rx, uint32_t ofs) in jffs2_sum_add_xattr_mem()
176 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs) in jffs2_sum_add_xref_mem()
249 unsigned long count, uint32_t ofs) in jffs2_sum_add_kvec()
372 uint32_t ofs, uint32_t len, in sum_link_node_ref()
577 int ret, ofs; in jffs2_sum_scan_sumnode() local
Dscan.c288 uint32_t ofs, uint32_t len) in jffs2_fill_scan_buf()
328 struct jffs2_raw_xattr *rx, uint32_t ofs, in jffs2_scan_xattr_node()
384 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node()
446 uint32_t ofs, prevofs, max_ofs; in jffs2_scan_eraseblock() local
981 struct jffs2_raw_inode *ri, uint32_t ofs, struct jffs2_summary *s) in jffs2_scan_inode_node()
1035 struct jffs2_raw_dirent *rd, uint32_t ofs, struct jffs2_summary *s) in jffs2_scan_dirent_node()
Dnodelist.c149 static struct jffs2_node_frag * new_fragment(struct jffs2_full_dnode *fn, uint32_t ofs, uint32_t si… in new_fragment()
611 uint32_t ofs, uint32_t len, in jffs2_link_node_ref()
706 uint32_t ofs = jeb->offset + c->sector_size - jeb->free_size; in jffs2_scan_dirty_space() local
Dwbuf.c230 uint32_t ofs) in jffs2_verify_write()
282 uint32_t start, end, ofs, len; in jffs2_wbuf_recover() local
940 int jffs2_flash_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, in jffs2_flash_write()
956 int jffs2_flash_read(struct jffs2_sb_info *c, loff_t ofs, size_t len, size_t *retlen, u_char *buf) in jffs2_flash_read()
Ddebug.h227 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len) \ argument
234 #define jffs2_dbg_prewrite_paranoia_check(c, ofs, len) argument
252 #define jffs2_dbg_dump_node(c, ofs) \ argument
262 #define jffs2_dbg_dump_node(c, ofs) argument
Dwritev.c32 int jffs2_flash_direct_write(struct jffs2_sb_info *c, loff_t ofs, size_t len, in jffs2_flash_direct_write()
Dread.c25 int ofs, int len) in jffs2_read_dnode()
Ddebug.c126 uint32_t ofs, int len) in __jffs2_dbg_prewrite_paranoia_check()
773 __jffs2_dbg_dump_node(struct jffs2_sb_info *c, uint32_t ofs) in __jffs2_dbg_dump_node()
Dos-linux.h78 #define jffs2_flash_write(c, ofs, len, retlen, buf) jffs2_flash_direct_write(c, ofs, len, retlen, b… argument
79 #define jffs2_flash_read(c, ofs, len, retlen, buf) (mtd_read((c)->mtd, ofs, len, retlen, buf)) argument
Dcompr_rubin.c33 unsigned int ofs; member
48 unsigned buflen, unsigned ofs, in init_pushpull()
Derase.c343 uint32_t ofs; in jffs2_block_check_erase() local
Dnodemgmt.c453 uint32_t ofs, uint32_t len, in jffs2_add_physical_node_ref()
/fs/ntfs/
Daops.c90 int ofs; in ntfs_end_buffer_async_read() local
1125 unsigned int ofs; in ntfs_write_mst_block() local
1239 unsigned int ofs; in ntfs_write_mst_block() local
1420 unsigned int ofs = i_size & ~PAGE_CACHE_MASK; in ntfs_writepage() local
1590 void mark_ntfs_record_dirty(struct page *page, const unsigned int ofs) { in mark_ntfs_record_dirty()
Dmft.c54 unsigned ofs; in map_mft_record_page() local
1134 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_and_alloc_free_rec_nolock() local
2098 unsigned int ofs; in ntfs_mft_record_format() local
2255 unsigned int ofs; in ntfs_mft_record_alloc() local
Dfile.c1114 int ofs = 0; in ntfs_prepare_pages_for_non_resident_write() local
1277 unsigned nr_pages, unsigned ofs, const char __user *buf, in ntfs_copy_from_user()
1393 unsigned nr_pages, unsigned ofs, const struct iovec **iov, in ntfs_copy_from_user_iovec()
1937 unsigned ofs, do_pages, u; in ntfs_file_buffered_write() local
/fs/omfs/
Ddir.c25 const char *name, int namelen, int *ofs) in omfs_get_bucket()
71 int ofs; in omfs_find_entry() local
120 int ofs; in omfs_add_link() local
166 int ofs; in omfs_delete_entry() local
Dinode.c83 int xor, i, ofs = 0, count; in omfs_update_checksums() local

12