Changes in uspace/srv/fs/mfs/mfs.h [b7fd2a0:38d150e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs.h
rb7fd2a0 r38d150e 169 169 extern libfs_ops_t mfs_libfs_ops; 170 170 171 extern errno_t171 extern int 172 172 mfs_global_init(void); 173 173 174 174 /* mfs_inode.c */ 175 extern errno_t175 extern int 176 176 mfs_get_inode(struct mfs_instance *inst, struct mfs_ino_info **ino_i, 177 177 fs_index_t index); 178 178 179 extern errno_t179 extern int 180 180 mfs_put_inode(struct mfs_node *mnode); 181 181 182 extern errno_t182 extern int 183 183 mfs_inode_shrink(struct mfs_node *mnode, size_t size_shrink); 184 184 185 185 /* mfs_rw.c */ 186 extern errno_t186 extern int 187 187 mfs_read_map(uint32_t *b, const struct mfs_node *mnode, const uint32_t pos); 188 188 189 extern errno_t189 extern int 190 190 mfs_write_map(struct mfs_node *mnode, uint32_t pos, uint32_t new_zone, 191 191 uint32_t *old_zone); 192 192 193 extern errno_t193 extern int 194 194 mfs_prune_ind_zones(struct mfs_node *mnode, size_t new_size); 195 195 196 196 /* mfs_dentry.c */ 197 extern errno_t197 extern int 198 198 mfs_read_dentry(struct mfs_node *mnode, 199 199 struct mfs_dentry_info *d_info, unsigned index); 200 200 201 extern errno_t201 extern int 202 202 mfs_write_dentry(struct mfs_dentry_info *d_info); 203 203 204 extern errno_t204 extern int 205 205 mfs_remove_dentry(struct mfs_node *mnode, const char *d_name); 206 206 207 extern errno_t207 extern int 208 208 mfs_insert_dentry(struct mfs_node *mnode, const char *d_name, fs_index_t d_inum); 209 209 210 210 /* mfs_balloc.c */ 211 extern errno_t211 extern int 212 212 mfs_alloc_inode(struct mfs_instance *inst, uint32_t *inum); 213 213 214 extern errno_t214 extern int 215 215 mfs_free_inode(struct mfs_instance *inst, uint32_t inum); 216 216 217 extern errno_t217 extern int 218 218 mfs_alloc_zone(struct mfs_instance *inst, uint32_t *zone); 219 219 220 extern errno_t220 extern int 221 221 mfs_free_zone(struct mfs_instance *inst, uint32_t zone); 222 222 223 extern errno_t223 extern int 224 224 mfs_count_free_zones(struct mfs_instance *inst, uint32_t *zones); 225 225 226 extern errno_t226 extern int 227 227 mfs_count_free_inodes(struct mfs_instance *inst, uint32_t *inodes); 228 228
Note:
See TracChangeset
for help on using the changeset viewer.