glob 74 drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c struct page *dummy_page = adev->mman.bdev.glob->dummy_read_page; glob 603 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct ttm_bo_global *glob = adev->mman.bdev.glob; glob 607 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c spin_lock(&glob->lru_lock); glob 609 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c spin_unlock(&glob->lru_lock); glob 615 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c spin_lock(&glob->lru_lock); glob 627 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c spin_unlock(&glob->lru_lock); glob 1242 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c char glob[128]; glob 1244 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c nvkm_snprintbf(glob, sizeof(glob), gf100_mp_global_error, gerr); glob 1249 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gpc, tpc, gerr, glob, werr, warp ? warp->name : ""); glob 35 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c char glob[128]; glob 37 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c nvkm_snprintbf(glob, sizeof(glob), gf100_mp_global_error, gerr); glob 42 drivers/gpu/drm/nouveau/nvkm/engine/gr/gv100.c gpc, tpc, sm, gerr, glob, werr, warp ? warp->name : ""); glob 432 drivers/gpu/drm/qxl/qxl_release.c struct ttm_bo_global *glob; glob 454 drivers/gpu/drm/qxl/qxl_release.c glob = bdev->glob; glob 456 drivers/gpu/drm/qxl/qxl_release.c spin_lock(&glob->lru_lock); glob 465 drivers/gpu/drm/qxl/qxl_release.c spin_unlock(&glob->lru_lock); glob 373 drivers/gpu/drm/qxl/qxl_ttm.c struct ttm_bo_global *glob = rdev->mman.bdev.glob; glob 376 drivers/gpu/drm/qxl/qxl_ttm.c spin_lock(&glob->lru_lock); glob 378 drivers/gpu/drm/qxl/qxl_ttm.c spin_unlock(&glob->lru_lock); glob 54 drivers/gpu/drm/ttm/ttm_agp_backend.c struct page *dummy_read_page = ttm->bdev->glob->dummy_read_page; glob 119 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = glob 123 drivers/gpu/drm/ttm/ttm_bo.c atomic_read(&glob->bo_count)); glob 161 drivers/gpu/drm/ttm/ttm_bo.c atomic_dec(&bo->bdev->glob->bo_count); glob 167 drivers/gpu/drm/ttm/ttm_bo.c ttm_mem_global_free(bdev->glob->mem_glob, acc_size); glob 191 drivers/gpu/drm/ttm/ttm_bo.c list_add_tail(&bo->swap, &bdev->glob->swap_lru[bo->priority]); glob 229 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bo->bdev->glob; glob 231 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 233 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 314 drivers/gpu/drm/ttm/ttm_bo.c lru = &pos->first->bdev->glob->swap_lru[i]; glob 478 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bdev->glob; glob 488 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 492 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 497 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 528 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 551 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bo->bdev->glob; glob 570 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 581 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 591 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 600 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 608 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 623 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bdev->glob; glob 629 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 639 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 642 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 648 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 652 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 656 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 847 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bdev->glob; glob 853 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 885 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 902 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 908 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 910 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1078 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&bo->bdev->glob->lru_lock); glob 1081 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&bo->bdev->glob->lru_lock); glob 1173 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&bo->bdev->glob->lru_lock); glob 1175 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&bo->bdev->glob->lru_lock); glob 1301 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; glob 1362 drivers/gpu/drm/ttm/ttm_bo.c atomic_inc(&bo->bdev->glob->bo_count); glob 1393 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&bdev->glob->lru_lock); glob 1395 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&bdev->glob->lru_lock); glob 1494 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bdev->glob; glob 1503 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 1506 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1511 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 1514 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1626 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = glob 1629 drivers/gpu/drm/ttm/ttm_bo.c __free_page(glob->dummy_read_page); glob 1634 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = &ttm_bo_glob; glob 1640 drivers/gpu/drm/ttm/ttm_bo.c kobject_del(&glob->kobj); glob 1641 drivers/gpu/drm/ttm/ttm_bo.c kobject_put(&glob->kobj); glob 1643 drivers/gpu/drm/ttm/ttm_bo.c memset(glob, 0, sizeof(*glob)); glob 1650 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = &ttm_bo_glob; glob 1662 drivers/gpu/drm/ttm/ttm_bo.c spin_lock_init(&glob->lru_lock); glob 1663 drivers/gpu/drm/ttm/ttm_bo.c glob->mem_glob = &ttm_mem_glob; glob 1664 drivers/gpu/drm/ttm/ttm_bo.c glob->mem_glob->bo_glob = glob; glob 1665 drivers/gpu/drm/ttm/ttm_bo.c glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32); glob 1667 drivers/gpu/drm/ttm/ttm_bo.c if (unlikely(glob->dummy_read_page == NULL)) { glob 1673 drivers/gpu/drm/ttm/ttm_bo.c INIT_LIST_HEAD(&glob->swap_lru[i]); glob 1674 drivers/gpu/drm/ttm/ttm_bo.c INIT_LIST_HEAD(&glob->device_list); glob 1675 drivers/gpu/drm/ttm/ttm_bo.c atomic_set(&glob->bo_count, 0); glob 1678 drivers/gpu/drm/ttm/ttm_bo.c &glob->kobj, &ttm_bo_glob_kobj_type, ttm_get_kobj(), "buffer_objects"); glob 1680 drivers/gpu/drm/ttm/ttm_bo.c kobject_put(&glob->kobj); glob 1691 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = bdev->glob; glob 1715 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 1719 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1735 drivers/gpu/drm/ttm/ttm_bo.c struct ttm_bo_global *glob = &ttm_bo_glob; glob 1760 drivers/gpu/drm/ttm/ttm_bo.c bdev->glob = glob; glob 1763 drivers/gpu/drm/ttm/ttm_bo.c list_add_tail(&bdev->device_list, &glob->device_list); glob 1869 drivers/gpu/drm/ttm/ttm_bo.c int ttm_bo_swapout(struct ttm_bo_global *glob, struct ttm_operation_ctx *ctx) glob 1876 drivers/gpu/drm/ttm/ttm_bo.c spin_lock(&glob->lru_lock); glob 1878 drivers/gpu/drm/ttm/ttm_bo.c list_for_each_entry(bo, &glob->swap_lru[i], swap) { glob 1890 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1903 drivers/gpu/drm/ttm/ttm_bo.c spin_unlock(&glob->lru_lock); glob 1964 drivers/gpu/drm/ttm/ttm_bo.c while (ttm_bo_swapout(bdev->glob, &ctx) == 0) glob 506 drivers/gpu/drm/ttm/ttm_bo_util.c atomic_inc(&bo->bdev->glob->bo_count); glob 180 drivers/gpu/drm/ttm/ttm_bo_vm.c spin_lock(&bdev->glob->lru_lock); glob 182 drivers/gpu/drm/ttm/ttm_bo_vm.c spin_unlock(&bdev->glob->lru_lock); glob 60 drivers/gpu/drm/ttm/ttm_execbuf_util.c struct ttm_bo_global *glob; glob 66 drivers/gpu/drm/ttm/ttm_execbuf_util.c glob = entry->bo->bdev->glob; glob 68 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_lock(&glob->lru_lock); glob 76 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_unlock(&glob->lru_lock); glob 99 drivers/gpu/drm/ttm/ttm_execbuf_util.c struct ttm_bo_global *glob; glob 107 drivers/gpu/drm/ttm/ttm_execbuf_util.c glob = entry->bo->bdev->glob; glob 177 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_lock(&glob->lru_lock); glob 179 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_unlock(&glob->lru_lock); glob 191 drivers/gpu/drm/ttm/ttm_execbuf_util.c struct ttm_bo_global *glob; glob 197 drivers/gpu/drm/ttm/ttm_execbuf_util.c glob = bo->bdev->glob; glob 199 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_lock(&glob->lru_lock); glob 213 drivers/gpu/drm/ttm/ttm_execbuf_util.c spin_unlock(&glob->lru_lock); glob 49 drivers/gpu/drm/ttm/ttm_memory.c struct ttm_mem_global *glob; glob 97 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&zone->glob->lock); glob 108 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&zone->glob->lock); glob 114 drivers/gpu/drm/ttm/ttm_memory.c static void ttm_check_swapping(struct ttm_mem_global *glob); glob 134 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&zone->glob->lock); glob 147 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&zone->glob->lock); glob 149 drivers/gpu/drm/ttm/ttm_memory.c ttm_check_swapping(zone->glob); glob 183 drivers/gpu/drm/ttm/ttm_memory.c struct ttm_mem_global *glob = glob 187 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 188 drivers/gpu/drm/ttm/ttm_memory.c val = glob->lower_mem_limit; glob 189 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 204 drivers/gpu/drm/ttm/ttm_memory.c struct ttm_mem_global *glob = glob 215 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 216 drivers/gpu/drm/ttm/ttm_memory.c glob->lower_mem_limit = val64; glob 217 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 237 drivers/gpu/drm/ttm/ttm_memory.c static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, glob 244 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 245 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 269 drivers/gpu/drm/ttm/ttm_memory.c static void ttm_shrink(struct ttm_mem_global *glob, bool from_wq, glob 274 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 276 drivers/gpu/drm/ttm/ttm_memory.c while (ttm_zones_above_swap_target(glob, from_wq, extra)) { glob 277 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 278 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_bo_swapout(glob->bo_glob, ctx); glob 279 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 284 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 293 drivers/gpu/drm/ttm/ttm_memory.c struct ttm_mem_global *glob = glob 296 drivers/gpu/drm/ttm/ttm_memory.c ttm_shrink(glob, true, 0ULL, &ctx); glob 299 drivers/gpu/drm/ttm/ttm_memory.c static int ttm_mem_init_kernel_zone(struct ttm_mem_global *glob, glob 318 drivers/gpu/drm/ttm/ttm_memory.c zone->glob = glob; glob 319 drivers/gpu/drm/ttm/ttm_memory.c glob->zone_kernel = zone; glob 321 drivers/gpu/drm/ttm/ttm_memory.c &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); glob 326 drivers/gpu/drm/ttm/ttm_memory.c glob->zones[glob->num_zones++] = zone; glob 331 drivers/gpu/drm/ttm/ttm_memory.c static int ttm_mem_init_highmem_zone(struct ttm_mem_global *glob, glob 354 drivers/gpu/drm/ttm/ttm_memory.c zone->glob = glob; glob 355 drivers/gpu/drm/ttm/ttm_memory.c glob->zone_highmem = zone; glob 357 drivers/gpu/drm/ttm/ttm_memory.c &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, "%s", glob 363 drivers/gpu/drm/ttm/ttm_memory.c glob->zones[glob->num_zones++] = zone; glob 367 drivers/gpu/drm/ttm/ttm_memory.c static int ttm_mem_init_dma32_zone(struct ttm_mem_global *glob, glob 402 drivers/gpu/drm/ttm/ttm_memory.c zone->glob = glob; glob 403 drivers/gpu/drm/ttm/ttm_memory.c glob->zone_dma32 = zone; glob 405 drivers/gpu/drm/ttm/ttm_memory.c &zone->kobj, &ttm_mem_zone_kobj_type, &glob->kobj, zone->name); glob 410 drivers/gpu/drm/ttm/ttm_memory.c glob->zones[glob->num_zones++] = zone; glob 415 drivers/gpu/drm/ttm/ttm_memory.c int ttm_mem_global_init(struct ttm_mem_global *glob) glob 422 drivers/gpu/drm/ttm/ttm_memory.c spin_lock_init(&glob->lock); glob 423 drivers/gpu/drm/ttm/ttm_memory.c glob->swap_queue = create_singlethread_workqueue("ttm_swap"); glob 424 drivers/gpu/drm/ttm/ttm_memory.c INIT_WORK(&glob->work, ttm_shrink_work); glob 426 drivers/gpu/drm/ttm/ttm_memory.c &glob->kobj, &ttm_mem_glob_kobj_type, ttm_get_kobj(), "memory_accounting"); glob 428 drivers/gpu/drm/ttm/ttm_memory.c kobject_put(&glob->kobj); glob 435 drivers/gpu/drm/ttm/ttm_memory.c glob->lower_mem_limit = 0; glob 437 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_kernel_zone(glob, &si); glob 441 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_highmem_zone(glob, &si); glob 445 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_dma32_zone(glob, &si); glob 449 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 450 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 454 drivers/gpu/drm/ttm/ttm_memory.c ttm_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); glob 455 drivers/gpu/drm/ttm/ttm_memory.c ttm_dma_page_alloc_init(glob, glob->zone_kernel->max_mem/(2*PAGE_SIZE)); glob 458 drivers/gpu/drm/ttm/ttm_memory.c ttm_mem_global_release(glob); glob 462 drivers/gpu/drm/ttm/ttm_memory.c void ttm_mem_global_release(struct ttm_mem_global *glob) glob 471 drivers/gpu/drm/ttm/ttm_memory.c flush_workqueue(glob->swap_queue); glob 472 drivers/gpu/drm/ttm/ttm_memory.c destroy_workqueue(glob->swap_queue); glob 473 drivers/gpu/drm/ttm/ttm_memory.c glob->swap_queue = NULL; glob 474 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 475 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 479 drivers/gpu/drm/ttm/ttm_memory.c kobject_del(&glob->kobj); glob 480 drivers/gpu/drm/ttm/ttm_memory.c kobject_put(&glob->kobj); glob 481 drivers/gpu/drm/ttm/ttm_memory.c memset(glob, 0, sizeof(*glob)); glob 484 drivers/gpu/drm/ttm/ttm_memory.c static void ttm_check_swapping(struct ttm_mem_global *glob) glob 490 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 491 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 492 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 499 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 502 drivers/gpu/drm/ttm/ttm_memory.c (void)queue_work(glob->swap_queue, &glob->work); glob 506 drivers/gpu/drm/ttm/ttm_memory.c static void ttm_mem_global_free_zone(struct ttm_mem_global *glob, glob 513 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 514 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 515 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 520 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 523 drivers/gpu/drm/ttm/ttm_memory.c void ttm_mem_global_free(struct ttm_mem_global *glob, glob 526 drivers/gpu/drm/ttm/ttm_memory.c return ttm_mem_global_free_zone(glob, glob->zone_kernel, amount); glob 541 drivers/gpu/drm/ttm/ttm_memory.c ttm_check_under_lowerlimit(struct ttm_mem_global *glob, glob 552 drivers/gpu/drm/ttm/ttm_memory.c if (available < glob->lower_mem_limit) glob 559 drivers/gpu/drm/ttm/ttm_memory.c static int ttm_mem_global_reserve(struct ttm_mem_global *glob, glob 568 drivers/gpu/drm/ttm/ttm_memory.c spin_lock(&glob->lock); glob 569 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 570 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 582 drivers/gpu/drm/ttm/ttm_memory.c for (i = 0; i < glob->num_zones; ++i) { glob 583 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zones[i]; glob 592 drivers/gpu/drm/ttm/ttm_memory.c spin_unlock(&glob->lock); glob 593 drivers/gpu/drm/ttm/ttm_memory.c ttm_check_swapping(glob); glob 599 drivers/gpu/drm/ttm/ttm_memory.c static int ttm_mem_global_alloc_zone(struct ttm_mem_global *glob, glob 606 drivers/gpu/drm/ttm/ttm_memory.c while (unlikely(ttm_mem_global_reserve(glob, glob 614 drivers/gpu/drm/ttm/ttm_memory.c ttm_shrink(glob, false, memory + (memory >> 2) + 16, ctx); glob 620 drivers/gpu/drm/ttm/ttm_memory.c int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, glob 628 drivers/gpu/drm/ttm/ttm_memory.c return ttm_mem_global_alloc_zone(glob, glob->zone_kernel, memory, ctx); glob 632 drivers/gpu/drm/ttm/ttm_memory.c int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, glob 644 drivers/gpu/drm/ttm/ttm_memory.c if (PageHighMem(page) && glob->zone_highmem != NULL) glob 645 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zone_highmem; glob 647 drivers/gpu/drm/ttm/ttm_memory.c if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL) glob 648 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zone_kernel; glob 650 drivers/gpu/drm/ttm/ttm_memory.c return ttm_mem_global_alloc_zone(glob, zone, size, ctx); glob 653 drivers/gpu/drm/ttm/ttm_memory.c void ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page, glob 659 drivers/gpu/drm/ttm/ttm_memory.c if (PageHighMem(page) && glob->zone_highmem != NULL) glob 660 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zone_highmem; glob 662 drivers/gpu/drm/ttm/ttm_memory.c if (glob->zone_dma32 && page_to_pfn(page) > 0x00100000UL) glob 663 drivers/gpu/drm/ttm/ttm_memory.c zone = glob->zone_kernel; glob 665 drivers/gpu/drm/ttm/ttm_memory.c ttm_mem_global_free_zone(glob, zone, size); glob 686 drivers/gpu/drm/ttm/ttm_memory.c uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob) glob 688 drivers/gpu/drm/ttm/ttm_memory.c return glob->zone_kernel->max_mem; glob 954 drivers/gpu/drm/ttm/ttm_page_alloc.c int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) glob 998 drivers/gpu/drm/ttm/ttm_page_alloc.c &glob->kobj, "pool"); glob 1031 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; glob 1052 drivers/gpu/drm/ttm/ttm_page_alloc.c struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; glob 890 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; glob 995 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c struct ttm_mem_global *mem_glob = ttm->bdev->glob->mem_glob; glob 1161 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) glob 1182 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c &glob->kobj, "dma_pool"); glob 411 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); glob 440 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ret = ttm_mem_global_alloc(glob, vmw_tt->sg_alloc_size, &ctx); glob 457 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ttm_mem_global_free(glob, over_alloc); glob 487 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ttm_mem_global_free(glob, vmw_tt->sg_alloc_size); glob 659 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); glob 668 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ret = ttm_mem_global_alloc(glob, size, ctx); glob 675 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ttm_mem_global_free(glob, size); glob 687 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); glob 701 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c ttm_mem_global_free(glob, size); glob 3961 drivers/net/ethernet/qlogic/qed/qed_dev.c offsetof(struct nvm_cfg1, glob) + glob 4111 drivers/net/ethernet/qlogic/qed/qed_dev.c offsetof(struct nvm_cfg1, glob) + glob 4160 drivers/net/ethernet/qlogic/qed/qed_dev.c offsetof(struct nvm_cfg1, glob) + glob 13340 drivers/net/ethernet/qlogic/qed/qed_hsi.h struct nvm_cfg1_glob glob; glob 1943 drivers/net/ethernet/qlogic/qed/qed_mcp.c offsetof(struct nvm_cfg1, glob) + glob 765 include/drm/ttm/ttm_bo_api.h int ttm_bo_swapout(struct ttm_bo_global *glob, glob 470 include/drm/ttm/ttm_bo_driver.h struct ttm_bo_global *glob; glob 780 include/drm/ttm/ttm_bo_driver.h spin_lock(&bo->bdev->glob->lru_lock); glob 785 include/drm/ttm/ttm_bo_driver.h spin_unlock(&bo->bdev->glob->lru_lock); glob 83 include/drm/ttm/ttm_memory.h extern int ttm_mem_global_init(struct ttm_mem_global *glob); glob 84 include/drm/ttm/ttm_memory.h extern void ttm_mem_global_release(struct ttm_mem_global *glob); glob 85 include/drm/ttm/ttm_memory.h extern int ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, glob 87 include/drm/ttm/ttm_memory.h extern void ttm_mem_global_free(struct ttm_mem_global *glob, glob 89 include/drm/ttm/ttm_memory.h extern int ttm_mem_global_alloc_page(struct ttm_mem_global *glob, glob 92 include/drm/ttm/ttm_memory.h extern void ttm_mem_global_free_page(struct ttm_mem_global *glob, glob 95 include/drm/ttm/ttm_memory.h extern uint64_t ttm_get_kernel_zone_memory_size(struct ttm_mem_global *glob); glob 96 include/drm/ttm/ttm_memory.h extern bool ttm_check_under_lowerlimit(struct ttm_mem_global *glob, glob 37 include/drm/ttm/ttm_page_alloc.h int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); glob 81 include/drm/ttm/ttm_page_alloc.h int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages); glob 98 include/drm/ttm/ttm_page_alloc.h static inline int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, glob 4310 kernel/trace/ftrace.c register_ftrace_function_probe(char *glob, struct trace_array *tr, glob 4328 kernel/trace/ftrace.c if (WARN_ON(glob[0] == '!')) glob 4370 kernel/trace/ftrace.c ret = ftrace_match_records(hash, glob, strlen(glob)); glob 4453 kernel/trace/ftrace.c unregister_ftrace_function_probe_func(char *glob, struct trace_array *tr, glob 4470 kernel/trace/ftrace.c if (!glob || !strlen(glob) || !strcmp(glob, "*")) glob 4475 kernel/trace/ftrace.c func_g.type = filter_parse_regex(glob, strlen(glob), glob 7716 kernel/trace/trace.c char *glob, char *cmd, char *param, int enable) glob 7732 kernel/trace/trace.c if (glob[0] == '!') glob 7733 kernel/trace/trace.c return unregister_ftrace_function_probe_func(glob+1, tr, ops); glob 7756 kernel/trace/trace.c ret = register_ftrace_function_probe(glob, tr, ops, count); glob 1136 kernel/trace/trace.h register_ftrace_function_probe(char *glob, struct trace_array *tr, glob 1139 kernel/trace/trace.h unregister_ftrace_function_probe_func(char *glob, struct trace_array *tr, glob 1652 kernel/trace/trace.h char *glob, char *cmd, char *param); glob 1653 kernel/trace/trace.h extern int event_enable_register_trigger(char *glob, glob 1657 kernel/trace/trace.h extern void event_enable_unregister_trigger(char *glob, glob 1817 kernel/trace/trace.h char *glob, char *cmd, char *params); glob 1818 kernel/trace/trace.h int (*reg)(char *glob, glob 1822 kernel/trace/trace.h void (*unreg)(char *glob, glob 2694 kernel/trace/trace_events.c char *glob, char *cmd, char *param, int enabled) glob 2732 kernel/trace/trace_events.c if (glob[0] == '!') { glob 2733 kernel/trace/trace_events.c ret = unregister_ftrace_function_probe_func(glob+1, tr, ops); glob 2776 kernel/trace/trace_events.c ret = register_ftrace_function_probe(glob, tr, ops, data); glob 3202 kernel/trace/trace_events_hist.c char *glob, char *cmd, char *param); glob 5970 kernel/trace/trace_events_hist.c static int hist_register_trigger(char *glob, struct event_trigger_ops *ops, glob 6122 kernel/trace/trace_events_hist.c static void hist_unregister_trigger(char *glob, struct event_trigger_ops *ops, glob 6208 kernel/trace/trace_events_hist.c char *glob, char *cmd, char *param) glob 6223 kernel/trace/trace_events_hist.c if (glob && strlen(glob)) { glob 6231 kernel/trace/trace_events_hist.c if (glob[0] == '!') glob 6312 kernel/trace/trace_events_hist.c cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); glob 6321 kernel/trace/trace_events_hist.c ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); glob 6364 kernel/trace/trace_events_hist.c cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); glob 535 kernel/trace/trace_events_trigger.c static int register_trigger(char *glob, struct event_trigger_ops *ops, glob 582 kernel/trace/trace_events_trigger.c static void unregister_trigger(char *glob, struct event_trigger_ops *ops, glob 624 kernel/trace/trace_events_trigger.c char *glob, char *cmd, char *param) glob 650 kernel/trace/trace_events_trigger.c if (glob[0] == '!') { glob 651 kernel/trace/trace_events_trigger.c cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); glob 686 kernel/trace/trace_events_trigger.c ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); glob 693 kernel/trace/trace_events_trigger.c cmd_ops->unreg(glob, trigger_ops, trigger_data, file); glob 1087 kernel/trace/trace_events_trigger.c register_snapshot_trigger(char *glob, struct event_trigger_ops *ops, glob 1094 kernel/trace/trace_events_trigger.c return register_trigger(glob, ops, data, file); glob 1349 kernel/trace/trace_events_trigger.c char *glob, char *cmd, char *param) glob 1416 kernel/trace/trace_events_trigger.c if (glob[0] == '!') { glob 1417 kernel/trace/trace_events_trigger.c cmd_ops->unreg(glob+1, trigger_ops, trigger_data, file); glob 1464 kernel/trace/trace_events_trigger.c ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); glob 1493 kernel/trace/trace_events_trigger.c int event_enable_register_trigger(char *glob, glob 1535 kernel/trace/trace_events_trigger.c void event_enable_unregister_trigger(char *glob, glob 639 kernel/trace/trace_functions.c struct ftrace_hash *hash, char *glob, glob 650 kernel/trace/trace_functions.c if (glob[0] == '!') glob 651 kernel/trace/trace_functions.c return unregister_ftrace_function_probe_func(glob+1, tr, ops); glob 670 kernel/trace/trace_functions.c ret = register_ftrace_function_probe(glob, tr, ops, count); glob 677 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) glob 690 kernel/trace/trace_functions.c return ftrace_trace_probe_callback(tr, ops, hash, glob, cmd, glob 696 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) glob 705 kernel/trace/trace_functions.c return ftrace_trace_probe_callback(tr, ops, hash, glob, cmd, glob 711 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) glob 721 kernel/trace/trace_functions.c return ftrace_trace_probe_callback(tr, ops, hash, glob, cmd, glob 727 kernel/trace/trace_functions.c char *glob, char *cmd, char *param, int enable) glob 737 kernel/trace/trace_functions.c return ftrace_trace_probe_callback(tr, ops, hash, glob, cmd, glob 1318 mm/slub.c char *end, *glob; glob 1323 mm/slub.c glob = strnchr(iter, end - iter, '*'); glob 1324 mm/slub.c if (glob) glob 1325 mm/slub.c cmplen = glob - iter; glob 161 tools/perf/util/dwarf-aux.c bool die_match_name(Dwarf_Die *dw_die, const char *glob) glob 166 tools/perf/util/dwarf-aux.c if (name && strglobmatch(name, glob)) glob 170 tools/perf/util/dwarf-aux.c if (name && strglobmatch(name, glob)) glob 45 tools/perf/util/dwarf-aux.h bool die_match_name(Dwarf_Die *dw_die, const char *glob); glob 65 tools/testing/selftests/vm/thuge-gen.c glob("/sys/kernel/mm/hugepages/hugepages-*kB", 0, NULL, &g);