aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/systrace_args.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/systrace_args.c')
-rw-r--r--sys/kern/systrace_args.c144
1 files changed, 84 insertions, 60 deletions
diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c
index b6a5fdc30162..b3de51ff5aa9 100644
--- a/sys/kern/systrace_args.c
+++ b/sys/kern/systrace_args.c
@@ -3160,24 +3160,6 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 4;
break;
}
- /* numa_getaffinity */
- case 548: {
- struct numa_getaffinity_args *p = params;
- iarg[0] = p->which; /* cpuwhich_t */
- iarg[1] = p->id; /* id_t */
- uarg[2] = (intptr_t) p->policy; /* struct vm_domain_policy_entry * */
- *n_args = 3;
- break;
- }
- /* numa_setaffinity */
- case 549: {
- struct numa_setaffinity_args *p = params;
- iarg[0] = p->which; /* cpuwhich_t */
- iarg[1] = p->id; /* id_t */
- uarg[2] = (intptr_t) p->policy; /* const struct vm_domain_policy_entry * */
- *n_args = 3;
- break;
- }
/* fdatasync */
case 550: {
struct fdatasync_args *p = params;
@@ -3276,6 +3258,30 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 6;
break;
}
+ /* cpuset_getdomain */
+ case 561: {
+ struct cpuset_getdomain_args *p = params;
+ iarg[0] = p->level; /* cpulevel_t */
+ iarg[1] = p->which; /* cpuwhich_t */
+ iarg[2] = p->id; /* id_t */
+ uarg[3] = p->domainsetsize; /* size_t */
+ uarg[4] = (intptr_t) p->mask; /* domainset_t * */
+ uarg[5] = (intptr_t) p->policy; /* int * */
+ *n_args = 6;
+ break;
+ }
+ /* cpuset_setdomain */
+ case 562: {
+ struct cpuset_setdomain_args *p = params;
+ iarg[0] = p->level; /* cpulevel_t */
+ iarg[1] = p->which; /* cpuwhich_t */
+ iarg[2] = p->id; /* id_t */
+ uarg[3] = p->domainsetsize; /* size_t */
+ uarg[4] = (intptr_t) p->mask; /* domainset_t * */
+ iarg[5] = p->policy; /* int */
+ *n_args = 6;
+ break;
+ }
default:
*n_args = 0;
break;
@@ -8523,38 +8529,6 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
- /* numa_getaffinity */
- case 548:
- switch(ndx) {
- case 0:
- p = "cpuwhich_t";
- break;
- case 1:
- p = "id_t";
- break;
- case 2:
- p = "userland struct vm_domain_policy_entry *";
- break;
- default:
- break;
- };
- break;
- /* numa_setaffinity */
- case 549:
- switch(ndx) {
- case 0:
- p = "cpuwhich_t";
- break;
- case 1:
- p = "id_t";
- break;
- case 2:
- p = "userland const struct vm_domain_policy_entry *";
- break;
- default:
- break;
- };
- break;
/* fdatasync */
case 550:
switch(ndx) {
@@ -8728,6 +8702,56 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
+ /* cpuset_getdomain */
+ case 561:
+ switch(ndx) {
+ case 0:
+ p = "cpulevel_t";
+ break;
+ case 1:
+ p = "cpuwhich_t";
+ break;
+ case 2:
+ p = "id_t";
+ break;
+ case 3:
+ p = "size_t";
+ break;
+ case 4:
+ p = "userland domainset_t *";
+ break;
+ case 5:
+ p = "userland int *";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* cpuset_setdomain */
+ case 562:
+ switch(ndx) {
+ case 0:
+ p = "cpulevel_t";
+ break;
+ case 1:
+ p = "cpuwhich_t";
+ break;
+ case 2:
+ p = "id_t";
+ break;
+ case 3:
+ p = "size_t";
+ break;
+ case 4:
+ p = "userland domainset_t *";
+ break;
+ case 5:
+ p = "int";
+ break;
+ default:
+ break;
+ };
+ break;
default:
break;
};
@@ -10549,16 +10573,6 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
- /* numa_getaffinity */
- case 548:
- if (ndx == 0 || ndx == 1)
- p = "int";
- break;
- /* numa_setaffinity */
- case 549:
- if (ndx == 0 || ndx == 1)
- p = "int";
- break;
/* fdatasync */
case 550:
if (ndx == 0 || ndx == 1)
@@ -10614,6 +10628,16 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
+ /* cpuset_getdomain */
+ case 561:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
+ /* cpuset_setdomain */
+ case 562:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
default:
break;
};