| /OK3568_Linux_fs/external/linux-rga/core/ |
| H A D | rga_sync.cpp | 44 int32_t fd2; member 122 static int legacy_sync_merge(const char *name, int fd1, int fd2) in legacy_sync_merge() argument 127 data.fd2 = fd2; in legacy_sync_merge() 135 static int modern_sync_merge(const char *name, int fd1, int fd2) in modern_sync_merge() argument 140 data.fd2 = fd2; in modern_sync_merge() 151 int rga_sync_merge(const char *name, int fd1, int fd2) in rga_sync_merge() argument 159 ret = modern_sync_merge(name, fd1, fd2); in rga_sync_merge() 169 ret = legacy_sync_merge(name, fd1, fd2); in rga_sync_merge()
|
| H A D | rga_sync.h | 40 int32_t rga_sync_merge(const char* name, int32_t fd1, int32_t fd2);
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/memfd/ |
| H A D | memfd_test.c | 474 int r, fd2; in mfd_assert_shrink() local 484 fd2 = mfd_assert_open(fd, in mfd_assert_shrink() 487 close(fd2); in mfd_assert_shrink() 771 int fd, fd2; in test_seal_future_write() local 792 fd2 = mfd_assert_reopen_fd(fd); in test_seal_future_write() 794 mfd_assert_read(fd2); in test_seal_future_write() 795 mfd_assert_read_shared(fd2); in test_seal_future_write() 796 mfd_fail_write(fd2); in test_seal_future_write() 801 close(fd2); in test_seal_future_write() 889 int fd, fd2; in test_share_dup() local [all …]
|
| /OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/ |
| H A D | libsync.h | 51 int32_t fd2; member 86 static inline int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument 91 data.fd2 = fd2; in sync_merge() 121 static inline int sync_accumulate(const char *name, int *fd1, int fd2) in sync_accumulate() argument 125 assert(fd2 >= 0); in sync_accumulate() 128 *fd1 = dup(fd2); in sync_accumulate() 132 ret = sync_merge(name, *fd1, fd2); in sync_accumulate()
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | bp_signal.c | 33 static int fd2; variable 76 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2() 97 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler() 237 fd2 = bp_event(sig_handler, SIGUSR1); in test__bp_signal() 241 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal() 251 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal() 255 count2 = bp_count(fd2); in test__bp_signal() 259 close(fd2); in test__bp_signal()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_attach.c | 13 int err, fd1, fd2, fd3; in test_xdp_attach() local 27 err = bpf_prog_load(file, BPF_PROG_TYPE_XDP, &obj2, &fd2); in test_xdp_attach() 32 err = bpf_obj_get_info_by_fd(fd2, &info, &len); in test_xdp_attach() 51 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd2, XDP_FLAGS_REPLACE, in test_xdp_attach() 57 err = bpf_set_link_xdp_fd_opts(IFINDEX_LO, fd2, 0, &opts); in test_xdp_attach() 73 opts.old_fd = fd2; in test_xdp_attach()
|
| H A D | udp_limit.c | 13 int fd1 = -1, fd2 = -1; in test_udp_limit() local 39 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_udp_limit() 40 if (CHECK(fd2 >= 0, "fd2", "errno %d", errno)) in test_udp_limit() 70 if (fd2 >= 0) in test_udp_limit() 71 close(fd2); in test_udp_limit()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kcmp/ |
| H A 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 91 fd2 = open(kpath, O_RDWR, 0644); in main() 92 if (fd2 < 0) { in main() 102 sys_kcmp(pid1, pid2, KCMP_FILE, fd1, fd2), in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/proc/ |
| H A D | fd-002-posix-eq.c | 27 int fd0, fd1, fd2; in main() local 40 fd2 = open(buf, O_RDONLY); in main() 41 assert(fd2 >= 0); in main() 47 rv = fstat(fd2, &st2); in main()
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/test/ |
| H A D | corr.c | 62 int fd1,fd2; in main() local 106 fd2=open(fnam2,O_RDWR); in main() 107 if (fd2<0) { in main() 110 len2=lseek(fd2,0,SEEK_END); in main() 111 r=lseek(fd2,0,SEEK_SET); in main() 124 readin(fd2,buff2,bs); in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | reuseport_bpf.c | 311 int fd1, fd2, opt; in test_extra_filter() local 317 fd2 = socket(p.recv_family, p.protocol, 0); in test_extra_filter() 318 if (fd2 < 0) in test_extra_filter() 324 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_extra_filter() 328 attach_ebpf(fd2, 10); in test_extra_filter() 333 if (!bind(fd2, addr, sockaddr_size()) || errno != EADDRINUSE) in test_extra_filter() 392 int fd1, fd2, opt = 1; in test_filter_without_bind() local 398 fd2 = socket(AF_INET, SOCK_DGRAM, 0); in test_filter_without_bind() 399 if (fd2 < 0) in test_filter_without_bind() 403 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt))) in test_filter_without_bind() [all …]
|
| H A D | reuseaddr_conflict.c | 89 int fd1, fd2; in main() local 104 fd2 = open_port(0, 1); in main() 105 if (fd2 >= 0) in main()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sync/ |
| H A D | sync.c | 68 int sync_merge(const char *name, int fd1, int fd2) in sync_merge() argument 73 data.fd2 = fd2; in sync_merge()
|
| H A D | sync.h | 36 int sync_merge(const char *name, int fd1, int fd2);
|
| /OK3568_Linux_fs/kernel/Documentation/powerpc/ |
| H A D | cxlflash.rst | 157 referred to as fd2) that is used by the block library to initiate 166 and fd2) that are provided back to the user: 178 - A valid adapter file descriptor (fd2 >= 0) is only returned on 190 - When this ioctl returns with a valid fd2 and the return flag 192 close fd2 in the following circumstances: 195 + Following a successful recovery on the context's original fd2 197 on the fd2 associated with the source context 199 - At any time, a close on fd2 will invalidate the tokens. Applications 200 should exercise caution to only close fd2 when appropriate (outlined 292 attach, the application _must_ close the fd2 associated with the context [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | audit.h | 397 extern void __audit_fd_pair(int fd1, int fd2); 419 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument 422 __audit_fd_pair(fd1, fd2); in audit_fd_pair() 627 static inline void audit_fd_pair(int fd1, int fd2) in audit_fd_pair() argument
|
| /OK3568_Linux_fs/kernel/scripts/kconfig/ |
| H A D | confdata.c | 43 int fd1, fd2; in is_same() local 52 fd2 = open(file2, O_RDONLY); in is_same() 53 if (fd2 < 0) in is_same() 59 ret = fstat(fd2, &st2); in is_same() 70 map2 = mmap(NULL, st2.st_size, PROT_READ, MAP_PRIVATE, fd2, 0); in is_same() 79 close(fd2); in is_same()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | sync_file.h | 28 __s32 fd2; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | sync_file.h | 28 __s32 fd2; member
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | sync_file.h | 28 __s32 fd2; member
|
| /OK3568_Linux_fs/kernel/arch/nds32/include/asm/ |
| H A D | nds32_fpu_inst.h | 69 enum fd2 { enum
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0001-localedef-Add-hardlink-resolver-from-util-linux.patch | 738 + int fd2 = open(fp2->name, O_RDONLY); 739 + if (fd2 < 0) 742 + if (fstat(fd2, &st2) || !S_ISREG(st2.st_mode) 744 + close(fd2); 758 + else if ((xsz = read(fd2, ctl->iobuf2, rsize)) != rsize) 763 + close(fd2); 769 + close(fd2);
|
| /OK3568_Linux_fs/kernel/net/ |
| H A D | socket.c | 1529 int fd1, fd2, err; in __sys_socketpair() local 1549 fd2 = get_unused_fd_flags(flags); in __sys_socketpair() 1550 if (unlikely(fd2 < 0)) { in __sys_socketpair() 1552 return fd2; in __sys_socketpair() 1559 err = put_user(fd2, &usockvec[1]); in __sys_socketpair() 1606 audit_fd_pair(fd1, fd2); in __sys_socketpair() 1609 fd_install(fd2, newfile2); in __sys_socketpair() 1613 put_unused_fd(fd2); in __sys_socketpair()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | libiberty.h | 193 extern int fdmatch (int fd1, int fd2);
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | libiberty.h | 193 extern int fdmatch (int fd1, int fd2);
|