/barrelfish-master/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 52 test_one(int oflags) argument 59 fd = mkostemp(tmpf, oflags); 61 printf("not ok %d - oflags=%#x " 63 testnum++, oflags, strerror(errno)); 67 printf("not ok %d - oflags=%#x " 69 testnum++, oflags, tmpf); 74 (oflags & O_CLOEXEC ? FD_CLOEXEC : 0)) { 75 printf("not ok %d - oflags=%#x " 77 testnum++, oflags); 80 if ((fcntl(fd, F_GETFL) & MISCFLAGS) != (oflags [all...] |
/barrelfish-master/lib/libc/stdio/ |
H A D | fdopen.c | 53 int flags, oflags, fdflags, tmp; local 67 if ((flags = __sflags(mode, &oflags)) == 0) 75 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { 83 if ((oflags & O_CLOEXEC) && _fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) { 96 else if (oflags & O_APPEND)
|
H A D | freopen.c | 62 int dflags, flags, isopen, oflags, sverrno, wantfd; local 64 if ((flags = __sflags(mode, &oflags)) == 0) { 97 (dflags & (O_ACCMODE | O_EXEC)) != (oflags & O_ACCMODE)) { 105 if ((oflags ^ dflags) & O_APPEND) { 107 dflags |= oflags & O_APPEND; 116 if (oflags & O_TRUNC) 118 if (!(oflags & O_APPEND)) 120 if (oflags & O_CLOEXEC) 153 f = _open(file, oflags, DEFFILEMODE); 160 f = _open(file, oflags, DEFFILEMOD [all...] |
H A D | fopen.c | 56 int flags, oflags; local 58 if ((flags = __sflags(mode, &oflags)) == 0) 62 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { 94 if (oflags & O_APPEND) {
|
H A D | mktemp.c | 56 mkostemps(char *path, int slen, int oflags) argument 60 return (_gettemp(path, &fd, 0, slen, oflags) ? fd : -1); 72 mkostemp(char *path, int oflags) argument 76 return (_gettemp(path, &fd, 0, 0, oflags) ? fd : -1); 109 _gettemp(char *path, int *doopen, int domkdir, int slen, int oflags) argument 119 (oflags & ~(O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_SYNC | 172 _open(path, O_CREAT|O_EXCL|O_RDWR|oflags, 0600)) >=
|
H A D | fopencookie.c | 55 int flags, oflags; local 57 if ((flags = __sflags(mode, &oflags)) == 0) 81 if ((oflags & O_APPEND) != 0)
|
/barrelfish-master/include/sys/ |
H A D | fcntl.h | 69 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). 149 #define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (oflags) + 1)
|
/barrelfish-master/include/ |
H A D | fcntl.h | 69 * are inter-convertible using OFLAGS(fflags) and FFLAGS(oflags). 149 #define FFLAGS(oflags) ((oflags) & O_EXEC ? (oflags) : (oflags) + 1)
|
/barrelfish-master/lib/posixcompat/ |
H A D | pty.h | 123 int pts_open(const char *path, int oflags);
|
H A D | pty.c | 394 int pts_open(const char *path, int oflags) argument
|
/barrelfish-master/kernel/ |
H A D | printf.c | 87 const char * NTS fmt0, va_list ap, int oflags); 242 if (oflags == TOBUFONLY) { \ 258 kprintf(char *sbuf_in, size_t bufsize, const char *fmt0, va_list ap, int oflags) argument 286 if (oflags == TOBUFONLY)
|
/barrelfish-master/include/vm/ |
H A D | vm_page.c | 966 m->oflags = VPO_UNMANAGED; 983 KASSERT((m->oflags & VPO_UNMANAGED) != 0, ("managed %p", m)); 1245 if ((m->oflags & VPO_UNMANAGED) == 0) 1751 m->oflags = object == NULL || (object->flags & OBJ_UNMANAGED) != 0 ? 1779 m->oflags = VPO_UNMANAGED; 1964 m->oflags = VPO_UNMANAGED; 1980 m->oflags |= VPO_UNMANAGED; 2123 m->oflags = VPO_UNMANAGED; 2302 KASSERT((m->oflags & (VPO_SWAPINPROG | 2304 ("page %p has unexpected oflags", [all...] |
H A D | device_pager.c | 213 KASSERT((m->oflags & VPO_UNMANAGED) == 0, ("unmanaged %p", m)); 228 (m->oflags & VPO_UNMANAGED) != 0), 275 (ma[0]->oflags & VPO_UNMANAGED) != 0) || 277 (ma[0]->oflags & VPO_UNMANAGED) == 0),
|
H A D | swap_pager.c | 1163 bp->b_pages[i]->oflags |= VPO_SWAPINPROG; 1207 while ((m[0]->oflags & VPO_SWAPINPROG) != 0) { 1208 m[0]->oflags |= VPO_SWAPSLEEP; 1386 mreq->oflags |= VPO_SWAPINPROG; 1496 m->oflags &= ~VPO_SWAPINPROG; 1497 if (m->oflags & VPO_SWAPSLEEP) { 1498 m->oflags &= ~VPO_SWAPSLEEP;
|
H A D | vm_fault.c | 186 (m->oflags & VPO_UNMANAGED) != 0) 206 * m->oflags consistent. 220 m->oflags |= VPO_NOSYNC; 223 m->oflags &= ~VPO_NOSYNC;
|
H A D | vm_kern.c | 365 KASSERT((m->oflags & VPO_UNMANAGED) != 0,
|
H A D | vm_page.h | 150 uint8_t oflags; /* page VPO_* flags (O) */ member in struct:vm_page 164 * Page flags stored in oflags:
|
H A D | vm_pageout.c | 943 KASSERT((m->oflags & VPO_UNMANAGED) == 0, 1203 KASSERT((m->oflags & VPO_UNMANAGED) == 0,
|
H A D | vm_object.c | 826 if ((flags & OBJPC_NOSYNC) != 0 && (p->oflags & VPO_NOSYNC) != 0) { 1175 KASSERT((m->oflags & VPO_UNMANAGED) == 0,
|
/barrelfish-master/lib/libc/resolv/ |
H A D | res_query.c | 119 u_int oflags; local 123 oflags = statp->_flags; 159 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
|
/barrelfish-master/lib/libc/db/test/ |
H A D | dbtest.c | 95 int ch, oflags, sflag; local 100 oflags = O_CREAT | O_RDWR; 111 oflags |= DB_LOCK; 162 oflags, S_IRUSR | S_IWUSR, type, infop)) == NULL) 326 if (type == DB_BTREE && oflags & DB_LOCK)
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/rdma/ |
H A D | ib_user_verbs.h | 240 __u32 oflags; member in struct:ib_uverbs_open_xrcd 794 __u32 oflags; member in struct:ib_uverbs_open_xrc_domain
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/infiniband/ |
H A D | kern-abi.h | 874 __u32 oflags; member in struct:ibv_open_xrc_domain
|
/barrelfish-master/lib/libc/net/ |
H A D | getaddrinfo.c | 2705 u_int oflags; local 2732 oflags = res->_flags; 2764 ((oflags ^ res->_flags) & RES_F_EDNS0ERR) != 0) {
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/ |
H A D | linux_compat.c | 284 linux_dev_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
|