|
NAMEBUS_GET_CPUS , bus_get_cpus
—
request a set of device-specific CPUs
SYNOPSIS#include <sys/param.h>
#include <sys/bus.h>
#include <sys/cpuset.h>
int
int
DESCRIPTIONTheBUS_GET_CPUS () method queries the parent bus device
for a set of device-specific CPUs. The op argument
specifies which set of CPUs to retrieve. If successful, the requested set of
CPUs are returned in cpuset. The
setsize argument specifies the size in bytes of the set
passed in cpuset.
The RETURN VALUESZero is returned on success, otherwise an appropriate error is returned.SEE ALSOcpuset(2), BUS_BIND_INTR(9), device(9)HISTORYTheBUS_GET_CPUS () method and
bus_get_cpus () function first appeared in
FreeBSD 11.0.
Visit the GSP FreeBSD Man Page Interface. |