/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_shares.c | 88 headp = NULL; in fs_get_share_list() 89 tailp = NULL; in fs_get_share_list() 105 return (NULL); in fs_get_share_list() 149 return (NULL); in fs_parse_opts_for_sec_modes() 158 return (NULL); in fs_parse_opts_for_sec_modes() 293 return (NULL); in create_sharelist_entry() 303 return (NULL); in create_sharelist_entry() 313 return (NULL); in create_sharelist_entry() 323 return (NULL); in create_sharelist_entry() 333 return (NULL); in create_sharelist_entry() [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 131 if (sip_msg == NULL || hdr_name == NULL) in sip_add_empty_hdr() 171 if (sip_msg == NULL || str1 == NULL || str2 == NULL || in sip_add_2strs_to_msg() 244 if (sip_msg == NULL || str == NULL || (str != NULL && str[0] == '\0')) in sip_add_str_to_msg() 295 if (sip_msg == NULL || (hdr_name == NULL)) in sip_add_int_to_msg() 357 if (sip_msg == NULL || (hdr_name == NULL)) in sip_add_intstr_to_msg() 421 if (sip_msg == NULL || uri == NULL || header_name == NULL) in sip_add_name_aspec() 476 if (type == NULL && subtype == NULL) { in sip_add_accept() 481 if ((m_par != NULL) && (a_par != NULL)) { in sip_add_accept() 493 if ((type != NULL) && (subtype != NULL)) { in sip_add_accept() 1013 if (sip_msg == NULL || addr == NULL || msg == NULL || in sip_add_warning() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 215 NULL); in idmap_open_ad_conn() 505 if (values == NULL || values[0] == NULL) in extract_attribute() 590 filter, NULL, attribs, NULL, 0, &res, &errorp, NULL, NULL); in unixname2dn() 611 if (winname != NULL && windomain != NULL) { in unixname2dn() 614 if (attrs != NULL && attrs[0] != NULL) { in unixname2dn() 623 if (attrs == NULL || attrs[0] == NULL) { in unixname2dn() 759 char *new_values[2] = {NULL, NULL}; in idmap_ad_set() 760 LDAPMod *mods[2] = {NULL, NULL}; in idmap_ad_set() 876 &dn, NULL, NULL); in idmap_set_namemap() 967 &dn, NULL, NULL); in idmap_unset_namemap() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irs_data.c | 64 if (net_data != NULL) in irs_destroy() 66 net_data = NULL; in irs_destroy() 133 return (NULL); in net_data_init() 137 return (NULL); in net_data_init() 142 return (NULL); in net_data_init() 150 return (NULL); in net_data_init() 154 return (NULL); in net_data_init() 168 return (NULL); in net_data_create() 173 return (NULL); in net_data_create() 183 return (NULL); in net_data_create() [all …]
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 70 if ((shp = smbios_open(NULL, SMB_VERSION, 0, &err)) == NULL) in scf_is_fb_blacklisted() 126 scf_handle_decode_fmri(handle, fmri, NULL, NULL, in scf_fmri_pg_get_or_add() 174 { FASTREBOOT_DEFAULT, NULL, SCF_TYPE_BOOLEAN, NULL, in scf_get_boot_config() 176 { FASTREBOOT_ONPANIC, NULL, SCF_TYPE_BOOLEAN, NULL, in scf_get_boot_config() 178 { NULL } in scf_get_boot_config() 184 prop = NULL; in scf_get_boot_config() 234 { FASTREBOOT_DEFAULT, NULL, SCF_TYPE_BOOLEAN, NULL, in scf_getset_boot_config_ovr() 236 { FASTREBOOT_ONPANIC, NULL, SCF_TYPE_BOOLEAN, NULL, in scf_getset_boot_config_ovr() 238 { NULL } in scf_getset_boot_config_ovr() 387 {NULL, NULL} in scf_default_secflags() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 252 if (item->value != NULL && value != NULL) { in update_item() 689 ld = NULL; in ldap_lookup_init() 694 saslmech, NULL, NULL, saslflags, &saslcallback, in ldap_lookup_init() 705 ld = NULL; in ldap_lookup_init() 769 if (partner != NULL && direction != NULL) { in ldap_lookup_trusted_domains() 823 NULL, in ldap_lookup_domains_in_forest() 1292 cdc = NULL; in validate_DomainController() 1344 cdc = NULL; in validate_DomainController() 1604 NULL, in validate_GlobalCatalog() 1609 cgc = NULL; in validate_GlobalCatalog() [all …]
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | url.c | 187 if ( url == NULL || ludpp == NULL ) { in nsldapi_url_parse() 415 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_url_search() 438 == NULL || ( host != NULL && in ldap_url_search() 443 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); in ldap_url_search() 469 NULL, NULL, 1 ); in ldap_url_search() 490 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_url_search_st() 499 return( LDAP_GET_LDERRNO( ld, NULL, NULL ) ); in ldap_url_search_st() 503 return( LDAP_GET_LDERRNO( ld, NULL, NULL ) ); in ldap_url_search_st() 508 LDAP_SET_LDERRNO( ld, LDAP_TIMEOUT, NULL, NULL ); in ldap_url_search_st() 523 return( LDAP_GET_LDERRNO( ld, NULL, NULL ) ); in ldap_url_search_s() [all …]
|
H A D | vlistctrl.c | 86 if ( NULL == ctrlp || NULL == ldvlistp ) { in ldap_create_virtuallist_control() 87 LDAP_SET_LDERRNO( ld, LDAP_PARAM_ERROR, NULL, NULL ); in ldap_create_virtuallist_control() 94 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); in ldap_create_virtuallist_control() 104 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); in ldap_create_virtuallist_control() 118 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); in ldap_create_virtuallist_control() 130 LDAP_SET_LDERRNO( ld, LDAP_ENCODING_ERROR, NULL, NULL ); in ldap_create_virtuallist_control() 143 LDAP_SET_LDERRNO( ld, rc, NULL, NULL ); in ldap_create_virtuallist_control() 197 LDAP_SET_LDERRNO( ld, LDAP_NOT_SUPPORTED, NULL, NULL ); in ldap_parse_virtuallist_control() 203 LDAP_SET_LDERRNO( ld, LDAP_CONTROL_NOT_FOUND, NULL, NULL ); in ldap_parse_virtuallist_control() 222 LDAP_SET_LDERRNO( ld, LDAP_NO_MEMORY, NULL, NULL ); in ldap_parse_virtuallist_control() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | ncgrpw.c | 124 (int (*)())NULL, (int (*)())NULL) == -1) { in cgrnam() 191 (int (*)())NULL, (int (*)())NULL) == -1) { in cpwnam() 540 NULL) { in dup_pw_ent() 610 return (NULL); in clgrnam() 622 return (NULL); in clgrnam() 644 return (NULL); in clpwnam() 648 return (NULL); in clpwnam() 660 return (NULL); in clpwnam() 682 return (NULL); in clgrgid() 699 return (NULL); in clgrgid() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | config.c | 343 if ((lut_lookup(Usedprops, (void *)pn, NULL) != NULL || in config_cook() 345 (void *)config_lastcomp, NULL) != NULL) { in config_cook() 456 lut_free(cp->devcache, NULL, NULL); in config_free() 459 lut_free(cp->tpcache, NULL, NULL); in config_free() 462 lut_free(cp->devidcache, NULL, NULL); in config_free() 465 lut_free(cp->cpucache, NULL, NULL); in config_free() 552 if (cp == NULL || cp->s == NULL) in config_nodeize() 607 (void *) stable(path), NULL)) == NULL) in config_bydev_lookup() 633 (void *) stable(devid), NULL)) == NULL) in config_bydevid_lookup() 659 (void *) stable(tp), NULL)) == NULL) in config_bytp_lookup() [all …]
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_hyper.c | 52 static char *serial_config[2] = { NULL, NULL }; 55 static char *bootenv_rc_serial[2] = { NULL, NULL }; 72 if ((str == NULL) || (delim == NULL)) in append_str() 73 return (NULL); in append_str() 148 *token = NULL; in get_token() 151 return (NULL); in get_token() 162 return (NULL); in get_token() 190 return (NULL); in get_token() 228 *rp = NULL; in set_serial_rate() 527 *path = NULL; in cvt_metal_kernel() [all …]
|
/illumos-gate/usr/src/lib/sasl_plugins/plain/ |
H A D | plain.c | 311 const char *user = NULL, *authid = NULL; in plain_client_mech_step() 375 : NULL, in plain_client_mech_step() 376 NULL, in plain_client_mech_step() 380 : NULL, in plain_client_mech_step() 381 NULL, in plain_client_mech_step() 385 NULL, in plain_client_mech_step() 386 NULL, NULL, NULL, in plain_client_mech_step() 387 NULL, NULL, NULL); in plain_client_mech_step() 397 "Please enter your password" : NULL, NULL, in plain_client_mech_step() 398 NULL, NULL, NULL, in plain_client_mech_step() [all …]
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | nldaputils.c | 156 if (desc == NULL || desc->filter == NULL || userdata == NULL) in merge_SSD_filter() 325 if (lookup_wksids_name2sid(winname, NULL, NULL, NULL, NULL, in idmap_nldap_bywinname_batch_add() 326 NULL, NULL) == IDMAP_SUCCESS) { in idmap_nldap_bywinname_batch_add() 341 if (lookup_wksids_name2sid(winname, NULL, NULL, NULL, NULL, in idmap_nldap_bywinname_batch_add() 342 NULL, NULL) == IDMAP_SUCCESS) { in idmap_nldap_bywinname_batch_add() 639 if (val != NULL && *val != NULL) in idmap_nldap_lookup_batch_end() 646 if (val != NULL && *val != NULL) { in idmap_nldap_lookup_batch_end() 657 if (val != NULL && *val != NULL) { in idmap_nldap_lookup_batch_end() 675 if (val == NULL || *val == NULL) in idmap_nldap_lookup_batch_end() 696 if (lookup_wksids_name2sid(*val, NULL, NULL, NULL, NULL, NULL, in idmap_nldap_lookup_batch_end() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_buf.c | 209 if (rx_data == NULL) { in ixgbe_alloc_rx_ring_data() 277 if (rx_data == NULL) in ixgbe_free_rx_ring_data() 583 buf->address = NULL; in ixgbe_alloc_dma_buffer() 603 buf->address = NULL; in ixgbe_alloc_dma_buffer() 639 buf->address = NULL; in ixgbe_free_dma_buffer() 719 ASSERT(tcb != NULL); in ixgbe_alloc_tcb_lists() 778 if (tcb == NULL) in ixgbe_free_tcb_lists() 782 ASSERT(tcb != NULL); in ixgbe_free_tcb_lists() 840 ASSERT(rcb != NULL); in ixgbe_alloc_rcb_lists() 904 ASSERT(rcb != NULL); in ixgbe_free_rcb_lists() [all …]
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_buf.c | 341 if (rx_data == NULL) { in igb_alloc_rx_ring_data() 410 if (rx_data == NULL) in igb_free_rx_ring_data() 589 buf->address = NULL; in igb_alloc_dma_buffer() 609 buf->address = NULL; in igb_alloc_dma_buffer() 645 buf->address = NULL; in igb_free_dma_buffer() 725 ASSERT(tcb != NULL); in igb_alloc_tcb_lists() 784 if (tcb == NULL) in igb_free_tcb_lists() 788 ASSERT(tcb != NULL); in igb_free_tcb_lists() 846 ASSERT(rcb != NULL); in igb_alloc_rcb_lists() 909 ASSERT(rcb != NULL); in igb_free_rcb_lists() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | avintr.c | 94 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 1 */ 95 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 2 */ 96 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 3 */ 97 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 4 */ 98 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 5 */ 99 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 6 */ 100 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 7 */ 101 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 8 */ 102 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 9 */ 103 {0, 0, NULL, NULL, 0, NULL, NULL, NULL}, /* level 10 */ [all …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 89 if (ctrls == NULL || *ctrls == NULL) in _freeControlList() 140 if (mapp != NULL && mapp[0] != NULL) { in _cvtRDN() 228 if (service == NULL || dn == NULL) in _cvtDN() 328 if (e == NULL || ret == NULL || error == NULL) in __s_api_cvtEntry() 2226 NULL, NULL); in clear_results() 2599 NULL, NULL); in search_state_machine() 2735 NULL, NULL); in search_state_machine() 4462 if (rdns == NULL || *rdns == NULL) in __ns_ldap_dn2domain() 4471 if (newdn == NULL || dns == NULL) { in __ns_ldap_dn2domain() 4666 if (service == NULL || dn == NULL || *dn == NULL) in __s_api_convert_automountmapname() [all …]
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcsm.c | 117 NULL 212 fcsm_display(CE_WARN, SM_LOG, NULL, NULL, in _init() 221 fcsm_job_cache_destructor, NULL, NULL, NULL, 0); in _init() 238 fcsm_display(CE_WARN, SM_LOG, NULL, NULL, in _init() 245 fcsm_display(CE_WARN, SM_LOG, NULL, NULL, in _init() 253 fcsm_display(CE_WARN, SM_LOG, NULL, NULL, in _init() 628 NULL, (void *)fcsm, NULL, 0); in fcsm_handle_port_attach() 1172 FCSM_JOBFLAG_SYNC, NULL, NULL, NULL, NULL); in fcsm_cleanup_port() 1566 (CE_WARN, SM_LOG, NULL, NULL, in fcsm_fciocmd() 1966 ASSERT(fcsm != NULL && buf != NULL); in fcsm_cmd_cache_constructor() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_services.c | 54 char **rdns=NULL, *realmattr=NULL, *strval[3]={NULL}; 62 if (service == NULL || service->servicedn == NULL) { 156 ldap_delete_ext_s(ld, service->servicedn, NULL, NULL); 190 LDAPMessage *result=NULL, *ent=NULL; 196 if (service == NULL || service->servicedn == NULL) { 255 NULL, 256 NULL, 257 NULL, 359 st = ldap_delete_ext_s(ld, servicedn, NULL, NULL); 421 LDAPMessage *result=NULL,*ent=NULL; [all …]
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | suggestions.c | 73 if (text == NULL) in pt_sugg_add() 76 if (sugg == NULL) { in pt_sugg_add() 83 if (sb_msg != NULL) in pt_sugg_add() 86 if (text != NULL) in pt_sugg_add() 95 new->prev = NULL; in pt_sugg_add() 96 new->next = NULL; in pt_sugg_add() 111 if (sb_msg != NULL) in pt_sugg_add() 121 if (pos == NULL) { in pt_sugg_add() 130 new->next = NULL; in pt_sugg_add() 169 sugg = NULL; in pt_sugg_remove() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | job.c | 246 if ((token1 == NULL) || (token3 == NULL)) in authorized() 350 if ((attrs != NULL) && (*attrs != NULL)) { in psm_copy_attrsToFile() 387 if ((attrs != NULL) && (*attrs != NULL) && (file != NULL)) { in psm_modifyAttrsFile() 552 if ((svc == NULL) || (printer == NULL) || (files == NULL) || in papiJobSubmit() 671 if ((svc == NULL) || (printer == NULL) || (files == NULL) || in papiJobSubmitByReference() 823 if ((svc == NULL) || (printer == NULL) || (stream == NULL)) in papiJobStreamOpen() 886 if ((svc == NULL) || (stream == NULL) || (buffer == NULL)) in papiJobStreamWrite() 904 if ((svc == NULL) || (stream == NULL) || (job == NULL)) in papiJobStreamClose() 1012 if ((r != NULL) && (r->user != NULL) && in papiJobMove() 1251 if ((svc == NULL) || (printer == NULL) || (job == NULL)) in papiJobCreate() [all …]
|
H A D | printer.c | 75 if ((handle == NULL) || (printers == NULL)) in papiPrintersList() 159 if ((handle == NULL) || (name == NULL) || (printer == NULL)) in papiPrinterQuery() 236 if ((handle == NULL) || (name == NULL) || (attributes == NULL)) in papiPrinterAdd() 276 if ((handle == NULL) || (name == NULL) || (attributes == NULL)) in papiPrinterModify() 312 if ((handle == NULL) || (name == NULL)) in papiPrinterRemove() 334 if ((handle == NULL) || (name == NULL)) in papiPrinterDisable() 347 if ((handle == NULL) || (name == NULL)) in papiPrinterEnable() 360 if ((handle == NULL) || (name == NULL)) in papiPrinterPause() 373 if ((handle == NULL) || (name == NULL)) in papiPrinterResume() 391 if ((handle == NULL) || (name == NULL)) in papiPrinterPurgeJobs() [all …]
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns_cmn_kvp.c | 72 if (kvp != NULL) { in ns_kvp_destroy() 101 if ((kvp != NULL) && (kvp->key != NULL) && (key != NULL)) in ns_kvp_match_key() 125 if ((key == NULL) || (printer == NULL) || in ns_r_get_value() 127 return (NULL); in ns_r_get_value() 130 return (NULL); in ns_r_get_value() 148 for (attrs = printer->attributes; attrs != NULL && *attrs != NULL; in ns_r_get_value() 158 printers != NULL && *printers != NULL; printers++) { in ns_r_get_value() 172 printers != NULL && *printers != NULL; printers++) { in ns_r_get_value() 189 if (value != NULL) in ns_r_get_value() 193 return (NULL); in ns_r_get_value() [all …]
|
/illumos-gate/usr/src/lib/librcm/ |
H A D | librcm.c | 574 if (tuple == NULL || tuple->info == NULL) { in rcm_info_rsrc() 590 if (tuple == NULL || tuple->info == NULL) { in rcm_info_info() 606 if (tuple == NULL || tuple->info == NULL) { in rcm_info_error() 624 if (tuple == NULL || tuple->info == NULL) { in rcm_info_modname() 642 if (tuple == NULL || tuple->info == NULL) { in rcm_info_pid() 659 if (tuple == NULL || tuple->info == NULL) { in rcm_info_state() 678 if (tuple == NULL || tuple->info == NULL) { in rcm_info_properties() 705 if (tuple == NULL || tuple->info == NULL) { in rcm_info_seqnum() 731 char *argvec[] = {"sh", "-c", NULL, NULL}; in rcm_exec_cmd() 1334 assert((nvl_packed != NULL) && (nvl_size != NULL)); in rcm_generate_nvlist() [all …]
|
/illumos-gate/usr/src/uts/common/io/softmac/ |
H A D | softmac_dev.c | 119 NULL, NULL, softmac_drv_open, softmac_drv_close, NULL, 124 softmac_drv_wput, softmac_drv_wsrv, NULL, NULL, NULL, 150 NULL 164 mutex_init(&sup->su_mutex, NULL, MUTEX_DEFAULT, NULL); in softmac_upper_constructor() 165 cv_init(&sup->su_cv, NULL, CV_DEFAULT, NULL); in softmac_upper_constructor() 167 cv_init(&sup->su_disp_cv, NULL, CV_DEFAULT, NULL); in softmac_upper_constructor() 211 softmac_upper_destructor, NULL, NULL, NULL, 0); in _init() 265 cv_init(&slp->sl_cv, NULL, CV_DRIVER, NULL); in softmac_cmn_open() 266 mutex_init(&slp->sl_mutex, NULL, MUTEX_DRIVER, NULL); in softmac_cmn_open() 322 ASSERT((mp->b_next == NULL) && (mp->b_prev == NULL)); in softmac_mod_rput() [all …]
|