Searched refs:nbits (Results 1 – 6 of 6) sorted by relevance
/fs/omfs/ |
D | bitmap.c | 12 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/ |
D | xfs_buf_item.c | 231 uint nbits; in xfs_buf_item_format() local 275 nbits = 1; in xfs_buf_item_format() 298 vecp->i_len = nbits * XFS_BLI_CHUNK; in xfs_buf_item_format() 305 vecp->i_len = nbits * XFS_BLI_CHUNK; in xfs_buf_item_format() 311 nbits = 1; in xfs_buf_item_format() 317 vecp->i_len = nbits * XFS_BLI_CHUNK; in xfs_buf_item_format() 327 nbits = 1; in xfs_buf_item_format() 330 nbits++; in xfs_buf_item_format()
|
D | xfs_log_recover.c | 1803 int nbits; in xlog_recover_do_inode_buffer() local 1827 nbits = 0; in xlog_recover_do_inode_buffer() 1842 bit += nbits; in xlog_recover_do_inode_buffer() 1853 nbits = xfs_contig_bits(data_map, map_size, in xlog_recover_do_inode_buffer() 1855 ASSERT(nbits > 0); in xlog_recover_do_inode_buffer() 1857 reg_buf_bytes = nbits << XFS_BLI_SHIFT; in xlog_recover_do_inode_buffer() 1914 int nbits; in xlog_recover_do_reg_buffer() local 1931 nbits = xfs_contig_bits(data_map, map_size, bit); in xlog_recover_do_reg_buffer() 1932 ASSERT(nbits > 0); in xlog_recover_do_reg_buffer() 1936 ((uint)bit << XFS_BLI_SHIFT)+(nbits<<XFS_BLI_SHIFT)); in xlog_recover_do_reg_buffer() [all …]
|
D | xfs_btree.h | 364 int nbits, /* number of bits to inspect */
|
D | xfs_btree.c | 589 int nbits, /* number of bits to inspect */ in xfs_btree_offsets() argument 609 for (i = nbits - 1, imask = 1LL << i; ; i--, imask >>= 1) { in xfs_btree_offsets()
|
/fs/jfs/ |
D | jfs_dmap.c | 421 int word, nbits, nwords; in dbUpdatePMap() local 483 rbits -= nbits, dbitno += nbits) { in dbUpdatePMap() 488 nbits = min(rbits, DBWORD - wbitno); in dbUpdatePMap() 491 if (nbits < DBWORD) { in dbUpdatePMap() 496 (ONES << (DBWORD - nbits) >> wbitno); in dbUpdatePMap() 511 nbits = nwords << L2DBWORD; in dbUpdatePMap()
|