Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/f2fs/
H A 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
40 (((seg) == CURSEG_I(sbi, CURSEG_HOT_DATA)->segno) || \
41 ((seg) == CURSEG_I(sbi, CURSEG_WARM_DATA)->segno) || \
42 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA)->segno) || \
43 ((seg) == CURSEG_I(sbi, CURSEG_HOT_NODE)->segno) || \
44 ((seg) == CURSEG_I(sbi, CURSEG_WARM_NODE)->segno) || \
45 ((seg) == CURSEG_I(sbi, CURSEG_COLD_NODE)->segno) || \
46 ((seg) == CURSEG_I(sbi, CURSEG_COLD_DATA_PINNED)->segno) || \
47 ((seg) == CURSEG_I(sbi, CURSEG_ALL_DATA_ATGC)->segno))
[all …]
H A Dgc.c306 static unsigned int get_cb_cost(struct f2fs_sb_info *sbi, unsigned int segno) in get_cb_cost() argument
309 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in get_cb_cost()
316 unsigned int usable_segs_per_sec = f2fs_usable_segs_in_sec(sbi, segno); in get_cb_cost()
320 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost()
340 unsigned int segno, struct victim_sel_policy *p) in get_gc_cost() argument
343 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost()
347 return get_valid_blocks(sbi, segno, true); in get_gc_cost()
349 return get_cb_cost(sbi, segno); in get_gc_cost()
368 unsigned long long mtime, unsigned int segno, in attach_victim_entry() argument
378 ve->segno = segno; in attach_victim_entry()
[all …]
H A Dsegment.c805 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument
811 if (IS_CURSEG(sbi, segno)) in __locate_dirty_segment()
814 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
818 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
825 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
829 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment()
831 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment()
842 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument
848 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
852 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
[all …]
H A Dgc.h60 unsigned int segno; /* section No. */ member
68 unsigned int segno; /* segment No. */ member
H A 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()
194 si->curseg[i] = curseg->segno; in update_general_status()
195 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
H A Drecovery.c446 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local
458 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
466 if (curseg->segno == segno) { in check_index_in_prev_nodes()
472 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
H A Df2fs.h420 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno)
3573 unsigned int segno, struct f2fs_summary_block *sum);
3607 bool f2fs_segment_has_free_slot(struct f2fs_sb_info *sbi, int segno);
3620 struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3661 unsigned int segno);
3663 unsigned int segno);
3783 unsigned int segno);
H A Dcheckpoint.c142 unsigned int segno, offset; in __is_bitmap_valid() local
148 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid()
150 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()
H A Dnode.c2807 unsigned int segno, struct f2fs_summary_block *sum) in f2fs_restore_node_summary() argument
2816 addr = START_BLOCK(sbi, segno); in f2fs_restore_node_summary()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/
H A 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 …]
/OK3568_Linux_fs/kernel/include/linux/
H A Df2fs_fs.h471 __le32 segno; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dgdth.h943 u8 segno; member
H A Dgdth.c1916 sd.segno = 0x00; in gdth_internal_cache_cmd()
/OK3568_Linux_fs/kernel/Documentation/translations/it_IT/process/
H A 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
H A Dmanagement-style.rst132 Questo può suonare come un fallimento, ma di solito questo è un segno che
H A Dmaintainer-pgp-guide.rst941 Se trovate un paio di percorsi affidabili è un buon segno circa la validità
H A Dcoding-style.rst390 con segno, identici ai tipi standard, sono permessi- tuttavia, non sono
H A Dsubmitting-patches.rst150 essere lunga, potrebbe essere un segno che la vostra patch necessita d'essere
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Df2fs.rst412 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1]
413 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
/OK3568_Linux_fs/kernel/Documentation/translations/it_IT/kernel-hacking/
H A Dhacking.rst570 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),