Searched refs:DEV_TO_UNIT (Results 1 – 2 of 2) sorted by relevance
58 #define DEV_TO_UNIT(dev) (getminor(dev) & ~OUTLINE) macro
2124 if (sflag != 0 || DEV_TO_UNIT(*devp) >= NLUNITS) { in sm_open()2129 unit = DEV_TO_UNIT(*devp); in sm_open()