Searched refs:openflags (Results 1 – 9 of 9) sorted by relevance
| /src/lib/libc/gen/ |
| H A D | kqueue1.c | 39 kqueue1(int openflags) in kqueue1() argument 43 if ((openflags & ~(O_CLOEXEC | O_NONBLOCK)) != 0) { in kqueue1() 49 if ((openflags & O_CLOEXEC) != 0) in kqueue1()
|
| /src/sbin/ggate/ggatel/ |
| H A D | ggatel.c | 76 int openflags = O_RDWR; in g_gate_openflags() local 79 openflags = O_RDONLY; in g_gate_openflags() 81 openflags = O_WRONLY; in g_gate_openflags() 84 openflags |= O_DIRECT; in g_gate_openflags() 86 return (openflags); in g_gate_openflags()
|
| /src/lib/libutil/ |
| H A D | quotafile.c | 113 quota_open(struct fstab *fs, int quotatype, int openflags) in quota_open() argument 149 qf->accmode = openflags & O_ACCMODE; in quota_open() 151 (openflags & O_CREAT) != O_CREAT) in quota_open()
|
| /src/lib/libsysdecode/ |
| H A D | linux.c | 232 print_mask_part(fp, openflags, &val, &printed); in sysdecode_linux_open_flags()
|
| H A D | flags.c | 300 print_mask_part(fp, openflags, &val, &printed); in sysdecode_open_flags()
|
| /src/sys/contrib/zstd/programs/ |
| H A D | fileio.c | 704 const int openflags = O_WRONLY|O_CREAT|O_TRUNC|O_BINARY; in FIO_openDstFile() local 705 const int fd = _open(dstFileName, openflags, mode); in FIO_openDstFile() 711 const int openflags = O_WRONLY|O_CREAT|O_TRUNC; in FIO_openDstFile() 712 const int fd = open(dstFileName, openflags, mode); in FIO_openDstFile()
|
| /src/contrib/libarchive/libarchive/ |
| H A D | archive_write_disk_posix.c | 2517 int fd, ret, openflags; in _archive_write_disk_close() local 2549 openflags = O_BINARY | O_NOFOLLOW | O_RDONLY in _archive_write_disk_close() 2553 openflags |= O_DIRECTORY; in _archive_write_disk_close() 2555 fd = open(p->name, openflags); in _archive_write_disk_close()
|
| /src/sys/kern/ |
| H A D | vfs_syscalls.c | 1167 openflags(int *flagsp) in openflags() function 1246 error = openflags(&flags); in openatfp() 4755 error = openflags(&flags); in kern_fhopen()
|
| /src/contrib/sqlite3/autosetup/ |
| H A D | jimsh0.c | 3335 int openflags; in JimAioOpenCommand() local 3371 openflags = parse_open_mode(interp, argv[1], argv[2 + n]); in JimAioOpenCommand() 3372 if (openflags == -1) { in JimAioOpenCommand() 3377 openflags = O_RDONLY; in JimAioOpenCommand() 3379 fd = open(filename, openflags, 0666); in JimAioOpenCommand()
|