/drivers/char/agp/ |
D | generic.c | 858 int page_order; in agp_generic_create_gatt_table() local 871 size = page_order = num_entries = 0; in agp_generic_create_gatt_table() 878 page_order = in agp_generic_create_gatt_table() 879 A_SIZE_8(temp)->page_order; in agp_generic_create_gatt_table() 885 page_order = A_SIZE_16(temp)->page_order; in agp_generic_create_gatt_table() 890 page_order = A_SIZE_32(temp)->page_order; in agp_generic_create_gatt_table() 897 size = page_order = num_entries = 0; in agp_generic_create_gatt_table() 901 table = alloc_gatt_pages(page_order); in agp_generic_create_gatt_table() 928 page_order = ((struct aper_size_info_fixed *) temp)->page_order; in agp_generic_create_gatt_table() 930 table = alloc_gatt_pages(page_order); in agp_generic_create_gatt_table() [all …]
|
D | uninorth-agp.c | 372 int page_order; in uninorth_create_gatt_table() local 385 size = page_order = num_entries = 0; in uninorth_create_gatt_table() 389 page_order = A_SIZE_32(temp)->page_order; in uninorth_create_gatt_table() 392 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in uninorth_create_gatt_table() 405 uninorth_priv.pages_arr = kmalloc((1 << page_order) * sizeof(struct page*), GFP_KERNEL); in uninorth_create_gatt_table() 409 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table() 421 bridge->gatt_table = vmap(uninorth_priv.pages_arr, (1 << page_order), 0, PAGE_KERNEL_NCG); in uninorth_create_gatt_table() 441 free_pages((unsigned long)table, page_order); in uninorth_create_gatt_table() 447 int page_order; in uninorth_free_gatt_table() local 453 page_order = A_SIZE_32(temp)->page_order; in uninorth_free_gatt_table() [all …]
|
D | agp.h | 67 int page_order; member 74 int page_order; member 81 int page_order; member 94 int page_order; member
|
D | i460-agp.c | 154 values[i].page_order = ilog2((sizeof(u32)*values[i].num_entries) >> PAGE_SHIFT); in i460_fetch_size() 244 int page_order, num_entries, i; in i460_create_gatt_table() local 251 page_order = A_SIZE_8(temp)->page_order; in i460_create_gatt_table() 254 i460.gatt = ioremap(INTEL_I460_ATTBASE, PAGE_SIZE << page_order); in i460_create_gatt_table()
|
D | alpha-agp.c | 172 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup()
|
D | ali-agp.c | 133 page_count = 1 << A_SIZE_32(agp_bridge->current_size)->page_order; in m1541_cache_flush()
|
/drivers/gpu/drm/ |
D | drm_bufs.c | 691 int page_order; in drm_legacy_addbufs_agp() local 706 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in drm_legacy_addbufs_agp() 707 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_agp() 717 DRM_DEBUG("page_order: %d\n", page_order); in drm_legacy_addbufs_agp() 766 entry->page_order = page_order; in drm_legacy_addbufs_agp() 800 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp() 850 int page_order; in drm_legacy_addbufs_pci() local 883 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in drm_legacy_addbufs_pci() 884 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_pci() 926 temp_pagelist = kmalloc_array(dma->page_count + (count << page_order), in drm_legacy_addbufs_pci() [all …]
|
/drivers/md/bcache/ |
D | bset.c | 266 return PAGE_SIZE << b->page_order; in btree_keys_bytes() 304 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free() 312 int bch_btree_keys_alloc(struct btree_keys *b, unsigned page_order, gfp_t gfp) in bch_btree_keys_alloc() argument 318 b->page_order = page_order; in bch_btree_keys_alloc() 320 t->data = (void *) __get_free_pages(gfp, b->page_order); in bch_btree_keys_alloc() 807 PAGE_SIZE << b->page_order); in bch_bset_insert() 1123 int bch_bset_sort_state_init(struct bset_sort_state *state, unsigned page_order) in bch_bset_sort_state_init() argument 1127 state->page_order = page_order; in bch_bset_sort_state_init() 1128 state->crit_factor = int_sqrt(1 << page_order); in bch_bset_sort_state_init() 1130 state->pool = mempool_create_page_pool(1, page_order); in bch_bset_sort_state_init() [all …]
|
D | bset.h | 211 uint8_t page_order; member 263 BUG_ON((PAGE_SIZE << b->page_order) < in bch_btree_keys_u64s_remaining() 269 return ((PAGE_SIZE << b->page_order) - in bch_btree_keys_u64s_remaining() 351 unsigned page_order; member
|
D | sysfs.c | 475 ret += 1 << (b->keys.page_order + PAGE_SHIFT); in bch_cache_size()
|
D | btree.c | 627 if (b->keys.page_order < min_order) in mca_reap()
|
/drivers/scsi/ |
D | sg.c | 116 int page_order; member 1216 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_vma_fault() 1263 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_mmap() 1765 md->page_order = req_schp->page_order; in sg_start_req() 1912 schp->page_order = order; in sg_build_indirect() 1946 __free_pages(schp->pages[k], schp->page_order); in sg_remove_scat() 1967 num = 1 << (PAGE_SHIFT + schp->page_order); in sg_read_oxfer() 2018 num = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_link_reserve() 2026 req_schp->page_order = rsv_schp->page_order; in sg_link_reserve() 2048 req_schp->page_order = 0; in sg_unlink_reserve()
|
D | st.c | 625 mdata->page_order = 0; in st_do_scsi() 629 mdata->page_order = STp->buffer->reserved_page_order; in st_do_scsi() 631 DIV_ROUND_UP(bytes, PAGE_SIZE << mdata->page_order); in st_do_scsi()
|
D | osst.c | 388 mdata->page_order = get_order(sgl[0].length); in osst_execute() 390 DIV_ROUND_UP(bufflen, PAGE_SIZE << mdata->page_order); in osst_execute()
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 693 int page_order; in ehea_is_hugepage() local 698 page_order = compound_order(pfn_to_page(pfn)); in ehea_is_hugepage() 699 if (page_order + PAGE_SHIFT != EHEA_HUGEPAGESHIFT) in ehea_is_hugepage()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 182 #define RQ_PAGE_SIZE(rq) ((1 << rq->buff.page_order) << PAGE_SHIFT) 236 page = dev_alloc_pages(rq->buff.page_order); in mlx5e_page_alloc_mapped()
|
D | en.h | 335 u8 page_order; member
|
D | en_main.c | 555 rq->buff.page_order = order_base_2(npages); in mlx5e_create_rq()
|
/drivers/net/ethernet/sun/ |
D | cassini.c | 472 __free_pages(page->buffer, cp->page_order); in cas_page_free() 498 page->buffer = alloc_pages(flags, cp->page_order); in cas_page_alloc() 3410 cp->page_order = 0; in cas_check_invariants() 3419 cp->page_order = CAS_JUMBO_PAGE_SHIFT - PAGE_SHIFT; in cas_check_invariants() 3425 cp->page_size = (PAGE_SIZE << cp->page_order); in cas_check_invariants()
|
D | cassini.h | 2824 int page_order; member
|