Home
last modified time | relevance | path

Searched refs:fd1 (Results 1 – 7 of 7) sorted by relevance

/f-stack/tools/libutil/tests/
H A Dflopen_test.c99 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 Dget_diff.c46 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 Dutil.tcl330 if {[catch {set fd1 [socket 127.0.0.1 $j]}] &&
335 close $fd1
/f-stack/freebsd/sys/
H A Dsyscallsubr.h186 int kern_linkat(struct thread *td, int fd1, int fd2, const char *path1,
H A Dsysproto.h1445 char fd1_l_[PADL_(int)]; int fd1; char fd1_r_[PADR_(int)]; member
/f-stack/freebsd/kern/
H A Dvfs_syscalls.c1488 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 Dsystrace_args.c2685 iarg[0] = p->fd1; /* int */ in systrace_args()