Home
last modified time | relevance | path

Searched refs:free_secmap (Results 1 – 2 of 2) sorted by relevance

/fs/f2fs/
Dsegment.h281 unsigned long *free_secmap; /* free section bitmap */ member
466 clear_bit(secno, free_i->free_secmap); in __set_free()
480 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_inuse()
502 if (test_and_clear_bit(secno, free_i->free_secmap)) in __set_test_and_free()
519 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_test_and_inuse()
Dsegment.c2507 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); in get_new_segment()
2510 secno = find_next_zero_bit(free_i->free_secmap, in get_new_segment()
2521 while (test_bit(left_start, free_i->free_secmap)) { in get_new_segment()
2526 left_start = find_next_zero_bit(free_i->free_secmap, in get_new_segment()
4452 free_i->free_secmap = f2fs_kvmalloc(sbi, sec_bitmap_size, GFP_KERNEL); in build_free_segmap()
4453 if (!free_i->free_secmap) in build_free_segmap()
4458 memset(free_i->free_secmap, 0xff, sec_bitmap_size); in build_free_segmap()
5297 kvfree(free_i->free_secmap); in destroy_free_segmap()