Lines Matching refs:target_fh
7818 struct file_handle *target_fh; in do_name_to_handle_at() local
7835 target_fh = lock_user(VERIFY_WRITE, handle, total_size, 0); in do_name_to_handle_at()
7836 if (!target_fh) { in do_name_to_handle_at()
7852 memcpy(target_fh, fh, total_size); in do_name_to_handle_at()
7853 target_fh->handle_bytes = tswap32(fh->handle_bytes); in do_name_to_handle_at()
7854 target_fh->handle_type = tswap32(fh->handle_type); in do_name_to_handle_at()
7856 unlock_user(target_fh, handle, total_size); in do_name_to_handle_at()
7871 struct file_handle *target_fh; in do_open_by_handle_at() local
7881 target_fh = lock_user(VERIFY_READ, handle, total_size, 1); in do_open_by_handle_at()
7882 if (!target_fh) { in do_open_by_handle_at()
7886 fh = g_memdup(target_fh, total_size); in do_open_by_handle_at()
7888 fh->handle_type = tswap32(target_fh->handle_type); in do_open_by_handle_at()
7895 unlock_user(target_fh, handle, total_size); in do_open_by_handle_at()