diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 12:49:07 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-04 12:49:07 -0400 |
commit | cd915493fce912f1bd838ee1250737ecf33b8fae (patch) | |
tree | e14ec6643de91f473edb26a89905e710596fe6bc /fs/gfs2/incore.h | |
parent | a91ea69ffd3f8a0b7139bfd44042ab384461e631 (diff) |
[GFS2] Change all types to uX style
This makes all fixed size types have consistent names.
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 06f5ec6ebf7f..407afd18fa2e 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -60,9 +60,9 @@ struct gfs2_log_element { | |||
60 | struct gfs2_bitmap { | 60 | struct gfs2_bitmap { |
61 | struct buffer_head *bi_bh; | 61 | struct buffer_head *bi_bh; |
62 | char *bi_clone; | 62 | char *bi_clone; |
63 | uint32_t bi_offset; | 63 | u32 bi_offset; |
64 | uint32_t bi_start; | 64 | u32 bi_start; |
65 | uint32_t bi_len; | 65 | u32 bi_len; |
66 | }; | 66 | }; |
67 | 67 | ||
68 | struct gfs2_rgrpd { | 68 | struct gfs2_rgrpd { |
@@ -72,14 +72,14 @@ struct gfs2_rgrpd { | |||
72 | struct gfs2_glock *rd_gl; /* Glock for this rgrp */ | 72 | struct gfs2_glock *rd_gl; /* Glock for this rgrp */ |
73 | struct gfs2_rindex rd_ri; | 73 | struct gfs2_rindex rd_ri; |
74 | struct gfs2_rgrp rd_rg; | 74 | struct gfs2_rgrp rd_rg; |
75 | uint64_t rd_rg_vn; | 75 | u64 rd_rg_vn; |
76 | struct gfs2_bitmap *rd_bits; | 76 | struct gfs2_bitmap *rd_bits; |
77 | unsigned int rd_bh_count; | 77 | unsigned int rd_bh_count; |
78 | struct mutex rd_mutex; | 78 | struct mutex rd_mutex; |
79 | uint32_t rd_free_clone; | 79 | u32 rd_free_clone; |
80 | struct gfs2_log_element rd_le; | 80 | struct gfs2_log_element rd_le; |
81 | uint32_t rd_last_alloc_data; | 81 | u32 rd_last_alloc_data; |
82 | uint32_t rd_last_alloc_meta; | 82 | u32 rd_last_alloc_meta; |
83 | struct gfs2_sbd *rd_sbd; | 83 | struct gfs2_sbd *rd_sbd; |
84 | }; | 84 | }; |
85 | 85 | ||
@@ -185,7 +185,7 @@ struct gfs2_glock { | |||
185 | char *gl_lvb; | 185 | char *gl_lvb; |
186 | atomic_t gl_lvb_count; | 186 | atomic_t gl_lvb_count; |
187 | 187 | ||
188 | uint64_t gl_vn; | 188 | u64 gl_vn; |
189 | unsigned long gl_stamp; | 189 | unsigned long gl_stamp; |
190 | void *gl_object; | 190 | void *gl_object; |
191 | 191 | ||
@@ -232,14 +232,14 @@ struct gfs2_inode { | |||
232 | 232 | ||
233 | unsigned long i_flags; /* GIF_... */ | 233 | unsigned long i_flags; /* GIF_... */ |
234 | 234 | ||
235 | uint64_t i_vn; | 235 | u64 i_vn; |
236 | struct gfs2_dinode i_di; /* To be replaced by ref to block */ | 236 | struct gfs2_dinode i_di; /* To be replaced by ref to block */ |
237 | 237 | ||
238 | struct gfs2_glock *i_gl; /* Move into i_gh? */ | 238 | struct gfs2_glock *i_gl; /* Move into i_gh? */ |
239 | struct gfs2_holder i_iopen_gh; | 239 | struct gfs2_holder i_iopen_gh; |
240 | struct gfs2_holder i_gh; /* for prepare/commit_write only */ | 240 | struct gfs2_holder i_gh; /* for prepare/commit_write only */ |
241 | struct gfs2_alloc i_alloc; | 241 | struct gfs2_alloc i_alloc; |
242 | uint64_t i_last_rg_alloc; | 242 | u64 i_last_rg_alloc; |
243 | 243 | ||
244 | spinlock_t i_spin; | 244 | spinlock_t i_spin; |
245 | struct rw_semaphore i_rw_mutex; | 245 | struct rw_semaphore i_rw_mutex; |
@@ -277,12 +277,12 @@ struct gfs2_file { | |||
277 | 277 | ||
278 | struct gfs2_revoke { | 278 | struct gfs2_revoke { |
279 | struct gfs2_log_element rv_le; | 279 | struct gfs2_log_element rv_le; |
280 | uint64_t rv_blkno; | 280 | u64 rv_blkno; |
281 | }; | 281 | }; |
282 | 282 | ||
283 | struct gfs2_revoke_replay { | 283 | struct gfs2_revoke_replay { |
284 | struct list_head rr_list; | 284 | struct list_head rr_list; |
285 | uint64_t rr_blkno; | 285 | u64 rr_blkno; |
286 | unsigned int rr_where; | 286 | unsigned int rr_where; |
287 | }; | 287 | }; |
288 | 288 | ||
@@ -304,11 +304,11 @@ struct gfs2_quota_data { | |||
304 | struct list_head qd_list; | 304 | struct list_head qd_list; |
305 | unsigned int qd_count; | 305 | unsigned int qd_count; |
306 | 306 | ||
307 | uint32_t qd_id; | 307 | u32 qd_id; |
308 | unsigned long qd_flags; /* QDF_... */ | 308 | unsigned long qd_flags; /* QDF_... */ |
309 | 309 | ||
310 | int64_t qd_change; | 310 | s64 qd_change; |
311 | int64_t qd_change_sync; | 311 | s64 qd_change_sync; |
312 | 312 | ||
313 | unsigned int qd_slot; | 313 | unsigned int qd_slot; |
314 | unsigned int qd_slot_count; | 314 | unsigned int qd_slot_count; |
@@ -320,7 +320,7 @@ struct gfs2_quota_data { | |||
320 | struct gfs2_glock *qd_gl; | 320 | struct gfs2_glock *qd_gl; |
321 | struct gfs2_quota_lvb qd_qb; | 321 | struct gfs2_quota_lvb qd_qb; |
322 | 322 | ||
323 | uint64_t qd_sync_gen; | 323 | u64 qd_sync_gen; |
324 | unsigned long qd_last_warn; | 324 | unsigned long qd_last_warn; |
325 | unsigned long qd_last_touched; | 325 | unsigned long qd_last_touched; |
326 | }; | 326 | }; |
@@ -358,7 +358,7 @@ struct gfs2_ail { | |||
358 | struct list_head ai_ail1_list; | 358 | struct list_head ai_ail1_list; |
359 | struct list_head ai_ail2_list; | 359 | struct list_head ai_ail2_list; |
360 | 360 | ||
361 | uint64_t ai_sync_gen; | 361 | u64 ai_sync_gen; |
362 | }; | 362 | }; |
363 | 363 | ||
364 | struct gfs2_jdesc { | 364 | struct gfs2_jdesc { |
@@ -466,20 +466,20 @@ struct gfs2_sbd { | |||
466 | 466 | ||
467 | /* Constants computed on mount */ | 467 | /* Constants computed on mount */ |
468 | 468 | ||
469 | uint32_t sd_fsb2bb; | 469 | u32 sd_fsb2bb; |
470 | uint32_t sd_fsb2bb_shift; | 470 | u32 sd_fsb2bb_shift; |
471 | uint32_t sd_diptrs; /* Number of pointers in a dinode */ | 471 | u32 sd_diptrs; /* Number of pointers in a dinode */ |
472 | uint32_t sd_inptrs; /* Number of pointers in a indirect block */ | 472 | u32 sd_inptrs; /* Number of pointers in a indirect block */ |
473 | uint32_t sd_jbsize; /* Size of a journaled data block */ | 473 | u32 sd_jbsize; /* Size of a journaled data block */ |
474 | uint32_t sd_hash_bsize; /* sizeof(exhash block) */ | 474 | u32 sd_hash_bsize; /* sizeof(exhash block) */ |
475 | uint32_t sd_hash_bsize_shift; | 475 | u32 sd_hash_bsize_shift; |
476 | uint32_t sd_hash_ptrs; /* Number of pointers in a hash block */ | 476 | u32 sd_hash_ptrs; /* Number of pointers in a hash block */ |
477 | uint32_t sd_qc_per_block; | 477 | u32 sd_qc_per_block; |
478 | uint32_t sd_max_dirres; /* Max blocks needed to add a directory entry */ | 478 | u32 sd_max_dirres; /* Max blocks needed to add a directory entry */ |
479 | uint32_t sd_max_height; /* Max height of a file's metadata tree */ | 479 | u32 sd_max_height; /* Max height of a file's metadata tree */ |
480 | uint64_t sd_heightsize[GFS2_MAX_META_HEIGHT]; | 480 | u64 sd_heightsize[GFS2_MAX_META_HEIGHT]; |
481 | uint32_t sd_max_jheight; /* Max height of journaled file's meta tree */ | 481 | u32 sd_max_jheight; /* Max height of journaled file's meta tree */ |
482 | uint64_t sd_jheightsize[GFS2_MAX_META_HEIGHT]; | 482 | u64 sd_jheightsize[GFS2_MAX_META_HEIGHT]; |
483 | 483 | ||
484 | struct gfs2_args sd_args; /* Mount arguments */ | 484 | struct gfs2_args sd_args; /* Mount arguments */ |
485 | struct gfs2_tune sd_tune; /* Filesystem tuning structure */ | 485 | struct gfs2_tune sd_tune; /* Filesystem tuning structure */ |
@@ -522,7 +522,7 @@ struct gfs2_sbd { | |||
522 | 522 | ||
523 | /* Resource group stuff */ | 523 | /* Resource group stuff */ |
524 | 524 | ||
525 | uint64_t sd_rindex_vn; | 525 | u64 sd_rindex_vn; |
526 | spinlock_t sd_rindex_spin; | 526 | spinlock_t sd_rindex_spin; |
527 | struct mutex sd_rindex_mutex; | 527 | struct mutex sd_rindex_mutex; |
528 | struct list_head sd_rindex_list; | 528 | struct list_head sd_rindex_list; |
@@ -567,7 +567,7 @@ struct gfs2_sbd { | |||
567 | unsigned int sd_quota_chunks; | 567 | unsigned int sd_quota_chunks; |
568 | unsigned char **sd_quota_bitmap; | 568 | unsigned char **sd_quota_bitmap; |
569 | 569 | ||
570 | uint64_t sd_quota_sync_gen; | 570 | u64 sd_quota_sync_gen; |
571 | unsigned long sd_quota_sync_time; | 571 | unsigned long sd_quota_sync_time; |
572 | 572 | ||
573 | /* Log stuff */ | 573 | /* Log stuff */ |
@@ -595,7 +595,7 @@ struct gfs2_sbd { | |||
595 | unsigned int sd_log_blks_free; | 595 | unsigned int sd_log_blks_free; |
596 | struct mutex sd_log_reserve_mutex; | 596 | struct mutex sd_log_reserve_mutex; |
597 | 597 | ||
598 | uint64_t sd_log_sequence; | 598 | u64 sd_log_sequence; |
599 | unsigned int sd_log_head; | 599 | unsigned int sd_log_head; |
600 | unsigned int sd_log_tail; | 600 | unsigned int sd_log_tail; |
601 | int sd_log_idle; | 601 | int sd_log_idle; |
@@ -605,11 +605,11 @@ struct gfs2_sbd { | |||
605 | struct list_head sd_log_flush_list; | 605 | struct list_head sd_log_flush_list; |
606 | 606 | ||
607 | unsigned int sd_log_flush_head; | 607 | unsigned int sd_log_flush_head; |
608 | uint64_t sd_log_flush_wrapped; | 608 | u64 sd_log_flush_wrapped; |
609 | 609 | ||
610 | struct list_head sd_ail1_list; | 610 | struct list_head sd_ail1_list; |
611 | struct list_head sd_ail2_list; | 611 | struct list_head sd_ail2_list; |
612 | uint64_t sd_ail_sync_gen; | 612 | u64 sd_ail_sync_gen; |
613 | 613 | ||
614 | /* Replay stuff */ | 614 | /* Replay stuff */ |
615 | 615 | ||