OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:cp_id
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/kern/
init_sysctl.c
508
CTLTYPE_STRUCT, "
cp_id
",
1358
* sysctl helper routine for kern.
cp_id
node. Maps cpus to their
1365
uint64_t *
cp_id
= NULL;
local
1395
cp_id
= kmem_alloc(node.sysctl_size, KM_SLEEP);
1396
node.sysctl_data =
cp_id
;
1397
memset(
cp_id
, 0, node.sysctl_size);
1401
cp_id
[0] = cpu_index(ci);
1409
* if doing "all", skip to next
cp_id
slot for next processor
1412
cp_id
++;
/src/sbin/sysctl/
sysctl.c
196
{ "/kern/
cp_id
(/[0-9]+)?", kern_cp_id, NULL, NULL },
2396
u_int64_t *
cp_id
;
local
2399
char s[sizeof("kern.
cp_id
.nnnnnn")];
2422
cp_id
= malloc(sz);
2423
if (
cp_id
== NULL) {
2429
rc = prog_sysctl(name, namelen,
cp_id
, &osz, NULL, 0);
2432
free(
cp_id
);
2448
display_number(&node, tname,
cp_id
,
2455
display_number(&node, tname, &
cp_id
[i],
2462
display_struct(pnode, tname,
cp_id
, sz, DISPLAY_VALUE)
[
all
...]
Completed in 19 milliseconds
Indexes created Tue Feb 24 19:07:35 UTC 2026