Home
last modified time | relevance | path

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

/fs/f2fs/
Dsegment.h262 unsigned long *free_secmap; /* free section bitmap */ member
430 clear_bit(secno, free_i->free_secmap); in __set_free()
444 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_inuse()
465 if (test_and_clear_bit(secno, free_i->free_secmap)) in __set_test_and_free()
482 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_test_and_inuse()
Dsegment.c2397 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); in get_new_segment()
2400 secno = find_next_zero_bit(free_i->free_secmap, in get_new_segment()
2411 while (test_bit(left_start, free_i->free_secmap)) { in get_new_segment()
2416 left_start = find_next_zero_bit(free_i->free_secmap, in get_new_segment()
4097 free_i->free_secmap = f2fs_kvmalloc(sbi, sec_bitmap_size, GFP_KERNEL); in build_free_segmap()
4098 if (!free_i->free_secmap) in build_free_segmap()
4103 memset(free_i->free_secmap, 0xff, sec_bitmap_size); in build_free_segmap()
4530 kvfree(free_i->free_secmap); in destroy_free_segmap()