Home
last modified time | relevance | path

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

/Linux-v5.15/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.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
379 ve->segno = segno; in attach_victim_entry()
[all …]
Dsegment.c806 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument
812 if (IS_CURSEG(sbi, segno)) in __locate_dirty_segment()
815 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment()
819 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment()
826 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment()
830 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment()
832 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment()
843 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument
849 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment()
853 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment()
[all …]
Dgc.h60 unsigned int segno; /* section No. */ member
68 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()
183 si->curseg[i] = curseg->segno; in update_general_status()
184 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
Drecovery.c447 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local
459 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes()
467 if (curseg->segno == segno) { in check_index_in_prev_nodes()
473 sum_page = f2fs_get_sum_page(sbi, segno); in check_index_in_prev_nodes()
Df2fs.h409 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno)
3425 unsigned int segno, struct f2fs_summary_block *sum);
3461 bool f2fs_segment_has_free_slot(struct f2fs_sb_info *sbi, int segno);
3474 struct page *f2fs_get_sum_page(struct f2fs_sb_info *sbi, unsigned int segno);
3515 unsigned int segno);
3517 unsigned int segno);
3634 unsigned int segno);
Dcheckpoint.c139 unsigned int segno, offset; in __is_bitmap_valid() local
145 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid()
147 se = get_seg_entry(sbi, segno); in __is_bitmap_valid()
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()
/Linux-v5.15/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c369 u32 *remaining, unsigned int segno) in svc_rdma_encode_write_segment() argument
371 const struct svc_rdma_segment *segment = &chunk->ch_segments[segno]; in svc_rdma_encode_write_segment()
384 trace_svcrdma_encode_wseg(sctxt, segno, segment->rs_handle, length, in svc_rdma_encode_write_segment()
407 unsigned int segno; in svc_rdma_encode_write_chunk() local
421 for (segno = 0; segno < chunk->ch_segcount; segno++) { in svc_rdma_encode_write_chunk()
422 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); in svc_rdma_encode_write_chunk()
/Linux-v5.15/include/trace/events/
Drpcrdma.h1492 u32 segno,
1498 TP_ARGS(ctxt, segno, handle, length, offset),
1503 __field(u32, segno)
1512 __entry->segno = segno;
1520 __entry->segno, __entry->length,
1537 __field(u32, segno)
1547 __entry->segno = chunk->ch_segcount;
1556 __entry->segno, __entry->position, __entry->length,
1565 u32 segno
1568 TP_ARGS(cid, chunk, segno),
[all …]
/Linux-v5.15/arch/powerpc/platforms/powernv/
Dpci-ioda.c262 int segno, i; in pnv_ioda_reserve_dev_m64_pe() local
273 for (segno = start / sgsz; segno < end / sgsz; segno++) { in pnv_ioda_reserve_dev_m64_pe()
275 set_bit(segno, pe_bitmap); in pnv_ioda_reserve_dev_m64_pe()
277 pnv_ioda_reserve_pe(phb, segno); in pnv_ioda_reserve_dev_m64_pe()
2956 unsigned int segno; in pnv_pci_init_ioda_phb() local
3045 for (segno = 0; segno < ARRAY_SIZE(phb->ioda.pe_rmap); segno++) in pnv_pci_init_ioda_phb()
3046 phb->ioda.pe_rmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3088 for (segno = 0; segno < phb->ioda.total_pe_num; segno++) { in pnv_pci_init_ioda_phb()
3089 phb->ioda.m64_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
3090 phb->ioda.m32_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
[all …]
/Linux-v5.15/include/linux/
Df2fs_fs.h456 __le32 segno; member
/Linux-v5.15/Documentation/translations/it_IT/process/
D4.Coding.rst120 compilatore. L'uso eccessivo del preprocessore è praticamente sempre il segno
418 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.rst412 con segno, identici ai tipi standard, sono permessi- tuttavia, non sono
Dsubmitting-patches.rst90 essere lunga, potrebbe essere un segno che la vostra patch necessita d'essere
/Linux-v5.15/Documentation/filesystems/
Df2fs.rst425 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1]
426 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
/Linux-v5.15/Documentation/translations/it_IT/kernel-hacking/
Dhacking.rst570 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),