Lines Matching refs:fhandle
196 struct file_handle fhandle; in nfs_fileupdate() local
202 fhandle.length = parent_fhandle->length; in nfs_fileupdate()
203 …(void)memcpy_s(&(fhandle.handle), fhandle.length, &(parent_fhandle->handle), parent_fhandle->lengt… in nfs_fileupdate()
204 error = nfs_lookup(nmp, filename, &fhandle, &fattr, NULL); in nfs_fileupdate()
214 error = memcpy_s(&(np->n_fhandle), NFSX_V3FHMAX, &(fhandle.handle), fhandle.length); in nfs_fileupdate()
220 np->n_fhsize = fhandle.length; in nfs_fileupdate()
854 struct file_handle fhandle; in vfs_nfs_lookup() local
860 fhandle.length = parent_nfs_node->n_fhsize; in vfs_nfs_lookup()
861 …(void)memcpy_s(&(fhandle.handle), fhandle.length, &(parent_nfs_node->n_fhandle), parent_nfs_node->… in vfs_nfs_lookup()
865 ret = nfs_lookup(nmp, filename, &fhandle, &obj_attributes, NULL); in vfs_nfs_lookup()
877 nfs_node->n_fhsize = (uint8_t)fhandle.length; in vfs_nfs_lookup()
878 memcpy_s(&(nfs_node->n_fhandle), nfs_node->n_fhsize, &(fhandle.handle), fhandle.length); in vfs_nfs_lookup()
969 struct file_handle fhandle; in vfs_nfs_readdir() local
1248 fhandle.length = (uint32_t)nfs_dir->nfs_fhsize; in vfs_nfs_readdir()
1249 … (void)memcpy_s(&fhandle.handle, DIRENT_NFS_MAXHANDLE, nfs_dir->nfs_fhandle, DIRENT_NFS_MAXHANDLE); in vfs_nfs_readdir()
1251 error = nfs_lookup(nmp, dir->fd_dir[i].d_name, &fhandle, &obj_attributes, NULL); in vfs_nfs_readdir()
1412 struct file_handle fhandle; in vfs_nfs_mkdir() local
1514 fhandle.length = parent_nfs_node->n_fhsize; in vfs_nfs_mkdir()
1515 memcpy_s(&(fhandle.handle), DIRENT_NFS_MAXHANDLE, &(parent_nfs_node->n_fhandle), fhandle.length); in vfs_nfs_mkdir()
1516 error = nfs_lookup(nmp, dirname, &fhandle, &obj_attributes, NULL); in vfs_nfs_mkdir()
1528 target_node->n_fhsize = (uint8_t)fhandle.length; in vfs_nfs_mkdir()
1529 memcpy_s(&(target_node->n_fhandle), target_node->n_fhsize, &(fhandle.handle), fhandle.length); in vfs_nfs_mkdir()