Changeset 09ab0a9a in mainline for uspace/srv/fs/exfat


Ignore:
Timestamp:
2018-09-13T12:05:53Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc74cb5
Parents:
b2aaaa0
git-author:
Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
git-committer:
Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
Message:

Fix vertical spacing with new Ccheck revision.

Location:
uspace/srv/fs/exfat
Files:
9 edited

Legend:

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

    rb2aaaa0 r09ab0a9a  
    101101}
    102102
    103 
    104103/**
    105104 * @}
  • uspace/srv/fs/exfat/exfat.h

    rb2aaaa0 r09ab0a9a  
    164164} exfat_node_t;
    165165
    166 
    167166extern vfs_out_ops_t exfat_ops;
    168167extern libfs_ops_t exfat_libfs_ops;
     
    185184extern errno_t exfat_uctable_get(fs_node_t **, service_id_t);
    186185
    187 
    188186#endif
    189187
  • uspace/srv/fs/exfat/exfat_bitmap.c

    rb2aaaa0 r09ab0a9a  
    4747#include <mem.h>
    4848
    49 
    5049errno_t exfat_bitmap_is_free(exfat_bs_t *bs, service_id_t service_id,
    5150    exfat_cluster_t clst)
     
    216215}
    217216
    218 
    219217errno_t exfat_bitmap_append_clusters(exfat_bs_t *bs, exfat_node_t *nodep,
    220218    exfat_cluster_t count)
     
    239237}
    240238
    241 
    242239errno_t exfat_bitmap_free_clusters(exfat_bs_t *bs, exfat_node_t *nodep,
    243240    exfat_cluster_t count)
     
    249246        return exfat_bitmap_clear_clusters(bs, nodep->idx->service_id, lastc + 1, count);
    250247}
    251 
    252248
    253249errno_t exfat_bitmap_replicate_clusters(exfat_bs_t *bs, exfat_node_t *nodep)
     
    267263}
    268264
    269 
    270 
    271265/**
    272266 * @}
  • uspace/srv/fs/exfat/exfat_bitmap.h

    rb2aaaa0 r09ab0a9a  
    6060    exfat_cluster_t, exfat_cluster_t);
    6161
    62 
    6362#endif
    6463
  • uspace/srv/fs/exfat/exfat_dentry.h

    rb2aaaa0 r09ab0a9a  
    5757#define EXFAT_ATTR_SUBDIR       0x10
    5858#define EXFAT_ATTR_ARCHIVE      0x20
    59 
    6059
    6160/* All dentry structs should have 31 byte size */
     
    122121} __attribute__((packed)) exfat_name_dentry_t;
    123122
    124 
    125123typedef struct {
    126124        uint8_t type;
     
    136134} __attribute__((packed)) exfat_dentry_t;
    137135
    138 
    139136typedef enum {
    140137        EXFAT_DENTRY_SKIP,
     
    149146        EXFAT_DENTRY_NAME
    150147} exfat_dentry_clsf_t;
    151 
    152148
    153149extern exfat_dentry_clsf_t exfat_classify_dentry(const exfat_dentry_t *);
     
    165161extern size_t exfat_utf16_length(const uint16_t *);
    166162
    167 
    168163#endif
    169164
  • uspace/srv/fs/exfat/exfat_directory.c

    rb2aaaa0 r09ab0a9a  
    211211}
    212212
    213 
    214213errno_t exfat_directory_read_file(exfat_directory_t *di, char *name, size_t size,
    215214    exfat_file_dentry_t *df, exfat_stream_dentry_t *ds)
     
    557556}
    558557
    559 
    560558/**
    561559 * @}
  • uspace/srv/fs/exfat/exfat_directory.h

    rb2aaaa0 r09ab0a9a  
    5353} exfat_directory_t;
    5454
    55 
    5655extern void exfat_directory_init(exfat_directory_t *);
    5756extern errno_t exfat_directory_open(exfat_node_t *, exfat_directory_t *);
     
    7776extern errno_t exfat_directory_erase_file(exfat_directory_t *, aoff64_t);
    7877
    79 
    8078extern errno_t exfat_directory_expand(exfat_directory_t *);
    8179extern errno_t exfat_directory_lookup_free(exfat_directory_t *, size_t);
    8280extern errno_t exfat_directory_print(exfat_directory_t *);
    83 
    8481
    8582#endif
  • uspace/srv/fs/exfat/exfat_fat.c

    rb2aaaa0 r09ab0a9a  
    5252#include <str.h>
    5353
    54 
    5554/**
    5655 * The fat_alloc_lock mutex protects all copies of the File Allocation Table
     
    218217        return rc;
    219218}
    220 
    221219
    222220/** Get cluster from the FAT.
     
    533531}
    534532
    535 
    536533/** Perform basic sanity checks on the file system.
    537534 *
  • uspace/srv/fs/exfat/exfat_ops.c

    rb2aaaa0 r09ab0a9a  
    283283}
    284284
    285 
    286285/** Internal version of exfat_node_get().
    287286 *
     
    487486}
    488487
    489 
    490488/*
    491489 * EXFAT libfs operations.
     
    506504        return exfat_node_get(rfn, service_id, EXFAT_UCTABLE_IDX);
    507505}
    508 
    509506
    510507errno_t exfat_match(fs_node_t **rfn, fs_node_t *pfn, const char *component)
     
    885882}
    886883
    887 
    888884fs_index_t exfat_index_get(fs_node_t *fn)
    889885{
     
    12321228        block_fini(service_id);
    12331229}
    1234 
    12351230
    12361231/*
Note: See TracChangeset for help on using the changeset viewer.