/Linux-v4.19/fs/f2fs/ |
D | segment.h | 24 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno) argument 25 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno) argument 35 (((seg) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno) || \ 36 ((seg) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno) || \ 37 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA)->segno) || \ 38 ((seg) == CURSEG_I(sbi, CURSEG_HOT_NODE)->segno) || \ 39 ((seg) == CURSEG_I(sbi, CURSEG_WARM_NODE)->segno) || \ 40 ((seg) == CURSEG_I(sbi, CURSEG_COLD_NODE)->segno)) 43 (((secno) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno / \ 45 ((secno) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno / \ [all …]
|
D | gc.c | 237 static unsigned int get_cb_cost(struct f2fs_sb_info *sbi, unsigned int segno) in get_cb_cost() argument 240 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost() 250 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 270 unsigned int segno, struct victim_sel_policy *p) in get_gc_cost() argument 273 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost() 277 return get_valid_blocks(sbi, segno, true); in get_gc_cost() 279 return get_cb_cost(sbi, segno); in get_gc_cost() 340 unsigned int segno; in get_victim_by_default() local 342 segno = find_next_bit(p.dirty_segmap, last_segment, p.offset); in get_victim_by_default() 343 if (segno >= last_segment) { in get_victim_by_default() [all …]
|
D | segment.c | 748 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument 754 if (IS_CURSEG(sbi, segno)) in __locate_dirty_segment() 757 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment() 761 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment() 768 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment() 773 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument 778 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment() 782 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment() 785 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment() 788 if (get_valid_blocks(sbi, segno, true) == 0) in __remove_dirty_segment() [all …]
|
D | debug.c | 119 si->curseg[i] = curseg->segno; in update_general_status() 120 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status() 140 unsigned int segno, vblocks; in update_sit_info() local 147 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) { in update_sit_info() 148 vblocks = get_valid_blocks(sbi, segno, true); in update_sit_info()
|
D | recovery.c | 335 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local 347 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes() 354 if (curseg->segno == segno) { in check_index_in_prev_nodes() 360 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
|
D | f2fs.h | 345 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno) 2888 unsigned int segno, struct f2fs_summary_block *sum); 2923 struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno); 3051 unsigned int segno);
|
D | node.c | 2578 unsigned int segno, struct f2fs_summary_block *sum) in f2fs_restore_node_summary() argument 2587 addr = START_BLOCK(sbi, segno); in f2fs_restore_node_summary()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 260 int segno, i; in pnv_ioda_reserve_dev_m64_pe() local 271 for (segno = start / sgsz; segno < end / sgsz; segno++) { in pnv_ioda_reserve_dev_m64_pe() 273 set_bit(segno, pe_bitmap); in pnv_ioda_reserve_dev_m64_pe() 275 pnv_ioda_reserve_pe(phb, segno); in pnv_ioda_reserve_dev_m64_pe() 3755 unsigned int segno; in pnv_pci_init_ioda_phb() local 3842 for (segno = 0; segno < ARRAY_SIZE(phb->ioda.pe_rmap); segno++) in pnv_pci_init_ioda_phb() 3843 phb->ioda.pe_rmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb() 3882 for (segno = 0; segno < phb->ioda.total_pe_num; segno++) { in pnv_pci_init_ioda_phb() 3883 phb->ioda.m64_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb() 3884 phb->ioda.m32_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb() [all …]
|
/Linux-v4.19/include/linux/ |
D | f2fs_fs.h | 434 __le32 segno; member
|
/Linux-v4.19/drivers/scsi/ |
D | gdth.h | 973 u8 segno; member
|
D | gdth.c | 2366 sd.segno = 0x00; in gdth_internal_cache_cmd()
|
/Linux-v4.19/Documentation/filesystems/ |
D | f2fs.txt | 379 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1] 380 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
|
/Linux-v4.19/Documentation/translations/it_IT/kernel-hacking/ |
D | hacking.rst | 570 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),
|