Searched refs:num_zones (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/platform/x86/ |
H A D | alienware-wmi.c | 61 u8 num_zones; member in struct:quirk_entry 68 .num_zones = 2, 73 .num_zones = 3, 78 .num_zones = 2, 201 for (i = 0; i < quirks->num_zones; i++) { match_zone() 378 * - zone_dev_attrs num_zones + 1 is for individual zones and then alienware_zone_init() 380 * - zone_attrs num_zones + 2 is for all attrs in zone_dev_attrs + alienware_zone_init() 382 * - zone_data num_zones is for the distinct zones alienware_zone_init() 385 kzalloc(sizeof(struct device_attribute) * (quirks->num_zones + 1), alienware_zone_init() 391 kzalloc(sizeof(struct attribute *) * (quirks->num_zones + 2), alienware_zone_init() 397 kzalloc(sizeof(struct platform_zone) * (quirks->num_zones), alienware_zone_init() 402 for (i = 0; i < quirks->num_zones; i++) { alienware_zone_init() 416 zone_attrs[quirks->num_zones] = &dev_attr_lighting_control_state.attr; alienware_zone_init() 430 for (i = 0; i < quirks->num_zones; i++) alienware_zone_exit()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 188 for (i = 0; i < glob->num_zones; ++i) { ttm_zones_above_swap_target() 272 glob->zones[glob->num_zones++] = zone; ttm_mem_init_kernel_zone() 309 glob->zones[glob->num_zones++] = zone; ttm_mem_init_highmem_zone() 356 glob->zones[glob->num_zones++] = zone; ttm_mem_init_dma32_zone() 392 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_init() 418 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_release() 435 for (i = 0; i < glob->num_zones; ++i) { ttm_check_swapping() 458 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_free_zone() 484 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_reserve() 497 for (i = 0; i < glob->num_zones; ++i) { ttm_mem_global_reserve()
|
/linux-4.1.27/include/drm/ttm/ |
H A D | ttm_memory.h | 66 * @num_zones: Number of populated entries in the @zones array. 84 unsigned int num_zones; member in struct:ttm_mem_global
|
/linux-4.1.27/drivers/usb/storage/ |
H A D | alauda.c | 297 unsigned int num_zones = media_info->capacity >> shift; alauda_free_maps() local 301 for (i = 0; i < num_zones; i++) { alauda_free_maps() 307 for (i = 0; i < num_zones; i++) { alauda_free_maps() 393 unsigned int num_zones; alauda_init_media() local 446 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift alauda_init_media() 448 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); alauda_init_media() 449 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); alauda_init_media() 1152 unsigned int num_zones; alauda_transport() local 1159 num_zones = MEDIA_INFO(us).capacity >> (MEDIA_INFO(us).zoneshift alauda_transport() 1162 capacity = num_zones * MEDIA_INFO(us).uzonesize alauda_transport()
|
Completed in 291 milliseconds