Home
last modified time | relevance | path

Searched refs:dev_ofs (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/fs/logfs/
Dgc.c138 err = wbuf_read(sb, dev_ofs(sb, segno, 0), sizeof(sh), &sh); in logfs_gc_segment()
150 ofs = dev_ofs(sb, logical_segno, seg_ofs); in logfs_gc_segment()
151 err = wbuf_read(sb, dev_ofs(sb, segno, seg_ofs), sizeof(oh), in logfs_gc_segment()
277 dev_ofs(sb, cand->segno, 0)); in __add_candidate()
282 dev_ofs(sb, cand->segno, 0)); in __add_candidate()
638 u64 ofs = dev_ofs(sb, area->a_segno, area->a_written_bytes); in check_area()
Dsegment.c49 return dev_ofs(area->a_sb, area->a_segno, ofs); in logfs_get_free_bytes()
104 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_partial_page()
122 u64 ofs = dev_ofs(sb, area->a_segno, area->a_used_bytes); in pad_full_pages()
699 start = dev_ofs(sb, segno, 0); in freeseg()
700 end = dev_ofs(sb, segno + 1, 0); in freeseg()
720 u64 ofs = dev_ofs(sb, area->a_segno, area->a_written_bytes); in logfs_open_area()
752 u64 ofs = dev_ofs(sb, area->a_segno, area->a_written_bytes); in logfs_sync_area()
825 ofs = dev_ofs(sb, area->a_segno, 0); in ostore_erase_segment()
Djournal.c133 ofs = dev_ofs(sb, area->a_segno, area->a_written_bytes); in read_area()
264 u64 ofs, seg_ofs = dev_ofs(sb, segno, 0); in logfs_read_segment()
319 err = wbuf_read(sb, dev_ofs(sb, segno, 0), sizeof(sh), &sh); in read_gec()
414 ofs = dev_ofs(sb, area->a_segno, 0); in journal_erase_segment()
563 ofs = dev_ofs(sb, area->a_segno, in write_wbuf()
648 return dev_ofs(area->a_sb, area->a_segno, ofs); in logfs_get_free_bytes()
Dlogfs.h666 static inline u64 dev_ofs(struct super_block *sb, u32 segno, u32 ofs) in dev_ofs() function