|   /src/lib/libc/stdio/ | 
| fopen.c  | 60 	int flags, oflags;  local in function:fopen  63 	if ((flags = __sflags(mode, &oflags)) == 0) 67 	if ((f = open(file, oflags, DEFFILEMODE)) < 0) 98 	if (oflags & O_APPEND)
  | 
| fdopen.c  | 67 	int flags, oflags, fdflags, tmp;  local in function:__weak_alias  83 	if ((flags = __sflags(mode, &oflags)) == 0) 90 	if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { 95 	if (oflags & O_REGULAR) { 114 	if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
  | 
| freopen.c  | 67 	int flags, isopen, oflags, sverrno, wantfd;  local in function:freopen  73 	if ((flags = __sflags(mode, &oflags)) == 0) { 106 	f = open(file, oflags, DEFFILEMODE); 112 			f = open(file, oflags, DEFFILEMODE); 185 	if (oflags & O_APPEND)
  | 
| fmemopen.c  | 174 	int flags, oflags;  local in function:fmemopen  181 	flags = __sflags(mode, &oflags); 185 	if ((oflags & O_RDWR) == 0 && buf == NULL) 207 		if (oflags & O_TRUNC) 220 	cookie->cur = (oflags & O_APPEND) ? cookie->eob : cookie->head;
  | 
|   /src/usr.sbin/lptctl/ | 
| lptctl.c  | 53 	int omode, mode, oflags, flags;  local in function:main  68 	oflags = flags; 144 	if (flags != oflags) {
  | 
|   /src/usr.sbin/lpr/lpd/ | 
| ttcompat.c  | 168 	int oflags = sttygetoflags(tp) & ~flags;  local in function:sttyclearflags  187 	sttysetoflags(tp, oflags); 197 	int oflags = sttygetoflags(tp) | flags;  local in function:sttysetflags  215 	sttysetoflags(tp, oflags); 225 	int oflags = sttygetoflags(tp) & ~flags;  local in function:sttyclearlflags  250 	sttysetoflags(tp, oflags); 260 	int oflags = sttygetoflags(tp) | flags;  local in function:sttysetlflags  285 	sttysetoflags(tp, oflags);
  | 
|   /src/usr.sbin/sysinst/ | 
| mbr.h  | 64 	uint		oflags;  member in struct:mbr_info_t 
  | 
|   /src/sys/fs/sysvbfs/ | 
| sysvbfs_vfsops.c  | 172 	int error, oflags;  local in function:sysvbfs_mountfs  180 	oflags = FREAD; 182 		oflags |= FWRITE; 183 	if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0) 191 		VOP_CLOSE(devvp, oflags, NOCRED);
  | 
|   /src/sys/net80211/ | 
| ieee80211_crypto.c  | 274 	int oflags;  local in function:ieee80211_crypto_newkey  317 	oflags = key->wk_flags; 367 			key->wk_flags = oflags;	/* restore old flags */ 404 				oflags = key->wk_flags;
  | 
| ieee80211_ioctl.c  | 2572 	uint32_t oflags;  local in function:ieee80211_ioctl  2704 		oflags = ic->ic_flags; 2712 		if (oflags != ic->ic_flags)
  | 
|   /src/lib/libc/resolv/ | 
| res_query.c  | 153 	u_int oflags;  local in function:res_nquery  156 	oflags = statp->_flags; 191 		    ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
  | 
|   /src/sys/fs/v7fs/ | 
| v7fs_vfsops.c  | 213 	int oflags;  local in function:v7fs_openfs  222 	oflags = FREAD; 224 		oflags |= FWRITE; 226 	if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0) { 242 	int oflags = FREAD;  local in function:v7fs_closefs  245 		oflags |= FWRITE; 247 	VOP_CLOSE(devvp, oflags, NOCRED);
  | 
|   /src/tests/lib/libc/db/ | 
| h_db.c  | 107 	int ch, oflags, sflag;  local in function:main  114 	oflags = O_CREAT | O_RDWR; 125 			oflags |= DB_LOCK; 177 	    oflags, S_IRUSR | S_IWUSR, type, infop)) == NULL) 339 	if (type == DB_BTREE && oflags & DB_LOCK)
  | 
|   /src/usr.bin/vndcompress/ | 
| vndcompress.c  | 444 	int oflags;  local in function:compress_init  446 		oflags = (O_WRONLY | O_TRUNC | O_CREAT); 448 		oflags = (O_RDWR | O_CREAT); 450 		oflags = O_RDWR; 451 	S->cloop2_fd = open(cloop2_pathname, oflags, 0777);
  | 
|   /src/sbin/newfs_msdos/ | 
| mkfs_msdos.c  | 266     int oflags = O_RDWR | O_CREAT;  local in function:mkfs_msdos  285 		oflags |= O_TRUNC; 286 	fd = open(fname, oflags, 0644);
  | 
|   /src/sys/dev/scsipi/ | 
| st.c  | 600 		int slpintr, oflags;  local in function:stopen  656 		oflags = periph->periph_flags; 661 		periph->periph_flags = oflags;	/* restore flags */
  | 
|   /src/sys/rump/dev/lib/libugenhc/ | 
| ugenhc.c  | 775 	int endpt, oflags, error;  local in function:ugenhc_open  801 				oflags = O_RDONLY; 803 				oflags = O_WRONLY; 807 			if (oflags != O_RDONLY && xfertype == UE_ISOCHRONOUS) { 809 				oflags = O_RDONLY; 812 			if (sc->sc_fdmodes[endpt] == oflags 819 				oflags = O_RDWR; 823 			/* XXX: theoretically should convert oflags */ 824 			error = rumpuser_open(buf, oflags, &fd); 833 			sc->sc_fdmodes[endpt] = oflags;     [all...] | 
|   /src/tests/fs/vfs/ | 
| t_vnops.c  | 915 	int oflags = O_RDWR | O_CREAT;  local in function:fcntl_getlock_pids  934 		RL(fd[i] = rump_sys_open(TESTFILE, oflags, omode)); 935 		oflags = O_RDWR;
  | 
|   /src/sys/dev/ | 
| sequencer.c  | 1445 	int oflags;  local in function:midiseq_open  1465 	oflags = flags; 1470 		VOP_CLOSE(vp, oflags, kauth_cred_get());
  | 
|   /src/usr.sbin/pwd_mkdb/ | 
| pwd_mkdb.c  | 589 	int oflags;  local in function:scan  609 	oflags = 0; 610 	if (!pw_scan(line, pw, &oflags)) { 614 	*flags = oflags;
  | 
|   /src/usr.sbin/makefs/ | 
| ffs.c  | 474 	int	oflags = O_RDWR | O_CREAT;  local in function:ffs_create_image  481 		oflags |= O_TRUNC; 482 	if ((fsopts->fd = open(image, oflags, 0666)) == -1) {
  | 
|   /src/sys/kern/ | 
| uipc_usrreq.c  | 1680 	u_int i, oflags, rflags;  local in function:unp_gc  1714 		for (oflags = fp->f_flag;; oflags = rflags) { 1715 			rflags = atomic_cas_uint(&fp->f_flag, oflags, 1716 			    (oflags | FSCAN) & ~(FMARK|FDEFER)); 1717 			if (__predict_true(oflags == rflags)) {
  | 
|   /src/sys/compat/sunos/ | 
| sunos_misc.c  | 231 	int oflags = SCARG(uap, flags), nflags, error;  local in function:sunos_sys_mount  235 	if (oflags & (SUNM_NOSUB | SUNM_SYS5)) 237 	if ((oflags & SUNM_NEWTYPE) == 0) 240 	if (oflags & SUNM_RDONLY) 242 	if (oflags & SUNM_NOSUID) 244 	if (oflags & SUNM_REMOUNT)
  | 
|   /src/usr.bin/rump_allserver/ | 
| rump_allserver.c  | 431 		int fd, oflags;  local in function:main  433 		oflags = etfs[i].flen == DSIZE_E ? 0 : O_CREAT; 434 		fd = open(etfs[i].hostpath, O_RDWR | oflags, 0644);
  | 
|   /src/sys/compat/sunos32/ | 
| sunos32_misc.c  | 422 	int oflags = SCARG(uap, flags), nflags, error;  local in function:sunos32_sys_mount  426 	if (oflags & (SUNM_NOSUB | SUNM_SYS5)) 428 	if ((oflags & SUNM_NEWTYPE) == 0) 431 	if (oflags & SUNM_RDONLY) 433 	if (oflags & SUNM_NOSUID) 435 	if (oflags & SUNM_REMOUNT)
  |