/external/linux-kselftest/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 102 unsigned int fd, target_fd; in main() local 156 target_fd = 1023; in main() 157 while (target_fd > 0) { in main() 158 if (dup2(fd, target_fd) == target_fd) in main() 160 target_fd /= 2; in main() 162 assert(target_fd > 0); in main() 164 test_lookup(target_fd); in main() 165 close(target_fd); in main()
|
/external/bcc/src/cc/ |
D | ns_guard.cc | 33 ebpf::FileDesc target_fd(open(target_path.c_str(), O_RDONLY)); in ProcMountNS() local 36 if (self_fd < 0 || target_fd < 0) in ProcMountNS() 42 if (fstat(target_fd, &target_stat) != 0) in ProcMountNS() 51 target_fd_ = std::move(target_fd); in ProcMountNS()
|
D | libbpf.c | 883 int self_fd = -1, target_fd = -1; in enter_mount_ns() local 898 target_fd = open(buf, O_RDONLY | O_CLOEXEC); in enter_mount_ns() 899 if (target_fd < 0) { in enter_mount_ns() 909 if (fstat(target_fd, &target_stat)) { in enter_mount_ns() 918 if (setns(target_fd, CLONE_NEWNS)) { in enter_mount_ns() 923 close(target_fd); in enter_mount_ns() 929 if (target_fd >= 0) in enter_mount_ns() 930 close(target_fd); in enter_mount_ns()
|
/external/libchrome/mojo/public/cpp/platform/ |
D | platform_channel.cc | 106 int target_fd) { 108 if (mapping[i].second == target_fd) 193 int target_fd = base::GlobalDescriptors::kBaseDescriptor; in PrepareToPassRemoteEndpoint() local 194 while (IsTargetDescriptorUsed(*info, target_fd)) in PrepareToPassRemoteEndpoint() 195 ++target_fd; in PrepareToPassRemoteEndpoint() 197 target_fd); in PrepareToPassRemoteEndpoint() 198 *value = base::NumberToString(target_fd); in PrepareToPassRemoteEndpoint()
|
/external/strace/tests-mx32/ |
D | bpf.c | 713 .data = { .BPF_PROG_ATTACH_data = { .target_fd = -1 } }, 714 .size = offsetofend(struct BPF_PROG_ATTACH_struct, target_fd), 720 .target_fd = -1, 735 .data = { .BPF_PROG_DETACH_data = { .target_fd = -1 } }, 736 .size = offsetofend(struct BPF_PROG_DETACH_struct, target_fd), 741 .target_fd = -1, 958 .data = { .BPF_PROG_QUERY_data = { .target_fd = -1 } }, 959 .size = offsetofend(struct BPF_PROG_QUERY_struct, target_fd), 966 .target_fd = 3141592653U, 980 .target_fd = 3141592653U, [all …]
|
/external/strace/tests-m32/ |
D | bpf.c | 713 .data = { .BPF_PROG_ATTACH_data = { .target_fd = -1 } }, 714 .size = offsetofend(struct BPF_PROG_ATTACH_struct, target_fd), 720 .target_fd = -1, 735 .data = { .BPF_PROG_DETACH_data = { .target_fd = -1 } }, 736 .size = offsetofend(struct BPF_PROG_DETACH_struct, target_fd), 741 .target_fd = -1, 958 .data = { .BPF_PROG_QUERY_data = { .target_fd = -1 } }, 959 .size = offsetofend(struct BPF_PROG_QUERY_struct, target_fd), 966 .target_fd = 3141592653U, 980 .target_fd = 3141592653U, [all …]
|
/external/strace/tests/ |
D | bpf.c | 713 .data = { .BPF_PROG_ATTACH_data = { .target_fd = -1 } }, 714 .size = offsetofend(struct BPF_PROG_ATTACH_struct, target_fd), 720 .target_fd = -1, 735 .data = { .BPF_PROG_DETACH_data = { .target_fd = -1 } }, 736 .size = offsetofend(struct BPF_PROG_DETACH_struct, target_fd), 741 .target_fd = -1, 958 .data = { .BPF_PROG_QUERY_data = { .target_fd = -1 } }, 959 .size = offsetofend(struct BPF_PROG_QUERY_struct, target_fd), 966 .target_fd = 3141592653U, 980 .target_fd = 3141592653U, [all …]
|
/external/strace/ |
D | bpf_attr_check.c | 284 static_assert(SoM(struct BPF_PROG_ATTACH_struct, target_fd) == SoM(union bpf_attr, target_fd), 286 …atic_assert(offsetof(struct BPF_PROG_ATTACH_struct, target_fd) == offsetof(union bpf_attr, target_… 315 static_assert(SoM(struct BPF_PROG_DETACH_struct, target_fd) == SoM(union bpf_attr, target_fd), 317 …atic_assert(offsetof(struct BPF_PROG_DETACH_struct, target_fd) == offsetof(union bpf_attr, target_… 494 static_assert(SoM(struct BPF_PROG_QUERY_struct, target_fd) == SoM(union bpf_attr, query.target_fd), 496 …ic_assert(offsetof(struct BPF_PROG_QUERY_struct, target_fd) == offsetof(union bpf_attr, query.targ…
|
D | bpf_attr.h | 147 uint32_t target_fd; member 158 uint32_t target_fd; member 226 uint32_t target_fd; member
|
D | bpf.c | 353 PRINT_FIELD_FD("{", attr, target_fd, tcp); in BEGIN_BPF_CMD_DECODER() 364 PRINT_FIELD_FD("{", attr, target_fd, tcp); in BEGIN_BPF_CMD_DECODER() 667 PRINT_FIELD_FD("{query={", attr, target_fd, tcp); in BEGIN_BPF_CMD_DECODER()
|
D | config.h.in | 1567 /* Define to 1 if `query.target_fd' is a member of `union bpf_attr'. */ 1579 /* Define to 1 if `target_fd' is a member of `union bpf_attr'. */
|
D | configure | 11375 ac_fn_c_check_member "$LINENO" "union bpf_attr" "query.target_fd" "ac_cv_member_union_bpf_attr_quer… 11415 ac_fn_c_check_member "$LINENO" "union bpf_attr" "target_fd" "ac_cv_member_union_bpf_attr_target_fd"…
|
/external/tensorflow/tensorflow/core/platform/posix/ |
D | posix_file_system.cc | 330 int target_fd = open(translated_target.c_str(), O_WRONLY | O_CREAT, in CopyFile() local 332 if (target_fd < 0) { in CopyFile() 346 rc = sendfile(target_fd, src_fd, &offset, static_cast<size_t>(chunk)); in CopyFile() 355 rc = write(target_fd, buffer.get(), static_cast<size_t>(chunk)); in CopyFile() 369 rc = close(target_fd); in CopyFile()
|
/external/strace/m4/ |
D | bpf_attr.m4 | 68 union bpf_attr.query.target_fd, 72 union bpf_attr.target_fd,
|
/external/iproute2/include/ |
D | bpf_util.h | 261 int bpf_prog_attach_fd(int prog_fd, int target_fd, enum bpf_attach_type type); 262 int bpf_prog_detach_fd(int target_fd, enum bpf_attach_type type);
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 379 __u32 target_fd; /* container object to attach to */ member 417 __u32 target_fd; /* container object to query */ member
|
/external/syzkaller/sys/linux/ |
D | bpf.txt | 272 target_fd fd_cgroup 335 target_fd fd_cgroup
|
/external/bcc/src/cc/compat/linux/ |
D | bpf.h | 347 __u32 target_fd; /* container object to attach to */ member 382 __u32 target_fd; /* container object to query */ member
|
/external/bcc/src/cc/includes/compat/linux/ |
D | bpf.h | 347 __u32 target_fd; /* container object to attach to */ member 382 __u32 target_fd; /* container object to query */ member
|
/external/iproute2/lib/ |
D | bpf.c | 1029 int bpf_prog_attach_fd(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_attach_fd() argument 1033 attr.target_fd = target_fd; in bpf_prog_attach_fd() 1040 int bpf_prog_detach_fd(int target_fd, enum bpf_attach_type type) in bpf_prog_detach_fd() argument 1044 attr.target_fd = target_fd; in bpf_prog_detach_fd()
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 222 __u32 target_fd; /* container object to attach to */ member
|
/external/googletest/googletest/src/ |
D | gtest-death-test.cc | 1019 add_stderr_action->fd.target_fd = STDERR_FILENO; in AssumeRole()
|