Searched refs:PSHOT_NODENUM_BITS (Results 1 – 2 of 2) sorted by relevance
123 #define PSHOT_NODENUM_BITS() pshot_numbits(PSHOT_MAX_MINOR_PERINST) macro
1011 return (((minor_t)inst << PSHOT_NODENUM_BITS()) | in pshot_minor_encode()1012 (((1 << PSHOT_NODENUM_BITS()) - 1) & nodenum)); in pshot_minor_encode()1021 return (minor >> PSHOT_NODENUM_BITS()); in pshot_minor_decode_inst()1030 return (minor & ((1 << PSHOT_NODENUM_BITS()) - 1)); in pshot_minor_decode_nodenum()