Home
last modified time | relevance | path

Searched refs:free_segmap (Results 1 – 3 of 3) sorted by relevance

/fs/f2fs/
Dsegment.h280 unsigned long *free_segmap; /* free segment bitmap */ member
447 ret = find_next_bit(free_i->free_segmap, max, segno); in find_next_inuse()
461 clear_bit(segno, free_i->free_segmap); in __set_free()
464 next = find_next_bit(free_i->free_segmap, in __set_free()
479 set_bit(segno, free_i->free_segmap); in __set_inuse()
495 if (test_and_clear_bit(segno, free_i->free_segmap)) { in __set_test_and_free()
500 next = find_next_bit(free_i->free_segmap, in __set_test_and_free()
518 if (!test_and_set_bit(segno, free_i->free_segmap)) { in __set_test_and_inuse()
Dgc.h95 if (!test_bit(j, free_i->free_segmap)) in free_segs_blk_count_zoned()
Dsegment.c2536 return !test_bit(segno, free_i->free_segmap); in is_next_segment_free()
2560 segno = find_next_zero_bit(free_i->free_segmap, in get_new_segment()
2625 f2fs_bug_on(sbi, test_bit(segno, free_i->free_segmap)); in get_new_segment()
4497 free_i->free_segmap = f2fs_kvmalloc(sbi, bitmap_size, GFP_KERNEL); in build_free_segmap()
4498 if (!free_i->free_segmap) in build_free_segmap()
4507 memset(free_i->free_segmap, 0xff, bitmap_size); in build_free_segmap()
5350 kvfree(free_i->free_segmap); in destroy_free_segmap()