f2fs.h (29b993c7cd2055ffff65f4ffcaa2fc8a5cb2403e) f2fs.h (901d745f8e6a61a835b12314d8b8a41df7012596)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

--- 3321 unchanged lines hidden (view full) ---

3330 struct cp_control *cpc);
3331void f2fs_dirty_to_prefree(struct f2fs_sb_info *sbi);
3332block_t f2fs_get_unusable_blocks(struct f2fs_sb_info *sbi);
3333int f2fs_disable_cp_again(struct f2fs_sb_info *sbi, block_t unusable);
3334void f2fs_release_discard_addrs(struct f2fs_sb_info *sbi);
3335int f2fs_npages_for_summary_flush(struct f2fs_sb_info *sbi, bool for_ra);
3336void f2fs_allocate_segment_for_resize(struct f2fs_sb_info *sbi, int type,
3337 unsigned int start, unsigned int end);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

--- 3321 unchanged lines hidden (view full) ---

3330 struct cp_control *cpc);
3331void f2fs_dirty_to_prefree(struct f2fs_sb_info *sbi);
3332block_t f2fs_get_unusable_blocks(struct f2fs_sb_info *sbi);
3333int f2fs_disable_cp_again(struct f2fs_sb_info *sbi, block_t unusable);
3334void f2fs_release_discard_addrs(struct f2fs_sb_info *sbi);
3335int f2fs_npages_for_summary_flush(struct f2fs_sb_info *sbi, bool for_ra);
3336void f2fs_allocate_segment_for_resize(struct f2fs_sb_info *sbi, int type,
3337 unsigned int start, unsigned int end);
3338void f2fs_allocate_new_segments(struct f2fs_sb_info *sbi, int type);
3338void f2fs_allocate_new_segment(struct f2fs_sb_info *sbi, int type);
3339void f2fs_allocate_new_segments(struct f2fs_sb_info *sbi);
3339int f2fs_trim_fs(struct f2fs_sb_info *sbi, struct fstrim_range *range);
3340bool f2fs_exist_trim_candidates(struct f2fs_sb_info *sbi,
3341 struct cp_control *cpc);
3342struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3343void f2fs_update_meta_page(struct f2fs_sb_info *sbi, void *src,
3344 block_t blk_addr);
3345void f2fs_do_write_meta_page(struct f2fs_sb_info *sbi, struct page *page,
3346 enum iostat_type io_type);

--- 796 unchanged lines hidden ---
3340int f2fs_trim_fs(struct f2fs_sb_info *sbi, struct fstrim_range *range);
3341bool f2fs_exist_trim_candidates(struct f2fs_sb_info *sbi,
3342 struct cp_control *cpc);
3343struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3344void f2fs_update_meta_page(struct f2fs_sb_info *sbi, void *src,
3345 block_t blk_addr);
3346void f2fs_do_write_meta_page(struct f2fs_sb_info *sbi, struct page *page,
3347 enum iostat_type io_type);

--- 796 unchanged lines hidden ---