Home
last modified time | relevance | path

Searched refs:fd2 (Results 1 – 8 of 8) sorted by relevance

/f-stack/tools/libutil/tests/
H A Dflopen_test.c99 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 Dother.tcl169 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 Dget_diff.c46 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 Dutil.tcl331 [catch {set fd2 [socket 127.0.0.1 [expr $j+10000]]}]} {
336 close $fd2
/f-stack/freebsd/sys/
H A Dsyscallsubr.h186 int kern_linkat(struct thread *td, int fd1, int fd2, const char *path1,
H A Dsysproto.h1447 char fd2_l_[PADL_(int)]; int fd2; char fd2_r_[PADR_(int)]; member
/f-stack/freebsd/kern/
H A Dvfs_syscalls.c1490 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 Dsystrace_args.c2687 iarg[2] = p->fd2; /* int */ in systrace_args()