f2fs.h (e17d488bce9ef4fe3b18d1548ea79b65f836b497) | f2fs.h (d5097be55c21c103d2227591708425aab2e9682d) |
---|---|
1/* 2 * fs/f2fs/f2fs.h 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 528 unchanged lines hidden (view full) --- 537 F2FS_MAP_UNWRITTEN) 538 539struct f2fs_map_blocks { 540 block_t m_pblk; 541 block_t m_lblk; 542 unsigned int m_len; 543 unsigned int m_flags; 544 pgoff_t *m_next_pgofs; /* point next possible non-hole pgofs */ | 1/* 2 * fs/f2fs/f2fs.h 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 528 unchanged lines hidden (view full) --- 537 F2FS_MAP_UNWRITTEN) 538 539struct f2fs_map_blocks { 540 block_t m_pblk; 541 block_t m_lblk; 542 unsigned int m_len; 543 unsigned int m_flags; 544 pgoff_t *m_next_pgofs; /* point next possible non-hole pgofs */ |
545 int m_seg_type; |
|
545}; 546 547/* for flag in get_data_block */ 548enum { 549 F2FS_GET_BLOCK_DEFAULT, 550 F2FS_GET_BLOCK_FIEMAP, 551 F2FS_GET_BLOCK_BMAP, 552 F2FS_GET_BLOCK_PRE_DIO, --- 2116 unchanged lines hidden (view full) --- 2669void write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk); 2670int lookup_journal_in_cursum(struct f2fs_journal *journal, int type, 2671 unsigned int val, int alloc); 2672void flush_sit_entries(struct f2fs_sb_info *sbi, struct cp_control *cpc); 2673int build_segment_manager(struct f2fs_sb_info *sbi); 2674void destroy_segment_manager(struct f2fs_sb_info *sbi); 2675int __init create_segment_manager_caches(void); 2676void destroy_segment_manager_caches(void); | 546}; 547 548/* for flag in get_data_block */ 549enum { 550 F2FS_GET_BLOCK_DEFAULT, 551 F2FS_GET_BLOCK_FIEMAP, 552 F2FS_GET_BLOCK_BMAP, 553 F2FS_GET_BLOCK_PRE_DIO, --- 2116 unchanged lines hidden (view full) --- 2670void write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk); 2671int lookup_journal_in_cursum(struct f2fs_journal *journal, int type, 2672 unsigned int val, int alloc); 2673void flush_sit_entries(struct f2fs_sb_info *sbi, struct cp_control *cpc); 2674int build_segment_manager(struct f2fs_sb_info *sbi); 2675void destroy_segment_manager(struct f2fs_sb_info *sbi); 2676int __init create_segment_manager_caches(void); 2677void destroy_segment_manager_caches(void); |
2678int rw_hint_to_seg_type(enum rw_hint hint); |
|
2677 2678/* 2679 * checkpoint.c 2680 */ 2681void f2fs_stop_checkpoint(struct f2fs_sb_info *sbi, bool end_io); 2682struct page *grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); 2683struct page *get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); 2684struct page *get_tmp_page(struct f2fs_sb_info *sbi, pgoff_t index); --- 477 unchanged lines hidden --- | 2679 2680/* 2681 * checkpoint.c 2682 */ 2683void f2fs_stop_checkpoint(struct f2fs_sb_info *sbi, bool end_io); 2684struct page *grab_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); 2685struct page *get_meta_page(struct f2fs_sb_info *sbi, pgoff_t index); 2686struct page *get_tmp_page(struct f2fs_sb_info *sbi, pgoff_t index); --- 477 unchanged lines hidden --- |