Home
last modified time | relevance | path

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

/linux-6.15/fs/
H A Dfhandle.c24 int handle_dwords, handle_bytes; in do_sys_name_to_handle() local
45 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle()
54 handle_dwords = f_handle.handle_bytes >> 2; in do_sys_name_to_handle()
62 handle_bytes = handle_dwords * sizeof(u32); in do_sys_name_to_handle()
63 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
64 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle()
77 handle_bytes = 0; in do_sys_name_to_handle()
256 handle_dwords = handle->handle_bytes >> 2; in do_handle_to_path()
346 if ((f_handle.handle_bytes > MAX_HANDLE_SZ) || in handle_to_path()
347 (f_handle.handle_bytes == 0)) { in handle_to_path()
[all …]
/linux-6.15/fs/notify/
H A Dfdinfo.c44 DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ); in show_mark_fhandle()
47 size = f->handle_bytes >> 2; in show_mark_fhandle()
54 f->handle_bytes = size * sizeof(u32); in show_mark_fhandle()
57 f->handle_bytes, f->handle_type); in show_mark_fhandle()
59 for (i = 0; i < f->handle_bytes; i++) in show_mark_fhandle()
/linux-6.15/tools/testing/selftests/pidfd/
H A Dpidfd_file_handle_test.c154 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
201 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
247 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
283 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
322 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
361 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
419 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
440 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
466 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
488 fh->handle_bytes = MAX_HANDLE_SZ; in TEST_F()
/linux-6.15/samples/fanotify/
H A Dfs-monitor.c41 for (i = 0; i < fh->handle_bytes; i++) in print_fh()
48 else if (fh->handle_type == FILEID_INVALID && !fh->handle_bytes) in print_fh()
/linux-6.15/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c451 if (err >= 0 || fhp->handle_bytes != 8) { in get_cgroup_id_from_path()
456 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id_from_path()
/linux-6.15/tools/perf/util/
H A Dcgroup.c59 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in __read_cgroup_id()
H A Dsynthetic-events.c568 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in perf_event__synthesize_cgroup()
/linux-6.15/include/linux/
H A Dfs.h1125 __u32 handle_bytes; member
1128 unsigned char f_handle[] __counted_by(handle_bytes);
/linux-6.15/fs/notify/fanotify/
H A Dfanotify_user.c503 handle.handle_bytes = fh_len; in copy_fid_info_to_user()