Searched refs:NBWORD (Results 1 – 3 of 3) sorted by relevance
46 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()47 start_bit &= (NBWORD - 1); in xfs_contig_bits()51 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits()54 result += NBWORD; in xfs_contig_bits()55 size -= NBWORD; in xfs_contig_bits()60 result += NBWORD; in xfs_contig_bits()61 size -= NBWORD; in xfs_contig_bits()79 uint result = start_bit & ~(NBWORD - 1); in xfs_next_bit()87 start_bit &= (NBWORD - 1); in xfs_next_bit()94 result += NBWORD; in xfs_next_bit()[all …]
452 #define NBWORD (NBBY * sizeof(unsigned int)) macro487 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
744 map_size = DIV_ROUND_UP(chunks, NBWORD); in xfs_buf_item_init()787 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()788 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()811 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()822 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()835 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()837 bits_set += NBWORD; in xfs_buf_item_log_segment()