Home
last modified time | relevance | path

Searched refs:_open (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/lib/libc/gen/
H A Dpututxline.c49 fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK|O_CLOEXEC, 0644); in futx_open()
183 fd = _open(_PATH_UTX_ACTIVE, O_CREAT|O_RDWR|O_TRUNC, 0644); in utx_active_init()
240 fd = _open(_PATH_UTX_LASTLOGIN, O_RDWR|O_CLOEXEC, 0644); in utx_lastlogin_upgrade()
274 fd = _open(_PATH_UTX_LOG, O_CREAT|O_WRONLY|O_APPEND|O_CLOEXEC, 0644); in utx_log_add()
H A Ddaemon.c97 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0); in daemon()
102 chdirfd = _open("/", O_EXEC); in daemon()
H A Dfts-compat11.c206 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_open()
331 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in freebsd11_fts_read()
424 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in freebsd11_fts_read()
563 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_children()
1153 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
H A Dfts.c205 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_open()
330 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in fts_read()
423 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in fts_read()
562 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_children()
1140 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
H A Dfts-compat.c216 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_open_44bsd()
341 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in __fts_read_44bsd()
433 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in __fts_read_44bsd()
569 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_children_44bsd()
1174 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_safe_changedir()
H A Dsem_new.c179 fd = _open(path, flags | O_RDWR | O_CLOEXEC | in _sem_open()
211 fd = _open(path, flags | O_RDWR | O_CLOEXEC | O_EXLOCK, mode); in _sem_open()
/freebsd/contrib/file/python/
H A Dmagic.py70 _open = _libraries['magic'].magic_open variable
71 _open.restype = magic_t
72 _open.argtypes = [c_int]
275 magic_t = _open(flags)
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dseq_file.h41 static int __name ## _open(struct inode *inode, struct linux_file *file) \
48 .open = __name ## _open, \
H A Dfs.h389 __fops ## _open(struct inode *inode, struct file *filp) \
395 .open = __fops ## _open, \
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddebugfs.c19 static int _iwl_dbgfs_##name##_open(struct inode *inode, \
67 .open = _iwl_dbgfs_##name##_open, \
95 .open = _iwl_dbgfs_##name##_open, \
105 .open = _iwl_dbgfs_##name##_open, \
/freebsd/lib/libsys/x86/
H A D__vdso_gettc.c264 (fd = _open(devname, O_RDONLY | O_CLOEXEC)) == -1) { in __vdso_init_hpet()
300 fd = _open(HYPERV_REFTSC_DEVPATH, O_RDONLY | O_CLOEXEC); in __vdso_init_hyperv_tsc()
389 (fd = _open("/dev/" PVCLOCK_CDEVNAME, O_RDONLY | O_CLOEXEC)) < 0) in __vdso_init_pvclock_timeinfos()
/freebsd/lib/libc/stdio/
H A Dfreopen.c149 f = _open(file, oflags, DEFFILEMODE); in freopen()
156 f = _open(file, oflags, DEFFILEMODE); in freopen()
H A Dfopen.c58 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
/freebsd/libexec/rtld-elf/rtld-libc/
H A Dnamespace.h33 #define open _open
/freebsd/contrib/libpcap/testprogs/
H A Dunix.h46 #define open _open
/freebsd/tools/build/libc-bootstrap/
H A Dnamespace.h38 #define _open(...) open(__VA_ARGS__) macro
/freebsd/lib/libc/gmon/
H A Dgmon.c154 fd = _open(outname, O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0666); in _mcleanup()
160 log = _open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0664); in _mcleanup()
/freebsd/lib/libc/iconv/
H A Dcitrus_mmap.c62 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) in _citrus_map_file()
/freebsd/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h93 #define open _open
/freebsd/crypto/openssl/ms/
H A Dapplink.c129 OPENSSL_ApplinkTable[APPLINK_OPEN] = _open; in OPENSSL_Applink()
/freebsd/contrib/tcpdump/
H A Dnetdissect-stdinc.h170 #define open _open
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c32 #define open _open
H A Dtest_read_data_large.c36 #define open _open
/freebsd/lib/libc/locale/
H A Dldpart.c90 if ((fd = _open(filename, O_RDONLY | O_CLOEXEC)) < 0) in __part_load_locale()
/freebsd/sys/contrib/zlib/
H A Dgzguts.h46 # define open _open

123