Changes in uspace/srv/fs/exfat/exfat_bitmap.c [f73b291:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_bitmap.c
rf73b291 rb7fd2a0 48 48 49 49 50 int exfat_bitmap_is_free(exfat_bs_t *bs, service_id_t service_id,50 errno_t 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 int rc;57 errno_t rc; 58 58 bool alloc; 59 59 … … 89 89 } 90 90 91 int exfat_bitmap_set_cluster(exfat_bs_t *bs, service_id_t service_id,91 errno_t 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 int rc;98 errno_t rc; 99 99 100 100 clst -= EXFAT_CLST_FIRST; … … 124 124 } 125 125 126 int exfat_bitmap_clear_cluster(exfat_bs_t *bs, service_id_t service_id,126 errno_t 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 int rc;133 errno_t rc; 134 134 135 135 clst -= EXFAT_CLST_FIRST; … … 160 160 } 161 161 162 int exfat_bitmap_set_clusters(exfat_bs_t *bs, service_id_t service_id,162 errno_t 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 int rc;165 errno_t rc; 166 166 exfat_cluster_t clst; 167 167 clst = firstc; … … 180 180 } 181 181 182 int exfat_bitmap_clear_clusters(exfat_bs_t *bs, service_id_t service_id,182 errno_t 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 int rc;185 errno_t rc; 186 186 exfat_cluster_t clst; 187 187 clst = firstc; … … 196 196 } 197 197 198 int exfat_bitmap_alloc_clusters(exfat_bs_t *bs, service_id_t service_id,198 errno_t 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 int exfat_bitmap_append_clusters(exfat_bs_t *bs, exfat_node_t *nodep,219 errno_t 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 int exfat_bitmap_free_clusters(exfat_bs_t *bs, exfat_node_t *nodep,242 errno_t 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 int exfat_bitmap_replicate_clusters(exfat_bs_t *bs, exfat_node_t *nodep)254 { 255 int rc;253 errno_t exfat_bitmap_replicate_clusters(exfat_bs_t *bs, exfat_node_t *nodep) 254 { 255 errno_t 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.