Home
last modified time | relevance | path

Searched refs:blkaddr (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_cpt.c318 int blkaddr; in validate_and_get_cpt_blkaddr() local
321 if (blkaddr != BLKADDR_CPT0 && blkaddr != BLKADDR_CPT1) in validate_and_get_cpt_blkaddr()
337 blkaddr = validate_and_get_cpt_blkaddr(req->blkaddr); in rvu_mbox_handler_cpt_lf_alloc()
581 blkaddr = validate_and_get_cpt_blkaddr(req->blkaddr); in is_valid_offset()
637 int blkaddr; in rvu_mbox_handler_cpt_rd_wr_register() local
639 blkaddr = validate_and_get_cpt_blkaddr(req->blkaddr); in rvu_mbox_handler_cpt_rd_wr_register()
726 int blkaddr; in rvu_mbox_handler_cpt_sts() local
728 blkaddr = validate_and_get_cpt_blkaddr(req->blkaddr); in rvu_mbox_handler_cpt_sts()
782 int blkaddr; in rvu_mbox_handler_cpt_rxc_time_cfg() local
784 blkaddr = validate_and_get_cpt_blkaddr(req->blkaddr); in rvu_mbox_handler_cpt_rxc_time_cfg()
[all …]
A Drvu_nix.c101 int blkaddr; in is_nixlf_attached() local
114 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_get_nixlf_count()
118 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_get_nixlf_count()
127 int blkaddr; in nix_get_nixlf() local
845 blkaddr = nix_hw->blkaddr; in rvu_nix_blk_aq_enq_inst()
4238 int blkaddr = nix_hw->blkaddr; in rvu_nix_block_init() local
4411 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_nix_init()
4415 nix_hw->blkaddr = blkaddr; in rvu_nix_init()
4419 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_nix_init()
4468 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_nix_freemem()
[all …]
A Drvu_devlink.c70 int blkaddr; in rvu_nix_af_rvu_intr_handler() local
75 if (blkaddr < 0) in rvu_nix_af_rvu_intr_handler()
105 int blkaddr; in rvu_nix_af_rvu_gen_handler() local
140 int blkaddr; in rvu_nix_af_rvu_err_handler() local
175 int blkaddr; in rvu_nix_af_rvu_ras_handler() local
482 int blkaddr; in rvu_hw_nix_intr_recover() local
513 int blkaddr; in rvu_hw_nix_gen_recover() local
544 int blkaddr; in rvu_hw_nix_err_recover() local
575 int blkaddr; in rvu_hw_nix_ras_recover() local
714 int blkaddr; in rvu_npa_af_rvu_intr_handler() local
[all …]
A Drvu_npc.c87 int blkaddr; in rvu_npc_set_pkind() local
91 if (blkaddr < 0) in rvu_npc_set_pkind()
127 if (blkaddr < 0) { in npc_config_ts_kpuaction()
156 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in npc_get_ucast_mcam_index()
157 while (blkaddr) { in npc_get_ucast_mcam_index()
162 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in npc_get_ucast_mcam_index()
1106 int blkaddr; in rvu_npc_disable_mcam_entries() local
1142 int blkaddr; in rvu_npc_free_mcam_entries() local
2556 int blkaddr; in rvu_mbox_handler_npc_mcam_alloc_entry() local
3174 int blkaddr; in npc_set_var_len_offset_pkind() local
[all …]
A Drvu_npa.c57 int blkaddr, npalf, rc = 0; in rvu_npa_aq_enq_inst() local
70 if (!pfvf->npalf || blkaddr < 0) in rvu_npa_aq_enq_inst()
73 block = &hw->block[blkaddr]; in rvu_npa_aq_enq_inst()
328 int blkaddr; in rvu_mbox_handler_npa_lf_alloc() local
342 block = &hw->block[blkaddr]; in rvu_mbox_handler_npa_lf_alloc()
434 int blkaddr; in rvu_mbox_handler_npa_lf_free() local
441 block = &hw->block[blkaddr]; in rvu_mbox_handler_npa_lf_free()
508 int blkaddr; in rvu_npa_init() local
511 if (blkaddr < 0) in rvu_npa_init()
522 int blkaddr; in rvu_npa_freemem() local
[all …]
A Drvu_cn10k.c285 int blkaddr; in rvu_set_channels_base() local
287 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NIX, 0); in rvu_set_channels_base()
288 if (blkaddr < 0) in rvu_set_channels_base()
289 return blkaddr; in rvu_set_channels_base()
291 nix_const = rvu_read64(rvu, blkaddr, NIX_AF_CONST); in rvu_set_channels_base()
292 nix_const1 = rvu_read64(rvu, blkaddr, NIX_AF_CONST1); in rvu_set_channels_base()
492 int blkaddr = 0; in rvu_nix_set_channels() local
494 blkaddr = rvu_get_next_nix_blkaddr(rvu, blkaddr); in rvu_nix_set_channels()
495 while (blkaddr) { in rvu_nix_set_channels()
496 __rvu_nix_set_channels(rvu, blkaddr); in rvu_nix_set_channels()
[all …]
A Drvu_debugfs.c608 int blkaddr; in rvu_dbg_qsize_display() local
652 int blkaddr; in rvu_dbg_qsize_write() local
1130 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_cache_display()
1145 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_tx_cache_display()
1169 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_rx_hits_miss_display()
1184 blkaddr = (nix_hw->blkaddr == BLKADDR_NIX1 ? in rvu_dbg_nix_ndc_tx_hits_miss_display()
2620 int blkaddr = ctx->blkaddr; in cpt_eng_sts_display() local
2685 int blkaddr = ctx->blkaddr; in rvu_dbg_cpt_engines_info_display() local
2717 int blkaddr = ctx->blkaddr; in rvu_dbg_cpt_lfs_info_display() local
2751 int blkaddr = ctx->blkaddr; in rvu_dbg_cpt_err_info_display() local
[all …]
A Drvu.c332 return blkaddr; in rvu_get_blkaddr()
464 if (blkaddr < BLKADDR_RVUM || blkaddr >= BLK_COUNT) in is_block_implemented()
1303 int blkaddr; in rvu_get_blkaddr_from_slot() local
1312 for (blkaddr = BLKADDR_RVUM; blkaddr < BLK_COUNT; blkaddr++) { in rvu_get_blkaddr_from_slot()
1347 return blkaddr; in rvu_get_blkaddr_from_slot()
1356 int blkaddr; in rvu_detach_block() local
1359 if (blkaddr < 0) in rvu_detach_block()
1491 int blkaddr; in rvu_get_attach_blkaddr() local
1502 if (blkaddr != BLKADDR_CPT0 && blkaddr != BLKADDR_CPT1) in rvu_get_attach_blkaddr()
1522 int blkaddr; in rvu_attach_block() local
[all …]
A Drvu_npc_fs.c192 cfg = rvu_read64(rvu, blkaddr, in npc_check_overlap()
531 cfg = rvu_read64(rvu, blkaddr, in npc_scan_kex()
578 npc_set_features(rvu, blkaddr, NIX_INTF_TX); in npc_scan_verify_kex()
592 return npc_scan_verify_kex(rvu, blkaddr); in npc_flow_steering_init()
1160 int blkaddr, nixlf, err; in rvu_mbox_handler_npc_install_flow() local
1167 if (blkaddr < 0) { in rvu_mbox_handler_npc_install_flow()
1355 int blkaddr, bank, index; in npc_mcam_enable_flows() local
1359 if (blkaddr < 0) in npc_mcam_enable_flows()
1385 rvu_write64(rvu, blkaddr, in npc_mcam_enable_flows()
1408 int blkaddr, index; in npc_mcam_disable_flows() local
[all …]
A Drvu.h52 int blkaddr; member
196 #define MSIX_BLKLF(blkaddr, lf) (((blkaddr) << 8) | ((lf) & 0xFF)) argument
311 int blkaddr; member
731 int blkaddr, u32 cfg);
742 int rvu_get_next_nix_blkaddr(struct rvu *rvu, int blkaddr);
745 struct nix_hw **nix_hw, int *blkaddr);
785 int blkaddr, int *alloc_cnt,
788 int blkaddr, int *alloc_cnt,
794 int npc_flow_steering_init(struct rvu *rvu, int blkaddr);
800 int blkaddr, int index, bool enable);
[all …]
A Drvu_sdp.c96 int blkaddr; in rvu_mbox_handler_get_sdp_chan_info() local
102 blkaddr = rvu_get_blkaddr(rvu, BLKTYPE_NIX, 0); in rvu_mbox_handler_get_sdp_chan_info()
104 rsp->num_chan = rvu_read64(rvu, blkaddr, NIX_AF_CONST1) & 0xFFFUL; in rvu_mbox_handler_get_sdp_chan_info()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cpt_mbox_common.c46 u64 reg, u64 *val, int blkaddr) in otx2_cpt_add_read_af_reg() argument
65 reg_msg->blkaddr = blkaddr; in otx2_cpt_add_read_af_reg()
71 u64 reg, u64 val, int blkaddr) in otx2_cpt_add_write_af_reg() argument
90 reg_msg->blkaddr = blkaddr; in otx2_cpt_add_write_af_reg()
96 u64 reg, u64 *val, int blkaddr) in otx2_cpt_read_af_reg() argument
100 ret = otx2_cpt_add_read_af_reg(mbox, pdev, reg, val, blkaddr); in otx2_cpt_read_af_reg()
108 u64 reg, u64 val, int blkaddr) in otx2_cpt_write_af_reg() argument
112 ret = otx2_cpt_add_write_af_reg(mbox, pdev, reg, val, blkaddr); in otx2_cpt_write_af_reg()
A Dotx2_cpt_common.h148 u64 reg, u64 *val, int blkaddr);
150 u64 reg, u64 val, int blkaddr);
152 u64 reg, u64 *val, int blkaddr);
154 u64 reg, u64 val, int blkaddr);
A Dotx2_cptpf_ucode.c193 blkaddr); in cptx_set_ucode_base()
217 int blkaddr) in cptx_detach_and_disable_cores() argument
237 blkaddr); in cptx_detach_and_disable_cores()
254 blkaddr); in cptx_detach_and_disable_cores()
271 blkaddr); in cptx_detach_and_disable_cores()
304 int blkaddr) in cptx_attach_and_enable_cores() argument
323 blkaddr); in cptx_attach_and_enable_cores()
333 blkaddr); in cptx_attach_and_enable_cores()
1214 int blkaddr) in cptx_disable_all_cores() argument
1224 blkaddr); in cptx_disable_all_cores()
[all …]
/linux/fs/f2fs/
A Drecovery.c350 block_t blkaddr; in find_fsync_dnodes() local
410 entry->blkaddr = blkaddr; in find_fsync_dnodes()
413 entry->last_dentry = blkaddr; in find_fsync_dnodes()
419 __func__, blkaddr, in find_fsync_dnodes()
427 blkaddr = next_blkaddr_of_node(page); in find_fsync_dnodes()
430 f2fs_ra_meta_pages_cond(sbi, blkaddr); in find_fsync_dnodes()
534 if (tdn.data_blkaddr == blkaddr) in check_index_in_prev_nodes()
706 block_t blkaddr; in recover_data() local
746 if (entry->last_dentry == blkaddr) { in recover_data()
759 if (entry->blkaddr == blkaddr) in recover_data()
[all …]
A Dcompress.c843 block_t blkaddr) in f2fs_end_read_compressed_page() argument
853 else if (blkaddr) in f2fs_end_read_compressed_page()
855 dic->inode->i_ino, blkaddr); in f2fs_end_read_compressed_page()
997 block_t blkaddr; in __f2fs_cluster_blocks() local
1005 if (blkaddr != NULL_ADDR) in __f2fs_cluster_blocks()
1344 block_t blkaddr; in f2fs_write_compressed_pages() local
1348 fio.old_blkaddr = blkaddr; in f2fs_write_compressed_pages()
1352 if (blkaddr == COMPRESS_ADDR) in f2fs_write_compressed_pages()
1783 invalidate_mapping_pages(COMPRESS_MAPPING(sbi), blkaddr, blkaddr); in f2fs_invalidate_compress_page()
1812 blkaddr, GFP_NOFS); in f2fs_cache_compressed_page()
[all …]
A Dfile.c401 if (blkaddr == NEW_ADDR && in __found_offset()
406 if (blkaddr == NULL_ADDR) in __found_offset()
463 block_t blkaddr; in f2fs_seek_block() local
585 if (blkaddr == NULL_ADDR) in f2fs_truncate_data_blocks_range()
1148 blkaddr += done; in __read_out_blkaddrs()
3361 block_t blkaddr; in release_compress_blocks() local
3382 if (blkaddr == COMPRESS_ADDR) in release_compress_blocks()
3391 if (blkaddr != NEW_ADDR) in release_compress_blocks()
3523 block_t blkaddr; in reserve_compress_blocks() local
3546 if (blkaddr == COMPRESS_ADDR) in reserve_compress_blocks()
[all …]
A Dextent_cache.c531 pgoff_t fofs, block_t blkaddr, unsigned int len) in f2fs_update_extent_tree_range() argument
634 if (blkaddr) { in f2fs_update_extent_tree_range()
636 set_extent_info(&ei, fofs, blkaddr, len); in f2fs_update_extent_tree_range()
667 pgoff_t fofs, block_t blkaddr, unsigned int llen, in f2fs_update_extent_tree_range_compressed() argument
695 set_extent_info(&ei, fofs, blkaddr, llen); in f2fs_update_extent_tree_range_compressed()
866 block_t blkaddr; in f2fs_update_extent_cache() local
872 blkaddr = NULL_ADDR; in f2fs_update_extent_cache()
874 blkaddr = dn->data_blkaddr; in f2fs_update_extent_cache()
878 f2fs_update_extent_tree_range(dn->inode, fofs, blkaddr, 1); in f2fs_update_extent_cache()
882 pgoff_t fofs, block_t blkaddr, unsigned int len) in f2fs_update_extent_cache_range() argument
[all …]
A Ddata.c241 blkaddr); in f2fs_handle_step_decompress()
245 blkaddr++; in f2fs_handle_step_decompress()
387 if (FDEV(i).start_blk <= blkaddr && FDEV(i).end_blk >= blkaddr) in f2fs_target_device_index()
1018 ctx->fs_blkaddr = blkaddr; in f2fs_grab_read_bio()
1082 dn->data_blkaddr = blkaddr; in f2fs_update_data_blkaddr()
1466 block_t blkaddr; in f2fs_map_blocks() local
1637 if (blkaddr == NEW_ADDR) in f2fs_map_blocks()
1641 map->m_pblk = blkaddr; in f2fs_map_blocks()
2264 block_t blkaddr; in f2fs_read_multi_pages() local
2297 block_t blkaddr; in f2fs_read_multi_pages() local
[all …]
A Dcheckpoint.c145 segno = GET_SEGNO(sbi, blkaddr); in __is_bitmap_valid()
146 offset = GET_BLKOFF_FROM_SEG0(sbi, blkaddr); in __is_bitmap_valid()
152 blkaddr, exist); in __is_bitmap_valid()
160 block_t blkaddr, int type) in f2fs_is_valid_blkaddr() argument
166 if (unlikely(blkaddr >= SIT_BLK_CNT(sbi))) in f2fs_is_valid_blkaddr()
171 blkaddr < SM_I(sbi)->ssa_blkaddr)) in f2fs_is_valid_blkaddr()
176 blkaddr < __start_cp_addr(sbi))) in f2fs_is_valid_blkaddr()
181 blkaddr < MAIN_BLKADDR(sbi))) in f2fs_is_valid_blkaddr()
188 blkaddr < MAIN_BLKADDR(sbi))) { in f2fs_is_valid_blkaddr()
190 blkaddr); in f2fs_is_valid_blkaddr()
[all …]
A Df2fs.h3254 block_t blkaddr, int type);
3256 block_t blkaddr, int type) in verify_blkaddr() argument
3260 blkaddr, type); in verify_blkaddr()
3267 if (blkaddr == NEW_ADDR || blkaddr == NULL_ADDR || in __is_valid_data_blkaddr()
3268 blkaddr == COMPRESS_ADDR) in __is_valid_data_blkaddr()
3555 block_t blkaddr, int type);
4054 block_t blkaddr);
4088 nid_t ino, block_t blkaddr);
4090 block_t blkaddr);
4139 block_t blkaddr) { } in f2fs_invalidate_compress_page() argument
[all …]
/linux/fs/erofs/
A Dxattr.c14 erofs_blk_t blkaddr; member
97 it.page = erofs_get_meta_page(sb, it.blkaddr); in init_inode_xattrs()
127 it.page = erofs_get_meta_page(sb, ++it.blkaddr); in init_inode_xattrs()
177 it->blkaddr += erofs_blknr(it->ofs); in xattr_iter_fixup()
403 erofs_blk_t blkaddr = in shared_getxattr() local
408 if (!i || blkaddr != it->it.blkaddr) { in shared_getxattr()
412 it->it.page = erofs_get_meta_page(sb, blkaddr); in shared_getxattr()
417 it->it.blkaddr = blkaddr; in shared_getxattr()
624 erofs_blk_t blkaddr = in shared_listxattr() local
628 if (!i || blkaddr != it->it.blkaddr) { in shared_listxattr()
[all …]
A Ddata.c12 struct page *erofs_get_meta_page(struct super_block *sb, erofs_blk_t blkaddr) in erofs_get_meta_page() argument
17 page = read_cache_page_gfp(mapping, blkaddr, in erofs_get_meta_page()
122 __le32 *blkaddr = page_address(page) + erofs_blkoff(pos); in erofs_map_blocks() local
124 if (le32_to_cpu(*blkaddr) == EROFS_NULL_ADDR) { in erofs_map_blocks()
127 map->m_pa = blknr_to_addr(le32_to_cpu(*blkaddr)); in erofs_map_blocks()
134 switch (le32_to_cpu(idx->blkaddr)) { in erofs_map_blocks()
141 map->m_pa = blknr_to_addr(le32_to_cpu(idx->blkaddr)); in erofs_map_blocks()
A Dinode.c24 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local
31 blkaddr = erofs_blknr(inode_loc); in erofs_read_inode()
35 __func__, vi->nid, *ofs, blkaddr); in erofs_read_inode()
37 page = erofs_get_meta_page(sb, blkaddr); in erofs_read_inode()
81 page = erofs_get_meta_page(sb, blkaddr + 1); in erofs_read_inode()
/linux/drivers/net/wireless/intersil/orinoco/
A Dhermes_dld.c280 u32 blkaddr; in hermes_program() local
289 blkaddr = dblock_addr(blk); in hermes_program()
292 while ((blkaddr != BLOCK_END) && in hermes_program()
295 "to address 0x%08x\n", blklen, blkaddr); in hermes_program()
297 err = hw->ops->program(hw, blk->data, blkaddr, blklen); in hermes_program()
306 blkaddr = dblock_addr(blk); in hermes_program()

Completed in 144 milliseconds

12