Searched refs:NBBY (Results 1 – 9 of 9) sorted by relevance
499 #ifndef NBBY /* the BSD family defines NBBY */500 #define NBBY 8 /* 8 bits per byte */ macro502 #define setbit(a, i) (((u8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))503 #define clrbit(a, i) (((u8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))504 #define isset(a, i) (((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))505 #define isclr(a, i) ((((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
61 ((1 << (NBBY*(int)sizeof(__uint8_t))) - 1)
61 #define NBWORD (NBBY * sizeof(unsigned int))
35 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))
736 bip->bli_logged = (char *)kmem_zalloc(XFS_BUF_COUNT(bp) / NBBY, KM_SLEEP); in xfs_buf_item_init()
1896 nrbmblocks = howmany_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt()1950 nsbp->sb_rbmblocks * NBBY * in xfs_growfs_rt()
92 #define AIDMAPSZ (roundup(MAXSCB, NBBY)/NBBY) /* aid bitmap size in bytes */
127 #define NBBY 8 /* number of bits per byte */ macro
117 u8 vec[MAXCHANNEL / NBBY];