Home
last modified time | relevance | path

Searched refs:first_hartid (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/riscv/
H A Dnuma.c40 int i, first_hartid = ms->smp.cpus; in riscv_socket_first_hartid() local
50 if (i < first_hartid) { in riscv_socket_first_hartid()
51 first_hartid = i; in riscv_socket_first_hartid()
55 return (first_hartid < ms->smp.cpus) ? first_hartid : -1; in riscv_socket_first_hartid()
80 int first_hartid, last_hartid; in riscv_socket_hart_count() local
87 if (first_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
112 if (first_hartid < 0) { in riscv_socket_check_hartids()
[all …]
/openbmc/linux/arch/riscv/mm/
H A Dcacheflush.c102 unsigned long *first_hartid) in cbo_get_block_size() argument
115 *first_hartid = hartid; in cbo_get_block_size()
118 name, *first_hartid, hartid); in cbo_get_block_size()