/linux/tools/vm/ |
A D | page_owner_sort.c | 28 int page_num; member 72 return l2->page_num - l1->page_num; in compare_page_num() 111 list[list_size-1].page_num += get_page_num(buf); in add_list() 121 list[list_size].page_num = get_page_num(buf); in add_list() 218 list2[count-1].page_num += list[i].page_num; in main() 229 list2[i].num, list2[i].page_num, list2[i].txt); in main()
|
/linux/fs/btrfs/ |
A D | scrub.c | 827 int page_num; in scrub_handle_errored_block() local 1088 for (page_num = 0; page_num < sblock_bad->page_count; in scrub_handle_errored_block() 1418 int page_num; in scrub_recheck_block_on_raid56() local 1428 for (page_num = 0; page_num < sblock->page_count; page_num++) { in scrub_recheck_block_on_raid56() 1446 for (page_num = 0; page_num < sblock->page_count; page_num++) in scrub_recheck_block_on_raid56() 1463 int page_num; in scrub_recheck_block() local 1471 for (page_num = 0; page_num < sblock->page_count; page_num++) { in scrub_recheck_block() 1526 int page_num; in scrub_repair_block_from_good_copy() local 1529 for (page_num = 0; page_num < sblock_bad->page_count; page_num++) { in scrub_repair_block_from_good_copy() 1591 int page_num; in scrub_write_block_to_dev_replace() local [all …]
|
/linux/drivers/mfd/ |
A 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()
|
/linux/drivers/iommu/ |
A D | sprd-iommu.c | 279 unsigned int page_num = size >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_map() local 301 for (i = 0; i < page_num; i++) { in sprd_iommu_map() 316 unsigned int page_num = size >> SPRD_IOMMU_PAGE_SHIFT; in sprd_iommu_unmap() local 326 memset(pgt_base_iova, 0, page_num * sizeof(u32)); in sprd_iommu_unmap()
|
A D | mtk_iommu_v1.c | 300 unsigned int page_num = size >> MT2701_IOMMU_PAGE_SHIFT; in mtk_iommu_map() local 308 for (i = 0; i < page_num; i++) { in mtk_iommu_map() 332 unsigned int page_num = size >> MT2701_IOMMU_PAGE_SHIFT; in mtk_iommu_unmap() local 335 memset(pgt_base_iova, 0, page_num * sizeof(u32)); in mtk_iommu_unmap()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A 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()
|
/linux/drivers/gpu/drm/i915/gvt/ |
A 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()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_bus.h | 13 void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num);
|
A 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()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A 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() 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() 2148 mlx4_qsfp_eeprom_params_set(&i2c_addr, &page_num, &offset); in mlx4_get_module_info() [all …]
|
/linux/drivers/tee/optee/ |
A D | smc_abi.c | 632 size_t page_num; in handle_rpc_func_cmd_shm_alloc() local 634 pages = tee_shm_get_pages(shm, &page_num); in handle_rpc_func_cmd_shm_alloc() 635 if (!pages || !page_num) { in handle_rpc_func_cmd_shm_alloc() 640 pages_list = optee_allocate_pages_list(page_num); in handle_rpc_func_cmd_shm_alloc() 647 call_ctx->num_entries = page_num; in handle_rpc_func_cmd_shm_alloc() 661 optee_fill_pages_list(pages_list, pages, page_num, in handle_rpc_func_cmd_shm_alloc()
|
/linux/drivers/gpu/drm/gma500/ |
A D | framebuffer.c | 86 int page_num; in psbfb_vm_fault() local 94 page_num = vma_pages(vma); in psbfb_vm_fault() 99 for (i = 0; i < page_num; i++) { in psbfb_vm_fault()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | debug.c | 29 u32 page_num; member 235 u32 buf_size = debugfs_priv->rsvd_page.page_num * page_size; in rtw_debugfs_get_rsvd_page() 275 u32 offset, page_num; in rtw_debugfs_set_rsvd_page() local 280 num = sscanf(tmp, "%d %d", &offset, &page_num); in rtw_debugfs_set_rsvd_page() 288 debugfs_priv->rsvd_page.page_num = page_num; in rtw_debugfs_set_rsvd_page()
|
/linux/arch/x86/kvm/ |
A D | xen.c | 568 u32 page_num = data & ~PAGE_MASK; in kvm_xen_write_hypercall_page() local 585 if (page_num) in kvm_xen_write_hypercall_page() 618 if (page_num >= blob_size) in kvm_xen_write_hypercall_page() 621 blob_addr += page_num * PAGE_SIZE; in kvm_xen_write_hypercall_page()
|
A D | mtrr.c | 692 int page_num) in kvm_mtrr_check_gfn_range_consistency() argument 700 end = gfn_to_gpa(gfn + page_num); in kvm_mtrr_check_gfn_range_consistency()
|
A D | x86.h | 327 int page_num);
|
/linux/drivers/crypto/qat/qat_common/ |
A D | icp_qat_uclo.h | 325 unsigned int page_num; member 336 unsigned int page_num; member
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_buddy.c | 633 unsigned long page_num; in igt_buddy_alloc_range() local 660 for_each_prime_number_from(page_num, 1, ULONG_MAX - 1) { in igt_buddy_alloc_range() 664 size = min(page_num * mm.chunk_size, rem); in igt_buddy_alloc_range()
|
A D | intel_memory_region.c | 59 unsigned long page_num; in igt_mock_fill() local 67 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_fill() 68 resource_size_t size = page_num * page_size; in igt_mock_fill() 90 if (page_num * page_size <= rem) { in igt_mock_fill()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
A D | pci.c | 395 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_busy_txwd() 475 for (i = 0; i < wd_ring->page_num; i++) { in rtw89_pci_release_pending_txwd_skb() 2041 u32 page_num = wd_ring->page_num; in rtw89_pci_free_tx_wd_ring() local 2042 u32 ring_sz = page_size * page_num; in rtw89_pci_free_tx_wd_ring() 2168 u32 page_num = RTW89_PCI_TXWD_NUM_MAX; in rtw89_pci_alloc_tx_wd_ring() local 2169 u32 ring_sz = page_size * page_num; in rtw89_pci_alloc_tx_wd_ring() 2185 wd_ring->page_num = page_num; in rtw89_pci_alloc_tx_wd_ring() 2188 for (i = 0; i < page_num; i++) { in rtw89_pci_alloc_tx_wd_ring()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | error-dump.h | 282 __le32 page_num; member
|
/linux/drivers/infiniband/hw/efa/ |
A D | efa_com_cmd.h | 186 u32 page_num; member
|
A D | efa_verbs.c | 1505 params->page_num, params->page_shift); in efa_create_inline_pbl() 1510 "inline_pbl_array - pages[%u]\n", params->page_num); in efa_create_inline_pbl() 1522 err = pbl_create(dev, pbl, mr->umem, params->page_num, in efa_create_pbl() 1608 params.page_num = ib_umem_num_dma_blocks(mr->umem, pg_sz); in efa_register_mr() 1612 start, length, params.page_shift, params.page_num); in efa_register_mr() 1615 if (params.page_num <= inline_size) { in efa_register_mr()
|
A D | efa_admin_cmds_defs.h | 390 u32 page_num; member
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
A D | huge_pages.c | 700 unsigned long page_num; in igt_mock_ppgtt_huge_fill() local 706 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_ppgtt_huge_fill() 708 u64 size = page_num << PAGE_SHIFT; in igt_mock_ppgtt_huge_fill()
|