Home
last modified time | relevance | path

Searched refs:page_order (Results 1 – 19 of 19) sorted by relevance

/drivers/char/agp/
Dgeneric.c858 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 …]
Duninorth-agp.c373 int page_order; in uninorth_create_gatt_table() local
386 size = page_order = num_entries = 0; in uninorth_create_gatt_table()
390 page_order = A_SIZE_32(temp)->page_order; in uninorth_create_gatt_table()
393 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in uninorth_create_gatt_table()
406 uninorth_priv.pages_arr = kmalloc((1 << page_order) * sizeof(struct page*), GFP_KERNEL); in uninorth_create_gatt_table()
410 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table()
422 bridge->gatt_table = vmap(uninorth_priv.pages_arr, (1 << page_order), 0, PAGE_KERNEL_NCG); in uninorth_create_gatt_table()
442 free_pages((unsigned long)table, page_order); in uninorth_create_gatt_table()
448 int page_order; in uninorth_free_gatt_table() local
454 page_order = A_SIZE_32(temp)->page_order; in uninorth_free_gatt_table()
[all …]
Dagp.h67 int page_order; member
74 int page_order; member
81 int page_order; member
94 int page_order; member
Di460-agp.c154 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()
Dalpha-agp.c172 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup()
Dali-agp.c133 page_count = 1 << A_SIZE_32(agp_bridge->current_size)->page_order; in m1541_cache_flush()
/drivers/gpu/drm/
Ddrm_bufs.c612 int page_order; in drm_legacy_addbufs_agp() local
627 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in drm_legacy_addbufs_agp()
628 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_agp()
638 DRM_DEBUG("page_order: %d\n", page_order); in drm_legacy_addbufs_agp()
687 entry->page_order = page_order; in drm_legacy_addbufs_agp()
721 byte_count += PAGE_SIZE << page_order; in drm_legacy_addbufs_agp()
771 int page_order; in drm_legacy_addbufs_pci() local
804 page_order = order - PAGE_SHIFT > 0 ? order - PAGE_SHIFT : 0; in drm_legacy_addbufs_pci()
805 total = PAGE_SIZE << page_order; in drm_legacy_addbufs_pci()
847 temp_pagelist = kmalloc((dma->page_count + (count << page_order)) * in drm_legacy_addbufs_pci()
[all …]
Ddrm_info.c134 seg_pages = dma->bufs[i].seg_count * (1 << dma->bufs[i].page_order); in drm_bufs_info()
/drivers/md/bcache/
Dbset.c266 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_COMP|gfp, b->page_order); in bch_btree_keys_alloc()
807 PAGE_SIZE << b->page_order); in bch_bset_insert()
1133 int bch_bset_sort_state_init(struct bset_sort_state *state, unsigned page_order) in bch_bset_sort_state_init() argument
1137 state->page_order = page_order; in bch_bset_sort_state_init()
1138 state->crit_factor = int_sqrt(1 << page_order); in bch_bset_sort_state_init()
1140 state->pool = mempool_create_page_pool(1, page_order); in bch_bset_sort_state_init()
[all …]
Dbset.h211 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
Dsysfs.c480 ret += 1 << (b->keys.page_order + PAGE_SHIFT); in bch_cache_size()
Dbtree.c632 if (b->keys.page_order < min_order) in mca_reap()
/drivers/scsi/
Dsg.c128 int page_order; member
1268 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_vma_fault()
1315 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_mmap()
1817 md->page_order = req_schp->page_order; in sg_start_req()
1964 schp->page_order = order; in sg_build_indirect()
1998 __free_pages(schp->pages[k], schp->page_order); in sg_remove_scat()
2019 num = 1 << (PAGE_SHIFT + schp->page_order); in sg_read_oxfer()
2070 num = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_link_reserve()
2078 req_schp->page_order = rsv_schp->page_order; in sg_link_reserve()
2100 req_schp->page_order = 0; in sg_unlink_reserve()
Dst.c625 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()
Dosst.c388 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/
Dehea_qmr.c693 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/staging/rdma/ehca/
Dehca_mrmw.c2353 int page_order; in ehca_is_hugepage() local
2358 page_order = compound_order(pfn_to_page(pfn)); in ehca_is_hugepage()
2359 if (page_order + PAGE_SHIFT != EHCA_HUGEPAGESHIFT) in ehca_is_hugepage()
/drivers/net/ethernet/sun/
Dcassini.c472 __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()
Dcassini.h2824 int page_order; member