Searched refs:NBBY (Results 1 – 12 of 12) 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)
23 ((1 << (NBBY*(int)sizeof(uint8_t))) - 1)
1414 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))1420 #define XFS_INOBT_HOLEMASK_BITS (NBBY * sizeof(uint16_t))1422 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(uint16_t)))
496 #define NBWORD (NBBY * sizeof(unsigned int))
672 ASSERT(nextbit < (sizeof(rec->ir_holemask) * NBBY)); in xfs_inobt_irec_to_allocmask()
396 BUILD_BUG_ON(NBBY * sizeof(dres->dr_ordered) < XFS_DEFER_OPS_NR_BUFS); in xfs_defer_save_resources()
1148 return howmany_64(rtextents, NBBY * mp->m_sb.sb_blocksize); in xfs_rtbitmap_blockcount()
239 return howmany_64(sbp->sb_rextents, NBBY * sbp->sb_blocksize); in xfs_sb_calc_rbmblocks()
113 #define NBBY 8 /* number of bits per byte */ macro
594 tr.stop_rtx = low + (mp->m_sb.sb_blocksize * NBBY); in xfs_trim_rtdev_extents()
721 nrblocks_step = (bmbno + 1) * NBBY * mp->m_sb.sb_blocksize * rextsize; in xfs_growfs_rt_bmblock()
145 u8 vec[MAXCHANNEL / NBBY];