Lines Matching defs:valueSize
266 sysctl_io_number(struct sysctl_req *req, long long bigValue, size_t valueSize, void *pValue, int *changed) {
280 if ((valueSize == sizeof(int)) ||
281 ((req->oldlen == sizeof(int)) && (valueSize == sizeof(long long)))) {
288 error = SYSCTL_OUT(req, &bigValue, valueSize);
299 if ((req->newlen == sizeof(int)) && (valueSize == sizeof(long long))) {
304 } else if ((req->newlen == sizeof(long long)) && (valueSize == sizeof(int))) {
315 error = SYSCTL_IN(req, pValue, valueSize);
323 sysctl_io_string(struct sysctl_req *req, char *pValue, size_t valueSize, int trunc, int *changed)
351 if (valueSize == 0)
355 if (req->newlen >= valueSize)
367 int sysctl_io_opaque(struct sysctl_req *req,void *pValue, size_t valueSize, int *changed)
374 error = SYSCTL_OUT(req, pValue, valueSize);
380 error = SYSCTL_IN(req, pValue, valueSize);