/kernel/linux/linux-5.10/fs/ |
H A D | fhandle.c | 22 struct file_handle f_handle; in do_sys_name_to_handle() local 34 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle() 37 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle() 40 handle = kzalloc(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() 50 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 56 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle() 153 (struct fid *)handle->f_handle, in do_handle_to_path() 171 struct file_handle f_handle; in handle_to_path() local 183 if (copy_from_user(&f_handle, uf in handle_to_path() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | fhandle.c | 22 struct file_handle f_handle; in do_sys_name_to_handle() local 37 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle() 40 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle() 43 handle = kzalloc(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() 53 (struct fid *)handle->f_handle, in do_sys_name_to_handle() 59 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle() 160 (struct fid *)handle->f_handle, in do_handle_to_path() 178 struct file_handle f_handle; in handle_to_path() local 190 if (copy_from_user(&f_handle, uf in handle_to_path() [all...] |
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/ |
H A D | amd_pstate_trace.py | 165 f_handle = open('cpu.csv', 'a') 167 f_handle.write(string_buffer) 168 f_handle.close() 181 f_handle = open('cpu.csv', 'a') 182 f_handle.write('common_cpu, common_secs, common_usecs, min_perf, des_perf, max_perf, freq, mperf, aperf, tsc, load, duration_ms, sample_num, elapsed_time, common_comm') 183 f_handle.write('\n') 184 f_handle.close()
|
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 335 f_handle = open('cpu.csv', 'a') 337 f_handle.write(string_buffer); 338 f_handle.close() 369 f_handle = open('cpu.csv', 'a') 370 f_handle.write('common_cpu, common_secs, common_usecs, core_busy, scaled_busy, from, to, mperf, aperf, tsc, freq, boost, load, duration_ms, sample_num, elapsed_time, tsc_ghz, common_comm') 371 f_handle.write('\n') 372 f_handle.close() 378 f_handle = open('/sys/kernel/debug/tracing/trace', 'w') 379 f_handle.close()
|
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 335 f_handle = open('cpu.csv', 'a') 337 f_handle.write(string_buffer); 338 f_handle.close() 367 f_handle = open('cpu.csv', 'a') 368 f_handle.write('common_cpu, common_secs, common_usecs, core_busy, scaled_busy, from, to, mperf, aperf, tsc, freq, boost, load, duration_ms, sample_num, elapsed_time, tsc_ghz, common_comm') 369 f_handle.write('\n') 370 f_handle.close() 376 f_handle = open('/sys/kernel/tracing/trace', 'w') 377 f_handle.close()
|
/kernel/linux/linux-6.6/samples/fanotify/ |
H A D | fs-monitor.c | 38 uint32_t *h = (uint32_t *) fh->f_handle; in print_fh() 42 printf("%hhx", fh->f_handle[i]); in print_fh()
|
/kernel/linux/linux-5.10/fs/notify/ |
H A D | fdinfo.c | 52 ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, NULL); in show_mark_fhandle() 61 seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", in show_mark_fhandle() 65 seq_printf(m, "%02x", (int)f.handle.f_handle[i]); in show_mark_fhandle()
|
/kernel/linux/linux-6.6/fs/notify/ |
H A D | fdinfo.c | 53 ret = exportfs_encode_fid(inode, (struct fid *)f.handle.f_handle, &size); in show_mark_fhandle() 62 seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", in show_mark_fhandle() 66 seq_printf(m, "%02x", (int)f.handle.f_handle[i]); in show_mark_fhandle()
|
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | svcsubs.c | 94 nfserr = nlmsvc_ops->fopen(rqstp, &file->f_handle, fp, mode); in nlm_do_fopen() 122 if (!nfs_compare_fh(&file->f_handle, &lock->fh)) { in nlm_lookup_file() 135 memcpy(&file->f_handle, &lock->fh, sizeof(struct nfs_fh)); in nlm_lookup_file()
|
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | svcsubs.c | 99 if (!nfs_compare_fh(&file->f_handle, f)) in nlm_lookup_file() 109 memcpy(&file->f_handle, f, sizeof(struct nfs_fh)); in nlm_lookup_file()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 286 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id()
|
/kernel/linux/linux-5.10/include/linux/lockd/ |
H A D | lockd.h | 156 struct nfs_fh f_handle; /* NFS file handle */ member
|
/kernel/linux/linux-6.6/include/linux/lockd/ |
H A D | lockd.h | 157 struct nfs_fh f_handle; /* NFS file handle */ member
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 445 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fs.h | 965 unsigned char f_handle[]; member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fs.h | 1039 unsigned char f_handle[]; member
|