Searched refs:fd2 (Results 51 - 66 of 66) sorted by relevance

123

/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_file.c186 error = kern_linkat(td, uap->fd1.fd, uap->fd2, path1, path2,
531 error = kern_renameat(td, uap->fd1, old, uap->fd2, new,
/freebsd-11-stable/sys/compat/cloudabi32/
H A Dcloudabi32_systrace_args.c187 iarg[3] = p->fd2; /* cloudabi_fd_t */
231 iarg[3] = p->fd2; /* cloudabi_fd_t */
H A Dcloudabi32_proto.h127 char fd2_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd2; char fd2_r_[PADR_(cloudabi_fd_t)]; member in struct:cloudabi_sys_file_link_args
155 char fd2_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd2; char fd2_r_[PADR_(cloudabi_fd_t)]; member in struct:cloudabi_sys_file_rename_args
/freebsd-11-stable/sys/compat/cloudabi64/
H A Dcloudabi64_systrace_args.c187 iarg[3] = p->fd2; /* cloudabi_fd_t */
231 iarg[3] = p->fd2; /* cloudabi_fd_t */
H A Dcloudabi64_proto.h127 char fd2_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd2; char fd2_r_[PADR_(cloudabi_fd_t)]; member in struct:cloudabi_sys_file_link_args
155 char fd2_l_[PADL_(cloudabi_fd_t)]; cloudabi_fd_t fd2; char fd2_r_[PADR_(cloudabi_fd_t)]; member in struct:cloudabi_sys_file_rename_args
/freebsd-11-stable/contrib/dialog/
H A Dutil.c299 int fd1, fd2; local
331 && (fd2 = dup(fileno(stdin))) >= 0) {
333 dialog_state.pipe_input = fdopen(fd2, "r");
342 if ((fd2 = dup(fileno(stdin))) >= 0) {
343 dialog_state.pipe_input = fdopen(fd2, "r");
/freebsd-11-stable/sys/sys/
H A Dsyscallsubr.h153 int kern_linkat(struct thread *td, int fd1, int fd2, char *path1,
H A Dsysproto.h1534 char fd2_l_[PADL_(int)]; int fd2; char fd2_r_[PADR_(int)]; member in struct:linkat_args
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_http.c862 evutil_socket_t fd1=-1, fd2=-1, fd3=-1; local
894 fd2 = http_connect("127.0.0.1", port);
895 tt_int_op(fd2, >=, 0);
897 bev2 = bufferevent_socket_new(data->base, fd2, 0);
957 if (fd2 >= 0)
958 evutil_closesocket(fd2);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2834 int fd2 = REAL(accept)(fd, addr, addrlen);
2835 if (fd2 >= 0) {
2836 if (fd >= 0) COMMON_INTERCEPTOR_FD_SOCKET_ACCEPT(ctx, fd, fd2);
2840 return fd2;
2859 int fd2 = REAL(accept4)(fd, addr, addrlen, f);
2860 if (fd2 >= 0) {
2861 if (fd >= 0) COMMON_INTERCEPTOR_FD_SOCKET_ACCEPT(ctx, fd, fd2);
2865 return fd2;
2883 int fd2 = REAL(paccept)(fd, addr, addrlen, set, f);
2884 if (fd2 >
[all...]
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_oncore.c599 int fd1, fd2; local
651 /* opening different devices for fd1 and fd2 presents no problems */
682 oncore_log_f(instance, LOG_ERR, "Can't stat fd2 (%s) %d %m",
701 fd2 = fd1;
705 if ((fd2=tty_open(device2, O_RDWR, 0777)) < 0) {
707 "Can't open fd2 (%s)", device2);
714 if (time_pps_create(fd2, &instance->pps_h) < 0) {
722 instance->ppsfd = fd2;
/freebsd-11-stable/sys/kern/
H A Dvfs_syscalls.c1302 int fd2; member in struct:linkat_args
1316 return (kern_linkat(td, uap->fd1, uap->fd2, uap->path1, uap->path2,
1360 kern_linkat(struct thread *td, int fd1, int fd2, char *path1, char *path2, argument
1383 LOCKPARENT | SAVENAME | AUDITVNODE2 | NOCACHE, segflg, path2, fd2,
H A Dsystrace_args.c2869 iarg[2] = p->fd2; /* int */
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h2518 #define __sanitizer_syscall_pre_linkat(fd1, name1, fd2, name2, flags) \
2520 (long long)(fd2), (long long)(name2), \
2522 #define __sanitizer_syscall_post_linkat(res, fd1, name1, fd2, name2, flags) \
2524 (long long)(name1), (long long)(fd2), \
4643 long long fd2, long long name2,
4646 long long name1, long long fd2,
/freebsd-11-stable/contrib/file/
H A Dconfigure14326 int fd, fd2;
14346 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
14347 if (fd2 < 0)
14350 if (write (fd2, cdata2, 1) != 1)
14352 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
14358 close (fd2);
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_systrace_args.c2803 iarg[2] = p->fd2; /* int */

Completed in 408 milliseconds

123