Searched refs:fd2 (Results 1 – 8 of 8) sorted by relevance
| /f-stack/tools/libutil/tests/ |
| H A D | flopen_test.c | 99 int fd1, fd2; in test_flopen_lock_self() local 106 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); in test_flopen_lock_self() 107 if (fd2 >= 0) { in test_flopen_lock_self() 109 close(fd2); in test_flopen_lock_self() 125 volatile int fd1, fd2; in test_flopen_lock_other() local 132 fd2 = -42; in test_flopen_lock_other() 135 close(fd2); in test_flopen_lock_other() 138 if (fd2 == -42) in test_flopen_lock_other() 140 if (fd2 >= 0) in test_flopen_lock_other() 157 volatile int fd1, fd2; in test_flopen_lock_child() local [all …]
|
| /f-stack/app/redis-5.0.5/tests/unit/ |
| H A D | other.tcl | 169 set fd2 [socket $::host $::port] 172 flush $fd2 173 gets $fd2 179 puts -nonewline $fd2 $q 182 puts -nonewline $fd2 $q 184 flush $fd2 187 gets $fd2 line 188 gets $fd2 count 190 set val [read $fd2 $count] 191 read $fd2 2 [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 63 if ((fd2 = open(fname2, O_LARGEFILE | O_RDONLY)) < 0) { in main() 69 if (pread(fd2, buf2, DEV_BSIZE, off) < 0) { in main() 106 (void) close(fd2); in main()
|
| /f-stack/app/redis-5.0.5/tests/support/ |
| H A D | util.tcl | 331 [catch {set fd2 [socket 127.0.0.1 [expr $j+10000]]}]} { 336 close $fd2
|
| /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 | 1447 char fd2_l_[PADL_(int)]; int fd2; char fd2_r_[PADR_(int)]; member
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_syscalls.c | 1490 int fd2; 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 1562 error = kern_linkat_vp(td, nd.ni_vp, fd2, path2, segflag); in kern_linkat()
|
| H A D | systrace_args.c | 2687 iarg[2] = p->fd2; /* int */ in systrace_args()
|