Home
last modified time | relevance | path

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

/fs/omfs/
Dbitmap.c12 int nbits = sb->s_blocksize * 8; in omfs_count_free() local
15 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); in omfs_count_free()
25 static int count_run(unsigned long **addr, int nbits, in count_run() argument
32 x = find_next_bit(*addr, nbits, bit); in count_run()
35 if (x < nbits || count > max) in count_run()
48 int nbits, int bit, int count, int set) in set_run() argument
61 if (bit >= nbits) { in set_run()
/fs/xfs/
Dxfs_buf_item.c192 uint nbits) in xfs_buf_item_copy_iovec() argument
197 nbits * XFS_BLF_CHUNK); in xfs_buf_item_copy_iovec()
225 uint nbits; in xfs_buf_item_format_segment() local
265 nbits = 1; in xfs_buf_item_format_segment()
284 first_bit, nbits); in xfs_buf_item_format_segment()
290 first_bit, nbits); in xfs_buf_item_format_segment()
294 nbits = 1; in xfs_buf_item_format_segment()
297 nbits++; in xfs_buf_item_format_segment()
Dxfs_log_recover.c1715 int nbits = 0; in xlog_recover_do_inode_buffer() local
1745 bit += nbits; in xlog_recover_do_inode_buffer()
1756 nbits = xfs_contig_bits(buf_f->blf_data_map, in xlog_recover_do_inode_buffer()
1758 ASSERT(nbits > 0); in xlog_recover_do_inode_buffer()
1760 reg_buf_bytes = nbits << XFS_BLF_SHIFT; in xlog_recover_do_inode_buffer()
2169 int nbits; in xlog_recover_do_reg_buffer() local
2181 nbits = xfs_contig_bits(buf_f->blf_data_map, in xlog_recover_do_reg_buffer()
2183 ASSERT(nbits > 0); in xlog_recover_do_reg_buffer()
2187 ((uint)bit << XFS_BLF_SHIFT) + (nbits << XFS_BLF_SHIFT)); in xlog_recover_do_reg_buffer()
2197 if (item->ri_buf[i].i_len < (nbits << XFS_BLF_SHIFT)) in xlog_recover_do_reg_buffer()
[all …]
/fs/jfs/
Djfs_dmap.c428 int word, nbits, nwords; in dbUpdatePMap() local
489 rbits -= nbits, dbitno += nbits) { in dbUpdatePMap()
494 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap()
497 if (nbits < DBWORD) { in dbUpdatePMap()
502 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap()
517 nbits = nwords << L2DBWORD; in dbUpdatePMap()
/fs/xfs/libxfs/
Dxfs_btree.h320 int nbits, /* number of bits to inspect */
Dxfs_btree.c669 int nbits, /* number of bits to inspect */ in xfs_btree_offsets() argument
689 for (i = nbits - 1, imask = 1LL << i; ; i--, imask >>= 1) { in xfs_btree_offsets()
1399 int nbits; in xfs_btree_log_block() local
1411 nbits = XFS_BB_NUM_BITS_CRC; in xfs_btree_log_block()
1413 nbits = XFS_BB_NUM_BITS; in xfs_btree_log_block()
1418 nbits, &first, &last); in xfs_btree_log_block()