/linux/fs/f2fs/ |
A 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 94 #define GET_BLKOFF_FROM_SEG0(sbi, blk_addr) \ argument 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) 761 block_t blk_addr = sit_i->sit_base_addr + offset; in current_sit_addr() local 773 blk_addr += sit_i->sit_blocks; in current_sit_addr() [all …]
|
A D | node.h | 59 block_t blk_addr; /* block address of the node */ member 71 #define nat_get_blkaddr(nat) ((nat)->ni.blk_addr) 72 #define nat_set_blkaddr(nat, b) ((nat)->ni.blk_addr = (b)) 85 dst->blk_addr = src->blk_addr; in copy_node_info() 118 ni->blk_addr = le32_to_cpu(raw_ne->block_addr); in node_info_from_raw_nat() 126 raw_ne->block_addr = cpu_to_le32(ni->blk_addr); in raw_nat_from_node_info()
|
A D | node.c | 563 ni->blk_addr = nat_get_blkaddr(e); in f2fs_get_node_info() 895 f2fs_invalidate_blocks(sbi, ni.blk_addr); in truncate_node() 1298 new_ni.blk_addr = NULL_ADDR; in f2fs_new_node_page() 1356 if (unlikely(ni.blk_addr == NULL_ADDR || ni.blk_addr == NEW_ADDR) || in read_node_page() 1614 if (unlikely(ni.blk_addr == NULL_ADDR)) { in __write_node_page() 1623 !f2fs_is_valid_blkaddr(sbi, ni.blk_addr, in __write_node_page() 1642 fio.old_blkaddr = ni.blk_addr; in __write_node_page() 2357 block_t blk_addr; in scan_nat_page() local 2371 if (blk_addr == NEW_ADDR) in scan_nat_page() 2374 if (blk_addr == NULL_ADDR) { in scan_nat_page() [all …]
|
A D | data.c | 357 block_t blk_addr, struct bio *bio) in f2fs_target_device() argument 364 if (FDEV(i).start_blk <= blk_addr && in f2fs_target_device() 365 FDEV(i).end_blk >= blk_addr) { in f2fs_target_device() 366 blk_addr -= FDEV(i).start_blk; in f2fs_target_device() 1501 block_t blk_addr = map->m_pblk; in f2fs_map_blocks() local 1512 blk_addr, map->m_len); in f2fs_map_blocks() 1715 block_t blk_addr = map->m_pblk; in f2fs_map_blocks() local 1724 blk_addr, map->m_len); in f2fs_map_blocks() 1726 f2fs_bug_on(sbi, blk_addr + map->m_len > in f2fs_map_blocks() 3330 block_t *blk_addr, bool *node_changed) in prepare_write_begin() argument [all …]
|
A D | checkpoint.c | 672 if (ni.blk_addr != NULL_ADDR) { in recover_orphan_inode() 794 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes() 806 orphan_blk->blk_addr = cpu_to_le16(index); in write_orphan_inodes() 1373 void *src, block_t blk_addr) in commit_checkpoint() argument 1384 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in commit_checkpoint()
|
A D | segment.c | 2480 void *src, block_t blk_addr) in f2fs_update_meta_page() argument 2482 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in f2fs_update_meta_page() 2490 struct f2fs_summary_block *sum_blk, block_t blk_addr) in write_sum_page() argument 2492 f2fs_update_meta_page(sbi, (void *)sum_blk, blk_addr); in write_sum_page() 2496 int type, block_t blk_addr) in write_current_sum_page() argument 2499 struct page *page = f2fs_grab_meta_page(sbi, blk_addr); in write_current_sum_page() 3917 block_t blk_addr = 0; in read_normal_summaries() local 3928 blk_addr = sum_blk_addr(sbi, NR_CURSEG_DATA_TYPE, type); in read_normal_summaries() 3935 blk_addr = sum_blk_addr(sbi, NR_CURSEG_NODE_TYPE, in read_normal_summaries() 3938 blk_addr = GET_SUM_BLOCK(sbi, segno); in read_normal_summaries() [all …]
|
A D | inline.c | 793 byteaddr = (__u64)ni.blk_addr << inode->i_sb->s_blocksize_bits; in f2fs_inline_data_fiemap()
|
A D | inode.c | 878 if (ni.blk_addr != NULL_ADDR) { in f2fs_handle_failed_inode()
|
A D | f2fs.h | 3491 block_t blk_addr); 3610 block_t blk_addr, struct bio *bio);
|
A D | gc.c | 955 if (ni.blk_addr != start_addr + off) { in gc_node_segment()
|
/linux/include/trace/events/ |
A 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,
|
A D | f2fs.h | 462 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 464 TP_ARGS(inode, nid, blk_addr), 470 __field(block_t, blk_addr) 477 __entry->blk_addr = blk_addr; 483 (unsigned long long)__entry->blk_addr) 488 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 490 TP_ARGS(inode, nid, blk_addr) 502 TP_PROTO(struct inode *inode, nid_t nid, block_t blk_addr), 504 TP_ARGS(inode, nid, blk_addr)
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | rvu_debugfs.c | 199 #define NDC_MAX_BANK(rvu, blk_addr) (rvu_read64(rvu, \ argument 200 blk_addr, NDC_AF_CONST) & 0xFF) 1051 if (blk_addr == BLKADDR_NDC_NPA0) { in ndc_cache_stats() 1063 out_req = rvu_read64(rvu, blk_addr, in ndc_cache_stats() 1066 cant_alloc = rvu_read64(rvu, blk_addr, in ndc_cache_stats() 1081 ndc_cache_stats(s, blk_addr, CACHING, NDC_READ_TRANS); in ndc_blk_cache_stats() 1085 ndc_cache_stats(s, blk_addr, BYPASS, NDC_READ_TRANS); in ndc_blk_cache_stats() 1104 if (blk_addr == BLKADDR_NDC_NPA0) { in ndc_blk_hits_miss_stats() 1111 max_bank = NDC_MAX_BANK(rvu, blk_addr); in ndc_blk_hits_miss_stats() 1115 (u64)rvu_read64(rvu, blk_addr, in ndc_blk_hits_miss_stats() [all …]
|
/linux/tools/perf/util/ |
A D | mem-events.h | 84 u32 blk_addr; /* count of loads blocked by address conflict */ member
|
A D | mem-events.c | 508 if (blk & P(BLK, ADDR)) stats->blk_addr++; in c2c_decode_stats() 622 stats->blk_addr += add->blk_addr; in c2c_add_stats()
|
/linux/include/linux/mmc/ |
A D | core.h | 119 unsigned int blk_addr; /* block address */ member
|
/linux/include/linux/ |
A D | f2fs_fs.h | 190 __le16 blk_addr; /* block index in current CP */ member
|
/linux/drivers/mmc/host/ |
A D | cqhci-core.c | 440 CQHCI_BLK_ADDR((u64)mrq->data->blk_addr); in cqhci_prep_task_desc()
|
/linux/tools/perf/ |
A D | builtin-c2c.c | 2140 fprintf(out, " Load access blocked by address : %10d\n", stats->blk_addr); in print_c2c__display_stats() 2169 fprintf(out, " Blocked Access on shared lines : %10d\n", stats->blk_data + stats->blk_addr); in print_shared_cacheline_info()
|
/linux/drivers/mmc/core/ |
A D | core.c | 280 mmc_hostname(host), mrq->tag, mrq->data->blk_addr); in mmc_mrq_pr_debug()
|
A D | block.c | 1325 brq->data.blk_addr = blk_rq_pos(req); in mmc_blk_data_prep()
|