Home
last modified time | relevance | path

Searched refs:num_zones (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/gpu/drm/ttm/
Dttm_memory.c188 for (i = 0; i < glob->num_zones; ++i) { in ttm_zones_above_swap_target()
272 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_kernel_zone()
308 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_highmem_zone()
355 glob->zones[glob->num_zones++] = zone; in ttm_mem_init_dma32_zone()
392 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_init()
418 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_release()
435 for (i = 0; i < glob->num_zones; ++i) { in ttm_check_swapping()
458 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_free_zone()
484 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve()
497 for (i = 0; i < glob->num_zones; ++i) { in ttm_mem_global_reserve()
/linux-3.4.99/drivers/usb/storage/
Dalauda.c296 unsigned int num_zones = media_info->capacity >> shift; in alauda_free_maps() local
300 for (i = 0; i < num_zones; i++) { in alauda_free_maps()
306 for (i = 0; i < num_zones; i++) { in alauda_free_maps()
393 unsigned int num_zones; in alauda_init_media() local
449 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_init_media()
451 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
452 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()
1163 unsigned int num_zones; in alauda_transport() local
1170 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift in alauda_transport()
1173 capacity = num_zones * MEDIA_INFO(us).uzonesize in alauda_transport()
/linux-3.4.99/include/drm/ttm/
Dttm_memory.h86 unsigned int num_zones; member