Home
last modified time | relevance | path

Searched refs:fh_handle (Results 1 – 25 of 42) sorted by relevance

12

/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/nfsd/
H A Dnfsfh.c156 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
443 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
447 fhp->fh_handle.fh_fileid_type = in _fh_update()
553 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
606 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
609 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
610 fhp->fh_handle.ofh_xino = in fh_compose()
616 fhp->fh_handle.fh_size = in fh_compose()
618 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
621 fhp->fh_handle.fh_fsid, in fh_compose()
[all …]
H A Dlockd.c35 fh.fh_handle.fh_size = f->size; in nlm_fopen()
36 memcpy((char*)&fh.fh_handle.fh_base, f->data, f->size); in nlm_fopen()
H A Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
64 memcpy(fl->fh.data, &fhp->fh_handle.fh_base, fl->fh.size); in nfsd4_ff_proc_layoutget()
H A Dnfsxdr.c67 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in svcxdr_decode_fhandle()
68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
81 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in svcxdr_encode_fhandle()
H A Dnfs4layouts.c58 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map()
282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
550 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
H A Dtrace.h210 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
333 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
374 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
407 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0;
H A Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
95 memcpy(&fhp->fh_handle.fh_base, p, size); in svcxdr_decode_nfs_fh3()
125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
134 memcpy(p, &fhp->fh_handle.fh_base, size); in svcxdr_encode_nfs_fh3()
H A Dnfsfh.h32 struct knfsd_fh fh_handle; /* FH data */ member
/dports/multimedia/libv4l/linux-5.13-rc2/fs/nfsd/
H A Dnfsfh.c156 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
443 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
447 fhp->fh_handle.fh_fileid_type = in _fh_update()
553 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
606 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
609 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
610 fhp->fh_handle.ofh_xino = in fh_compose()
616 fhp->fh_handle.fh_size = in fh_compose()
618 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
621 fhp->fh_handle.fh_fsid, in fh_compose()
[all …]
H A Dlockd.c35 fh.fh_handle.fh_size = f->size; in nlm_fopen()
36 memcpy((char*)&fh.fh_handle.fh_base, f->data, f->size); in nlm_fopen()
H A Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
64 memcpy(fl->fh.data, &fhp->fh_handle.fh_base, fl->fh.size); in nfsd4_ff_proc_layoutget()
H A Dnfsxdr.c67 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in svcxdr_decode_fhandle()
68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
81 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in svcxdr_encode_fhandle()
H A Dnfs4layouts.c58 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map()
282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
550 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
H A Dtrace.h210 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
333 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
374 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
407 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0;
H A Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
95 memcpy(&fhp->fh_handle.fh_base, p, size); in svcxdr_decode_nfs_fh3()
125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
134 memcpy(p, &fhp->fh_handle.fh_base, size); in svcxdr_encode_nfs_fh3()
H A Dnfsfh.h32 struct knfsd_fh fh_handle; /* FH data */ member
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/nfsd/
H A Dnfsfh.c156 struct knfsd_fh *fh = &fhp->fh_handle; in nfsd_set_fh_dentry()
443 (fhp->fh_handle.fh_fsid + fhp->fh_handle.fh_size/4 - 1); in _fh_update()
447 fhp->fh_handle.fh_fileid_type = in _fh_update()
553 fhp->fh_handle.fh_version = version; in set_version_and_fsid_type()
606 fhp->fh_handle.fh_size = NFS_FHSIZE; in fh_compose()
609 fhp->fh_handle.ofh_xdev = fhp->fh_handle.ofh_dev; in fh_compose()
610 fhp->fh_handle.ofh_xino = in fh_compose()
616 fhp->fh_handle.fh_size = in fh_compose()
618 fhp->fh_handle.fh_auth_type = 0; in fh_compose()
621 fhp->fh_handle.fh_fsid, in fh_compose()
[all …]
H A Dlockd.c35 fh.fh_handle.fh_size = f->size; in nlm_fopen()
36 memcpy((char*)&fh.fh_handle.fh_base, f->data, f->size); in nlm_fopen()
H A Dflexfilelayout.c63 fl->fh.size = fhp->fh_handle.fh_size; in nfsd4_ff_proc_layoutget()
64 memcpy(fl->fh.data, &fhp->fh_handle.fh_base, fl->fh.size); in nfsd4_ff_proc_layoutget()
H A Dnfsxdr.c67 memcpy(&fhp->fh_handle.fh_base, p, NFS_FHSIZE); in svcxdr_decode_fhandle()
68 fhp->fh_handle.fh_size = NFS_FHSIZE; in svcxdr_decode_fhandle()
81 memcpy(p, &fhp->fh_handle.fh_base, NFS_FHSIZE); in svcxdr_encode_fhandle()
H A Dnfs4layouts.c58 const struct knfsd_fh *fh = &fhp->fh_handle; in nfsd4_alloc_devid_map()
282 if (!fh_match(&cstate->current_fh.fh_handle, in nfsd4_preprocess_layout_stateid()
550 &cstate->current_fh.fh_handle)) in nfsd4_return_client_layouts()
H A Dtrace.h210 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
333 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
374 __entry->fh_hash = knfsd_fh_hash(&fhp->fh_handle);
407 __entry->fh_hash = fhp ? knfsd_fh_hash(&fhp->fh_handle) : 0;
H A Dnfs3xdr.c94 fhp->fh_handle.fh_size = size; in svcxdr_decode_nfs_fh3()
95 memcpy(&fhp->fh_handle.fh_base, p, size); in svcxdr_decode_nfs_fh3()
125 u32 size = fhp->fh_handle.fh_size; in svcxdr_encode_nfs_fh3()
134 memcpy(p, &fhp->fh_handle.fh_base, size); in svcxdr_encode_nfs_fh3()
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/adb/
H A Dsysdeps_win32.cpp132 #define fh_handle u.handle macro
252 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_init()
256 CloseHandle( f->fh_handle ); in _fh_file_close()
257 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_close()
264 if ( !ReadFile( f->fh_handle, buf, (DWORD)len, &read_bytes, NULL ) ) { in _fh_file_read()
277 if ( !WriteFile( f->fh_handle, buf, (DWORD)len, &wrote_bytes, NULL ) ) { in _fh_file_write()
301 result = SetFilePointer( f->fh_handle, pos, NULL, method ); in _fh_file_lseek()
352 f->fh_handle = CreateFileW( path_wide.c_str(), desiredAccess, shareMode, in adb_open()
355 if ( f->fh_handle == INVALID_HANDLE_VALUE ) { in adb_open()
396 f->fh_handle = CreateFileW( path_wide.c_str(), GENERIC_WRITE, in adb_creat()
[all …]
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/adb/
H A Dsysdeps_win32.cpp133 #define fh_handle u.handle macro
242 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_init()
246 CloseHandle(f->fh_handle); in _fh_file_close()
247 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_close()
254 if (!ReadFile(f->fh_handle, buf, (DWORD)len, &read_bytes, nullptr)) { in _fh_file_read()
267 if (!WriteFile(f->fh_handle, buf, (DWORD)len, &wrote_bytes, nullptr)) { in _fh_file_write()
321 if (!SetFilePointerEx(f->fh_handle, li, &li, method)) { in _fh_file_lseek()
375 f->fh_handle = in adb_open()
378 if (f->fh_handle == INVALID_HANDLE_VALUE) { in adb_open()
418 f->fh_handle = CreateFileW(path_wide.c_str(), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, in adb_creat()
[all …]

12