/kernel/linux/linux-5.10/fs/btrfs/ |
D | scrub.c | 223 int page_num, int force_write); 226 int page_num); 834 int page_num; in scrub_handle_errored_block() local 1093 for (page_num = 0; page_num < sblock_bad->page_count; in scrub_handle_errored_block() 1094 page_num++) { in scrub_handle_errored_block() 1095 struct scrub_page *page_bad = sblock_bad->pagev[page_num]; in scrub_handle_errored_block() 1118 pagev[page_num]->io_error) { in scrub_handle_errored_block() 1140 page_num) != 0) { in scrub_handle_errored_block() 1148 page_num, 0); in scrub_handle_errored_block() 1423 int page_num; in scrub_recheck_block_on_raid56() local [all …]
|
/kernel/linux/linux-5.10/drivers/tee/optee/ |
D | rpc.c | 340 size_t page_num; in handle_rpc_func_cmd_shm_alloc() local 342 pages = tee_shm_get_pages(shm, &page_num); in handle_rpc_func_cmd_shm_alloc() 343 if (!pages || !page_num) { in handle_rpc_func_cmd_shm_alloc() 348 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc() 355 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc() 369 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 328 static int mlx5_qsfp_eeprom_high_page_offset(int page_num) in mlx5_qsfp_eeprom_high_page_offset() argument 330 if (!page_num) /* Page 0 always start from low page */ in mlx5_qsfp_eeprom_high_page_offset() 334 return page_num * MLX5_EEPROM_HIGH_PAGE_LENGTH; in mlx5_qsfp_eeprom_high_page_offset() 337 static void mlx5_qsfp_eeprom_params_set(u16 *i2c_addr, int *page_num, u16 *offset) in mlx5_qsfp_eeprom_params_set() argument 340 *page_num = mlx5_qsfp_eeprom_page(*offset); in mlx5_qsfp_eeprom_params_set() 341 *offset -= mlx5_qsfp_eeprom_high_page_offset(*page_num); in mlx5_qsfp_eeprom_params_set() 344 static void mlx5_sfp_eeprom_params_set(u16 *i2c_addr, int *page_num, u16 *offset) in mlx5_sfp_eeprom_params_set() argument 347 *page_num = 0; in mlx5_sfp_eeprom_params_set() 359 int module_num, status, err, page_num = 0; in mlx5_query_module_eeprom() local 376 mlx5_sfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx5_query_module_eeprom() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
D | gasket_page_table.c | 1092 uint page_num; in gasket_page_table_lookup_page() local 1097 page_num = gasket_simple_page_idx(pg_tbl, dev_addr); in gasket_page_table_lookup_page() 1098 if (page_num >= pg_tbl->num_simple_entries) in gasket_page_table_lookup_page() 1101 pte = pg_tbl->entries + page_num; in gasket_page_table_lookup_page() 1106 page_num = gasket_extended_lvl0_page_idx(pg_tbl, dev_addr); in gasket_page_table_lookup_page() 1107 if (page_num >= pg_tbl->num_extended_entries) in gasket_page_table_lookup_page() 1110 pte = pg_tbl->entries + pg_tbl->num_simple_entries + page_num; in gasket_page_table_lookup_page() 1115 page_num = gasket_extended_lvl1_page_idx(pg_tbl, dev_addr); in gasket_page_table_lookup_page() 1116 pte = pte->sublevel + page_num; in gasket_page_table_lookup_page()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | da9063-i2c.c | 52 u8 page_num, paged_addr; in da9063_i2c_blockreg_read() local 56 page_num = (addr / DA9063_REG_PAGE_SIZE); in da9063_i2c_blockreg_read() 57 if (page_num > 1) { in da9063_i2c_blockreg_read() 65 (page_num << DA9063_I2C_PAGE_SEL_SHIFT) & DA9063_REG_PAGE_MASK; in da9063_i2c_blockreg_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_bus.h | 13 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num);
|
D | ionic_bus_pci.c | 98 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num) in ionic_bus_map_dbpage() argument 102 (u64)page_num << PAGE_SHIFT, PAGE_SIZE); in ionic_bus_map_dbpage()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | dmabuf.c | 67 u32 page_num; in vgpu_gem_get_pages() local 81 page_num = obj->base.size >> PAGE_SHIFT; in vgpu_gem_get_pages() 82 ret = sg_alloc_table(st, page_num, GFP_KERNEL); in vgpu_gem_get_pages() 89 for_each_sg(st->sgl, sg, page_num, i) { in vgpu_gem_get_pages()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | mtk_iommu_v1.c | 301 unsigned int page_num = size >> MT2701_IOMMU_PAGE_SHIFT; in mtk_iommu_map() local 309 for (i = 0; i < page_num; i++) { in mtk_iommu_map() 333 unsigned int page_num = size >> MT2701_IOMMU_PAGE_SHIFT; in mtk_iommu_unmap() local 336 memset(pgt_base_iova, 0, page_num * sizeof(u32)); in mtk_iommu_unmap()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 285 unsigned int page_num; member 296 unsigned int page_num; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 1981 u8 page_num; member 2058 cable_info->page_num = 0; in mlx4_get_module_id() 2086 static void mlx4_sfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset) in mlx4_sfp_eeprom_params_set() argument 2089 *page_num = 0; in mlx4_sfp_eeprom_params_set() 2098 static void mlx4_qsfp_eeprom_params_set(u8 *i2c_addr, u8 *page_num, u16 *offset) in mlx4_qsfp_eeprom_params_set() argument 2105 *page_num = 0; in mlx4_qsfp_eeprom_params_set() 2107 *page_num = 1 + (*offset - I2C_PAGE_SIZE) / I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set() 2109 *offset -= *page_num * I2C_HIGH_PAGE_SIZE; in mlx4_qsfp_eeprom_params_set() 2131 u8 module_id, i2c_addr, page_num; in mlx4_get_module_info() local 2143 mlx4_sfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | debug.c | 26 u32 page_num; member 224 u32 buf_size = debugfs_priv->rsvd_page.page_num * page_size; in rtw_debugfs_get_rsvd_page() 264 u32 offset, page_num; in rtw_debugfs_set_rsvd_page() local 269 num = sscanf(tmp, "%d %d", &offset, &page_num); in rtw_debugfs_set_rsvd_page() 277 debugfs_priv->rsvd_page.page_num = page_num; in rtw_debugfs_set_rsvd_page()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 106 int page_num; in psbfb_vm_fault() local 114 page_num = vma_pages(vma); in psbfb_vm_fault() 119 for (i = 0; i < page_num; i++) { in psbfb_vm_fault()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
D | intel_memory_region.c | 54 unsigned long page_num; in igt_mock_fill() local 62 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_fill() 63 resource_size_t size = page_num * page_size; in igt_mock_fill() 85 if (page_num * page_size <= rem) { in igt_mock_fill()
|
D | i915_buddy.c | 635 unsigned long page_num; in igt_buddy_alloc_range() local 662 for_each_prime_number_from(page_num, 1, ULONG_MAX - 1) { in igt_buddy_alloc_range() 666 size = min(page_num * mm.chunk_size, rem); in igt_buddy_alloc_range()
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | mtrr.c | 696 int page_num) in kvm_mtrr_check_gfn_range_consistency() argument 704 end = gfn_to_gpa(gfn + page_num); in kvm_mtrr_check_gfn_range_consistency()
|
D | x86.h | 272 int page_num);
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
D | error-dump.h | 339 __le32 page_num; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.h | 179 u32 page_num; member
|
D | efa_verbs.c | 1443 params->page_num, params->page_shift); in efa_create_inline_pbl() 1448 "inline_pbl_array - pages[%u]\n", params->page_num); in efa_create_inline_pbl() 1460 err = pbl_create(dev, pbl, mr->umem, params->page_num, in efa_create_pbl() 1552 params.page_num = ib_umem_num_dma_blocks(mr->umem, pg_sz); in efa_reg_mr() 1556 start, length, params.page_shift, params.page_num); in efa_reg_mr() 1559 if (params.page_num <= inline_size) { in efa_reg_mr()
|
D | efa_admin_cmds_defs.h | 387 u32 page_num; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_pages.c | 668 unsigned long page_num; in igt_mock_ppgtt_huge_fill() local 674 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_ppgtt_huge_fill() 676 u64 size = page_num << PAGE_SHIFT; in igt_mock_ppgtt_huge_fill()
|
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
D | ms.c | 1252 u16 block_addr, u8 page_num, u8 *buf, int buf_len) argument 1274 data[5] = page_num; 1333 u8 page_num, u8 *buf, int buf_len) argument 1356 data[5] = page_num; 1389 static int ms_read_page(struct rtsx_chip *chip, u16 block_addr, u8 page_num) argument 1409 data[5] = page_num;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1094 __le32 page_num; member 1119 u32 page_num; member 2430 u8 page_num, u32 off, u32 len, u8 *data);
|
D | be_cmds.c | 2290 u8 page_num, u32 off, u32 len, u8 *data) in be_cmd_read_port_transceiver_data() argument 2297 if (page_num > TR_PAGE_A2) in be_cmd_read_port_transceiver_data() 2322 req->page_num = cpu_to_le32(page_num); in be_cmd_read_port_transceiver_data()
|