Lines Matching defs:NULL

81 	return (subp != NULL && subp->ev_subhead == hdl ? B_TRUE : B_FALSE);
123 if (scpp == NULL || misaligned(scpp)) {
128 *scpp = NULL;
130 if (channel == NULL ||
145 if (scp == NULL) {
191 (void) mutex_init(EV_LOCK(scp), USYNC_THREAD, NULL);
208 if (scp == NULL || misaligned(scp))
220 uargs.sid.name = NULL;
233 while ((subp = EV_SUB_NEXT(scp)) != NULL) {
274 if (scp == NULL || misaligned(scp)) {
285 if (ev == NULL) {
331 pthread_exit(NULL);
333 if (args == NULL || alen <= (size_t)0) {
347 (void) door_return(args, alen, NULL, 0);
389 if (xsa->xs_thrattr == NULL) {
397 err = pthread_create(NULL, thrattr, startf, startfarg);
398 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL);
409 if (xsa->xs_thrsetup == NULL) {
410 (void) pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
411 (void) pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, NULL);
457 if (scp == NULL || misaligned(scp) || sid == NULL || class == NULL) {
476 if (event_handler == NULL) {
480 if (pthread_key_create_once_np(&nrkey, NULL) != 0)
484 if ((subp = calloc(1, sizeof (evchan_subscr_t))) == NULL) {
488 if ((subp->evsub_sid = strdup(sid)) == NULL) {
495 * EC_ALL string will not be copied to kernel - NULL is assumed
498 class = NULL;
508 if (xsa == NULL) {
576 cookie, flags, NULL));
606 if (attr != NULL) {
622 if (xsa != NULL)
625 return (xsa != NULL ? (sysevent_subattr_t *)xsa : NULL);
694 if (scp == NULL || misaligned(scp))
697 if (sid == NULL || strlen(sid) == 0 ||
708 uargs.sid.name = NULL;
735 * no subscriptions, so the initial EV_SUB_NEXT can be NULL.
737 prevsubp = NULL;
739 while (subp != NULL) {
741 if (prevsubp == NULL) {
783 if (scp == NULL || misaligned(scp)) {
802 if (chlenp == NULL || misaligned(chlenp)) {
835 char *buf = NULL;
839 if (scp == NULL || misaligned(scp))
842 if (nvl != NULL &&
863 char *buf2 = NULL; /* allocated if stack buf too small */
867 if (scp == NULL || misaligned(scp) || nvlp == NULL)
870 *nvlp = NULL;
888 (buf2 == NULL || uargs.generation != expgen)) {
889 if (buf2 != NULL)
897 if (buf2 == NULL)
907 * set *nvlp to NULL. Otherwise we must unpack the nvl.
913 if (buf2 != NULL)