/illumos-gate/usr/src/lib/lib9p/common/ |
H A D | connection.c | 60 assert(server != NULL); in l9p_connection_init() 61 assert(conn != NULL); in l9p_connection_init() 208 assert(!l9p_fid_isvalid(fid)); in l9p_connection_remove_fid()
|
H A D | genacl.c | 259 assert(opmask != 0); in l9p_acl_check_access() 290 assert(parent == NULL || parent->acl_acetype == L9P_ACLTYPE_NFSv4); in l9p_acl_check_access() 291 assert(parent == NULL || pstat != NULL); in l9p_acl_check_access() 292 assert(child == NULL || child->acl_acetype == L9P_ACLTYPE_NFSv4); in l9p_acl_check_access() 293 assert(child == NULL || cstat != NULL); in l9p_acl_check_access() 294 assert(pstat != NULL || cstat != NULL); in l9p_acl_check_access()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_scsi.c | 258 assert(llp != NULL); in cfga_list_ext() 262 assert(*ap_id_list == NULL && *nlistp == 0); in cfga_list_ext() 265 assert(*ap_id_list != NULL && *nlistp == nelem); in cfga_list_ext()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pac.c | 187 assert((data->data == NULL) == zerofill); in k5_pac_add_buffer() 232 assert((pac->pac->Buffers[i].Offset % PAC_ALIGNMENT) == 0); in k5_pac_add_buffer() 320 assert(buffer->Offset + buffer->cbBufferSize <= pac->data.length); in k5_pac_locate_buffer() 652 assert(type == PAC_SERVER_CHECKSUM || type == PAC_PRIVSVR_CHECKSUM); in k5_pac_zero_signature() 653 assert(data->length >= pac->data.length); in k5_pac_zero_signature() 943 assert(pac->data.length >= header_len); in k5_pac_encode_header() 962 assert((buffer->Offset % PAC_ALIGNMENT) == 0); in k5_pac_encode_header() 963 assert(buffer->Offset + buffer->cbBufferSize <= pac->data.length); in k5_pac_encode_header() 964 assert(buffer->Offset >= header_len); in k5_pac_encode_header() 1027 assert(server_cksum.length > PAC_SIGNATURE_DATA_LENGTH); [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 231 assert(pii->pii_probe_sock != -1); in probe() 343 assert(pii->pii_target_next != NULL); in probe() 359 assert(pii->pii_rtt_target_next != NULL); in probe() 1140 assert(pii->pii_ntargets <= MAX_PROBE_TARGETS); in incoming_mcast_reply() 1206 assert(*sap >= -1); in compute_crtt() 1207 assert(*svp >= 0); in compute_crtt() 1694 assert(pii->pii_ntargets == 0); in phyint_inst_timer() 1764 assert(cur_tg != NULL); in phyint_inst_timer() 2321 assert(tg != NULL); in probe_success_info() 2439 assert(PR_STATUS_VALID(pr_statp->pr_status)); in probe_fail_info() [all …]
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_dialog.c | 117 assert(dialog->sip_dlg_ref_cnt == 0); in sip_release_dialog_res() 202 assert(value->sip_value_parsed_uri != NULL); in sip_add_route_to_set() 334 assert(rcnt > 0); in sip_dialog_set_route_hdr() 463 assert(rp <= rset + rset_len); in sip_dialog_set_route_hdr() 532 assert(rset_tail == NULL); in sip_dialog_get_route_set() 544 assert(0); in sip_dialog_get_route_set() 767 assert(local_tag != NULL); in sip_seed_dialog() 840 assert(hdr->sip_header_functions != NULL); in sip_dlg_xchg_from_to() 1133 assert(val != NULL && error == 0); in sip_complete_dialog() 1558 assert(_dialog->sip_dlg_local_contact in sip_dialog_process() [all …]
|
H A D | sip_xaction_state_mc.c | 180 assert(conn_obj != NULL); in sip_xaction_output() 219 assert(msg->sip_msg_req_res != NULL); in sip_clnt_xaction_output() 745 assert(sip_trans->sip_xaction_method == INVITE); in sip_srv_xaction_input() 768 assert(msg_info != NULL && !msg_info-> in sip_srv_xaction_input() 808 assert(sip_trans->sip_xaction_method != INVITE); in sip_srv_xaction_input() 825 assert(msg_info != NULL && !msg_info-> in sip_srv_xaction_input() 930 assert(msg->sip_msg_req_res != NULL); in sip_clnt_xaction_inv_res() 1126 assert(msg->sip_msg_req_res != NULL); in sip_clnt_xaction_noninv_res() 1127 assert(sip_trans != NULL); in sip_clnt_xaction_noninv_res() 1286 assert(time_obj != NULL); in sip_xaction_state_timer_fire() [all …]
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_loc.c | 201 assert(lochp != NULL && name != NULL); in nwam_loc_create() 365 assert(loch != NULL && propname != NULL); in nwam_loc_delete_prop() 402 assert(loch != NULL && propname != NULL && value != NULL); in nwam_loc_set_prop_value() 434 assert(loch != NULL && loch->nwh_data != NULL); in nwam_loc_commit() 840 assert(loch != NULL); in nwam_loc_validate() 944 assert(loch != NULL); in nwam_loc_validate_prop() 1025 assert(loch != NULL); in nwam_loc_is_manual() 1049 assert(loch != NULL); in nwam_loc_is_enabled() 1129 assert(loch != NULL); in nwam_loc_enable() 1155 assert(loch != NULL); in nwam_loc_disable()
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt7.c | 72 assert(fgnamp < fgnames+FGCT); in findline() 76 assert(fgp < fgspace+FGSIZE); in findline()
|
H A D | inv6.c | 37 assert(hpt != NULL); in whash() 39 assert(hfreq != NULL); in whash()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg_lex.l | 411 assert(num_unclaimed_tokens == 0); 412 assert(unclaimed_tokens == NULL); 413 assert(unclaimed_tokens_size == 0); 433 assert(num_unclaimed_tokens > 0); 442 assert(index != num_unclaimed_tokens);
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 428 assert(bam_root); in bam_loader_menu() 434 assert(opt); in bam_loader_menu() 437 assert(osdev); in bam_loader_menu() 462 assert(strcmp(menu_root, bam_root) == 0); in bam_loader_menu() 530 assert(largc == 0 && largv == NULL); in bam_loader_menu() 610 assert((is_zfs(menu_root)) ^ (pool == NULL)); in bam_loader_menu() 644 assert(menu); in set_option() 645 assert(opt); in set_option() 646 assert(dummy == NULL); in set_option() 1228 assert(which); in list_setting() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 191 assert(acl); in smb_acl_sort() 317 assert(sim->sim_sid); in smb_acl_from_zfs() 363 assert(fs_acl); in smb_acl_to_zfs() 364 assert(*fs_acl == NULL); in smb_acl_to_zfs() 661 assert(ace); in smb_ace_len() 662 assert(ace->se_sid); in smb_ace_len()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/common/ |
H A D | in_guest.c | 108 assert(gpa == 0x100000000 && pte_loc == MEM_LOC_PAGE_TABLE_1G); in populate_identity_table() 156 assert(test_name != NULL); in fail_finish() 292 assert(test_name != NULL); in test_pass() 380 assert(test_vmctx == NULL); in test_initialize_flags() 381 assert(test_name == NULL); in test_initialize_flags() 534 assert(ARRAY_SIZE(regnums) == ARRAY_SIZE(regvals)); in test_setup_vcpu()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | flow.c | 296 assert(*pu->userp == target); in convert_instruction_target() 615 assert(changed); in rewrite_parent_branch() 622 assert(changed); in rewrite_parent_branch() 663 assert(no_bb_in_list); in vrfy_bb_in_list() 681 assert(!bb->children); in vrfy_children() 723 assert(!entry); in vrfy_flow() 806 assert(insn->bb == bb); in pack_basic_blocks()
|
H A D | ptrlist.c | 296 assert((3 & (unsigned long)ptr) == 0); in __add_ptr_list_tag() 297 assert((~3 & tag) == 0); in __add_ptr_list_tag() 341 assert(count <= 0); in delete_ptr_list_entry() 365 assert(count <= 0); in replace_ptr_list_entry()
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_util.c | 391 assert(linkp->ll_zoneid == 0); in link_activate() 392 assert(linkp->ll_onloan == B_FALSE); in link_activate() 393 assert(linkp->ll_transient == 0); in link_activate() 439 assert(linkp->ll_onloan == B_FALSE); in link_activate() 558 assert((linkp->ll_flags & ~(DLMGMT_ACTIVE | DLMGMT_PERSIST)) == 0); in dlmgmt_destroy_common() 607 assert(attrsz > 0); in dlmgmt_getattr_common() 695 assert(prev != NULL); in dlmgmt_generate_name()
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | chars.c | 448 assert(ohash_find(&mchars, slot) == NULL); in mchars_alloc() 479 assert(i >= 0 && i <= 0x10FFFF); in mchars_num2uc()
|
H A D | man_macro.c | 88 assert(tok >= MAN_TH && tok <= MAN_MAX); in man_macro() 115 assert(n->type == ROFFT_HEAD); in man_unscope() 433 assert(man->last->type != ROFFT_ROOT); in in_line_eoln() 461 assert(*pos); in man_args() 463 assert(' ' != *start); in man_args()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 2775 assert(a_fsType != NULL); in sortedInsert() 3153 assert(a_format != NULL); in testPath() 3154 assert(*a_format != '\0'); in testPath() 3162 assert(vres > 0); in testPath() 3167 assert(mbPath != NULL); in testPath() 3175 assert(vres > 0); in testPath() 3461 assert(r_path != NULL); in resolvePath() 3746 assert(a_format != NULL); in usage() 3756 assert(vres > 0); in usage() 3761 assert(message != NULL); in usage() [all …]
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi.c | 164 assert(sip->si_cdblen == MODE_CMD_LEN_6 || in scsi_mode_select() 166 assert(headers->ms_length == sip->si_cdblen); in scsi_mode_select() 220 assert(sip->si_cdblen == MODE_CMD_LEN_6 || in scsi_mode_sense() 433 assert(result == 0); in load_modepages() 454 assert(result == 0); in load_modepages() 506 assert(result == 0); in verify_logpage() 580 assert(result == 0); in load_logpages() 1050 assert(sip->si_dsp->ds_predfail == NULL); in logpage_ie_analyze() 1092 assert(sip->si_dsp->ds_overtemp == NULL); in logpage_temp_analyze() 1148 assert(sip->si_dsp->ds_testfail == NULL); in logpage_selftest_analyze() [all …]
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | error.c | 130 assert(LOOKS_VALID(code)); in scf_set_error() 147 assert(LOOKS_VALID(ret)); in scf_error()
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 381 assert(ret == SCF_SUCCESS); in mhash_store_entry() 383 assert(ret == SCF_SUCCESS); in mhash_store_entry() 435 assert(ret == SCF_SUCCESS); in mhash_store_entry() 449 assert(ret == SCF_SUCCESS); in mhash_store_entry() 484 assert(ret == SCF_SUCCESS); in mhash_store_entry() 656 assert(action == APPLY_NONE); in mhash_test_file()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | objects.c | 187 assert(type < sizeof (object_lists) / sizeof (object_lists[0])); in nwamd_get_object_list() 282 assert(name != NULL); in nwamd_object_find() 309 assert(object != NULL); in nwamd_object_fini() 351 assert(object->nwamd_object_refcount >= num); in nwamd_object_decref()
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | protocol.c | 171 assert(e != NULL); in graph_event_requeue() 234 assert(r == 0); in restarter_event_enqueue() 318 assert(sz < sizeof (str_state)); in state_cb() 321 assert(sz < sizeof (str_next_state)); in state_cb()
|