Home
last modified time | relevance | path

Searched refs:handle_bytes (Results 1 – 24 of 24) sorted by relevance

/external/strace/
Dfile_handle.c38 unsigned int handle_bytes; member
69 tprintf("{handle_bytes=%u", h.handle_bytes); in SYS_FUNC()
71 set_tcb_priv_ulong(tcp, h.handle_bytes); in SYS_FUNC()
81 if (i != h.handle_bytes) in SYS_FUNC()
82 tprintf(" => %u", h.handle_bytes); in SYS_FUNC()
85 if (h.handle_bytes > MAX_HANDLE_SZ) in SYS_FUNC()
86 h.handle_bytes = MAX_HANDLE_SZ; in SYS_FUNC()
87 if (!umoven(tcp, addr + sizeof(h), h.handle_bytes, in SYS_FUNC()
90 for (i = 0; i < h.handle_bytes; ++i) in SYS_FUNC()
121 h.handle_bytes, h.handle_type); in SYS_FUNC()
[all …]
/external/strace/tests-m32/
Dfile_handle.c55 unsigned int handle_bytes; member
104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at()
107 fh->handle_bytes); in do_name_to_handle_at()
131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at()
138 fh->handle_bytes); in do_open_by_handle_at()
267 handle_0->handle_bytes = 256; in main()
268 handle_8->handle_bytes = 0; in main()
269 handle_128->handle_bytes = 128; in main()
270 handle_256->handle_bytes = 256; in main()
278 handle->handle_bytes = 0; in main()
[all …]
/external/strace/tests-mx32/
Dfile_handle.c55 unsigned int handle_bytes; member
104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at()
107 fh->handle_bytes); in do_name_to_handle_at()
131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at()
138 fh->handle_bytes); in do_open_by_handle_at()
267 handle_0->handle_bytes = 256; in main()
268 handle_8->handle_bytes = 0; in main()
269 handle_128->handle_bytes = 128; in main()
270 handle_256->handle_bytes = 256; in main()
278 handle->handle_bytes = 0; in main()
[all …]
/external/strace/tests/
Dfile_handle.c55 unsigned int handle_bytes; member
104 fh->handle_bytes, fh->handle_type); in do_name_to_handle_at()
107 fh->handle_bytes); in do_name_to_handle_at()
131 printf("{handle_bytes=%u, handle_type=%d", fh->handle_bytes, in do_open_by_handle_at()
138 fh->handle_bytes); in do_open_by_handle_at()
267 handle_0->handle_bytes = 256; in main()
268 handle_8->handle_bytes = 0; in main()
269 handle_128->handle_bytes = 128; in main()
270 handle_256->handle_bytes = 256; in main()
278 handle->handle_bytes = 0; in main()
[all …]
/external/bcc/examples/cgroupid/
Dcgroupid.c23 unsigned int handle_bytes; member
52 h->handle_bytes = 8; in get_cgroupid()
59 if (h->handle_bytes != 8) { in get_cgroupid()
60 fprintf (stderr, "Unexpected handle size: %d. \n", h->handle_bytes); in get_cgroupid()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify22.c145 if (fh->handle_bytes != ex->fid->handle.handle_bytes) { in check_error_event_info_fid()
147 ex->name, fh->handle_bytes, ex->fid->handle.handle_bytes); in check_error_event_info_fid()
151 if (memcmp(fh->f_handle, ex->fid->handle.f_handle, fh->handle_bytes)) { in check_error_event_info_fid()
272 null_fid.handle.handle_bytes = 0; in init_null_fid()
Dfanotify13.c205 if (event_file_handle->handle_bytes != in do_test()
206 expected_fid->handle.handle_bytes) { in do_test()
211 event_file_handle->handle_bytes, in do_test()
212 expected_fid->handle.handle_bytes); in do_test()
231 expected_fid->handle.handle_bytes) != 0) { in do_test()
Dfanotify15.c222 } else if (event_file_handle->handle_bytes != in do_test()
223 expected->fid->handle.handle_bytes) { in do_test()
228 event_file_handle->handle_bytes, in do_test()
229 expected->fid->handle.handle_bytes); in do_test()
240 expected->fid->handle.handle_bytes) != 0) { in do_test()
Dfanotify16.c540 fhlen = file_handle->handle_bytes; in do_test()
625 } else if (fhlen != expected_fid->handle.handle_bytes) { in do_test()
634 expected_fid->handle.handle_bytes, in do_test()
727 fhlen = file_handle->handle_bytes; in do_test()
Dfanotify.h117 fid->handle.handle_bytes = MAX_HANDLE_SZ; in fanotify_save_fid()
Dfanotify09.c326 filename = (char *)file_handle->f_handle + file_handle->handle_bytes; in event_filename()
/external/ltp/include/lapi/
Dname_to_handle_at.h53 fhp = tst_alloc(sizeof(*fhp) + fh.handle_bytes); in allocate_file_handle()
55 fhp->handle_bytes = fh.handle_bytes; in allocate_file_handle()
Dfcntl.h149 unsigned int handle_bytes; member
/external/ltp/testcases/kernel/syscalls/open_by_handle_at/
Dopen_by_handle_at02.c19 static struct file_handle high_fh = {.handle_bytes = MAX_HANDLE_SZ + 1}, *high_fhp = &high_fh;
62 link_fhp = tst_alloc(sizeof(*link_fhp) + valid_fhp->handle_bytes); in setup()
64 link_fhp->handle_bytes = valid_fhp->handle_bytes; in setup()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dcgroup_helpers.c275 if (err >= 0 || fhp->handle_bytes != 8) { in get_cgroup_id()
280 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/external/ltp/testcases/kernel/syscalls/name_to_handle_at/
Dname_to_handle_at02.c17 static struct file_handle fh, high_fh = {.handle_bytes = MAX_HANDLE_SZ + 1};
/external/musl/include/
Dfcntl.h168 unsigned handle_bytes; member
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h43492 __u32 handle_bytes; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h72244 __u32 handle_bytes; member
Dvmlinux.h72244 __u32 handle_bytes; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h38660 __u32 handle_bytes; member
Dvmlinux_510.h38660 __u32 handle_bytes; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h43746 __u32 handle_bytes; member
Dvmlinux.h43746 __u32 handle_bytes; member