Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/tools/testing/selftests/bpf/
Dcgroup_helpers.c395 if (err >= 0 || fhp->handle_bytes != 8) { in get_cgroup_id()
400 fhsize = sizeof(struct file_handle) + fhp->handle_bytes; in get_cgroup_id()
/Linux-v6.1/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-v6.1/fs/notify/fanotify/
Dfanotify_user.c423 handle.handle_bytes = fh_len; in copy_fid_info_to_user()
/Linux-v6.1/include/linux/
Dfs.h982 __u32 handle_bytes; member