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 …]
449 #define NBWORD (NBBY * sizeof(unsigned int)) macro484 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
825 map_size = DIV_ROUND_UP(chunks, NBWORD); in xfs_buf_item_init()868 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()869 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()892 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()903 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()916 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()918 bits_set += NBWORD; in xfs_buf_item_log_segment()