/Linux-v5.4/tools/testing/selftests/net/ |
D | reuseaddr_conflict.c | 89 int fd1, fd2; in main() local 96 fd1 = open_port(0, 1); in main() 97 if (fd1 >= 0) in main() 100 fd1 = open_port(1, 1); in main() 101 if (fd1 < 0) in main() 107 close(fd1); in main() 109 fd1 = open_port(0, 1); in main() 110 if (fd1 >= 0) in main()
|
D | reuseport_bpf.c | 311 int fd1, fd2, opt; in test_extra_filter() local 314 fd1 = socket(p.recv_family, p.protocol, 0); in test_extra_filter() 315 if (fd1 < 0) in test_extra_filter() 322 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 327 attach_ebpf(fd1, 10); in test_extra_filter() 330 if (bind(fd1, addr, sockaddr_size())) in test_extra_filter() 392 int fd1, fd2, opt = 1; in test_filter_without_bind() local 395 fd1 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind() 396 if (fd1 < 0) in test_filter_without_bind() 401 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() [all …]
|
/Linux-v5.4/tools/testing/selftests/kcmp/ |
D | kcmp_test.c | 23 static long sys_kcmp(int pid1, int pid2, int type, unsigned long fd1, unsigned long fd2) in sys_kcmp() argument 25 return syscall(__NR_kcmp, pid1, pid2, type, fd1, fd2); in sys_kcmp() 37 int fd1, fd2; in main() local 42 fd1 = open(kpath, O_RDWR | O_CREAT | O_TRUNC, 0644); in main() 45 if (fd1 < 0) { in main() 102 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main() 114 ret = sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd1); in main()
|
/Linux-v5.4/tools/perf/tests/ |
D | bp_signal.c | 32 static int fd1; variable 80 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 101 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 241 fd1 = bp_event(__test_function, SIGIO); in test__bp_signal() 245 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal() 255 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal() 259 count1 = bp_count(fd1); in test__bp_signal() 263 close(fd1); in test__bp_signal()
|
/Linux-v5.4/tools/testing/selftests/proc/ |
D | fd-002-posix-eq.c | 27 int fd0, fd1, fd2; in main() local 36 fd1 = open(buf, O_RDONLY); in main() 37 assert(fd1 >= 0); in main() 45 rv = fstat(fd1, &st1); in main()
|
D | proc-pid-vm.c | 158 int fd, fd1; in make_exe() local 205 fd1 = open(buf, O_RDONLY|O_CLOEXEC); in make_exe() 208 return fd1; in make_exe()
|
/Linux-v5.4/tools/testing/selftests/sync/ |
D | sync.c | 68 int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument 77 err = ioctl(fd1, SYNC_IOC_MERGE, &data); in sync_merge()
|
D | sync.h | 36 int sync_merge(const char *name, int fd1, int fd2);
|
/Linux-v5.4/include/linux/ |
D | audit.h | 367 extern void __audit_fd_pair(int fd1, int fd2); 387 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument 390 __audit_fd_pair(fd1, fd2); in audit_fd_pair() 593 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument
|
/Linux-v5.4/scripts/kconfig/ |
D | confdata.c | 43 int fd1, fd2; in is_same() local 48 fd1 = open(file1, O_RDONLY); in is_same() 49 if (fd1 < 0) in is_same() 56 ret = fstat(fd1, &st1); in is_same() 66 map1 = mmap(NULL, st1.st_size, PROT_READ, MAP_PRIVATE, fd1, 0); in is_same() 81 close(fd1); in is_same()
|
/Linux-v5.4/arch/nds32/include/asm/ |
D | nds32_fpu_inst.h | 49 enum fd1 { enum
|
/Linux-v5.4/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 970 u32 d0, d1, td0, td1, fd0, fd1; in carl9170_init_rf_bank4_pwr() local 1019 fd1 = td1 << 5 | td0; in carl9170_init_rf_bank4_pwr() 1024 carl9170_regwrite(0x1c58e8, fd1); in carl9170_init_rf_bank4_pwr()
|
/Linux-v5.4/net/ |
D | socket.c | 1530 int fd1, fd2, err; in __sys_socketpair() local 1546 fd1 = get_unused_fd_flags(flags); in __sys_socketpair() 1547 if (unlikely(fd1 < 0)) in __sys_socketpair() 1548 return fd1; in __sys_socketpair() 1552 put_unused_fd(fd1); in __sys_socketpair() 1556 err = put_user(fd1, &usockvec[0]); in __sys_socketpair() 1607 audit_fd_pair(fd1, fd2); in __sys_socketpair() 1609 fd_install(fd1, newfile1); in __sys_socketpair() 1615 put_unused_fd(fd1); in __sys_socketpair()
|
/Linux-v5.4/drivers/net/ |
D | gtp.c | 848 u32 fd1 = nla_get_u32(data[IFLA_GTP_FD1]); in gtp_encap_enable() local 850 sk1u = gtp_encap_enable_socket(fd1, UDP_ENCAP_GTP1U, gtp); in gtp_encap_enable()
|
/Linux-v5.4/kernel/ |
D | auditsc.c | 2337 void __audit_fd_pair(int fd1, int fd2) in __audit_fd_pair() argument 2340 context->fds[0] = fd1; in __audit_fd_pair()
|
/Linux-v5.4/Documentation/powerpc/ |
D | cxlflash.rst | 144 (herein referred to as fd1) that should be used for issuing the
|
/Linux-v5.4/Documentation/m68k/ |
D | kernel-options.rst | 96 /dev/fd0 stands for the first drive, /dev/fd1 for the second, and so
|
/Linux-v5.4/Documentation/admin-guide/ |
D | devices.txt | 51 1 = /dev/fd1 Controller 0, drive 1, autodetect
|