/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_pci.c | 49 NULL, /* adc_private */ 50 NULL, /* adc_pre_probe */ 51 NULL, /* adc_post_probe */ 53 NULL, /* adc_filter */ 54 NULL, /* adc_init */ 55 NULL, /* adc_fini */ 71 dev_info_t *dip = NULL; 86 dhdl->aod_class = NULL; 87 dhdl->aod_class_list = NULL; 96 dip = NULL; [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | ppd.c | 46 *value = NULL; 47 *comment = NULL; 49 if ((ptr = strchr(line, ':')) == NULL) 58 *ptr++ = NULL; 62 if ((ptr2 = strchr(line, ' ')) != NULL) { 68 *ptr++ = NULL; 78 if ((ptr = strchr(ptr, '/')) != NULL) { 79 *ptr++ = NULL; 93 char *current_group_name = NULL; 97 if ((fp = fopen(filename, "r")) == NULL) [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_index_entry_c.c | 50 register db_index_entry *freeptr = NULL; 81 more_data = (ep->next != NULL); 85 ep->next = NULL; 94 if (loc == NULL) { 97 if (loc == NULL) { 106 if (freeptr != NULL) { 109 ep->next = NULL; 114 if (loc == NULL) 119 if ((freeptr != NULL) && (xdrs->x_op == XDR_FREE)) { 149 register db_free_entry *freeptr = NULL; [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 110 * If the input hsprequest is NULL, use the default HSP scheme: 114 * If the hsprequest is not NULL: 127 devconfig_t *hsp = NULL; 133 if (hsprequest == NULL) { 142 } else if (hsp != NULL) { 144 if (devconfig_get_components(hsp) == NULL) { 147 hsp = NULL; 149 dlist_t *item = NULL; 150 if ((item = dlist_new_item(hsp)) == NULL) { 187 char *hspname = NULL; [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 73 if (impl_handle->zfs_libhandle != NULL) { 90 if (impl_handle->zfs_libhandle != NULL) { 91 if (impl_handle->zfs_list != NULL) { 103 impl_handle->zfs_list = NULL; 108 impl_handle->zfs_libhandle = NULL; 159 if (handles == NULL) { 193 if (impl_handle->zfs_list != NULL) { 222 sizeof (mounta), NULL, NULL, 0, B_FALSE) == 0); 224 sizeof (mountb), NULL, NUL [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 58 * return StringMem * The new free-list container, or NULL on 69 return NULL; 77 return NULL; 85 sm->fl = NULL; 102 * sm StringMem * The string free-list to be deleted, or NULL. 110 * return StringMem * Always NULL (even if the list couldn't be 121 return NULL; 132 return NULL; 142 * return char * The new string or NULL on error. 152 return NULL; [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getpwnam.c | 63 if (buffer == NULL) 64 return (NULL); 74 return (b == NULL ? NULL : 83 return (b == NULL ? NULL : 92 return (b == NULL ? NULL : 101 return (b == NULL ? NULL [all...] |
H A D | insque.c | 51 if (pred == NULL) { /* This is the first element being inserted. */ 52 ((struct qelem *)elem)->q_forw = NULL; 53 ((struct qelem *)elem)->q_back = NULL; 54 } else if (((struct qelem *)pred)->q_forw == NULL) { 57 ((struct qelem *)elem)->q_forw = NULL; 72 if (((struct qelem *)elem)->q_back == NULL) { 74 if (((struct qelem *)elem)->q_forw == NULL) 77 ((struct qelem *)elem)->q_forw->q_back = NULL; 78 } else if (((struct qelem *)elem)->q_forw == NULL) { 80 ((struct qelem *)elem)->q_back->q_forw = NULL; [all...] |
H A D | realpath.c | 42 * must be long enough (PATH_MAX bytes will suffice). Returns NULL 53 if (file_name == NULL) { 55 return (NULL); 65 return (NULL); /* errno set by resolvepath() */ 81 if (getcwd(cwd, sizeof (cwd)) == NULL) { 83 return (NULL); /* errno set by getcwd() */ 112 return (NULL); 126 * and return resolved_name. Return NULL on failure. 133 if (resolved_name != NULL) 136 if (realpath_impl(file_name, buffer) != NULL) [all...] |
H A D | tsdalloc.c | 53 if (loc != NULL) { 55 if ((p = loc[i].buf) != NULL) { 57 if (destructor != NULL) 76 return (NULL); 81 return (NULL); 84 if ((loc = pthread_getspecific(key)) != NULL) { 85 if ((p = loc[n].buf) != NULL) 90 if (loc == NULL) 91 return (NULL); 95 return (NULL); [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/prldap/ |
H A D | ldappr-public.c | 49 * prldap_init() returns an LDAP session handle (or NULL if an error occurs). 56 if (( ld = ldap_init( defhost, defport )) != NULL ) { 60 ld = NULL; 74 * If 'ld' is NULL, the functions are installed as the default functions 90 return( ldap_get_lderrno( ld, NULL, NULL )); 104 * If 'ld' and 'session" are both NULL, the option is set as the default 113 PRLDAPIOSessionArg *prsessp = NULL; 116 if ( NULL != ld ) { 121 } else if ( NULL ! [all...] |
/illumos-gate/usr/src/cmd/userattr/ |
H A D | userattr.c | 38 char *attr_name = NULL; 54 if ((val = kva_match(kva, attr_name)) != NULL) { 58 if (name != NULL) { 75 char *user = NULL; 94 if ((attr_name == NULL) || (opt < argc)) { 100 if (user == NULL) { 103 if ((pwd = getpwuid(uid)) == NULL) { 110 if ((pwd = getpwnam(user)) == NULL) { 117 (void) _enum_attrs(user, attr, NULL, NULL); [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/docsExamples/ |
H A D | kstat.d | 46 /self->ksname != NULL && arg1 != NULL/ 54 /self->ksname != NULL && arg1 == NULL/ 56 self->ksname = NULL;
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetserv.c | 44 if (sp == NULL) { 74 if (list == NULL || *list == NULL) { 75 while ((sp = getservent()) != NULL) 78 for (; *list != NULL; list++) { 81 const char *protocol = NULL; 86 key[sizeof (key) - 1] = NULL; 88 if ((cp = strchr(key, '/')) != NULL) { 89 *cp = NULL; 97 if (sp == NULL) [all...] |
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_ieee1394.c | 41 NULL, 42 NULL, 43 NULL, 44 NULL, 45 NULL 51 HalDevice *d = NULL; 61 return (NULL); 64 if ((driver_name = di_driver_name (node)) == NULL) { 65 return (NULL); 78 HalDevice *d = NULL; [all...] |
/illumos-gate/usr/src/uts/common/inet/ |
H A D | inet_common.c | 51 if (arena != NULL) { 55 1, NULL, NULL, NULL, 1, kmflags | VMC_IDENTIFIER); 57 if (arena->ineta_arena == NULL) { 59 arena = NULL; 71 if (arena != NULL) { 95 * to NULL and free them. 102 for (; bp != NULL; bp = bp->b_cont) { 103 bp->b_prev = NULL; [all...] |
/illumos-gate/usr/src/tools/protocmp/ |
H A D | exception_list.c | 51 if ((name = strtok(line, FS)) == NULL) { 56 if ((arch = strtok(NULL, FS)) == NULL) { 61 if (e == NULL) { 72 e->link_parent = NULL; 73 e->link_sib = NULL; 74 e->symsrc = NULL; 78 if ((arch = strtok(NULL, FS)) == NULL) { 103 if ((except_fp = fopen(exception_file, "r")) == NULL) { [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_ctf_open.c | 62 NULL) 63 return (NULL); 75 if ((kmc = mdb_ctf_name2ctl(pathname)) == NULL) { 76 if (errp != NULL) 78 return (NULL); 82 if (mp->ctfdata == NULL) { 83 if (errp != NULL) 85 return (NULL); 89 mp->symhdr, mp->strings, mp->strhdr, errp)) == NULL) 90 return (NULL); [all...] |
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | nss.c | 53 char *result = NULL; 55 if (bsdaddr != NULL) { 56 char *bsd[3], *tmp, *iter = NULL; 62 if ((bsd[1] = strtok_r(NULL, ":,", &iter)) == NULL) 63 papiAttributeListGetString(list, NULL, 65 bsd[2] = strtok_r(NULL, ":,", &iter); 68 (bsd[1] != NULL) ? bsd[1] : "", 69 (bsd[2] != NULL) ? "#" : "", 70 (bsd[2] != NULL) [all...] |
/illumos-gate/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_xmpp_client.c | 87 static client_list_t clt_list = { NULL, NULL, PTHREAD_MUTEX_INITIALIZER }; 92 if (_function == NULL) { \ 120 static SSL_load_error_strings_pt SSL_load_error_strings_f = NULL; 121 static SSL_library_init_pt SSL_library_init_f = NULL; 122 static SSL_CTX_new_pt SSL_CTX_new_f = NULL; 123 static SSLv23_client_method_pt SSLv23_client_method_f = NULL; 124 static SSL_write_pt SSL_write_f = NULL; 125 static SSL_CTX_use_PrivateKey_file_pt SSL_CTX_use_PrivateKey_file_f = NULL; 126 static RAND_seed_pt RAND_seed_f = NULL; [all...] |
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 70 while (headp != NULL) { 77 headp->next = NULL; 90 if (mntpnt == NULL) { 115 if (mntpnt == NULL) { 140 if (mntpnt == NULL) { 168 headp = NULL; 169 tailp = NULL; 171 if ((fp = fopen(MNTTAB, "r")) != NULL) { 177 if (search_entry == NULL) { 184 return (NULL); [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 52 static char *serial_config[2] = { NULL, NULL }; 53 static char *console_dev = NULL; 55 static char *bootenv_rc_serial[2] = { NULL, NULL }; 56 static char *bootenv_rc_console = NULL; 64 * Return a pointer to the new string or NULL, if we were passed a bad string. 72 if ((str == NULL) || (delim == NULL)) 73 return (NULL); [all...] |
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_search.c | 62 if (root->llink == NULL && root->rlink == NULL) 66 if (root->llink != NULL) 69 if (root->rlink != NULL) 81 if (rootp == NULL) 82 return (NULL); 83 while (*rootp != NULL) { /* T1: */ 92 if (q != NULL) { /* Allocate new node */ 95 q->llink = q->rlink = NULL; 104 if (rootp == NULL) [all...] |
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strptime.c | 80 return (NULL); 92 return (NULL); 97 if (buf == NULL) 98 return (NULL); 103 return (NULL); 113 return (NULL); 120 if (buf == NULL) 121 return (NULL); 126 if (buf == NULL) 127 return (NULL); [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | getlist.c | 54 if (str == NULL) 55 return (NULL); 57 if (copy == NULL) 58 return (NULL); 60 if (it == NULL) { 62 return (NULL); 65 it->nextname = NULL; 84 if (fyle == NULL) { 85 return (NULL); 87 nameslist = NULL; [all...] |