Searched refs:sb_sum (Results 1 – 3 of 3) sorted by relevance
83 segbuf->sb_pseg_start = prev->sb_pseg_start + prev->sb_sum.nblocks; in nilfs_segbuf_map_cont()92 segbuf->sb_sum.next = nilfs_get_segment_start_blocknr(nilfs, nextnum); in nilfs_segbuf_set_next_segnum()100 segbuf->sb_pseg_start + segbuf->sb_sum.nsumblk); in nilfs_segbuf_extend_segsum()120 segbuf->sb_pseg_start + segbuf->sb_sum.nblocks); in nilfs_segbuf_extend_payload()134 segbuf->sb_sum.nblocks = segbuf->sb_sum.nsumblk = 0; in nilfs_segbuf_reset()139 segbuf->sb_sum.flags = flags; in nilfs_segbuf_reset()140 segbuf->sb_sum.sumbytes = sizeof(struct nilfs_segment_summary); in nilfs_segbuf_reset()141 segbuf->sb_sum.nfinfo = segbuf->sb_sum.nfileblk = 0; in nilfs_segbuf_reset()142 segbuf->sb_sum.ctime = ctime; in nilfs_segbuf_reset()143 segbuf->sb_sum.cno = cno; in nilfs_segbuf_reset()[all …]
67 struct nilfs_segsum_info sb_sum; member123 unsigned int flags = segbuf->sb_sum.flags; in nilfs_segbuf_simplex()131 return segbuf->sb_sum.nblocks == segbuf->sb_sum.nsumblk; in nilfs_segbuf_empty()139 segbuf->sb_sum.nblocks++; in nilfs_segbuf_add_segsum_buffer()140 segbuf->sb_sum.nsumblk++; in nilfs_segbuf_add_segsum_buffer()148 segbuf->sb_sum.nblocks++; in nilfs_segbuf_add_payload_buffer()157 segbuf->sb_sum.nfileblk++; in nilfs_segbuf_add_file_buffer()
426 sumbytes = segbuf->sb_sum.sumbytes; in nilfs_segctor_reset_segment_buffer()452 sci->sc_nblk_this_inc += sci->sc_curseg->sb_sum.nblocks; in nilfs_segctor_feed_segment()468 if (segbuf->sb_sum.nblocks >= segbuf->sb_rest_blocks) { in nilfs_segctor_add_super_root()476 segbuf->sb_sum.flags |= NILFS_SS_SR; in nilfs_segctor_add_super_root()498 sci->sc_curseg->sb_sum.nfinfo++; in nilfs_segctor_begin_finfo()537 segbuf->sb_sum.sumbytes = sci->sc_binfo_ptr.offset + in nilfs_segctor_end_finfo()538 sci->sc_super->s_blocksize * (segbuf->sb_sum.nsumblk - 1); in nilfs_segctor_end_finfo()555 if (segbuf->sb_sum.nblocks + required + 1 > segbuf->sb_rest_blocks) { in nilfs_segctor_add_file_block()1069 (sci->sc_nblk_this_inc + sci->sc_curseg->sb_sum.nblocks); in nilfs_segctor_buffer_rest()1161 sci->sc_curseg->sb_sum.flags = NILFS_SS_LOGBGN; in nilfs_segctor_collect_blocks()[all …]