Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dsegment.h278 unsigned long *free_secmap; /* free section bitmap */ member
464 clear_bit(secno, free_i->free_secmap); in __set_free()
478 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_inuse()
500 if (test_and_clear_bit(secno, free_i->free_secmap)) in __set_test_and_free()
517 if (!test_and_set_bit(secno, free_i->free_secmap)) in __set_test_and_inuse()
Dsegment.c2443 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); in get_new_segment()
2446 secno = find_first_zero_bit(free_i->free_secmap, in get_new_segment()
2457 while (test_bit(left_start, free_i->free_secmap)) { in get_new_segment()
2462 left_start = find_first_zero_bit(free_i->free_secmap, in get_new_segment()
4294 free_i->free_secmap = f2fs_kvmalloc(sbi, sec_bitmap_size, GFP_KERNEL); in build_free_segmap()
4295 if (!free_i->free_secmap) in build_free_segmap()
4300 memset(free_i->free_secmap, 0xff, sec_bitmap_size); in build_free_segmap()
5207 kvfree(free_i->free_secmap); in destroy_free_segmap()