• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching defs:arg1

444 sysctl_sysctl_debug(__unused struct sysctl_oid *oidp, __unused void *arg1,
455 sysctl_sysctl_name(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
458 int *name = (int *) arg1;
571 sysctl_sysctl_next(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
574 int *name = (int *) arg1;
648 sysctl_sysctl_name2oid(__unused struct sysctl_oid *oidp, __unused void *arg1,
688 sysctl_sysctl_oidfmt(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
691 int *name = (int *) arg1, error;
741 * a variable: point arg1 at it.
746 sysctl_handle_int(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
749 return sysctl_io_number(req, arg1? *(int*)arg1: arg2, sizeof(int), arg1, NULL);
753 * Handle a long, signed or unsigned. arg1 points to it.
757 sysctl_handle_long(__unused struct sysctl_oid *oidp, void *arg1,
760 if (!arg1)
762 return sysctl_io_number(req, *(long*)arg1, sizeof(long), arg1, NULL);
766 * Handle a quad, signed or unsigned. arg1 points to it.
770 sysctl_handle_quad(__unused struct sysctl_oid *oidp, void *arg1,
773 if (!arg1)
775 return sysctl_io_number(req, *(long long*)arg1, sizeof(long long), arg1, NULL);
786 sysctl_handle_int2quad(__unused struct sysctl_oid *oidp, void *arg1,
793 if (!arg1)
795 val = (long long)*(int *)arg1;
811 *(int *)arg1 = newval;
820 * a variable string: point arg1 at it, arg2 is max length.
821 * a constant string: point arg1 at it, arg2 is zero.
825 sysctl_handle_string( __unused struct sysctl_oid *oidp, void *arg1, int arg2,
828 return sysctl_io_string(req, arg1, arg2, 0, NULL);
833 * arg1 points to it, arg2 is the size.
837 sysctl_handle_opaque(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
840 return sysctl_io_opaque(req, arg1, arg2, NULL);
961 sysctl_root(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
964 int *name = (int *) arg1;