Lines Matching defs:blocks
42 * Compute the number of log descriptor blocks needed to hold a certain number
45 * Returns: the number of blocks needed (minimum is always 1)
58 /* Subsequent struct gfs2_meta_header blocks */
471 * gfs2_log_release - Release a given number of log blocks
473 * @blks: The number of blocks
490 * @blks: The number of blocks to reserve
491 * @taboo_blks: The number of blocks to leave free
516 * @blks: The number of blocks to reserve
517 * @taboo_blks: The number of blocks to leave free
617 * log_distance - Compute distance between two journal blocks
623 * blocks in the journal
625 * Returns: the distance in blocks
641 * calc_reserved - Calculate the number of blocks to keep reserved
645 * metadata blocks (e.g. normal file I/O rewriting file time stamps) and
646 * all our journaled data blocks for journaled files (e.g. files in the
650 * We can have metadata blocks and jdata blocks in the same journal. Each
653 * in cases where we have more blocks than will fit in a log descriptor.
656 * Also, we need to reserve blocks for revoke journal entries and one for an
659 * Returns: the number of blocks reserved
664 unsigned int blocks;
668 blocks = tr->tr_num_buf_new - tr->tr_num_buf_rm;
669 reserved += blocks + DIV_ROUND_UP(blocks, buf_limit(sdp));
670 blocks = tr->tr_num_databuf_new - tr->tr_num_databuf_rm;
671 reserved += blocks + DIV_ROUND_UP(blocks, databuf_limit(sdp));
805 * We can fill that space with additional revokes for blocks that have already
807 * us from having to keep track of those blocks on the AIL2 list later.
1250 * We wake up gfs2_logd if the number of pinned blocks exceed thresh1
1251 * or the total number of used blocks (pinned blocks plus AIL blocks)
1288 * gfs2_logd - Update log tail as Active Items get flushed to in-place blocks