Home
last modified time | relevance | path

Searched refs:stmode (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/bin/test/
H A Dtest.c680 test_access(struct stat *sp, mode_t stmode) in test_access() argument
695 stmode = (stmode << 6) | (stmode << 3) | stmode; in test_access()
697 stmode <<= 6; in test_access()
699 stmode <<= 3; in test_access()
709 stmode <<= 3; in test_access()
716 return sp->st_mode & stmode; in test_access()
/netbsd-src/sys/dev/scsipi/
H A Dst.c538 u_int stmode, dsty; in stopen() local
549 stmode = STMODE(dev); in stopen()
579 if ((st->flags & ST_MOUNTED) == 0 || stmode == CTRL_MODE) { in stopen()
607 if (error == 0 || stmode == CTRL_MODE) in stopen()
676 if (stmode == CTRL_MODE && in stopen()