Searched refs:NBBY (Results 1 – 11 of 11) sorted by relevance
34 #ifndef NBBY /* the BSD family defines NBBY */35 #define NBBY 8 /* 8 bits per byte */ macro37 #define setbit(a, i) (((u8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))38 #define clrbit(a, i) (((u8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))39 #define isset(a, i) (((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))40 #define isclr(a, i) ((((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
30 ((1 << (NBBY*(int)sizeof(uint8_t))) - 1)
1415 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))1421 #define XFS_INOBT_HOLEMASK_BITS (NBBY * sizeof(uint16_t))1423 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(uint16_t)))
482 #define NBWORD (NBBY * sizeof(unsigned int))
283 BUILD_BUG_ON(NBBY * sizeof(dres->dr_ordered) < XFS_DEFER_OPS_NR_BUFS); in xfs_defer_save_resources()
223 rtbmp_bytes = (XFS_MAX_BMBT_EXTLEN / mp->m_sb.sb_rextsize) / NBBY; in xfs_rtalloc_block_count()
642 ASSERT(nextbit < (sizeof(rec->ir_holemask) * NBBY)); in xfs_inobt_irec_to_allocmask()
453 NBBY * sbp->sb_blocksize); in xfs_validate_sb_common()
110 #define NBBY 8 /* number of bits per byte */ macro
979 nrbmblocks = howmany_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt()1036 nrblocks_step = (bmbno + 1) * NBBY * nsbp->sb_blocksize * in xfs_growfs_rt()
150 u8 vec[MAXCHANNEL / NBBY];