Changes in uspace/srv/fs/exfat/exfat_bitmap.c [b7fd2a0:f73b291] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_bitmap.c
rb7fd2a0 rf73b291 48 48 49 49 50 errno_t exfat_bitmap_is_free(exfat_bs_t *bs, service_id_t service_id,50 int exfat_bitmap_is_free(exfat_bs_t *bs, service_id_t service_id, 51 51 exfat_cluster_t clst) 52 52 { … … 55 55 exfat_node_t *bitmapp; 56 56 uint8_t *bitmap; 57 errno_t rc;57 int rc; 58 58 bool alloc; 59 59 … … 89 89 } 90 90 91 errno_t exfat_bitmap_set_cluster(exfat_bs_t *bs, service_id_t service_id,91 int exfat_bitmap_set_cluster(exfat_bs_t *bs, service_id_t service_id, 92 92 exfat_cluster_t clst) 93 93 { … … 96 96 exfat_node_t *bitmapp; 97 97 uint8_t *bitmap; 98 errno_t rc;98 int rc; 99 99 100 100 clst -= EXFAT_CLST_FIRST; … … 124 124 } 125 125 126 errno_t exfat_bitmap_clear_cluster(exfat_bs_t *bs, service_id_t service_id,126 int exfat_bitmap_clear_cluster(exfat_bs_t *bs, service_id_t service_id, 127 127 exfat_cluster_t clst) 128 128 { … … 131 131 exfat_node_t *bitmapp; 132 132 uint8_t *bitmap; 133 errno_t rc;133 int rc; 134 134 135 135 clst -= EXFAT_CLST_FIRST; … … 160 160 } 161 161 162 errno_t exfat_bitmap_set_clusters(exfat_bs_t *bs, service_id_t service_id,162 int exfat_bitmap_set_clusters(exfat_bs_t *bs, service_id_t service_id, 163 163 exfat_cluster_t firstc, exfat_cluster_t count) 164 164 { 165 errno_t rc;165 int rc; 166 166 exfat_cluster_t clst; 167 167 clst = firstc; … … 180 180 } 181 181 182 errno_t exfat_bitmap_clear_clusters(exfat_bs_t *bs, service_id_t service_id,182 int exfat_bitmap_clear_clusters(exfat_bs_t *bs, service_id_t service_id, 183 183 exfat_cluster_t firstc, exfat_cluster_t count) 184 184 { 185 errno_t rc;185 int rc; 186 186 exfat_cluster_t clst; 187 187 clst = firstc; … … 196 196 } 197 197 198 errno_t exfat_bitmap_alloc_clusters(exfat_bs_t *bs, service_id_t service_id,198 int exfat_bitmap_alloc_clusters(exfat_bs_t *bs, service_id_t service_id, 199 199 exfat_cluster_t *firstc, exfat_cluster_t count) 200 200 { … … 217 217 218 218 219 errno_t exfat_bitmap_append_clusters(exfat_bs_t *bs, exfat_node_t *nodep,219 int exfat_bitmap_append_clusters(exfat_bs_t *bs, exfat_node_t *nodep, 220 220 exfat_cluster_t count) 221 221 { … … 240 240 241 241 242 errno_t exfat_bitmap_free_clusters(exfat_bs_t *bs, exfat_node_t *nodep,242 int exfat_bitmap_free_clusters(exfat_bs_t *bs, exfat_node_t *nodep, 243 243 exfat_cluster_t count) 244 244 { … … 251 251 252 252 253 errno_t exfat_bitmap_replicate_clusters(exfat_bs_t *bs, exfat_node_t *nodep)254 { 255 errno_t rc;253 int exfat_bitmap_replicate_clusters(exfat_bs_t *bs, exfat_node_t *nodep) 254 { 255 int rc; 256 256 exfat_cluster_t lastc, clst; 257 257 service_id_t service_id = nodep->idx->service_id;
Note:
See TracChangeset
for help on using the changeset viewer.