/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify22.c | 160 if (fh->handle_bytes != ex->fid->handle.handle_bytes) { in check_error_event_info_fid() 162 ex->name, fh->handle_bytes, ex->fid->handle.handle_bytes); in check_error_event_info_fid() 166 if (memcmp(fh->f_handle, ex->fid->handle.f_handle, fh->handle_bytes)) { in check_error_event_info_fid() 292 null_fid.handle.handle_bytes = 0; in init_null_fid()
|
H A D | fanotify13.c | 224 /* Verify handle_bytes returned in event */ in do_test() 225 if (event_file_handle->handle_bytes != in do_test() 226 expected_fid->handle.handle_bytes) { in do_test() 228 "handle_bytes (%x) returned in event does not " in do_test() 229 "equal to handle_bytes (%x) returned in " in do_test() 231 event_file_handle->handle_bytes, in do_test() 232 expected_fid->handle.handle_bytes); in do_test() 251 expected_fid->handle.handle_bytes) != 0) { in do_test()
|
H A D | fanotify15.c | 222 } else if (event_file_handle->handle_bytes != in do_test() 223 expected->fid->handle.handle_bytes) { in do_test() 225 "Got event: handle_bytes (%x) returned in " in do_test() 226 "event does not equal handle_bytes (%x) " 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()
|
H A D | fanotify16.c | 540 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()
|
H A D | fanotify.h | 121 fid->handle.handle_bytes = MAX_HANDLE_SZ; in fanotify_save_fid()
|
H A D | fanotify09.c | 326 filename = (char *)file_handle->f_handle + file_handle->handle_bytes; in event_filename()
|
/third_party/ltp/include/lapi/ |
H A D | name_to_handle_at.h | 53 fhp = tst_alloc(sizeof(*fhp) + fh.handle_bytes); in allocate_file_handle() 55 fhp->handle_bytes = fh.handle_bytes; in allocate_file_handle()
|
H A D | fcntl.h | 168 unsigned int handle_bytes; member
|
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/ |
H A D | open_by_handle_at02.c | 19 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/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | name_to_handle_at.c | 43 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/ |
H A D | path-util.c | 448 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()
|
H A D | missing.h | 143 unsigned int handle_bytes; member
|
H A D | util.h | 410 #define FILE_HANDLE_INIT { .handle.handle_bytes = MAX_HANDLE_SZ }
|
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/ |
H A D | name_to_handle_at02.c | 17 static struct file_handle fh, high_fh = {.handle_bytes = MAX_HANDLE_SZ + 1};
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 169 unsigned handle_bytes; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 168 unsigned handle_bytes; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 168 unsigned handle_bytes; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 168 unsigned handle_bytes; member
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 168 unsigned handle_bytes; member
|
/third_party/musl/include/ |
H A D | fcntl.h | 171 unsigned handle_bytes; member
|