Home
last modified time | relevance | path

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

/third_party/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.h146 unsigned int handle_bytes; member
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify22.c146 if (fh->handle_bytes != ex->fid->handle.handle_bytes) { in check_error_event_info_fid()
148 ex->name, fh->handle_bytes, ex->fid->handle.handle_bytes); in check_error_event_info_fid()
152 if (memcmp(fh->f_handle, ex->fid->handle.f_handle, fh->handle_bytes)) { in check_error_event_info_fid()
273 null_fid.handle.handle_bytes = 0; in init_null_fid()
Dfanotify13.c203 if (event_file_handle->handle_bytes != in do_test()
204 expected_fid->handle.handle_bytes) { in do_test()
209 event_file_handle->handle_bytes, in do_test()
210 expected_fid->handle.handle_bytes); in do_test()
229 expected_fid->handle.handle_bytes) != 0) { in do_test()
Dfanotify15.c221 } else if (event_file_handle->handle_bytes != in do_test()
222 expected->fid->handle.handle_bytes) { in do_test()
227 event_file_handle->handle_bytes, in do_test()
228 expected->fid->handle.handle_bytes); in do_test()
239 expected->fid->handle.handle_bytes) != 0) { in do_test()
Dfanotify16.c340 fhlen = file_handle->handle_bytes; in do_test()
417 } else if (fhlen != expected_fid->handle.handle_bytes) { in do_test()
426 expected_fid->handle.handle_bytes, in do_test()
509 fhlen = file_handle->handle_bytes; in do_test()
Dfanotify09.c205 filename = (char *)file_handle->f_handle + file_handle->handle_bytes; in event_filename()
Dfanotify.h274 fid->handle.handle_bytes = MAX_HANDLE_SZ; in fanotify_save_fid()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dname_to_handle_at.c43 fhp->handle_bytes = 0; in name_to_handle_at_0100()
49 fhsize = sizeof(*fhp) + fhp->handle_bytes; in name_to_handle_at_0100()
/third_party/eudev/src/shared/
Dpath-util.c448 if (h.handle.handle_bytes == h_parent.handle.handle_bytes && in fd_is_mount_point()
450 memcmp(h.handle.f_handle, h_parent.handle.f_handle, h.handle.handle_bytes) == 0) in fd_is_mount_point()
Dmissing.h143 unsigned int handle_bytes; member
Dutil.h410 #define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
/third_party/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};
/third_party/musl/porting/uniproton/kernel/include/
Dfcntl.h168 unsigned handle_bytes; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dfcntl.h168 unsigned handle_bytes; member
/third_party/musl/porting/linux/user/include/
Dfcntl.h169 unsigned handle_bytes; member
/third_party/musl/porting/liteos_m/kernel/include/
Dfcntl.h168 unsigned handle_bytes; member
/third_party/musl/porting/liteos_m/user/include/
Dfcntl.h168 unsigned handle_bytes; member
/third_party/musl/ndk_musl_include/
Dfcntl.h168 unsigned handle_bytes; member
/third_party/musl/include/
Dfcntl.h168 unsigned handle_bytes; member