Searched refs:oflags (Results 1 - 25 of 80) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/
H A Dsupcmain.c470 int oflags, aflags; local
475 oflags = aflags = 0;
487 t->Toflags |= oflags;
490 t->Taflags &= ~oflags;
495 oflags |= CFALL;
498 oflags |= CFBACKUP;
502 oflags &= ~CFBACKUP;
506 oflags |= CFCANONICALIZE;
509 oflags |= CFDELETE;
513 oflags
613 int oflags, aflags; local
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dfdopen.c67 int flags, oflags, fdflags, tmp; local
83 if ((flags = __sflags(mode, &oflags)) == 0)
90 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
95 if (oflags & O_NONBLOCK) {
114 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
H A Dfopen.c62 int flags, oflags; local
65 if ((flags = __sflags(mode, &oflags)) == 0)
69 if ((f = open(file, oflags, DEFFILEMODE)) < 0)
71 if (oflags & O_NONBLOCK) {
113 if (oflags & O_APPEND)
H A Dfreopen.c69 int flags, isopen, oflags, sverrno, wantfd; local
75 if ((flags = __sflags(mode, &oflags)) == 0) {
108 f = open(file, oflags, DEFFILEMODE);
114 f = open(file, oflags, DEFFILEMODE);
146 if (oflags & O_NONBLOCK) {
202 if (oflags & O_APPEND)
H A Dfmemopen.c157 int flags, oflags; local
164 flags = __sflags(mode, &oflags);
168 if ((oflags & O_RDWR) == 0 && buf == NULL)
190 if (oflags & O_TRUNC)
203 cookie->cur = (oflags & O_APPEND) ? cookie->eob : cookie->head;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/rx/
H A Dsyscalls.c162 Hence the oflags and cflags arguments will be on the stack and we need
165 int oflags = arg (); local
170 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags);
174 rv = callbacks->open (callbacks, buf, oflags);
179 if (oflags & 0x0001)
181 if (oflags & 0x0002)
183 if (oflags & 0x0200)
185 if (oflags & 0x0008)
187 if (oflags & 0x0400)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/
H A Dsyscalls.c200 int oflags = arg (2); local
205 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags);
209 rv = callbacks->open (callbacks, buf, oflags);
214 if (oflags & 0x0001)
216 if (oflags & 0x0002)
218 if (oflags & 0x0200)
220 if (oflags & 0x0008)
222 if (oflags & 0x0400)
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/
H A Dttcompat.c168 int oflags = sttygetoflags(tp) & ~flags; local
187 sttysetoflags(tp, oflags);
197 int oflags = sttygetoflags(tp) | flags; local
215 sttysetoflags(tp, oflags);
225 int oflags = sttygetoflags(tp) & ~flags; local
250 sttysetoflags(tp, oflags);
260 int oflags = sttygetoflags(tp) | flags; local
285 sttysetoflags(tp, oflags);
/netbsd-6-1-5-RELEASE/usr.bin/window/
H A Dwwopen.c52 wwopen(int type, int oflags, int nrow, int ncol, int row, int col, int nline) argument
138 if (oflags & WWO_GLASS)
140 if (oflags & WWO_REVERSE) {
143 else oflags &= ~WWO_REVERSE;
149 if (oflags & WWO_FRAME) {
180 SET(w->ww_oflags, oflags);
/netbsd-6-1-5-RELEASE/usr.sbin/lptctl/
H A Dlptctl.c53 int omode, mode, oflags, flags; local
68 oflags = flags;
144 if (flags != oflags) {
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dmbr.h62 uint oflags; member in struct:mbr_info_t
/netbsd-6-1-5-RELEASE/sys/arch/shark/ofw/
H A Dofrom.c111 ofromopen(dev_t dev, int oflags, int devtype, struct lwp *l) argument
119 if (oflags & FWRITE)
/netbsd-6-1-5-RELEASE/bin/sh/
H A Dredir.c179 int oflags = O_WRONLY|O_CREAT|O_TRUNC, eflags; local
207 oflags |= O_EXCL;
211 if ((f = open(fname, oflags, 0666)) < 0)
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dfcntl.h60 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
126 #define FFLAGS(oflags) ((oflags) + 1)
317 int openat(int, const char *, int oflags, ...);
/netbsd-6-1-5-RELEASE/sys/fs/sysvbfs/
H A Dsysvbfs_vfsops.c167 int error, oflags; local
176 oflags = FREAD;
178 oflags |= FWRITE;
179 if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0)
203 VOP_CLOSE(devvp, oflags, NOCRED);
/netbsd-6-1-5-RELEASE/sys/fs/v7fs/
H A Dv7fs_vfsops.c211 int oflags; local
220 oflags = FREAD;
222 oflags |= FWRITE;
224 if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0) {
240 int oflags = FREAD; local
243 oflags |= FWRITE;
245 VOP_CLOSE(devvp, oflags, NOCRED);
/netbsd-6-1-5-RELEASE/external/bsd/libbind/dist/resolv/
H A Dres_query.c121 u_int oflags; local
125 oflags = statp->_flags;
161 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
/netbsd-6-1-5-RELEASE/lib/libc/resolv/
H A Dres_query.c157 u_int oflags; local
161 oflags = statp->_flags;
197 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
/netbsd-6-1-5-RELEASE/usr.bin/rump_allserver/
H A Drump_allserver.c357 int fd, oflags; local
359 oflags = etfs[i].flen == DSIZE_E ? 0 : O_CREAT;
360 fd = open(etfs[i].hostpath, O_RDWR | oflags, 0644);
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dshf.h63 struct shf *shf_open ARGS((const char *name, int oflags, int mode,
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/
H A Dhtml.h133 int oflags; /* output options */ member in struct:html
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/
H A Dprototype.c135 prototype_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused, struct thread *td __unused)
/netbsd-6-1-5-RELEASE/sys/net80211/
H A Dieee80211_crypto.c274 int oflags; local
316 oflags = key->wk_flags;
364 key->wk_flags = oflags; /* restore old flags */
401 oflags = key->wk_flags;
/netbsd-6-1-5-RELEASE/sys/rump/dev/lib/libugenhc/
H A Dugenhc.c924 int endpt, oflags, error; local
950 oflags = O_RDONLY;
952 oflags = O_WRONLY;
956 if (oflags != O_RDONLY && xfertype == UE_ISOCHRONOUS) {
958 oflags = O_RDONLY;
961 if (sc->sc_fdmodes[endpt] == oflags
968 oflags = O_RDWR;
972 fd = rumpuser_open(buf, oflags, &error);
981 sc->sc_fdmodes[endpt] = oflags;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Dmmo.c2288 flagword oflags = 0; local
2291 oflags |= MMO_SEC_ALLOC;
2293 oflags |= MMO_SEC_LOAD;
2295 oflags |= MMO_SEC_RELOC;
2297 oflags |= MMO_SEC_READONLY;
2299 oflags |= MMO_SEC_CODE;
2301 oflags |= MMO_SEC_DATA;
2303 oflags |= MMO_SEC_NEVER_LOAD;
2305 oflags |= MMO_SEC_IS_COMMON;
2307 oflags |
2315 flagword oflags = 0; local
[all...]

Completed in 388 milliseconds

1234