dirty_i 181 fs/f2fs/gc.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 185 fs/f2fs/gc.c p->dirty_segmap = dirty_i->dirty_segmap[type]; dirty_i 186 fs/f2fs/gc.c p->max_search = dirty_i->nr_dirty[type]; dirty_i 190 fs/f2fs/gc.c p->dirty_segmap = dirty_i->dirty_segmap[DIRTY]; dirty_i 191 fs/f2fs/gc.c p->max_search = dirty_i->nr_dirty[DIRTY]; dirty_i 225 fs/f2fs/gc.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 233 fs/f2fs/gc.c for_each_set_bit(secno, dirty_i->victim_secmap, MAIN_SECS(sbi)) { dirty_i 236 fs/f2fs/gc.c clear_bit(secno, dirty_i->victim_secmap); dirty_i 310 fs/f2fs/gc.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 317 fs/f2fs/gc.c mutex_lock(&dirty_i->seglist_lock); dirty_i 404 fs/f2fs/gc.c if (gc_type == BG_GC && test_bit(secno, dirty_i->victim_secmap)) dirty_i 433 fs/f2fs/gc.c set_bit(secno, dirty_i->victim_secmap); dirty_i 442 fs/f2fs/gc.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 779 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 785 fs/f2fs/segment.c if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) dirty_i 786 fs/f2fs/segment.c dirty_i->nr_dirty[dirty_type]++; dirty_i 796 fs/f2fs/segment.c if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) dirty_i 797 fs/f2fs/segment.c dirty_i->nr_dirty[t]++; dirty_i 804 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 806 fs/f2fs/segment.c if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) dirty_i 807 fs/f2fs/segment.c dirty_i->nr_dirty[dirty_type]--; dirty_i 813 fs/f2fs/segment.c if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) dirty_i 814 fs/f2fs/segment.c dirty_i->nr_dirty[t]--; dirty_i 818 fs/f2fs/segment.c dirty_i->victim_secmap); dirty_i 833 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 839 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 855 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 861 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 864 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 865 fs/f2fs/segment.c for_each_set_bit(segno, dirty_i->dirty_segmap[DIRTY], MAIN_SEGS(sbi)) { dirty_i 873 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 881 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 887 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 888 fs/f2fs/segment.c for_each_set_bit(segno, dirty_i->dirty_segmap[DIRTY], MAIN_SEGS(sbi)) { dirty_i 895 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 918 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 921 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 922 fs/f2fs/segment.c for_each_set_bit(segno, dirty_i->dirty_segmap[DIRTY], MAIN_SEGS(sbi)) { dirty_i 927 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 930 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 1922 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 1925 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 1926 fs/f2fs/segment.c for_each_set_bit(segno, dirty_i->dirty_segmap[PRE], MAIN_SEGS(sbi)) dirty_i 1928 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 1937 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 1938 fs/f2fs/segment.c unsigned long *prefree_map = dirty_i->dirty_segmap[PRE]; dirty_i 1944 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 1964 fs/f2fs/segment.c dirty_i->nr_dirty[PRE]--; dirty_i 1993 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 2565 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 2575 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 2578 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 4248 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 4266 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 4268 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 4274 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 4277 fs/f2fs/segment.c dirty_i->victim_secmap = f2fs_kvzalloc(sbi, bitmap_size, GFP_KERNEL); dirty_i 4278 fs/f2fs/segment.c if (!dirty_i->victim_secmap) dirty_i 4285 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i; dirty_i 4289 fs/f2fs/segment.c dirty_i = f2fs_kzalloc(sbi, sizeof(struct dirty_seglist_info), dirty_i 4291 fs/f2fs/segment.c if (!dirty_i) dirty_i 4294 fs/f2fs/segment.c SM_I(sbi)->dirty_info = dirty_i; dirty_i 4295 fs/f2fs/segment.c mutex_init(&dirty_i->seglist_lock); dirty_i 4300 fs/f2fs/segment.c dirty_i->dirty_segmap[i] = f2fs_kvzalloc(sbi, bitmap_size, dirty_i 4302 fs/f2fs/segment.c if (!dirty_i->dirty_segmap[i]) dirty_i 4449 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 4451 fs/f2fs/segment.c mutex_lock(&dirty_i->seglist_lock); dirty_i 4452 fs/f2fs/segment.c kvfree(dirty_i->dirty_segmap[dirty_type]); dirty_i 4453 fs/f2fs/segment.c dirty_i->nr_dirty[dirty_type] = 0; dirty_i 4454 fs/f2fs/segment.c mutex_unlock(&dirty_i->seglist_lock); dirty_i 4459 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 4460 fs/f2fs/segment.c kvfree(dirty_i->victim_secmap); dirty_i 4465 fs/f2fs/segment.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 4468 fs/f2fs/segment.c if (!dirty_i) dirty_i 4477 fs/f2fs/segment.c kvfree(dirty_i); dirty_i 703 fs/f2fs/sysfs.c struct dirty_seglist_info *dirty_i = DIRTY_I(sbi); dirty_i 711 fs/f2fs/sysfs.c seq_printf(seq, "%d", test_bit(i, dirty_i->victim_secmap) ? 1 : 0);