Home
last modified time | relevance | path

Searched refs:f_handle (Results 1 – 10 of 10) sorted by relevance

/linux/fs/
H A Dfhandle.c23 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(struct_size(handle, f_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()
85 struct_size(handle, f_handle, handle_bytes))) in do_sys_name_to_handle()
225 (struct fid *)handle->f_handle, in do_handle_to_path()
288 struct file_handle f_handle; in handle_to_path() local
[all …]
/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py164 f_handle = open('cpu.csv', 'a')
166 f_handle.write(string_buffer)
167 f_handle.close()
180 f_handle = open('cpu.csv', 'a')
181f_handle.write('common_cpu, common_secs, common_usecs, min_perf, des_perf, max_perf, freq, mperf, …
182 f_handle.write('\n')
183 f_handle.close()
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py335 f_handle = open('cpu.csv', 'a')
337 f_handle.write(string_buffer);
338 f_handle.close()
367 f_handle = open('cpu.csv', 'a')
368f_handle.write('common_cpu, common_secs, common_usecs, core_busy, scaled_busy, from, to, mperf, ap…
369 f_handle.write('\n')
370 f_handle.close()
376 f_handle = open('/sys/kernel/tracing/trace', 'w')
377 f_handle.close()
/linux/samples/fanotify/
H A Dfs-monitor.c38 uint32_t *h = (uint32_t *) fh->f_handle; in print_fh()
42 printf("%hhx", fh->f_handle[i]); in print_fh()
/linux/fs/notify/
H A Dfdinfo.c44 DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ); in show_mark_fhandle()
49 ret = exportfs_encode_fid(inode, (struct fid *)f->f_handle, &size); in show_mark_fhandle()
58 seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", in show_mark_fhandle()
62 seq_printf(m, "%02x", (int)f->f_handle[i]); in show_mark_fhandle()
/linux/fs/lockd/
H A Dsvcsubs.c94 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()
/linux/include/linux/lockd/
H A Dlockd.h157 struct nfs_fh f_handle; /* NFS file handle */ member
/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c469 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id_from_path()
/linux/Documentation/filesystems/
H A Dproc.rst2042 …7e sdev:800013 mask:800afce ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_handle:7e9e0000640d1b6d
2051 fields 'fhandle-bytes', 'fhandle-type' and 'f_handle', all in hex
2067 …013 mflags:0 mask:3b ignored_mask:40000000 fhandle-bytes:8 fhandle-type:1 f_handle:69f90400c275b5b4
/linux/include/linux/
H A Dfs.h1076 unsigned char f_handle[] __counted_by(handle_bytes);