Home
last modified time | relevance | path

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

/Linux-v5.15/fs/
Dfhandle.c23 int handle_dwords, handle_bytes; in do_sys_name_to_handle() local
37 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle()
40 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, in do_sys_name_to_handle()
46 handle_dwords = f_handle.handle_bytes >> 2; in do_sys_name_to_handle()
54 handle_bytes = handle_dwords * sizeof(u32); in do_sys_name_to_handle()
55 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
56 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle()
67 handle_bytes = 0; in do_sys_name_to_handle()
74 sizeof(struct file_handle) + handle_bytes)) in do_sys_name_to_handle()
151 handle_dwords = handle->handle_bytes >> 2; in do_handle_to_path()
[all …]
/Linux-v5.15/fs/notify/
Dfdinfo.c49 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle()
50 size = f.handle.handle_bytes >> 2; in show_mark_fhandle()
59 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle()
62 f.handle.handle_bytes, f.handle.handle_type); in show_mark_fhandle()
64 for (i = 0; i < f.handle.handle_bytes; i++) in show_mark_fhandle()
/Linux-v5.15/tools/testing/selftests/bpf/
Dcgroup_helpers.c276 if (err >= 0 || fhp->handle_bytes != 8) { in get_cgroup_id()
281 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/Linux-v5.15/tools/perf/util/
Dcgroup.c66 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in read_cgroup_id()
Dsynthetic-events.c537 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in perf_event__synthesize_cgroup()
/Linux-v5.15/fs/notify/fanotify/
Dfanotify_user.c370 handle.handle_bytes = fh_len; in copy_fid_info_to_user()
/Linux-v5.15/include/linux/
Dfs.h1007 __u32 handle_bytes; member