/illumos-gate/usr/src/lib/libshare/nfs/ |
H A D | libshare_nfs.c | 951 if (value != NULL && is_a_number(value)) { in fill_export_from_optionset() 955 pw = getpwnam(value != NULL ? value : "nobody"); in fill_export_from_optionset() 994 if (value != NULL && (strcmp(value, "..") == 0 || in fill_export_from_optionset() 1003 if (value != NULL && *value != '\0' && in fill_export_from_optionset() 1026 strlen(value) ? value : "global"); in fill_export_from_optionset() 1056 value != NULL ? value : ""); in fill_export_from_optionset() 1219 if (value != NULL && is_a_number(value)) { in fill_security_from_secopts() 1223 pw = getpwnam(value != NULL ? value : "nobody"); in fill_security_from_secopts() 1391 if (value != NULL && strcmp(value, "*") == 0) { in nfs_sprint_option() 1400 if (value != NULL && strlen(value) == 0) { in nfs_sprint_option() [all …]
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | sunddi.h | 45 uint8_t value; in inb() local 49 : "=a" (value) in inb() 51 return (value); in inb() 58 uint16_t value; in inw() local 62 : "=a" (value) in inw() 64 return (value); in inw() 71 uint32_t value; in inl() local 75 : "=a" (value) in inl() 77 return (value); in inl() 81 outb(int port, uint8_t value) in outb() argument [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_rxdma.c | 54 page_hdl.value = 0; in hpi_rxdma_cfg_logical_page_handle() 132 cfg.value = 0; in hpi_rxdma_cfg_rdc_ctl() 250 cfga.value = 0; in hpi_rxdma_cfg_rdc_ring() 251 cfgb.value = 0; in hpi_rxdma_cfg_rdc_ring() 252 cfg1.value = 0; in hpi_rxdma_cfg_rdc_ring() 253 cfg2.value = 0; in hpi_rxdma_cfg_rdc_ring() 254 page_handle.value = 0; in hpi_rxdma_cfg_rdc_ring() 406 rcr_cfgb.value = 0; in hpi_rxdma_cfg_rdc_ring() 474 clk_div.value = 0; in hpi_rxdma_cfg_clock_div_set() 568 cs_p->value | cs.value); in hpi_rxdma_control_status() [all …]
|
H A D | hpi_pfc.c | 59 tctl.value = 0; in hpi_pfc_tcam_check_completion() 102 tctl.value = 0; in hpi_pfc_tcam_entry_read() 123 tctl.value = 0; in hpi_pfc_tcam_asc_ram_entry_read() 151 tctl.value = 0; in hpi_pfc_tcam_asc_ram_entry_write() 680 tcp.value = 0; in hpi_pfc_set_tcp_control_discard() 701 tcp.value = 0; in hpi_pfc_set_tcp_control_fin() 721 tcp.value = 0; in hpi_pfc_set_tcp_control_syn() 741 tcp.value = 0; in hpi_pfc_set_tcp_control_rst() 761 tcp.value = 0; in hpi_pfc_set_tcp_control_psh() 781 tcp.value = 0; in hpi_pfc_set_tcp_control_ack() [all …]
|
H A D | hxge_ndd.c | 408 param_arr[i].value = in hxge_init_param() 596 pa->value = new_value; in hxge_param_set_generic() 652 value += 2; in hxge_param_rx_intr_pkts() 683 value += 2; in hxge_param_rx_intr_time() 726 value += 2; in hxge_param_set_vlan_ids() 878 if (pa->value) in hxge_param_tcam_enable() 901 value += 2; in hxge_param_set_ether_usr() 946 value += 2; in hxge_param_set_ip_opt() 1013 value += 2; in hxge_param_pfc_hash_init() 1051 value += 2; in hxge_param_set_hxge_debug_flag() [all …]
|
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_txdma.c | 155 value)); in npi_txdma_dump_tdc_regs() 181 uint64_t value; in npi_txdma_dump_fzc_regs() local 221 value = 0; in npi_txdma_tdc_regs_zero() 315 vld.value = 0; in npi_txdma_log_page_set() 321 vld.value = 0; in npi_txdma_log_page_set() 346 vld.value, in npi_txdma_log_page_set() 399 vld.value = 0; in npi_txdma_log_page_get() 692 channel, vld.value | vld_p->value); in npi_txdma_log_page_vld_config() 1057 cs_p->value | txcs.value); in npi_txdma_control_status() 1124 mask_p->value | mask.value); in npi_txdma_event_mask() [all …]
|
H A D | npi_vir.c | 110 uint64_t value; in npi_vir_dump_pio_fzc_regs_one() local 118 value = 0; in npi_vir_dump_pio_fzc_regs_one() 152 value = 0; in npi_vir_dump_ldgnum() 181 value = 0; in npi_vir_dump_ldsv() 210 value = 0; in npi_vir_dump_imask0() 213 &value); in npi_vir_dump_imask0() 224 value = 0; in npi_vir_dump_imask0() 227 &value); in npi_vir_dump_imask0() 254 value = 0; in npi_vir_dump_sid() 257 &value); in npi_vir_dump_sid() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/multiaggs/ |
H A D | tst.zero2.d.out | 5 value ------------- Distribution ------------- count 11 value ------------- Distribution ------------- count 17 value ------------- Distribution ------------- count 23 value ------------- Distribution ------------- count 29 value ------------- Distribution ------------- count 34 value ------------- Distribution ------------- count 40 value ------------- Distribution ------------- count 45 value ------------- Distribution ------------- count 51 value ------------- Distribution ------------- count 56 value ------------- Distribution ------------- count [all …]
|
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_gdt.s | 47 .value 0xFFFF /* segment limit 0..15 */ 48 .value 0x0000 /* segment base 0..15 */ 55 .value 0xFFFF /* segment limit 0..15 */ 56 .value 0x0000 /* segment base 0..15 */ 65 .value 0xFFFF /* segment limit 0..15 */ 66 .value 0x0000 /* segment base 0..15 */ 82 .value 0xFFFF /* segment limit 0..15 */ 83 .value 0x0000 /* segment base 0..15 */ 90 .value 0xFFFF /* segment limit 0..15 */ 91 .value 0x0000 /* segment base 0..15 */ [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 255 sctpkp->sctpTimHeartBeatProbe.value.i32 = in sctp_kstat_update() 321 template.sctpMaxAssocs.value.i32 = -1; in sctp_kstat_init() 337 stats->sctp_add_faddr.value.ui64 = 0; in sctp_clr_kstats2() 338 stats->sctp_add_timer.value.ui64 = 0; in sctp_clr_kstats2() 339 stats->sctp_conn_create.value.ui64 = 0; in sctp_clr_kstats2() 340 stats->sctp_find_next_tq.value.ui64 = 0; in sctp_clr_kstats2() 341 stats->sctp_fr_add_hdr.value.ui64 = 0; in sctp_clr_kstats2() 342 stats->sctp_fr_not_found.value.ui64 = 0; in sctp_clr_kstats2() 343 stats->sctp_output_failed.value.ui64 = 0; in sctp_clr_kstats2() 360 stats->sctp_cl_connect.value.ui64 = 0; in sctp_clr_kstats2() [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_stat.c | 69 e1000g_ksp->Gprc.value.ul++; in e1000_tbi_adjust_stats() 85 e1000g_ksp->Gorh.value.ul++; in e1000_tbi_adjust_stats() 120 e1000g_ksp->Prc64.value.ul++; in e1000_tbi_adjust_stats() 121 e1000g_ksp->Prc127.value.ul--; in e1000_tbi_adjust_stats() 123 e1000g_ksp->Prc127.value.ul++; in e1000_tbi_adjust_stats() 124 e1000g_ksp->Prc255.value.ul--; in e1000_tbi_adjust_stats() 126 e1000g_ksp->Prc255.value.ul++; in e1000_tbi_adjust_stats() 127 e1000g_ksp->Prc511.value.ul--; in e1000_tbi_adjust_stats() 129 e1000g_ksp->Prc511.value.ul++; in e1000_tbi_adjust_stats() 230 e1000g_ksp->Prc64.value.ul += in e1000g_update_stats() [all …]
|
/illumos-gate/usr/src/lib/libzfsbootenv/common/ |
H A D | lzbe_pair.c | 190 if (ptr == NULL || key == NULL || value == NULL) in lzbe_add_pair() 205 rv = nvlist_add_byte(nv, key, *(uint8_t *)value); in lzbe_add_pair() 213 rv = nvlist_add_int16(nv, key, *(int16_t *)value); in lzbe_add_pair() 229 rv = nvlist_add_int32(nv, key, *(int32_t *)value); in lzbe_add_pair() 245 rv = nvlist_add_int64(nv, key, *(int64_t *)value); in lzbe_add_pair() 257 rv = nvlist_add_string(nv, key, value); in lzbe_add_pair() 261 rv = nvlist_add_byte_array(nv, key, value, size); in lzbe_add_pair() 265 rv = nvlist_add_int16_array(nv, key, value, size); in lzbe_add_pair() 273 rv = nvlist_add_int32_array(nv, key, value, size); in lzbe_add_pair() 313 rv = nvlist_add_int8(nv, key, *(int8_t *)value); in lzbe_add_pair() [all …]
|
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | attribute.c | 53 if (value != NULL) { in papiAttributeValueFree() 57 free(value->string); in papiAttributeValueFree() 73 free(value); in papiAttributeValueFree() 248 (value->range.lower > value->range.upper)) in papiAttributeListAddValue() 439 (value == NULL)) in papiAttributeListGetValue() 462 *value = *tmp; in papiAttributeListGetValue() 465 if (*value == NULL) in papiAttributeListGetValue() 683 papi_attribute_value_t *value = calloc(1, sizeof (*value)); in _add_attribute_value() local 712 value->range.lower = value->range.upper in _add_attribute_value() 820 char *value = ptr; in _parse_attribute_list() local [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | has.c | 47 bool value; variable 53 value = 0 < max_colors; 55 return __m_return_int("has_colors", value); 61 bool value; variable 67 value = ((insert_character != (char *) 0 || parm_ich != (char *) 0) 71 return __m_return_int("has_ic", value); 77 bool value; variable 87 return __m_return_int("has_il", value); 93 bool value; variable 99 value = 2 < max_colors && can_change && initialize_color != (char *) 0; [all …]
|
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ScalarRecord.java | 77 private final Object value; field in ScalarRecord 103 value = v; in ScalarRecord() 111 if (value == null) { in validate() 116 if (value instanceof Integer) { in validate() 133 } else if ((value instanceof String) || (value instanceof byte[])) { in validate() 170 return value; in getValue() 217 return value.equals(r.value); in equals() 233 if (value instanceof byte[]) { in hashCode() 236 return value.hashCode(); in hashCode() 355 valueToString(Object value) in valueToString() argument [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | has.c | 52 bool value; in has_colors() local 54 value = 0 < max_colors; in has_colors() 56 return (value); in has_colors() 64 bool value; in has_ic() local 66 value = ((insert_character != NULL || parm_ich != NULL) && in has_ic() 70 return (value); in has_ic() 78 bool value; in has_il() local 80 value = ((insert_line != NULL || parm_insert_line != NULL) && in has_il() 84 return (value); in has_il() 92 bool value; in can_change_color() local [all …]
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | var.c | 38 char c, *s, *t, *value; local 75 if (value != s) 77 return value; 107 if (value == NULL) 143 char *value; 158 len = strlen(value); 160 if ((*value == '"' && value[len - 1] == '"') || 161 (*value == '\'' && value[len - 1] == '\'')) { 162 value[len - 1] = '\0'; 163 value++; [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lltostr.c | 57 lltostr(longlong_t value, char *ptr) in lltostr() argument 62 if (!(0xffffffff00000000ULL & value)) { in lltostr() 63 ulong_t t, val = (ulong_t)value; in lltostr() 74 *--ptr = (char)('0' + value - 10 * (t = value / 10)); in lltostr() 75 } while ((value = t) != 0); in lltostr() 81 ulltostr(u_longlong_t value, char *ptr) in ulltostr() argument 86 if (!(0xffffffff00000000ULL & value)) { in ulltostr() 87 ulong_t t, val = (ulong_t)value; in ulltostr() 98 *--ptr = (char)('0' + value - 10 * (t = value / 10)); in ulltostr() 99 } while ((value = t) != 0); in ulltostr()
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_reass.c | 77 int value = 0; in sip_get_msglen() local 105 value = (value * base) + digits; in sip_get_msglen() 114 value += hlen; in sip_get_msglen() 116 return (value); in sip_get_msglen() 128 int value; in sip_get_tcp_msg() local 154 if (value == *msglen) { in sip_get_tcp_msg() 173 if (value == *msglen) { in sip_get_tcp_msg() 180 if (value != -1 && value < reass->sip_reass_msglen) in sip_get_tcp_msg() 212 if (value == -1 || value > reass->sip_reass_msglen) { in sip_get_tcp_msg() 237 msg[value] = '\0'; in sip_get_tcp_msg() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fat.c | 208 int32_t value; in readFATEntry() local 221 value |= 0xFFF0000; in readFATEntry() 223 value = 0; in readFATEntry() 229 value += (*ep << 4); in readFATEntry() 231 value = *ep++; in readFATEntry() 239 value |= 0xFFFF000; in readFATEntry() 241 return (value); in readFATEntry() 252 store_32_bits(&ep, value); in writeFATEntry() 254 store_16_bits(&ep, value); in writeFATEntry() 262 *ep = (value >> 4) & 0xff; in writeFATEntry() [all …]
|
/illumos-gate/usr/src/lib/libshare/smb/ |
H A D | libshare_smb.c | 108 char *value; member 294 if (strcasecmp(value, cscopt[i].value) == 0) in validcsc() 743 char *value; in smb_validate_property() local 830 if (value != NULL) in smb_validate_property() 1163 if (value == NULL || *value == '\0') in interface_validator() 1262 value, sizeof (value)); in smb_load_proto_properties() 1509 char *value; in smb_set_proto_prop() local 1828 char *value; in smb_parse_optstring() local 1950 char *value; in smb_sprint_option() local 1994 name, value != NULL ? value : "\"\""); in smb_sprint_option() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_get.c | 132 char *value; in profile_get_values() local 146 if (value) in profile_get_values() 172 char *value; in profile_get_value() local 182 if (value) in profile_get_value() 197 const char *value; in profile_get_string() local 208 value = def_val; in profile_get_string() 212 value = def_val; in profile_get_string() 214 if (value) { in profile_get_string() 228 const char *value; in profile_get_integer() local 262 if (end_value != value + strlen (value)) in profile_get_integer() [all …]
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2map/ |
H A D | xlator.c | 299 p = strrchr(value, '\n'); in xlator_take_kvpair() 345 if (value[0] != '\0') { in xlator_take_kvpair() 374 p = strrchr(value, '\n'); in xlator_take_kvpair() 382 if (value[0] != '\0') { in xlator_take_kvpair() 399 "%s", Curfun, value); in xlator_take_kvpair() 414 token, value); in xlator_take_kvpair() 670 p = strdup(value); in getversion() 729 p = strdup(value); in getfilter() 762 if (strchr(value, '=')) { in version_sanity() 764 v = strdup(value); in version_sanity() [all …]
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_kstats.c | 229 (knp++)->value.ui64 = in bge_statistics_update() 231 (knp++)->value.ui64 = in bge_statistics_update() 233 (knp++)->value.ui64 = in bge_statistics_update() 235 (knp++)->value.ui64 = in bge_statistics_update() 237 (knp++)->value.ui64 = in bge_statistics_update() 239 (knp++)->value.ui64 = in bge_statistics_update() 250 (knp++)->value.ui64 = in bge_statistics_update() 252 (knp++)->value.ui64 = in bge_statistics_update() 304 (void) strncpy(knp->value.c, s, sizeof (knp->value.c)); in bge_set_char_kstat() 355 (knp++)->value.ui64 = in bge_chipid_update() [all …]
|
/illumos-gate/usr/src/common/atomic/amd64/ |
H A D | atomic.S | 81 xaddb %al, (%rdi) / %al = old value, (%rdi) = new value 92 xaddw %ax, (%rdi) / %ax = old value, (%rdi) = new value 103 xaddl %eax, (%rdi) / %eax = old value, (%rdi) = new value 114 xaddq %rax, (%rdi) / %rax = old value, (%rdi) = new value 157 xaddb %al, (%rdi) / %al = old value, (%rdi) = new value 168 xaddw %ax, (%rdi) / %ax = old value, (%rdi) = new value 179 xaddl %eax, (%rdi) / %eax = old value, (%rdi) = new value 299 addb %sil, %al / new value = original value + delta 309 addw %si, %ax / new value = original value + delta 319 add %esi, %eax / new value = original value + delta [all …]
|