Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ff0c270 in mainline for uspace/srv/fs/exfat/exfat.h


Ignore:
Timestamp:
2011-08-25T22:15:33Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
0dbe5ac
Parents:
abb7491c
Message:

Cstyle.

File:
1 edited

Legend:

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

    rabb7491c rff0c270  
    5151
    5252#define BPS(bs)                 ((uint32_t) (1 << (bs->bytes_per_sector)))
    53 #define SPC(bs)                 ((uint32_t)(1 << (bs->sec_per_cluster)))
    54 #define BPC(bs)                 ((uint32_t)(BPS(bs)*SPC(bs)))
     53#define SPC(bs)                 ((uint32_t) (1 << (bs->sec_per_cluster)))
     54#define BPC(bs)                 ((uint32_t) (BPS(bs) * SPC(bs)))
    5555#define VOL_FS(bs)              uint64_t_le2host(bs->volume_start)
    5656#define VOL_CNT(bs)             uint64_t_le2host(bs->volume_count)
     
    5858#define FAT_CNT(bs)             uint32_t_le2host(bs->fat_sector_count)
    5959#define DATA_FS(bs)             uint32_t_le2host(bs->data_start_sector)
    60 #define DATA_CNT(bs)    uint32_t_le2host(bs->data_clusters)
     60#define DATA_CNT(bs)            uint32_t_le2host(bs->data_clusters)
    6161#define ROOT_FC(bs)             uint32_t_le2host(bs->rootdir_cluster)
    62 #define VOL_FLAGS(bs)   uint16_t_le2host(bs->volume_flags)
     62#define VOL_FLAGS(bs)           uint16_t_le2host(bs->volume_flags)
    6363
    6464#define EXFAT_NODE(node)        ((node) ? (exfat_node_t *) (node)->data : NULL)
     
    181181extern void exfat_idx_fini_by_service_id(service_id_t);
    182182
    183 extern int exfat_node_expand(service_id_t service_id, exfat_node_t *nodep,
    184     exfat_cluster_t clusters);
     183extern int exfat_node_expand(service_id_t, exfat_node_t *, exfat_cluster_t);
    185184extern int exfat_node_put(fs_node_t *);
    186185extern int exfat_bitmap_get(fs_node_t **, service_id_t);
Note: See TracChangeset for help on using the changeset viewer.