Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsegment.h275 unsigned long *free_secmap; /* free section bitmap */ member
454 clear_bit(secno, free_i->free_secmap); in __set_free()
468 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_inuse()
490 if (test_and_clear_bit(secno, free_i->free_secmap)) in __set_test_and_free()
507 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_test_and_inuse()
Dsegment.c2661 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); in get_new_segment()
2664 secno = find_first_zero_bit(free_i->free_secmap, in get_new_segment()
2675 while (test_bit(left_start, free_i->free_secmap)) { in get_new_segment()
2680 left_start = find_first_zero_bit(free_i->free_secmap, in get_new_segment()
4496 free_i->free_secmap = f2fs_kvmalloc(sbi, sec_bitmap_size, GFP_KERNEL); in build_free_segmap()
4497 if (!free_i->free_secmap) in build_free_segmap()
4502 memset(free_i->free_secmap, 0xff, sec_bitmap_size); in build_free_segmap()
5369 kvfree(free_i->free_secmap); in destroy_free_segmap()