Changeset 4198f9c3 in mainline for uspace/srv/fs


Ignore:
Timestamp:
2009-06-28T13:43:15Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
852b801
Parents:
6408be3
Message:

Separate the VFS input and output protocols.

Location:
uspace/srv/fs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/devfs/devfs.c

    r6408be3 r4198f9c3  
    6868                case IPC_M_PHONE_HUNGUP:
    6969                        return;
    70                 case VFS_MOUNTED:
     70                case VFS_OUT_MOUNTED:
    7171                        devfs_mounted(callid, &call);
    7272                        break;
    73                 case VFS_MOUNT:
     73                case VFS_OUT_MOUNT:
    7474                        devfs_mount(callid, &call);
    7575                        break;
    76                 case VFS_LOOKUP:
     76                case VFS_OUT_LOOKUP:
    7777                        devfs_lookup(callid, &call);
    7878                        break;
    79                 case VFS_OPEN_NODE:
     79                case VFS_OUT_OPEN_NODE:
    8080                        devfs_open_node(callid, &call);
    8181                        break;
    82                 case VFS_DEVICE:
     82                case VFS_OUT_DEVICE:
    8383                        devfs_device(callid, &call);
    8484                        break;
    85                 case VFS_READ:
     85                case VFS_OUT_READ:
    8686                        devfs_read(callid, &call);
    8787                        break;
    88                 case VFS_WRITE:
     88                case VFS_OUT_WRITE:
    8989                        devfs_write(callid, &call);
    9090                        break;
    91                 case VFS_TRUNCATE:
     91                case VFS_OUT_TRUNCATE:
    9292                        devfs_truncate(callid, &call);
    9393                        break;
    94                 case VFS_CLOSE:
     94                case VFS_OUT_CLOSE:
    9595                        devfs_close(callid, &call);
    9696                        break;
    97                 case VFS_SYNC:
     97                case VFS_OUT_SYNC:
    9898                        devfs_sync(callid, &call);
    9999                        break;
    100                 case VFS_DESTROY:
     100                case VFS_OUT_DESTROY:
    101101                        devfs_destroy(callid, &call);
    102102                        break;
  • uspace/srv/fs/fat/fat.c

    r6408be3 r4198f9c3  
    9292                case IPC_M_PHONE_HUNGUP:
    9393                        return;
    94                 case VFS_MOUNTED:
     94                case VFS_OUT_MOUNTED:
    9595                        fat_mounted(callid, &call);
    9696                        break;
    97                 case VFS_MOUNT:
     97                case VFS_OUT_MOUNT:
    9898                        fat_mount(callid, &call);
    9999                        break;
    100                 case VFS_LOOKUP:
     100                case VFS_OUT_LOOKUP:
    101101                        fat_lookup(callid, &call);
    102102                        break;
    103                 case VFS_READ:
     103                case VFS_OUT_READ:
    104104                        fat_read(callid, &call);
    105105                        break;
    106                 case VFS_WRITE:
     106                case VFS_OUT_WRITE:
    107107                        fat_write(callid, &call);
    108108                        break;
    109                 case VFS_TRUNCATE:
     109                case VFS_OUT_TRUNCATE:
    110110                        fat_truncate(callid, &call);
    111111                        break;
    112                 case VFS_CLOSE:
     112                case VFS_OUT_CLOSE:
    113113                        fat_close(callid, &call);
    114114                        break;
    115                 case VFS_DESTROY:
     115                case VFS_OUT_DESTROY:
    116116                        fat_destroy(callid, &call);
    117117                        break;
    118                 case VFS_OPEN_NODE:
     118                case VFS_OUT_OPEN_NODE:
    119119                        fat_open_node(callid, &call);
    120120                        break;
    121                 case VFS_DEVICE:
     121                case VFS_OUT_DEVICE:
    122122                        fat_device(callid, &call);
    123123                        break;
    124                 case VFS_SYNC:
     124                case VFS_OUT_SYNC:
    125125                        fat_sync(callid, &call);
    126126                        break;
  • uspace/srv/fs/tmpfs/tmpfs.c

    r6408be3 r4198f9c3  
    9999                case IPC_M_PHONE_HUNGUP:
    100100                        return;
    101                 case VFS_MOUNTED:
     101                case VFS_OUT_MOUNTED:
    102102                        tmpfs_mounted(callid, &call);
    103103                        break;
    104                 case VFS_MOUNT:
     104                case VFS_OUT_MOUNT:
    105105                        tmpfs_mount(callid, &call);
    106106                        break;
    107                 case VFS_LOOKUP:
     107                case VFS_OUT_LOOKUP:
    108108                        tmpfs_lookup(callid, &call);
    109109                        break;
    110                 case VFS_READ:
     110                case VFS_OUT_READ:
    111111                        tmpfs_read(callid, &call);
    112112                        break;
    113                 case VFS_WRITE:
     113                case VFS_OUT_WRITE:
    114114                        tmpfs_write(callid, &call);
    115115                        break;
    116                 case VFS_TRUNCATE:
     116                case VFS_OUT_TRUNCATE:
    117117                        tmpfs_truncate(callid, &call);
    118118                        break;
    119                 case VFS_CLOSE:
     119                case VFS_OUT_CLOSE:
    120120                        tmpfs_close(callid, &call);
    121121                        break;
    122                 case VFS_DESTROY:
     122                case VFS_OUT_DESTROY:
    123123                        tmpfs_destroy(callid, &call);
    124124                        break;
    125                 case VFS_OPEN_NODE:
     125                case VFS_OUT_OPEN_NODE:
    126126                        tmpfs_open_node(callid, &call);
    127127                        break;
    128                 case VFS_DEVICE:
     128                case VFS_OUT_DEVICE:
    129129                        tmpfs_device(callid, &call);
    130130                        break;
    131                 case VFS_SYNC:
     131                case VFS_OUT_SYNC:
    132132                        tmpfs_sync(callid, &call);
    133133                        break;
     
    153153                return -1;
    154154        }
    155        
     155
    156156        int rc = fs_register(vfs_phone, &tmpfs_reg, &tmpfs_vfs_info,
    157157            tmpfs_connection);
Note: See TracChangeset for help on using the changeset viewer.