HomeSort by: relevance | last modified time | path
    Searched refs:oflags (Results 1 - 25 of 68) sorted by relevancy

1 2 3

  /src/lib/libc/stdio/
mkostemp.c 31 mkostemp(char *path, int oflags)
35 return GETTEMP(path, &fd, 0, 0, oflags) ? fd : -1;
mkostemps.c 31 mkostemps(char *path, int slen, int oflags)
35 return GETTEMP(path, &fd, 0, slen, oflags) ? fd : -1;
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))
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)
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)
gettemp.c 54 GETTEMP(char *path, int *doopen, int domkdir, int slen, int oflags)
66 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC |
119 if ((*doopen = open(path, O_CREAT|O_EXCL|O_RDWR|oflags,
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/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/lptctl/
lptctl.c 53 int omode, mode, oflags, flags; local in function:main
68 oflags = flags;
144 if (flags != oflags) {
  /src/usr.sbin/sysinst/
mbr.h 64 uint oflags; member in struct:mbr_info_t
  /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/sys/arch/shark/ofw/
ofrom.c 124 ofromopen(dev_t dev, int oflags, int devtype, struct lwp *l)
132 if (oflags & FWRITE)
  /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/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/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/bin/ksh/
shf.h 63 struct shf *shf_open ARGS((const char *name, int oflags, int mode,
shf.c 36 shf_open(name, oflags, mode, sflags)
38 int oflags;
54 fd = open(name, oflags, mode);
71 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD
72 : ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR
  /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;
  /src/sys/sys/
fcntl.h 60 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags).
133 #define FFLAGS(oflags) ((oflags) + 1)
134 #define OFLAGS(fflags) ((fflags) - 1)
  /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/sys/kern/
subr_prf.c 717 kprintf_internal(const char *fmt, int oflags, void *vp, char *sbuf, ...)
722 (void)kprintf(fmt, oflags, vp, sbuf, ap);
1227 if (oflags == TOBUFONLY) { \
1231 putchar((C), oflags, vp); \
1252 kprintf(const char *fmt0, int oflags, void *vp, char *sbuf, va_list ap)
1273 if (oflags == TOBUFONLY && (vp != NULL))
1617 if ((oflags == TOBUFONLY) && (vp != NULL))
  /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/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/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/sys/external/bsd/ipf/netinet/
ip_fil_compat.c 3600 u_32_t oflags = 0; local in function:fr_frflags5to4
3604 oflags = 0x0;
3607 oflags = 0x1;
3610 oflags = 0x2;
3613 oflags = 0x3;
3616 oflags = 0x4;
3619 oflags = 0x5;
3622 oflags = 0x6;
3629 oflags |= 0x00010;
3631 oflags |= 0x00020
    [all...]

Completed in 27 milliseconds

1 2 3