Changeset 238 for trunk/kernel/kern/rpc.h
- Timestamp:
- Jul 19, 2017, 3:31:39 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r188 r238 71 71 RPC_VFS_FILE_CREATE = 14, 72 72 RPC_VFS_FILE_DESTROY = 15, 73 RPC_FATFS_GET_CLUSTER = 16, 73 RPC_VFS_INODE_LOAD = 16, 74 RPC_VFS_MAPPER_LOAD_ALL = 17, 75 RPC_FATFS_GET_CLUSTER = 18, 74 76 75 77 RPC_VMM_GET_REF_VSEG = 20, … … 421 423 void rpc_vfs_file_destroy_server( xptr_t xp ); 422 424 423 /*********************************************************************************** 424 * [16] The RPC_FATFS_GET_CLUSTER can be send by any thread running in a "client" 425 /*********************************************************************************** 426 * [16] The RPC_VFS_LOAD_INODE calls the vfs_inode_load() kernel function in a 427 * remote cluster containing a parent inode directory to scan the associated 428 * mapper, find a directory entry, identified by its name, and update the remote 429 * child inode. 430 *********************************************************************************** 431 * @ cxy : server cluster identifier 432 * @ parent_inode : [in] local pointer on parent inode. 433 * @ name : [in] local pointer on child name (in client cluster). 434 * @ child_inode_xp : [in] extended pointer on child inode (in another cluster). 435 * @ error : [out] error status (0 if success). 436 **********************************************************************************/ 437 void rpc_vfs_inode_load_client( cxy_t cxy, 438 struct vfs_inode_s * parent_inode, 439 char * name, 440 xptr_t child_inode_xp, 441 error_t * error ); 442 443 void rpc_vfs_inode_load_server( xptr_t xp ); 444 445 /*********************************************************************************** 446 * [17] The RPC_VFS_MAPPER_LOAD_ALL calls the vfs_mapper_load_all() kernel function 447 * in a remote cluster containing an inode, to load all pages of the associated 448 * mapper from the file system on device. 449 *********************************************************************************** 450 * @ cxy : server cluster identifier 451 * @ inode : [in] local pointer on inode in server cluster. 452 * @ error : [out] error status (0 if success). 453 **********************************************************************************/ 454 void rpc_vfs_mapper_load_all_client( cxy_t cxy, 455 struct vfs_inode_s * inode, 456 error_t * error ); 457 458 void rpc_vfs_mapper_load_all_server( xptr_t xp ); 459 460 /*********************************************************************************** 461 * [18] The RPC_FATFS_GET_CLUSTER can be send by any thread running in a "client" 425 462 * cluster to scan the FAT mapper, stored in a remote "server" cluster, and get 426 463 * from the mapper the local pointer on a given page.
Note: See TracChangeset
for help on using the changeset viewer.