Searched refs:fd1 (Results 1 – 7 of 7) sorted by relevance
| /f-stack/tools/libutil/tests/ |
| H A D | flopen_test.c | 99 int fd1, fd2; in test_flopen_lock_self() local 102 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_self() 103 if (fd1 < 0) { in test_flopen_lock_self() 111 close(fd1); in test_flopen_lock_self() 125 volatile int fd1, fd2; in test_flopen_lock_other() local 128 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_other() 129 if (fd1 < 0) { in test_flopen_lock_other() 142 close(fd1); in test_flopen_lock_other() 157 volatile int fd1, fd2; in test_flopen_lock_child() local 161 if (fd1 < 0) { in test_flopen_lock_child() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/get_diff/ |
| H A D | get_diff.c | 46 int fd1, fd2; in main() local 56 if ((fd1 = open(fname1, O_LARGEFILE | O_RDONLY)) < 0) { in main() 68 while ((bytes = pread(fd1, buf1, DEV_BSIZE, off)) > 0) { in main() 105 (void) close(fd1); in main()
|
| /f-stack/app/redis-5.0.5/tests/support/ |
| H A D | util.tcl | 330 if {[catch {set fd1 [socket 127.0.0.1 $j]}] && 335 close $fd1
|
| /f-stack/freebsd/sys/ |
| H A D | syscallsubr.h | 186 int kern_linkat(struct thread *td, int fd1, int fd2, const char *path1,
|
| H A D | sysproto.h | 1445 char fd1_l_[PADL_(int)]; int fd1; char fd1_r_[PADR_(int)]; member
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_syscalls.c | 1488 int fd1; member 1504 return (kern_linkat(td, uap->fd1, uap->fd2, uap->path1, uap->path2, in sys_linkat() 1549 kern_linkat(struct thread *td, int fd1, int fd2, const char *path1, in kern_linkat() argument 1558 path1, fd1, &cap_linkat_source_rights, td); in kern_linkat()
|
| H A D | systrace_args.c | 2685 iarg[0] = p->fd1; /* int */ in systrace_args()
|