Home
last modified time | relevance | path

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

/linux-6.6.21/fs/
Dfhandle.c23 int handle_dwords, handle_bytes; in do_sys_name_to_handle() local
40 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle()
43 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
49 handle_dwords = f_handle.handle_bytes >> 2; in do_sys_name_to_handle()
57 handle_bytes = handle_dwords * sizeof(u32); in do_sys_name_to_handle()
58 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
59 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle()
72 handle_bytes = 0; in do_sys_name_to_handle()
78 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
158 handle_dwords = handle->handle_bytes >> 2; in do_handle_to_path()
[all …]
/linux-6.6.21/fs/notify/
Dfdinfo.c50 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle()
51 size = f.handle.handle_bytes >> 2; in show_mark_fhandle()
60 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle()
63 f.handle.handle_bytes, f.handle.handle_type); in show_mark_fhandle()
65 for (i = 0; i < f.handle.handle_bytes; i++) in show_mark_fhandle()
/linux-6.6.21/samples/fanotify/
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.6.21/tools/testing/selftests/bpf/
Dcgroup_helpers.c427 if (err >= 0 || fhp->handle_bytes != 8) { in get_cgroup_id()
432 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/linux-6.6.21/tools/perf/util/
Dcgroup.c66 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in read_cgroup_id()
Dsynthetic-events.c567 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in perf_event__synthesize_cgroup()
/linux-6.6.21/fs/notify/fanotify/
Dfanotify_user.c463 handle.handle_bytes = fh_len; in copy_fid_info_to_user()
/linux-6.6.21/include/linux/
Dfs.h1036 __u32 handle_bytes; member