Home
last modified time | relevance | path

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

/linux/fs/
H A Dfhandle.c24 struct file_handle f_handle; in do_sys_name_to_handle() local
43 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) in do_sys_name_to_handle()
46 if (f_handle.handle_bytes > MAX_HANDLE_SZ) in do_sys_name_to_handle()
49 handle = kzalloc_flex(*handle, f_handle, f_handle.handle_bytes); in do_sys_name_to_handle()
54 handle_dwords = f_handle.handle_bytes >> 2; in do_sys_name_to_handle()
58 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
64 if ((handle->handle_bytes > f_handle.handle_bytes) || in do_sys_name_to_handle()
108 struct_size(handle, f_handle, handle_bytes))) in do_sys_name_to_handle()
274 dentry = exportfs_decode_fh_raw(mnt, (struct fid *)handle->f_handle, in do_handle_to_path()
342 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/tools/testing/selftests/namespaces/
H A Dns_active_ref_test.c742 struct nsfs_file_handle *parent_fh = (struct nsfs_file_handle *)parent_handle->f_handle; in TEST()
750 struct nsfs_file_handle *child_fh = (struct nsfs_file_handle *)child_handle->f_handle; in TEST()
1062 struct nsfs_file_handle *gp_fh = (struct nsfs_file_handle *)gp_handle->f_handle; in TEST()
1070 struct nsfs_file_handle *p_fh = (struct nsfs_file_handle *)p_handle->f_handle; in TEST()
1078 struct nsfs_file_handle *c_fh = (struct nsfs_file_handle *)c_handle->f_handle; in TEST()
1227 struct nsfs_file_handle *p_fh = (struct nsfs_file_handle *)p_handle->f_handle; in TEST()
1235 struct nsfs_file_handle *c1_fh = (struct nsfs_file_handle *)c1_handle->f_handle; in TEST()
1243 struct nsfs_file_handle *c2_fh = (struct nsfs_file_handle *)c2_handle->f_handle; in TEST()
1395 struct nsfs_file_handle *u_fh = (struct nsfs_file_handle *)u_handle->f_handle; in TEST()
1403 struct nsfs_file_handle *n_fh = (struct nsfs_file_handle *)n_handle->f_handle; in TEST()
[all …]
H A Dsiocgskns_test.c909 nsfs_fh = (struct nsfs_file_handle *)handle->f_handle; in TEST()
1167 nsfs_fh = (struct nsfs_file_handle *)handle->f_handle; in TEST()
1706 nsfs_fh = (struct nsfs_file_handle *)handle->f_handle; in TEST()
H A Dlistns_test.c102 memcpy(fh->f_handle, &nsfh, sizeof(nsfh)); in TEST()
/linux/fs/notify/
H A Dfdinfo.c45 DEFINE_FLEX(struct file_handle, f, f_handle, handle_bytes, MAX_HANDLE_SZ); in show_mark_fhandle()
53 ret = exportfs_encode_fid(inode, (struct fid *)f->f_handle, &size); in show_mark_fhandle()
66 seq_printf(m, "%02x", (int)f->f_handle[i]); in show_mark_fhandle()
/linux/samples/fanotify/
H A Dfs-monitor.c41 uint32_t *h = (uint32_t *) fh->f_handle; in print_fh()
45 printf("%hhx", fh->f_handle[i]); in print_fh()
/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.h158 struct nfs_fh f_handle; /* NFS file handle */ member
/linux/tools/testing/selftests/bpf/
H A Dcgroup_helpers.c510 memcpy(id.raw_bytes, fhp->f_handle, 8); in get_cgroup_id_from_path()
/linux/Documentation/filesystems/
H A Dproc.rst2097 inotify wd:3 ino:9e7e sdev:800013 mask:800afce ignored_mask:0 fhandle-bytes:8 fhandle-type:1 f_handle:7e9e0000640d1b6d
2106 fields 'fhandle-bytes', 'fhandle-type' and 'f_handle', all in hex
2122 fanotify ino:4f969 sdev:800013 mflags:0 mask:3b ignored_mask:40000000 fhandle-bytes:8 fhandle-type:1 f_handle:69f90400c275b5b4
/linux/include/linux/
H A Dfs.h1307 unsigned char f_handle[] __counted_by(handle_bytes);