Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A 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 = kzalloc(struct_size(handle, f_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 struct_size(handle, f_handle, handle_bytes))) in do_sys_name_to_handle()
158 handle_dwords = handle->handle_bytes >> 2; in do_handle_to_path()
[all …]
/openbmc/linux/fs/notify/
H A Dfdinfo.c50 f.handle.handle_bytes = sizeof(f.pad); in show_mark_fhandle()
51 size = f.handle.handle_bytes >> 2; in show_mark_fhandle()
58 f.handle.handle_bytes = size * sizeof(u32); in show_mark_fhandle()
61 f.handle.handle_bytes, f.handle.handle_type); in show_mark_fhandle()
63 for (i = 0; i < f.handle.handle_bytes; i++) in show_mark_fhandle()
/openbmc/linux/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()
/openbmc/linux/tools/testing/selftests/bpf/
H A 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()
/openbmc/linux/tools/perf/util/
H A Dcgroup.c66 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in read_cgroup_id()
H A Dsynthetic-events.c567 handle.fh.handle_bytes = sizeof(handle.cgroup_id); in perf_event__synthesize_cgroup()
/openbmc/linux/include/linux/
H A Dfs.h1036 __u32 handle_bytes; member
1039 unsigned char f_handle[] __counted_by(handle_bytes);
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify_user.c456 handle.handle_bytes = fh_len; in copy_fid_info_to_user()
/openbmc/qemu/linux-user/
H A Dsyscall.c7887 fh->handle_bytes = size; in do_name_to_handle_at()
7898 target_fh->handle_bytes = tswap32(fh->handle_bytes); in do_name_to_handle_at()
7932 fh->handle_bytes = size; in do_open_by_handle_at()