Searched refs:last_hartid (Results 1 – 1 of 1) sorted by relevance
60 int i, last_hartid = -1; in riscv_socket_last_hartid() local70 if (i > last_hartid) { in riscv_socket_last_hartid()71 last_hartid = i; in riscv_socket_last_hartid()75 return (last_hartid < ms->smp.cpus) ? last_hartid : -1; in riscv_socket_last_hartid()80 int first_hartid, last_hartid; in riscv_socket_hart_count() local91 last_hartid = riscv_socket_last_hartid(ms, socket_id); in riscv_socket_hart_count()92 if (last_hartid < 0) { in riscv_socket_hart_count()96 if (first_hartid > last_hartid) { in riscv_socket_hart_count()100 return last_hartid - first_hartid + 1; in riscv_socket_hart_count()105 int i, first_hartid, last_hartid; in riscv_socket_check_hartids() local[all …]