Searched refs:f_handle (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/fs/
H A Dfhandle.c20 struct file_handle f_handle; do_sys_name_to_handle() local
32 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) do_sys_name_to_handle()
35 if (f_handle.handle_bytes > MAX_HANDLE_SZ) do_sys_name_to_handle()
38 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, do_sys_name_to_handle()
44 handle_dwords = f_handle.handle_bytes >> 2; do_sys_name_to_handle()
48 (struct fid *)handle->f_handle, do_sys_name_to_handle()
54 if ((handle->handle_bytes > f_handle.handle_bytes) || do_sys_name_to_handle()
152 (struct fid *)handle->f_handle, do_handle_to_path()
170 struct file_handle f_handle; handle_to_path() local
182 if (copy_from_user(&f_handle, ufh, sizeof(struct file_handle))) { handle_to_path()
186 if ((f_handle.handle_bytes > MAX_HANDLE_SZ) || handle_to_path()
187 (f_handle.handle_bytes == 0)) { handle_to_path()
191 handle = kmalloc(sizeof(struct file_handle) + f_handle.handle_bytes, handle_to_path()
198 *handle = f_handle; handle_to_path()
199 if (copy_from_user(&handle->f_handle, handle_to_path()
200 &ufh->f_handle, handle_to_path()
201 f_handle.handle_bytes)) { handle_to_path()
/linux-4.1.27/fs/notify/
H A Dfdinfo.c51 ret = exportfs_encode_inode_fh(inode, (struct fid *)f.handle.f_handle, &size, 0); show_mark_fhandle()
60 seq_printf(m, "fhandle-bytes:%x fhandle-type:%x f_handle:", show_mark_fhandle()
64 seq_printf(m, "%02x", (int)f.handle.f_handle[i]); show_mark_fhandle()
/linux-4.1.27/fs/lockd/
H A Dsvcsubs.c98 if (!nfs_compare_fh(&file->f_handle, f)) nlm_lookup_file()
108 memcpy(&file->f_handle, f, sizeof(struct nfs_fh)); nlm_lookup_file()
/linux-4.1.27/include/linux/lockd/
H A Dlockd.h152 struct nfs_fh f_handle; /* NFS file handle */ member in struct:nlm_file
/linux-4.1.27/include/linux/
H A Dfs.h871 unsigned char f_handle[0]; member in struct:file_handle

Completed in 69 milliseconds