Changeset 623 for trunk/kernel/kern/rpc.h
- Timestamp:
- Mar 6, 2019, 4:37:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/rpc.h
r619 r623 68 68 RPC_THREAD_USER_CREATE = 6, 69 69 RPC_THREAD_KERNEL_CREATE = 7, 70 RPC_ UNDEFINED_8= 8,70 RPC_VFS_FS_UPDATE_DENTRY = 8, 71 71 RPC_PROCESS_SIGACTION = 9, 72 72 … … 86 86 RPC_KCM_ALLOC = 22, 87 87 RPC_KCM_FREE = 23, 88 RPC_ UNDEFINED_24= 24,88 RPC_MAPPER_SYNC = 24, 89 89 RPC_MAPPER_HANDLE_MISS = 25, 90 90 RPC_VMM_DELETE_VSEG = 26, … … 305 305 306 306 /*********************************************************************************** 307 * [8] undefined slot 308 **********************************************************************************/ 309 310 /*********************************************************************************** 311 * [9] The RPC_PROCESS_SIGACTION allows any client thread to request to any cluster 312 * execute a given sigaction, defined by the <action_type> for a given process, 307 * [8] The RPC_VFS_FS_UPDATE_DENTRY allows a client thread to request a remote 308 * cluster to update the <size> field of a directory entry in the mapper of a 309 * remote directory inode, identified by the <inode> local pointer. 310 * The target entry name is identified by the <dentry> local pointer. 311 *********************************************************************************** 312 * @ cxy : server cluster identifier. 313 * @ inode : [in] local pointer on remote directory inode. 314 * @ dentry : [in] local pointer on remote dentry. 315 * @ size : [in] new size value. 316 * @ error : [out] error status (0 if success). 317 **********************************************************************************/ 318 void rpc_vfs_fs_update_dentry_client( cxy_t cxy, 319 struct vfs_inode_s * inode, 320 struct vfs_dentry_s * dentry, 321 uint32_t size, 322 error_t * error ); 323 324 void rpc_vfs_fs_update_dentry_server( xptr_t xp ); 325 326 /*********************************************************************************** 327 * [9] The RPC_PROCESS_SIGACTION allows a client thread to request a remote cluster 328 * to execute a given sigaction, defined by the <action_type> for a given process, 313 329 * identified by the <pid> argument. 314 330 *********************************************************************************** … … 340 356 void rpc_vfs_inode_create_client( cxy_t cxy, 341 357 uint32_t fs_type, 342 uint32_t inode_type,343 358 uint32_t attr, 344 359 uint32_t rights, … … 423 438 424 439 /*********************************************************************************** 425 * [16] The RPC_VFS_FS_GET_DENTRY calls the vfs_fs_ get_dentry()440 * [16] The RPC_VFS_FS_GET_DENTRY calls the vfs_fs_new_dentry() 426 441 * function in a remote cluster containing a parent inode directory to scan the 427 442 * associated mapper, find a directory entry identified by its name, and update … … 434 449 * @ error : [out] error status (0 if success). 435 450 **********************************************************************************/ 436 void rpc_vfs_fs_ get_dentry_client( cxy_t cxy,451 void rpc_vfs_fs_new_dentry_client( cxy_t cxy, 437 452 struct vfs_inode_s * parent_inode, 438 453 char * name, … … 440 455 error_t * error ); 441 456 442 void rpc_vfs_fs_ get_dentry_server( xptr_t xp );457 void rpc_vfs_fs_new_dentry_server( xptr_t xp ); 443 458 444 459 /*********************************************************************************** … … 564 579 565 580 /*********************************************************************************** 566 * [24] undefined slot 567 **********************************************************************************/ 581 * [24] The RPC_MAPPER_SYNC allows a client thread to synchronize on disk 582 * all dirty pages of a remote mapper. 583 *********************************************************************************** 584 * @ cxy : server cluster identifier. 585 * @ mapper : [in] local pointer on mapper in server cluster. 586 * @ error : [out] error status (0 if success). 587 **********************************************************************************/ 588 void rpc_mapper_sync_client( cxy_t cxy, 589 struct mapper_s * mapper, 590 error_t * error ); 591 592 void rpc_mapper_sync_server( xptr_t xp ); 568 593 569 594 /***********************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.