Changeset b33870b in mainline
- Timestamp:
- 2011-09-06T09:44:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7e9fce6
- Parents:
- 80a96d2
- Location:
- uspace
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fs/libfs.c
r80a96d2 rb33870b 837 837 stat.is_directory = ops->is_directory(fn); 838 838 stat.size = ops->size_get(fn); 839 stat.service = ops-> device_get(fn);839 stat.service = ops->service_get(fn); 840 840 841 841 ops->node_put(fn); -
uspace/lib/fs/libfs.h
r80a96d2 rb33870b 92 92 bool (* is_directory)(fs_node_t *); 93 93 bool (* is_file)(fs_node_t *); 94 service_id_t (* device_get)(fs_node_t *);94 service_id_t (* service_get)(fs_node_t *); 95 95 } libfs_ops_t; 96 96 -
uspace/srv/fs/cdfs/cdfs_ops.c
r80a96d2 rb33870b 629 629 } 630 630 631 static service_id_t cdfs_ device_get(fs_node_t *fn)631 static service_id_t cdfs_service_get(fs_node_t *fn) 632 632 { 633 633 return 0; … … 650 650 .is_directory = cdfs_is_directory, 651 651 .is_file = cdfs_is_file, 652 . device_get = cdfs_device_get652 .service_get = cdfs_service_get 653 653 }; 654 654 -
uspace/srv/fs/exfat/exfat_ops.c
r80a96d2 rb33870b 87 87 static bool exfat_is_directory(fs_node_t *); 88 88 static bool exfat_is_file(fs_node_t *node); 89 static service_id_t exfat_ device_get(fs_node_t *node);89 static service_id_t exfat_service_get(fs_node_t *node); 90 90 91 91 /* … … 898 898 } 899 899 900 service_id_t exfat_ device_get(fs_node_t *node)900 service_id_t exfat_service_get(fs_node_t *node) 901 901 { 902 902 return 0; … … 921 921 .is_directory = exfat_is_directory, 922 922 .is_file = exfat_is_file, 923 . device_get = exfat_device_get923 .service_get = exfat_service_get 924 924 }; 925 925 -
uspace/srv/fs/ext2fs/ext2fs_ops.c
r80a96d2 rb33870b 112 112 static bool ext2fs_is_directory(fs_node_t *); 113 113 static bool ext2fs_is_file(fs_node_t *node); 114 static service_id_t ext2fs_ device_get(fs_node_t *node);114 static service_id_t ext2fs_service_get(fs_node_t *node); 115 115 116 116 /* … … 557 557 } 558 558 559 service_id_t ext2fs_ device_get(fs_node_t *fn)559 service_id_t ext2fs_service_get(fs_node_t *fn) 560 560 { 561 561 EXT2FS_DBG(""); … … 581 581 .is_directory = ext2fs_is_directory, 582 582 .is_file = ext2fs_is_file, 583 . device_get = ext2fs_device_get583 .service_get = ext2fs_service_get 584 584 }; 585 585 -
uspace/srv/fs/fat/fat_ops.c
r80a96d2 rb33870b 90 90 static bool fat_is_directory(fs_node_t *); 91 91 static bool fat_is_file(fs_node_t *node); 92 static service_id_t fat_ device_get(fs_node_t *node);92 static service_id_t fat_service_get(fs_node_t *node); 93 93 94 94 /* … … 838 838 } 839 839 840 service_id_t fat_ device_get(fs_node_t *node)840 service_id_t fat_service_get(fs_node_t *node) 841 841 { 842 842 return 0; … … 860 860 .is_directory = fat_is_directory, 861 861 .is_file = fat_is_file, 862 . device_get = fat_device_get862 .service_get = fat_service_get 863 863 }; 864 864 -
uspace/srv/fs/locfs/locfs_ops.c
r80a96d2 rb33870b 418 418 } 419 419 420 static service_id_t locfs_ device_get(fs_node_t *fn)420 static service_id_t locfs_service_get(fs_node_t *fn) 421 421 { 422 422 locfs_node_t *node = (locfs_node_t *) fn->data; … … 445 445 .is_directory = locfs_is_directory, 446 446 .is_file = locfs_is_file, 447 . device_get = locfs_device_get447 .service_get = locfs_service_get 448 448 }; 449 449 -
uspace/srv/fs/minixfs/mfs_ops.c
r80a96d2 rb33870b 55 55 static int mfs_has_children(bool *has_children, fs_node_t *fsnode); 56 56 static int mfs_root_get(fs_node_t **rfn, service_id_t service_id); 57 static service_id_t mfs_ device_get(fs_node_t *fsnode);57 static service_id_t mfs_service_get(fs_node_t *fsnode); 58 58 static aoff64_t mfs_size_get(fs_node_t *node); 59 59 static int mfs_match(fs_node_t **rfn, fs_node_t *pfn, const char *component); … … 81 81 .size_get = mfs_size_get, 82 82 .root_get = mfs_root_get, 83 . device_get = mfs_device_get,83 .service_get = mfs_service_get, 84 84 .is_directory = mfs_is_directory, 85 85 .is_file = mfs_is_file, … … 325 325 } 326 326 327 service_id_t mfs_ device_get(fs_node_t *fsnode)327 service_id_t mfs_service_get(fs_node_t *fsnode) 328 328 { 329 329 struct mfs_node *node = fsnode->data; -
uspace/srv/fs/tmpfs/tmpfs_ops.c
r80a96d2 rb33870b 114 114 } 115 115 116 static service_id_t tmpfs_ device_get(fs_node_t *fn)116 static service_id_t tmpfs_service_get(fs_node_t *fn) 117 117 { 118 118 return 0; … … 136 136 .is_directory = tmpfs_is_directory, 137 137 .is_file = tmpfs_is_file, 138 . device_get = tmpfs_device_get138 .service_get = tmpfs_service_get 139 139 }; 140 140
Note:
See TracChangeset
for help on using the changeset viewer.