/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fm.c | 459 nxge_fm_ereport_attr_t *attr; in nxge_fm_get_ereport_attr() local 466 attr = &nxge_fm_ereport_sw[index]; in nxge_fm_get_ereport_attr() 469 attr = &nxge_fm_ereport_pcs[index]; in nxge_fm_get_ereport_attr() 478 attr = &nxge_fm_ereport_mif[index]; in nxge_fm_get_ereport_attr() 481 attr = &nxge_fm_ereport_fflp[index]; in nxge_fm_get_ereport_attr() 484 attr = &nxge_fm_ereport_zcp[index]; in nxge_fm_get_ereport_attr() 493 attr = &nxge_fm_ereport_ipp[index]; in nxge_fm_get_ereport_attr() 496 attr = &nxge_fm_ereport_txc[index]; in nxge_fm_get_ereport_attr() 505 attr = &nxge_fm_ereport_xfp[index]; in nxge_fm_get_ereport_attr() 508 attr = NULL; in nxge_fm_get_ereport_attr() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | send_spill_block.ksh | 62 log_must attr -qs "testattr$j" -V "$attrvalue" $file 106 log_must attr -qr testattr1 /$POOL/fs/file$i 128 log_must attr -qr testattr$j /$POOL/fs/file$i 137 log_must attr -qr testattr$(((RANDOM % 20) + 1)) $file 138 log_must attr -qs testattr$(((RANDOM % 20) + 1)) -V "$attrvalue" $file
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | devattr.c | 164 char *attr; /* Pointer to current attribute */ in main() local 268 while (noerr && ((attr = *argptr++) != (char *) NULL)) { in main() 269 if (!(value = devattr(device, attr))) { in main() 272 (void) snprintf(txt, sizeof(txt), M_NOATTR, attr); in main() 283 (void) fputs(attr, stdout); in main()
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | scn.c | 553 if (attr->tag != 0 && attr->value.ui != 0) { in cb_get_scn_port() 713 attr->len = 4; in cb_update_scn_bitmap() 717 attr->tag = 0; in cb_update_scn_bitmap() 718 attr->len = 0; in cb_update_scn_bitmap() 842 isns_attr_t *attr; in make_raw_iscsi() local 848 nt = attr->value.ui; in make_raw_iscsi() 852 ilen = attr->len; in make_raw_iscsi() 893 isns_attr_t *attr; in make_raw_portal() local 902 attr = &obj->attrs[ in make_raw_portal() 950 isns_attr_t *attr; in make_raw_assoc_iscsi() local [all …]
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprojent.c | 73 char **name, **id, **descr, **attr; in _nss_ldap_proj2str() local 154 attr = __ns_ldap_getAttr(result->entry, _PROJ_ATTR); in _nss_ldap_proj2str() 155 if (attr == NULL || attr[0] == NULL || (strlen(attr[0]) < 1)) in _nss_ldap_proj2str() 159 attr_str = attr[0]; in _nss_ldap_proj2str()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | psetsys.c | 108 pset_setattr(psetid_t pset, uint_t attr) in pset_setattr() argument 110 return (_pset(PSET_SETATTR, pset, attr)); in pset_setattr() 114 pset_getattr(psetid_t pset, uint_t *attr) in pset_getattr() argument 116 return (_pset(PSET_GETATTR, pset, attr)); in pset_getattr()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efienv.c | 43 UINT32 attr; in efi_getenv() local 51 rv = RS->GetVariable(uv, g, &attr, &dl, data); in efi_getenv() 59 efi_setenv(EFI_GUID *g, uint32_t attr, const char *v, void *data, size_t len) in efi_setenv() argument 68 rv = RS->SetVariable(uv, g, attr, len, data); in efi_setenv()
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_fm.c | 282 hxge_fm_ereport_attr_t *attr; in hxge_fm_get_ereport_attr() local 293 attr = &hxge_fm_ereport_sw[index]; in hxge_fm_get_ereport_attr() 296 attr = &hxge_fm_ereport_vmac[index]; in hxge_fm_get_ereport_attr() 299 attr = &hxge_fm_ereport_pfc[index]; in hxge_fm_get_ereport_attr() 302 attr = &hxge_fm_ereport_rdmc[index]; in hxge_fm_get_ereport_attr() 305 attr = &hxge_fm_ereport_tdmc[index]; in hxge_fm_get_ereport_attr() 308 attr = &hxge_fm_ereport_peu[index]; in hxge_fm_get_ereport_attr() 311 attr = NULL; in hxge_fm_get_ereport_attr() 314 return (attr); in hxge_fm_get_ereport_attr()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 77 if (menup->attr & CKUNNUM) { in setmsg() 99 allocmenu(char *label, int attr) in allocmenu() argument 104 pt->attr = attr; in allocmenu() 137 if (menup->attr & CKONEFLAG) { in ckitem() 254 if (!(menup->attr & CKUNNUM) && 413 if (!(menup->attr & CKALPHA)) { 464 chp = ((menup->attr & CKALPHA) ? next(menup->choice) : menup->choice); 466 if (!(menup->attr & CKUNNUM)) 476 if (!(menup->attr & CKUNNUM)) 487 chp = ((menup->attr & CKALPHA) ?
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | main.c | 167 pthread_attr_t attr; in init_signalhandling() local 188 (void) pthread_attr_init(&attr); in init_signalhandling() 189 (void) pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); in init_signalhandling() 190 err = pthread_create(&sighand, &attr, sighandler, in init_signalhandling() 197 (void) pthread_attr_destroy(&attr); in init_signalhandling()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | waddwchnstr.c | 53 chtype attr; in waddwchnstr() local 69 attr = *string & A_WATTRIBUTES; in waddwchnstr() 92 *ptr |= attr; in waddwchnstr() 98 *ptr |= attr; in waddwchnstr()
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnreaddir.c | 556 const FN_attribute_t *attr; in syntax_attrs_equal() local 565 for (attr = fn_attrset_first(syn1, &iter1); in syntax_attrs_equal() 566 attr != NULL; in syntax_attrs_equal() 567 attr = fn_attrset_next(syn1, &iter1)) { in syntax_attrs_equal() 568 val1 = fn_attribute_first(attr, &iter2); in syntax_attrs_equal() 569 val2 = get_attrval(syn2, fn_attribute_identifier(attr)); in syntax_attrs_equal() 589 const FN_attribute_t *attr; in get_attrval() local 592 attr = fn_attrset_get(attrs, attr_id); in get_attrval() 593 if (attr != NULL) { in get_attrval() 594 return (fn_attribute_first(attr, &iter)); in get_attrval()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 106 char *dn, char *attr, struct berval *bvalue, in _ns_ldap_compare_ext() argument 111 return (ldap_compare_ext(ld, dn, attr, bvalue, in _ns_ldap_compare_ext() 117 char *dn, char *attr, struct berval *bvalue, in _ns_ldap_compare_ext_s() argument 122 return (ldap_compare_ext_s(ld, dn, attr, bvalue, in _ns_ldap_compare_ext_s() 128 char *dn, char *attr, char *value) in _ns_ldap_compare() argument 132 return (ldap_compare(ld, dn, attr, value)); in _ns_ldap_compare() 137 char *dn, char *attr, char *value) in _ns_ldap_compare_s() argument 141 return (ldap_compare_s(ld, dn, attr, value)); in _ns_ldap_compare_s()
|
H A D | ns_confmgr.c | 288 char *attr, *attrName, *attrVal, *rest; in __s_api_create_config_door_str() local 301 attr = strtok_r(config, DOORLINESEP, &rest); in __s_api_create_config_door_str() 302 if (!attr) { in __s_api_create_config_door_str() 827 ns_ldap_attr_t *attr; in __ns_ldap_make_config() local 865 attr = entry->attr_pair[l]; in __ns_ldap_make_config() 867 attrname = attr->attrname; in __ns_ldap_make_config() 873 attr->attrvalue[m]) == 0) { in __ns_ldap_make_config() 892 attr = entry->attr_pair[l]; in __ns_ldap_make_config() 894 attrname = attr->attrname; in __ns_ldap_make_config() 900 attrval = attr->attrvalue; in __ns_ldap_make_config() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | pmugpio.c | 374 ddi_device_acc_attr_t attr; in pmugpio_map_regs() local 378 attr.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pmugpio_map_regs() 379 attr.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC; in pmugpio_map_regs() 380 attr.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in pmugpio_map_regs() 413 (caddr_t *)&pmugpio_ptr->pmugpio_reset_reg, 0, 1, &attr, in pmugpio_map_regs() 425 (caddr_t *)&pmugpio_ptr->pmugpio_watchdog_reg, 0, 1, &attr, in pmugpio_map_regs() 430 (caddr_t *)&pmugpio_ptr->pmugpio_reset_reg, 0, 1, &attr, in pmugpio_map_regs()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 117 posix_spawnattr_t attr; in wordexp() local 253 if ((error = posix_spawnattr_init(&attr)) != 0) { in wordexp() 258 (void) posix_spawnattr_destroy(&attr); in wordexp() 268 (void) posix_spawnattr_destroy(&attr); in wordexp() 277 error = posix_spawnattr_setflags(&attr, in wordexp() 290 error = posix_spawn(&pid, path, &fact, &attr, in wordexp() 292 (void) posix_spawnattr_destroy(&attr); in wordexp()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sort.c | 200 char **attr, /* NULL => sort by DN */ in ldap_multisort_entries() argument 226 if ( attr == NULL ) { in ldap_multisort_entries() 236 for ( attrcnt = 0; attr[attrcnt] != NULL; attrcnt++ ) { in ldap_multisort_entries() 237 vals = ldap_get_values( ld, e, attr[attrcnt] ); in ldap_multisort_entries() 282 char *attr, /* NULL => sort by DN */ in ldap_sort_entries() argument 288 attrs[0] = attr; in ldap_sort_entries() 290 return( ldap_multisort_entries( ld, chain, attr ? attrs : NULL, cmp ) ); in ldap_sort_entries()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | dig_mgr.c | 446 CK_ATTRIBUTE *attr = NULL; in digest_mgr_digest_key() local 459 rc = template_attribute_find(key_obj->template, CKA_CLASS, &attr); in digest_mgr_digest_key() 463 class = *(CK_OBJECT_CLASS *)attr->pValue; in digest_mgr_digest_key() 468 rc = template_attribute_find(key_obj->template, CKA_VALUE, &attr); in digest_mgr_digest_key() 473 ctx, attr->pValue, attr->ulValueLen); in digest_mgr_digest_key()
|
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libevchannel.c | 602 void *cookie, uint32_t flags, sysevent_subattr_t *attr) in sysevent_evc_xsubscribe() argument 606 if (attr != NULL) { in sysevent_evc_xsubscribe() 607 xsa = (struct sysevent_subattr_impl *)attr; in sysevent_evc_xsubscribe() 629 sysevent_subattr_free(sysevent_subattr_t *attr) in sysevent_subattr_free() argument 632 (struct sysevent_subattr_impl *)attr; in sysevent_subattr_free() 638 sysevent_subattr_thrcreate(sysevent_subattr_t *attr, in sysevent_subattr_thrcreate() argument 642 (struct sysevent_subattr_impl *)attr; in sysevent_subattr_thrcreate() 649 sysevent_subattr_thrsetup(sysevent_subattr_t *attr, in sysevent_subattr_thrsetup() argument 653 (struct sysevent_subattr_impl *)attr; in sysevent_subattr_thrsetup() 663 (struct sysevent_subattr_impl *)attr; in sysevent_subattr_sigmask() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/ |
H A D | fstyp.c | 88 nvlist_t *attr; member 163 if (h->attr == NULL) { in fstyp_mod_fini() 164 nvlist_free(h->attr); in fstyp_mod_fini() 165 h->attr = NULL; in fstyp_mod_fini() 184 if (h->attr == NULL) { in fstyp_mod_get_attr() 185 if (nvlist_alloc(&h->attr, NV_UNIQUE_NAME_TYPE, 0)) { in fstyp_mod_get_attr() 189 nvlist_free(h->attr); in fstyp_mod_get_attr() 190 h->attr = NULL; in fstyp_mod_get_attr() 195 *attrp = h->attr; in fstyp_mod_get_attr() 557 if (nvlist_add_string(h->attr, name, value) != 0) { \ [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_query.c | 42 Dwarf_Half attr, 346 Dwarf_Attribute attr) in empty_local_attrlist() argument 366 Dwarf_Unsigned attr = 0; in dwarf_attrlist() local 478 if (attr != 0) { in dwarf_attrlist() 611 Dwarf_Half attr, in _dwarf_get_value_ptr() argument 754 Dwarf_Attribute attr = 0; in dwarf_die_text() local 769 attr = 0; in dwarf_die_text() 783 Dwarf_Half attr, in dwarf_hasattr() argument 808 Dwarf_Half attr, in dwarf_attr() argument 1097 Dwarf_Attribute attr = 0; in dwarf_dietype_offset() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_path.c | 55 ibt_path_attr_t attr; member 163 ibt_path_attr_t attr; member 754 p_arg->attr.pa_hca_port_num, p_arg->attr.pa_sgid.gid_prefix, in ibcm_process_get_paths() 806 if ((p_arg->attr.pa_sid != 0) || ((p_arg->attr.pa_sname != NULL) && in ibcm_process_get_paths() 3772 p_arg->attr.ipa_src_ip, p_arg->attr.ipa_dst_ip[0], &sgid, in ibcm_process_get_ip_paths() 3781 attr.pa_hca_guid = p_arg->attr.ipa_hca_guid; in ibcm_process_get_ip_paths() 3782 attr.pa_hca_port_num = p_arg->attr.ipa_hca_port_num; in ibcm_process_get_ip_paths() 3783 attr.pa_sgid = sgid; in ibcm_process_get_ip_paths() 3784 bcopy(&p_arg->attr.ipa_mtu, &attr.pa_mtu, sizeof (ibt_mtu_req_t)); in ibcm_process_get_ip_paths() 3786 bcopy(&p_arg->attr.ipa_pkt_lt, &attr.pa_pkt_lt, in ibcm_process_get_ip_paths() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | ib_cm.c | 111 ic, attr); in rdsv3_ib_tune_rnr() 113 attr->min_rnr_timer = IB_RNR_TIMER_000_32; in rdsv3_ib_tune_rnr() 488 struct ib_qp_init_attr attr; in rdsv3_ib_setup_qp() local 550 (void) memset(&attr, 0, sizeof (attr)); in rdsv3_ib_setup_qp() 552 attr.qp_context = conn; in rdsv3_ib_setup_qp() 557 attr.cap.max_recv_sge = RDSV3_IB_RECV_SGE; in rdsv3_ib_setup_qp() 558 attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rdsv3_ib_setup_qp() 559 attr.qp_type = IB_QPT_RC; in rdsv3_ib_setup_qp() 561 attr.send_cq = ic->i_snd_cq; in rdsv3_ib_setup_qp() 563 attr.send_cq = ic->i_cq; in rdsv3_ib_setup_qp() [all …]
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 180 aflt->flt_priv = (((errh_flt.errh_er.attr & ERRH_MODE_MASK) in process_resumable_error() 183 if (errh_flt.errh_er.attr & ERRH_ATTR_CPU) in process_resumable_error() 192 if (errh_flt.errh_er.attr & ERRH_ATTR_RQF) { in process_resumable_error() 255 if (errh_flt.errh_er.attr & ERRH_ATTR_PIO) in process_nonresumable_error() 263 exec_mode = (errh_flt.errh_er.attr & ERRH_MODE_MASK) in process_nonresumable_error() 306 ((errh_flt.errh_er.attr & ERRH_ATTR_PIO) || in process_nonresumable_error() 307 (errh_flt.errh_er.attr & ERRH_ATTR_MEM))) { in process_nonresumable_error() 376 if (errh_flt.errh_er.attr & ERRH_ATTR_MEM) in process_nonresumable_error() 514 if (errh_erp->attr & ERRH_ATTR_MEM) { in cpu_async_log_err() 526 if (errh_erp->attr & ERRH_ATTR_MEM) { in cpu_async_log_err() [all …]
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | getauthattr.c | 99 _kva_free(auth->attr); in free_authattr() 121 newauth->attr = _str2kva(auth->attr, KV_ASSIGN, KV_DELIMITER); in authstr2attr() 144 print_kva(auth->attr); in print_authattr()
|