| /linux/fs/f2fs/ |
| H A 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 56 #define START_BLOCK(sbi, segno) (SEG0_BLKADDR(sbi) + \ argument 57 (SEGS_TO_BLKS(sbi, GET_R2L_SEGNO(FREE_I(sbi), segno)))) 60 (START_BLOCK(sbi, (curseg)->segno) + (curseg)->next_blkoff) 82 #define GET_START_SEG_FROM_SEC(sbi, segno) \ argument 83 (rounddown(segno, SEGS_PER_SEC(sbi))) 84 #define GET_SEC_FROM_SEG(sbi, segno) \ argument 85 (((segno) == -1) ? -1 : (segno) / SEGS_PER_SEC(sbi)) 90 #define GET_ZONE_FROM_SEG(sbi, segno) \ argument [all …]
|
| H A D | gc.c | 363 static unsigned int get_cb_cost(struct f2fs_sb_info *sbi, unsigned int segno) in get_cb_cost() argument 372 mtime = f2fs_get_section_mtime(sbi, segno); in get_cb_cost() 374 vblocks = get_valid_blocks(sbi, segno, true); in get_cb_cost() 392 unsigned int segno, struct victim_sel_policy *p, in get_gc_cost() argument 396 return get_seg_entry(sbi, segno)->ckpt_valid_blocks; in get_gc_cost() 399 (get_valid_blocks(sbi, segno, true) >= in get_gc_cost() 405 return get_valid_blocks(sbi, segno, true); in get_gc_cost() 407 return get_cb_cost(sbi, segno); in get_gc_cost() 471 unsigned long long mtime, unsigned int segno) in __create_victim_entry() argument 479 ve->segno = segno; in __create_victim_entry() [all …]
|
| H A D | segment.c | 770 static void __locate_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __locate_dirty_segment() argument 776 if (is_curseg(sbi, segno)) in __locate_dirty_segment() 779 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __locate_dirty_segment() 783 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __locate_dirty_segment() 790 if (!test_and_set_bit(segno, dirty_i->dirty_segmap[t])) in __locate_dirty_segment() 794 unsigned int secno = GET_SEC_FROM_SEG(sbi, segno); in __locate_dirty_segment() 796 get_valid_blocks(sbi, segno, true); in __locate_dirty_segment() 809 static void __remove_dirty_segment(struct f2fs_sb_info *sbi, unsigned int segno, in __remove_dirty_segment() argument 815 if (test_and_clear_bit(segno, dirty_i->dirty_segmap[dirty_type])) in __remove_dirty_segment() 819 struct seg_entry *sentry = get_seg_entry(sbi, segno); in __remove_dirty_segment() [all …]
|
| H A D | recovery.c | 496 unsigned int segno = GET_SEGNO(sbi, blkaddr); in check_index_in_prev_nodes() local 508 sentry = get_seg_entry(sbi, segno); in check_index_in_prev_nodes() 516 if (curseg->segno == segno) { in check_index_in_prev_nodes() 522 sum_folio = f2fs_get_sum_folio(sbi, segno); in check_index_in_prev_nodes() 525 sum_node = SUM_BLK_PAGE_ADDR(sum_folio, segno); in check_index_in_prev_nodes()
|
| H A D | debug.c | 37 unsigned int segno, vblocks; in f2fs_update_sit_info() local 44 for (segno = 0; segno < MAIN_SEGS(sbi); segno += SEGS_PER_SEC(sbi)) { in f2fs_update_sit_info() 45 vblocks = get_valid_blocks(sbi, segno, true); in f2fs_update_sit_info() 255 si->curseg[i] = curseg->segno; in update_general_status() 256 si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); in update_general_status()
|
| H A D | gc.h | 83 unsigned int segno; /* segment No. */ member
|
| H A D | checkpoint.c | 141 unsigned int segno, offset; in __is_bitmap_valid() local 147 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid() 149 se = get_seg_entry(sbi, segno); in __is_bitmap_valid() 1498 ckpt->cur_node_segno[i] = cpu_to_le32(curseg->segno); in do_checkpoint() 1505 ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno); in do_checkpoint()
|
| H A D | f2fs.h | 527 #define segno_in_journal(jnl, i) ((jnl)->sit_j.entries[i].segno) 3879 unsigned int segno, struct f2fs_summary_block *sum); 3912 bool f2fs_segment_has_free_slot(struct f2fs_sb_info *sbi, int segno); 3925 struct folio *f2fs_get_sum_folio(struct f2fs_sb_info *sbi, unsigned int segno); 3972 unsigned int segno); 3974 unsigned int segno);
|
| H A D | node.c | 2930 unsigned int segno, struct f2fs_summary_block *sum) in f2fs_restore_node_summary() argument 2939 addr = START_BLOCK(sbi, segno); in f2fs_restore_node_summary()
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_sendto.c | 423 * @segno: which segment in the chunk in svc_rdma_encode_write_segment() 432 u32 *remaining, unsigned int segno) in svc_rdma_encode_write_segment() 434 const struct svc_rdma_segment *segment = &chunk->ch_segments[segno]; in svc_rdma_encode_write_segment() 447 trace_svcrdma_encode_wseg(sctxt, segno, segment->rs_handle, length, 470 unsigned int segno; in svc_rdma_encode_write_chunk() 484 for (segno = 0; segno < chunk->ch_segcount; segno++) { 485 ret = svc_rdma_encode_write_segment(sctxt, chunk, &remaining, segno); 422 svc_rdma_encode_write_segment(struct svc_rdma_send_ctxt * sctxt,const struct svc_rdma_chunk * chunk,u32 * remaining,unsigned int segno) svc_rdma_encode_write_segment() argument 460 unsigned int segno; svc_rdma_encode_write_chunk() local
|
| /linux/include/trace/events/ |
| H A D | rpcrdma.h | 1646 u32 segno, 1652 TP_ARGS(ctxt, segno, handle, length, offset), 1657 __field(u32, segno) 1666 __entry->segno = segno; 1674 __entry->segno, __entry->length, 1691 __field(u32, segno) 1701 __entry->segno = chunk->ch_segcount; 1710 __entry->segno, __entry->position, __entry->length, 1719 u32 segno 1722 TP_ARGS(cid, chunk, segno), [all …]
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci-ioda.c | 258 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() 2507 unsigned int segno; in pnv_pci_init_ioda_phb() local 2596 for (segno = 0; segno < ARRAY_SIZE(phb->ioda.pe_rmap); segno++) in pnv_pci_init_ioda_phb() 2597 phb->ioda.pe_rmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb() 2628 for (segno = 0; segno < phb->ioda.total_pe_num; segno++) { in pnv_pci_init_ioda_phb() 2629 phb->ioda.m64_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb() 2630 phb->ioda.m32_segmap[segno] = IODA_INVALID_PE; in pnv_pci_init_ioda_phb()
|
| /linux/include/linux/ |
| H A D | f2fs_fs.h | 507 __le32 segno; member
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | management-style.rst | 132 Questo può suonare come un fallimento, ma di solito questo è un segno che
|
| /linux/Documentation/translations/it_IT/RCU/ |
| H A D | torture.rst | 58 un brutto segno se questo numero rappresenta una frazione troppo alta di
|
| /linux/Documentation/filesystems/ |
| H A D | f2fs.rst | 510 -s [SIT dump segno from #1~#2 (decimal), for all 0~-1] 511 -a [SSA dump segno from #1~#2 (decimal), for all 0~-1]
|
| /linux/Documentation/translations/it_IT/kernel-hacking/ |
| H A D | hacking.rst | 569 (``include/asm/atomic.h``); questo contiene un intero con segno (minimo 32bit),
|