Lines Matching refs:arg1
104 STATIC int sysctl_sysctl_debug(struct sysctl_oid *oidp, void *arg1,
106 STATIC int sysctl_sysctl_name(struct sysctl_oid *oidp, void *arg1,
114 STATIC int sysctl_sysctl_name2oid(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
115 STATIC int sysctl_sysctl_next(struct sysctl_oid *oidp, void *arg1, int arg2,
117 STATIC int sysctl_sysctl_oidfmt(struct sysctl_oid *oidp, void *arg1, int arg2, struct sysctl_req *req);
621 sysctl_sysctl_debug(__unused struct sysctl_oid *oidp, __unused void *arg1,
644 * arg1 A pointer to the OID name list
680 sysctl_sysctl_name(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
683 int *name = (int *) arg1;
843 * arg1 Pointer to start OID name
872 sysctl_sysctl_next(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
875 int *name = (int *) arg1;
977 * arg1 __unused
1007 sysctl_sysctl_name2oid(__unused struct sysctl_oid *oidp, __unused void *arg1,
1061 * arg1 The OID name to look up
1089 sysctl_sysctl_oidfmt(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
1092 int *name = (int *) arg1;
1150 * a variable: point arg1 at it.
1155 sysctl_handle_int(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
1158 return sysctl_io_number(req, arg1? *(int*)arg1: arg2, sizeof(int), arg1, NULL);
1162 * Handle a long, signed or unsigned. arg1 points to it.
1166 sysctl_handle_long(__unused struct sysctl_oid *oidp, void *arg1,
1169 if (!arg1)
1171 return sysctl_io_number(req, *(long*)arg1, sizeof(long), arg1, NULL);
1175 * Handle a quad, signed or unsigned. arg1 points to it.
1179 sysctl_handle_quad(__unused struct sysctl_oid *oidp, void *arg1,
1182 if (!arg1)
1184 return sysctl_io_number(req, *(long long*)arg1, sizeof(long long), arg1, NULL);
1195 sysctl_handle_int2quad(__unused struct sysctl_oid *oidp, void *arg1,
1202 if (!arg1)
1204 val = (long long)*(int *)arg1;
1220 *(int *)arg1 = newval;
1229 * a variable string: point arg1 at it, arg2 is max length.
1230 * a constant string: point arg1 at it, arg2 is zero.
1234 sysctl_handle_string( __unused struct sysctl_oid *oidp, void *arg1, int arg2,
1237 return sysctl_io_string(req, arg1, arg2, 0, NULL);
1242 * arg1 points to it, arg2 is the size.
1246 sysctl_handle_opaque(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
1249 return sysctl_io_opaque(req, arg1, arg2, NULL);
1370 sysctl_root(__unused struct sysctl_oid *oidp, void *arg1, int arg2,
1373 int *name = (int *) arg1;