Home
last modified time | relevance | path

Searched refs:NBWORD (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/fs/xfs/libxfs/
Dxfs_bit.c46 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 …]
Dxfs_log_format.h482 #define NBWORD (NBBY * sizeof(unsigned int)) macro
517 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
/linux-5.19.10/fs/xfs/
Dxfs_buf_item.c826 map_size = DIV_ROUND_UP(chunks, NBWORD); in xfs_buf_item_init()
869 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()
870 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()
893 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()
904 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()
917 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()
919 bits_set += NBWORD; in xfs_buf_item_log_segment()