/Linux-v5.10/fs/f2fs/ |
D | segment.h | 91 #define GET_SEGOFF_FROM_SEG0(sbi, blk_addr) ((blk_addr) - SEG0_BLKADDR(sbi)) argument 92 #define GET_SEGNO_FROM_SEG0(sbi, blk_addr) \ argument 93 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) >> (sbi)->log_blocks_per_seg) 94 #define GET_BLKOFF_FROM_SEG0(sbi, blk_addr) \ argument 95 (GET_SEGOFF_FROM_SEG0(sbi, blk_addr) & ((sbi)->blocks_per_seg - 1)) 97 #define GET_SEGNO(sbi, blk_addr) \ argument 98 ((!__is_valid_data_blkaddr(blk_addr)) ? \ 100 GET_SEGNO_FROM_SEG0(sbi, blk_addr))) 129 #define SECTOR_FROM_BLOCK(blk_addr) \ argument 130 (((sector_t)blk_addr) << F2FS_LOG_SECTORS_PER_BLOCK) [all …]
|
D | node.h | 56 block_t blk_addr; /* block address of the node */ member 68 #define nat_get_blkaddr(nat) ((nat)->ni.blk_addr) 69 #define nat_set_blkaddr(nat, b) ((nat)->ni.blk_addr = (b)) 82 dst->blk_addr = src->blk_addr; in copy_node_info() 115 ni->blk_addr = le32_to_cpu(raw_ne->block_addr); in node_info_from_raw_nat() 123 raw_ne->block_addr = cpu_to_le32(ni->blk_addr); in raw_nat_from_node_info()
|
D | node.c | 436 f2fs_bug_on(sbi, ni->blk_addr == NEW_ADDR); in set_node_addr() 444 f2fs_bug_on(sbi, ni->blk_addr != NULL_ADDR); in set_node_addr() 451 f2fs_bug_on(sbi, nat_get_blkaddr(e) != ni->blk_addr); in set_node_addr() 535 ni->blk_addr = nat_get_blkaddr(e); in f2fs_get_node_info() 838 f2fs_invalidate_blocks(sbi, ni.blk_addr); in truncate_node() 858 trace_f2fs_truncate_node(dn->inode, dn->nid, ni.blk_addr); in truncate_node() 1237 f2fs_bug_on(sbi, new_ni.blk_addr != NULL_ADDR); in f2fs_new_node_page() 1241 new_ni.blk_addr = NULL_ADDR; in f2fs_new_node_page() 1298 if (unlikely(ni.blk_addr == NULL_ADDR) || in read_node_page() 1304 fio.new_blkaddr = fio.old_blkaddr = ni.blk_addr; in read_node_page() [all …]
|
D | checkpoint.c | 657 if (ni.blk_addr != NULL_ADDR) { in recover_orphan_inode() 781 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes() 793 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes() 1352 void *src, block_t blk_addr) in commit_checkpoint() argument 1363 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in commit_checkpoint()
|
D | data.c | 395 block_t blk_addr, struct bio *bio) in f2fs_target_device() argument 402 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device() 403 FDEV(i).end_blk >= blk_addr) { in f2fs_target_device() 404 blk_addr -= FDEV(i).start_blk; in f2fs_target_device() 412 bio->bi_iter.bi_sector = SECTOR_FROM_BLOCK(blk_addr); in f2fs_target_device() 434 block_t blk_addr, struct bio *bio) in __same_bdev() argument 436 struct block_device *b = f2fs_target_device(sbi, blk_addr, NULL); in __same_bdev() 1846 phys = (__u64)blk_to_logical(inode, ni.blk_addr); in f2fs_xattr_fiemap() 1878 phys = (__u64)blk_to_logical(inode, ni.blk_addr); in f2fs_xattr_fiemap() 3277 block_t *blk_addr, bool *node_changed) in prepare_write_begin() argument [all …]
|
D | segment.c | 2391 void *src, block_t blk_addr) in f2fs_update_meta_page() argument 2393 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in f2fs_update_meta_page() 2401 struct f2fs_summary_block *sum_blk, block_t blk_addr) in write_sum_page() argument 2403 f2fs_update_meta_page(sbi, (void *)sum_blk, blk_addr); in write_sum_page() 2407 int type, block_t blk_addr) in write_current_sum_page() argument 2410 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in write_current_sum_page() 3759 block_t blk_addr = 0; in read_normal_summaries() local 3768 blk_addr = sum_blk_addr(sbi, NR_CURSEG_PERSIST_TYPE, type); in read_normal_summaries() 3770 blk_addr = sum_blk_addr(sbi, NR_CURSEG_DATA_TYPE, type); in read_normal_summaries() 3777 blk_addr = sum_blk_addr(sbi, NR_CURSEG_NODE_TYPE, in read_normal_summaries() [all …]
|
D | inline.c | 781 byteaddr = (__u64)ni.blk_addr << inode->i_sb->s_blocksize_bits; in f2fs_inline_data_fiemap()
|
D | inode.c | 855 if (ni.blk_addr != NULL_ADDR) { in f2fs_handle_failed_inode()
|
D | f2fs.h | 3369 block_t blk_addr); 3472 block_t blk_addr, struct bio *bio);
|
D | gc.c | 917 if (ni.blk_addr != start_addr + off) { in gc_node_segment()
|
/Linux-v5.10/include/trace/events/ |
D | mmc.h | 33 __field(unsigned int, blk_addr) 62 __entry->blk_addr = mrq->data ? mrq->data->blk_addr : 0; 90 __entry->blk_addr, __entry->data_flags, __entry->tag,
|
D | f2fs.h | 461 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 463 TP_ARGS(inode, nid, blk_addr), 469 __field(block_t, blk_addr) 476 __entry->blk_addr = blk_addr; 482 (unsigned long long)__entry->blk_addr) 487 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 489 TP_ARGS(inode, nid, blk_addr) 501 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 503 TP_ARGS(inode, nid, blk_addr)
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 112 #define NDC_MAX_BANK(rvu, blk_addr) (rvu_read64(rvu, \ argument 113 blk_addr, NDC_AF_CONST) & 0xFF) 703 static void ndc_cache_stats(struct seq_file *s, int blk_addr, in ndc_cache_stats() argument 711 req = rvu_read64(rvu, blk_addr, NDC_AF_PORTX_RTX_RWX_REQ_PC in ndc_cache_stats() 713 lat = rvu_read64(rvu, blk_addr, NDC_AF_PORTX_RTX_RWX_LAT_PC in ndc_cache_stats() 715 out_req = rvu_read64(rvu, blk_addr, in ndc_cache_stats() 718 cant_alloc = rvu_read64(rvu, blk_addr, in ndc_cache_stats() 730 static int ndc_blk_cache_stats(struct seq_file *s, int idx, int blk_addr) in ndc_blk_cache_stats() argument 733 ndc_cache_stats(s, blk_addr, CACHING, NDC_READ_TRANS); in ndc_blk_cache_stats() 735 ndc_cache_stats(s, blk_addr, CACHING, NDC_WRITE_TRANS); in ndc_blk_cache_stats() [all …]
|
/Linux-v5.10/include/linux/mmc/ |
D | core.h | 119 unsigned int blk_addr; /* block address */ member
|
/Linux-v5.10/include/linux/ |
D | f2fs_fs.h | 189 __le16 blk_addr; /* block index in current CP */ member
|
/Linux-v5.10/drivers/mmc/host/ |
D | cqhci.c | 426 CQHCI_BLK_ADDR((u64)mrq->data->blk_addr); in cqhci_prep_task_desc()
|
/Linux-v5.10/drivers/mmc/core/ |
D | core.c | 279 mmc_hostname(host), mrq->tag, mrq->data->blk_addr); in mmc_mrq_pr_debug()
|
D | block.c | 1266 brq->data.blk_addr = blk_rq_pos(req); in mmc_blk_data_prep()
|