Lines Matching refs:val
333 /* Oid for a bool. If ptr is NULL, val is returned. */
335 #define SYSCTL_BOOL(parent, nbr, name, access, ptr, val, descr) \
338 ptr, val, sysctl_handle_bool, "CU", descr); \
342 #define SYSCTL_ADD_BOOL(ctx, parent, nbr, name, access, ptr, val, descr) \
348 __ptr, val, sysctl_handle_bool, "CU", __DESCR(descr)); \
351 /* Oid for a signed 8-bit int. If ptr is NULL, val is returned. */
353 #define SYSCTL_S8(parent, nbr, name, access, ptr, val, descr) \
356 ptr, val, sysctl_handle_8, "C", descr); \
361 #define SYSCTL_ADD_S8(ctx, parent, nbr, name, access, ptr, val, descr) \
368 __ptr, val, sysctl_handle_8, "C", __DESCR(descr)); \
371 /* Oid for an unsigned 8-bit int. If ptr is NULL, val is returned. */
373 #define SYSCTL_U8(parent, nbr, name, access, ptr, val, descr) \
376 ptr, val, sysctl_handle_8, "CU", descr); \
381 #define SYSCTL_ADD_U8(ctx, parent, nbr, name, access, ptr, val, descr) \
388 __ptr, val, sysctl_handle_8, "CU", __DESCR(descr)); \
391 /* Oid for a signed 16-bit int. If ptr is NULL, val is returned. */
393 #define SYSCTL_S16(parent, nbr, name, access, ptr, val, descr) \
396 ptr, val, sysctl_handle_16, "S", descr); \
401 #define SYSCTL_ADD_S16(ctx, parent, nbr, name, access, ptr, val, descr) \
408 __ptr, val, sysctl_handle_16, "S", __DESCR(descr)); \
411 /* Oid for an unsigned 16-bit int. If ptr is NULL, val is returned. */
413 #define SYSCTL_U16(parent, nbr, name, access, ptr, val, descr) \
416 ptr, val, sysctl_handle_16, "SU", descr); \
421 #define SYSCTL_ADD_U16(ctx, parent, nbr, name, access, ptr, val, descr) \
428 __ptr, val, sysctl_handle_16, "SU", __DESCR(descr)); \
431 /* Oid for a signed 32-bit int. If ptr is NULL, val is returned. */
433 #define SYSCTL_S32(parent, nbr, name, access, ptr, val, descr) \
436 ptr, val, sysctl_handle_32, "I", descr); \
441 #define SYSCTL_ADD_S32(ctx, parent, nbr, name, access, ptr, val, descr) \
448 __ptr, val, sysctl_handle_32, "I", __DESCR(descr)); \
451 /* Oid for an unsigned 32-bit int. If ptr is NULL, val is returned. */
453 #define SYSCTL_U32(parent, nbr, name, access, ptr, val, descr) \
456 ptr, val, sysctl_handle_32, "IU", descr); \
461 #define SYSCTL_ADD_U32(ctx, parent, nbr, name, access, ptr, val, descr) \
468 __ptr, val, sysctl_handle_32, "IU", __DESCR(descr)); \
471 /* Oid for a signed 64-bit int. If ptr is NULL, val is returned. */
473 #define SYSCTL_S64(parent, nbr, name, access, ptr, val, descr) \
476 ptr, val, sysctl_handle_64, "Q", descr); \
481 #define SYSCTL_ADD_S64(ctx, parent, nbr, name, access, ptr, val, descr) \
488 __ptr, val, sysctl_handle_64, "Q", __DESCR(descr)); \
491 /* Oid for an unsigned 64-bit int. If ptr is NULL, val is returned. */
493 #define SYSCTL_U64(parent, nbr, name, access, ptr, val, descr) \
496 ptr, val, sysctl_handle_64, "QU", descr); \
501 #define SYSCTL_ADD_U64(ctx, parent, nbr, name, access, ptr, val, descr) \
508 __ptr, val, sysctl_handle_64, "QU", __DESCR(descr)); \
511 /* Oid for an int. If ptr is SYSCTL_NULL_INT_PTR, val is returned. */
513 #define SYSCTL_INT(parent, nbr, name, access, ptr, val, descr) \
516 ptr, val, sysctl_handle_int, "I", descr); \
521 #define SYSCTL_ADD_INT(ctx, parent, nbr, name, access, ptr, val, descr) \
528 __ptr, val, sysctl_handle_int, "I", __DESCR(descr)); \
531 /* Oid for an unsigned int. If ptr is NULL, val is returned. */
533 #define SYSCTL_UINT(parent, nbr, name, access, ptr, val, descr) \
536 ptr, val, sysctl_handle_int, "IU", descr); \
541 #define SYSCTL_ADD_UINT(ctx, parent, nbr, name, access, ptr, val, descr) \
548 __ptr, val, sysctl_handle_int, "IU", __DESCR(descr)); \
553 #define SYSCTL_LONG(parent, nbr, name, access, ptr, val, descr) \
556 ptr, val, sysctl_handle_long, "L", descr); \
573 #define SYSCTL_ULONG(parent, nbr, name, access, ptr, val, descr) \
576 ptr, val, sysctl_handle_long, "LU", descr); \
593 #define SYSCTL_QUAD(parent, nbr, name, access, ptr, val, descr) \
596 ptr, val, sysctl_handle_64, "Q", descr); \
612 #define SYSCTL_UQUAD(parent, nbr, name, access, ptr, val, descr) \
615 ptr, val, sysctl_handle_64, "QU", descr); \