Home
last modified time | relevance | path

Searched refs:s_segsize (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/fs/logfs/
Dsegment.c36 super->s_segsize, ensure_erase); in logfs_erase_segment()
47 BUG_ON(area->a_used_bytes >= logfs_super(area->a_sb)->s_segsize); in logfs_get_free_bytes()
123 u32 len = super->s_segsize - area->a_used_bytes; in pad_full_pages()
385 BUG_ON(!(shadow->new_ofs & (super->s_segsize - 1))); in logfs_segment_write()
716 if (area->a_is_open && area->a_used_bytes + bytes <= super->s_segsize) in logfs_open_area()
721 u32 len = super->s_segsize - area->a_written_bytes; in logfs_open_area()
Dgc.c149 seg_ofs + sizeof(oh) < super->s_segsize; ) { in logfs_gc_segment()
160 cleaned = super->s_segsize - 1; in logfs_gc_segment()
271 u32 full = super->s_segsize - LOGFS_SEGMENT_RESERVE; in __add_candidate()
Dsuper.c193 ds->ds_segment_size = cpu_to_be32(super->s_segsize); in logfs_write_ds()
429 super->s_segsize = 1 << ds->ds_segment_shift; in __logfs_read_sb()
437 super->s_no_blocks = super->s_segsize >> sb->s_blocksize_bits; in __logfs_read_sb()
Djournal.c31 free = no_segs * (super->s_segsize - LOGFS_SEGMENT_RESERVE); in logfs_calc_free()
41 reserve *= super->s_segsize - LOGFS_SEGMENT_RESERVE; in logfs_calc_free()
270 for (h_ofs = 0; h_ofs < super->s_segsize; h_ofs += sizeof(*jh)) { in logfs_read_segment()
Dlogfs.h352 long s_segsize; /* size of a segment */ member
Dreadwrite.c2031 BUG_ON((int)be32_to_cpu(se[child_no].valid) > super->s_segsize); in logfs_mod_segment_entry()