Home
last modified time | relevance | path

Searched refs:segno (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/fs/f2fs/
Dsegment.h22 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno) argument
23 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno) argument
39 (((seg) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno) || \
40 ((seg) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno) || \
41 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA)->segno) || \
42 ((seg) == CURSEG_I(sbi, CURSEG_HOT_NODE)->segno) || \
43 ((seg) == CURSEG_I(sbi, CURSEG_WARM_NODE)->segno) || \
44 ((seg) == CURSEG_I(sbi, CURSEG_COLD_NODE)->segno) || \
45 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA_PINNED)->segno) || \
46 ((seg) == CURSEG_I(sbi, CURSEG_ALL_DATA_ATGC)->segno))
[all …]
Dgc.c286 static unsigned int get_cb_cost(struct f2fs_sb_info *sbi, unsigned int segno) in get_cb_cost() argument
289 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost()
296 unsigned int usable_segs_per_sec = f2fs_usable_segs_in_sec(sbi, segno); in get_cb_cost()
300 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
320 unsigned int segno, struct victim_sel_policy *p) in get_gc_cost() argument
323 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
327 return get_valid_blocks(sbi, segno, true); in get_gc_cost()
329 return get_cb_cost(sbi, segno); in get_gc_cost()
348 unsigned long long mtime, unsigned int segno, in attach_victim_entry() argument
358 ve->segno = segno; in attach_victim_entry()
[all …]
Dsegment.c780 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument
786 if (IS_CURSEG(sbi, segno)) in __locate_dirty_segment()
789 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
793 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
800 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
804 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment()
806 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment()
817 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument
823 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
827 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
[all …]
Dgc.h54 unsigned int segno; /* section No. */ member
62 unsigned int segno; /* segment No. */ member
Ddebug.c37 unsigned int segno, vblocks; in f2fs_update_sit_info() local
44 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) { in f2fs_update_sit_info()
45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info()
169 si->curseg[i] = curseg->segno; in update_general_status()
170 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
Drecovery.c432 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local
444 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
451 if (curseg->segno == segno) { in check_index_in_prev_nodes()
457 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
Dcheckpoint.c136 unsigned int segno, offset; in __is_bitmap_valid() local
142 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid()
144 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()
Df2fs.h376 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno)
3321 unsigned int segno, struct f2fs_summary_block *sum);
3367 struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3408 unsigned int segno);
3410 unsigned int segno);
3523 unsigned int segno);
Dnode.c2729 unsigned int segno, struct f2fs_summary_block *sum) in f2fs_restore_node_summary() argument
2738 addr = START_BLOCK(sbi, segno); in f2fs_restore_node_summary()
/Linux-v5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c264 int segno, i; in pnv_ioda_reserve_dev_m64_pe() local
275 for (segno = start / sgsz; segno < end / sgsz; segno++) { in pnv_ioda_reserve_dev_m64_pe()
277 set_bit(segno, pe_bitmap); in pnv_ioda_reserve_dev_m64_pe()
279 pnv_ioda_reserve_pe(phb, segno); in pnv_ioda_reserve_dev_m64_pe()
2921 unsigned int segno; in pnv_pci_init_ioda_phb() local
3014 for (segno = 0; segno < ARRAY_SIZE(phb->ioda.pe_rmap); segno++) in pnv_pci_init_ioda_phb()
3015 phb->ioda.pe_rmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3056 for (segno = 0; segno < phb->ioda.total_pe_num; segno++) { in pnv_pci_init_ioda_phb()
3057 phb->ioda.m64_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3058 phb->ioda.m32_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
[all …]
/Linux-v5.10/include/linux/
Df2fs_fs.h451 __le32 segno; member
/Linux-v5.10/drivers/scsi/
Dgdth.h943 u8 segno; member
Dgdth.c1916 sd.segno = 0x00; in gdth_internal_cache_cmd()
/Linux-v5.10/Documentation/translations/it_IT/process/
D4.Coding.rst120 compilatore. L'uso eccessivo del preprocessore è praticamente sempre il segno
419 non rispecchia i vostri bisogni, allora questo potrebbe essere un segno che
Dmanagement-style.rst132 Questo può suonare come un fallimento, ma di solito questo è un segno che
Dmaintainer-pgp-guide.rst941 Se trovate un paio di percorsi affidabili è un buon segno circa la validità
Dcoding-style.rst390 con segno, identici ai tipi standard, sono permessi- tuttavia, non sono
Dsubmitting-patches.rst150 essere lunga, potrebbe essere un segno che la vostra patch necessita d'essere
/Linux-v5.10/Documentation/filesystems/
Df2fs.rst371 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1]
372 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
/Linux-v5.10/Documentation/translations/it_IT/kernel-hacking/
Dhacking.rst570 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),