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

Lines Matching refs:NULL

234 	sysctlfn *fnp = NULL;
294 fnp = NULL;
455 if (p == NULL)
775 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
799 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
821 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
843 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
871 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
880 *oldlenp = copylen - 1; /* deal with NULL strings correctly */
908 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
915 *oldlenp = len -1; /* deal with NULL strings correctly */
936 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
959 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
984 if (oldp != USER_ADDR_NULL && oldlenp == NULL)
1075 (p->p_pgrp == NULL) || (p->p_pgrp->pg_session == NULL) ||
1076 p->p_pgrp->pg_session->s_ttyp == NULL ||
1093 if (p->p_ucred == NULL)
1112 if (p->p_ucred == NULL)
1127 if ((p->p_lctx == NULL) ||
1364 struct session *sessp = NULL;
1444 exp->p_forw = exp->p_back = NULL;
1446 exp->p_vmspace = NULL;
1496 exp->p_addr = NULL;
1499 exp->p_ru = p->p_ru ; /* XXX may be NULL */
1568 exp->p_ru = CAST_USER_ADDR_T(p->p_ru); /* XXX may be NULL */
1669 /* we only care about buflen when where (oldp from sysctl) is not NULL. */
1670 /* when where (oldp from sysctl) is NULL and sizep (oldlenp from sysctl */
1671 /* is not NULL then the caller wants us to return the length needed to */
1683 if (p == NULL) {
1704 if (sizep == NULL) {
1748 if (task == NULL) {
1766 if (proc_map == NULL)
1986 NULL, BSD, "");
2021 error = sysctl_io_string(req, buf, 256, 0, NULL);
2027 NULL, 0,
2035 NULL, ARG_MAX, "");
2038 NULL, _POSIX_VERSION, "");
2041 NULL, NGROUPS_MAX, "");
2044 NULL, 1, "");
2048 NULL, 1, "");
2052 NULL, 0, "");
2059 int error = sysctl_io_number(req, desiredvnodes, sizeof(int), &desiredvnodes, NULL);
2151 return sysctl_io_string(req, &req->p->p_name[0], (2*MAXCOMLEN+1), 1, NULL);
2171 return sysctl_io_opaque(req, &t, sizeof(t), NULL);
2186 return sysctl_io_string(req, str, 0, 0, NULL);
2199 return sysctl_io_number(req, netboot_root(), sizeof(int), NULL, NULL);
2211 return sysctl_io_number(req, (int)req->p->user_stack, sizeof(int), NULL, NULL);
2222 return sysctl_io_number(req, req->p->user_stack, sizeof(req->p->user_stack), NULL, NULL);
2472 return sysctl_io_opaque(req, &loadinfo64, sizeof(loadinfo64), NULL);
2474 return sysctl_io_opaque(req, &averunnable, sizeof(averunnable), NULL);
2505 return sysctl_io_opaque(req, &xsu, sizeof(xsu), NULL);
2518 NULL, 0, "");
2568 if (p == NULL)
2626 return sysctl_io_number(req, boothowto & RB_SAFEBOOT ? 1 : 0, sizeof(int), NULL, NULL);
2637 return sysctl_io_number(req, boothowto & RB_SINGLE ? 1 : 0, sizeof(int), NULL, NULL);