Home
last modified time | relevance | path

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

123

/src/sys/compat/linuxkpi/common/include/linux/
H A Dseq_file.h45 static int __name ## _open(struct inode *inode, struct linux_file *file) \
52 .open = __name ## _open, \
59 static int __name ## _open(struct inode *inode, struct linux_file *file) \
66 .open = __name ## _open, \
H A Dfs.h390 __fops ## _open(struct inode *inode, struct file *filp) \
396 .open = __fops ## _open, \
/src/sys/contrib/dev/iwlwifi/mld/
H A Ddebugfs.h15 static int _iwl_dbgfs_##name##_open(struct inode *inode, \
65 .open = _iwl_dbgfs_##name##_open, \
189 .open = _iwl_dbgfs_##name##_open, \
199 .open = _iwl_dbgfs_##name##_open, \
211 .open = _iwl_dbgfs_##name##_open, \
241 .open = _iwl_dbgfs_##name##_open, \
/src/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-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 Dfts.c201 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_open()
428 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in fts_read()
521 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in fts_read()
660 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_children()
1247 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
/src/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)
/src/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()
/src/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, \
/src/libexec/rtld-elf/rtld-libc/
H A Dnamespace.h33 #define open _open
/src/lib/libc/stdio/
H A Dfreopen.c153 f = _open(file, oflags, DEFFILEMODE); in freopen()
160 f = _open(file, oflags, DEFFILEMODE); in freopen()
H A Dfopen.c58 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
/src/contrib/libpcap/testprogs/
H A Dunix.h46 #define open _open
/src/tools/build/libc-bootstrap/
H A Dnamespace.h38 #define _open(...) open(__VA_ARGS__) macro
/src/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()
/src/lib/libc/iconv/
H A Dcitrus_mmap.c62 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) in _citrus_map_file()
/src/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h93 #define open _open
/src/crypto/openssl/ms/
H A Dapplink.c136 OPENSSL_ApplinkTable[APPLINK_OPEN] = _open; in OPENSSL_Applink()
/src/contrib/tcpdump/
H A Dnetdissect-stdinc.h160 #define open _open
/src/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c32 #define open _open
H A Dtest_read_data_large.c36 #define open _open
/src/lib/libc/locale/
H A Dldpart.c90 if ((fd = _open(filename, O_RDONLY | O_CLOEXEC)) < 0) in __part_load_locale()
/src/crypto/openssl/crypto/bio/
H A Dbio_local.h166 #define UP_open _open

123