Home
last modified time | relevance | path

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

/Linux-v5.4/fs/f2fs/
Dsegment.h21 #define GET_L2R_SEGNO(free_i, segno) ((segno) - (free_i)->start_segno) argument
22 #define GET_R2L_SEGNO(free_i, segno) ((segno) + (free_i)->start_segno) argument
32 (((seg) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno) || \
33 ((seg) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno) || \
34 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA)->segno) || \
35 ((seg) == CURSEG_I(sbi, CURSEG_HOT_NODE)->segno) || \
36 ((seg) == CURSEG_I(sbi, CURSEG_WARM_NODE)->segno) || \
37 ((seg) == CURSEG_I(sbi, CURSEG_COLD_NODE)->segno))
40 (((secno) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno / \
42 ((secno) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno / \
[all …]
Dgc.c242 static unsigned int get_cb_cost(struct f2fs_sb_info *sbi, unsigned int segno) in get_cb_cost() argument
245 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost()
255 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
275 unsigned int segno, struct victim_sel_policy *p) in get_gc_cost() argument
278 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
282 return get_valid_blocks(sbi, segno, true); in get_gc_cost()
284 return get_cb_cost(sbi, segno); in get_gc_cost()
361 unsigned int segno; in get_victim_by_default() local
363 segno = find_next_bit(p.dirty_segmap, last_segment, p.offset); in get_victim_by_default()
364 if (segno >= last_segment) { in get_victim_by_default()
[all …]
Dsegment.c767 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument
773 if (IS_CURSEG(sbi, segno)) in __locate_dirty_segment()
776 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
780 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
787 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
792 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument
797 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
801 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
804 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[t])) in __remove_dirty_segment()
807 if (get_valid_blocks(sbi, segno, true) == 0) { in __remove_dirty_segment()
[all …]
Ddebug.c132 si->curseg[i] = curseg->segno; in update_general_status()
133 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
156 unsigned int segno, vblocks; in update_sit_info() local
163 for (segno = 0; segno < MAIN_SEGS(sbi); segno += sbi->segs_per_sec) { in update_sit_info()
164 vblocks = get_valid_blocks(sbi, segno, true); in update_sit_info()
Drecovery.c401 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local
413 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
420 if (curseg->segno == segno) { in check_index_in_prev_nodes()
426 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
Dcheckpoint.c137 unsigned int segno, offset; in __is_bitmap_valid() local
143 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid()
145 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()
Df2fs.h364 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno)
3069 unsigned int segno, struct f2fs_summary_block *sum);
3109 struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3241 unsigned int segno);
Dnode.c2661 unsigned int segno, struct f2fs_summary_block *sum) in f2fs_restore_node_summary() argument
2670 addr = START_BLOCK(sbi, segno); in f2fs_restore_node_summary()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c258 int segno, i; in pnv_ioda_reserve_dev_m64_pe() local
269 for (segno = start / sgsz; segno < end / sgsz; segno++) { in pnv_ioda_reserve_dev_m64_pe()
271 set_bit(segno, pe_bitmap); in pnv_ioda_reserve_dev_m64_pe()
273 pnv_ioda_reserve_pe(phb, segno); in pnv_ioda_reserve_dev_m64_pe()
3640 unsigned int segno; in pnv_pci_init_ioda_phb() local
3733 for (segno = 0; segno < ARRAY_SIZE(phb->ioda.pe_rmap); segno++) in pnv_pci_init_ioda_phb()
3734 phb->ioda.pe_rmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3775 for (segno = 0; segno < phb->ioda.total_pe_num; segno++) { in pnv_pci_init_ioda_phb()
3776 phb->ioda.m64_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3777 phb->ioda.m32_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
[all …]
/Linux-v5.4/include/linux/
Df2fs_fs.h448 __le32 segno; member
/Linux-v5.4/drivers/scsi/
Dgdth.h943 u8 segno; member
Dgdth.c1916 sd.segno = 0x00; in gdth_internal_cache_cmd()
/Linux-v5.4/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
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.4/Documentation/filesystems/
Df2fs.txt483 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1]
484 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
/Linux-v5.4/Documentation/translations/it_IT/kernel-hacking/
Dhacking.rst570 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),