Lines Matching refs:bytes
495 unsigned long bytes, paddr; in map_high() local
498 bytes = (1UL << bshift) * (max_pnode + 1); in map_high()
503 pr_debug("UV: Map %s_HI 0x%lx - 0x%lx\n", id, paddr, paddr + bytes); in map_high()
505 init_extra_mapping_uc(paddr, bytes); in map_high()
507 init_extra_mapping_wb(paddr, bytes); in map_high()
514 unsigned long bytes; in map_gru_distributed() local
524 bytes = 1UL << UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT; in map_gru_distributed()
525 gru_dist_lmask = ((1UL << uv_hub_info->m_val) - 1) & ~(bytes - 1); in map_gru_distributed()
531 init_extra_mapping_wb(paddr, bytes); in map_gru_distributed()
877 int bytes, nid, cpu, lcpu, pnode, blade, i, j, m_val, n_val; in uv_system_init() local
921 bytes = sizeof(struct uv_blade_info) * uv_num_possible_blades(); in uv_system_init()
922 uv_blade_info = kzalloc(bytes, GFP_KERNEL); in uv_system_init()
930 bytes = sizeof(uv_node_to_blade[0]) * num_possible_nodes(); in uv_system_init()
931 uv_node_to_blade = kmalloc(bytes, GFP_KERNEL); in uv_system_init()
933 memset(uv_node_to_blade, 255, bytes); in uv_system_init()
935 bytes = sizeof(uv_cpu_to_blade[0]) * num_possible_cpus(); in uv_system_init()
936 uv_cpu_to_blade = kmalloc(bytes, GFP_KERNEL); in uv_system_init()
938 memset(uv_cpu_to_blade, 255, bytes); in uv_system_init()