/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_scfutil.c | 193 scf_value_t *value = NULL; local 203 value = scf_value_create(handle->scf_handle); 205 if (value != NULL && entry != NULL) { 210 if (scf_value_set_astring(value, valstr) == 0) { 211 if (scf_entry_add_value(entry, value) != 0) { 213 scf_value_destroy(value); 215 /* the value is in the transaction */ 216 value = NULL; 218 /* value couldn't be constructed */ 241 if (value ! 257 scf_value_t *value; local 294 scf_value_t *value = NULL; local 351 scf_value_t *value = NULL; local 389 scf_value_t *value = NULL; local 446 scf_value_t *value = NULL; local 482 scf_value_t *value; local 545 scf_value_t *value = NULL; local [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ScalarRecord.java | 37 * value generated by DTrace. 52 new String[] {"value", "numberOfBytes"}) 77 private final Object value; field in class:ScalarRecord 89 * @param v DTrace primitive data value 92 * @throws NullPointerException if the given value is {@code null} 96 * @throws ClassCastException if the given value is not a DTrace 97 * primitive type listed as a possible return value of {@link 103 value = v; 111 if (value == null) { 116 if (value instanceo 355 valueToString(Object value) argument [all...] |
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | libshare_smbfs.c | 189 * Check the range of value as int range. 193 range_check_validator(int index, char *section, char *value) argument 197 if (value == NULL) 199 if (strlen(value) == 0) 201 if (!is_a_number(value)) { 205 val = strtoul(value, NULL, 0); 218 string_length_check_validator(int index, char *section, char *value) argument 222 if (value == NULL) 224 if (strlen(value) == 0) 226 if (strlen(value) > smbclnt_proto_option 236 yes_no_validator(int index, char *section, char *value) argument 255 ip_address_validator(int index, char *section, char *value) argument 271 minauth_validator(int index, char *section, char *value) argument 289 signing_validator(int index, char *section, char *value) argument 305 password_validator(int index, char *section, char *value) argument 352 char *name = NULL, *value = NULL; local 595 smbfs_validate_proto_prop(int index, char *section, char *name, char *value) argument 611 smbfs_save_property(int index, char *section, char *value) argument 642 char *value; local [all...] |
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_stat.c | 59 igb_ks->reset_count.value.ui64 = igb->reset_count; 60 igb_ks->dout_sync.value.ui64 = igb->dout_sync; 63 igb_ks->rx_frame_error.value.ui64 = 0; 64 igb_ks->rx_cksum_error.value.ui64 = 0; 65 igb_ks->rx_exceed_pkt.value.ui64 = 0; 67 igb_ks->rx_frame_error.value.ui64 += 69 igb_ks->rx_cksum_error.value.ui64 += 71 igb_ks->rx_exceed_pkt.value.ui64 += 75 igb_ks->tx_overload.value.ui64 = 0; 76 igb_ks->tx_fail_no_tbd.value [all...] |
/illumos-gate/usr/src/lib/libshare/autofs/ |
H A D | libshare_autofs.c | 60 static int true_false_validator(int index, char *value); 61 static int strlen_validator(int index, char *value); 62 static int range_check_validator(int index, char *value); 166 /* add the default value */ 248 char *value; local 267 value = sa_get_property_attr(property, "value"); 268 if (value != NULL) { 280 value); 287 /* Free the value */ 417 extractprop(char *name, char *value) argument 444 char value[PATH_MAX]; local 469 range_check_validator(int index, char *value) argument 489 true_false_validator(int index, char *value) argument 509 strlen_validator(int index, char *value) argument 526 autofs_validate_proto_prop(int index, char *name, char *value) argument 539 char *value, *instance = NULL; local [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystore.h | 68 #define SWAP16(value) \ 69 ((((value) & 0xff) << 8) | ((value) >> 8)) 71 #define SWAP32(value) \ 72 (((uint32_t)SWAP16((uint16_t)((value) & 0xffff)) << 16) | \ 73 (uint32_t)SWAP16((uint16_t)((value) >> 16))) 75 #define SWAP64(value) \ 76 (((uint64_t)SWAP32((uint32_t)((value) & 0xffffffff)) \ 78 (uint64_t)SWAP32((uint32_t)((value) >> 32))) 80 #define SWAP16(value) (valu [all...] |
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4540/ |
H A D | Sun-Fire-X4540-disk-hc-topology.xmlgen | 58 "value='ipmi:fru gid=3 hdd=%d' />\n", $bay; 62 "type='string' value='%s' />\n", $i, $names[$i]; 64 "type='string' value='ipmi:state sid=%d %s' />\n", 70 "type='string' value='%s' />\n", $i, $states[$i]; 72 "type='string' value='%s' />\n", $i, $actions[$i]; 83 <propval name='type' type='uint32' value='1' /> 87 <argitem value='DBP/HDD\%d/OK2RM' /> 88 <argitem value='hdd\%d.ok2rm.led' /> 90 <argval name='offset' type='uint32' value='0' /> 91 <argval name='nparams' type='uint32' value [all...] |
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_prop.c | 60 static int ndmpd_config_update(ndmpd_cfg_param_t *cfg, char *value); 106 char *value; local 110 if ((ndmp_get_prop(cfg->sc_name, &value)) == -1) { 122 if ((cfg->sc_flags & NDMP_CF_DEFINED) || value) { 123 if (ndmpd_config_update(cfg, value)) { 124 free(value); 128 free(value); 136 * Updates the specified config param with the given value. 140 ndmpd_config_update(ndmpd_cfg_param_t *cfg, char *value) argument 146 if (value) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | lookup.c | 43 struct namelist *value; local 50 value = NULL; 53 value = NULL; 56 value = makenl(cp); 81 value = nl = makenl(cp); 91 (void) lookup(name, REPLACE, value); 97 * INSERT - insert name with value, error if already defined. 98 * REPLACE - insert or replace name with value. 102 lookup(name, action, value) 105 struct namelist *value; [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddrbac.c | 155 char **value = NULL; local 157 value = __ns_ldap_getAttr(res->entry, "uid"); 158 if (value && value[0]) 159 (void) fprintf(stdout, "%s", value[0]); 164 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); 165 if (value && value[0]) 166 (void) fprintf(stdout, "%s", value[0]); 218 char **value local 293 char **value; local 368 char **value = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_txc.c | 145 uint64_t value, offset; local 164 NXGE_REG_RD64(handle, offset, &value); 167 offset, txc_fzc_dmc_name[i], value)); 190 uint64_t value; local 198 NXGE_REG_RD64(handle, txc_fzc_offset[i], &value); 201 txc_fzc_offset[i], txc_fzc_name[i], value)); 225 uint64_t value, offset; local 236 NXGE_REG_RD64(handle, offset, &value); 239 offset, txc_fzc_port_name[i], value)); 254 * op_mode - OP_GET: get max burst value 788 uint64_t value; local 823 uint64_t value; local [all...] |
H A D | npi_rx_rd64.h | 40 * Read a 64-bit value from a DMC register. 148 * Read a 64-bit value from a DMC register. 154 * value Where to put the 64-bit value to be read. 158 * we have to subtract the value DMC right off the bat. DMC 175 * RXDMA_REG_READ64(handle, RX_DMA_CTL_STAT_REG, channel, value); 202 * RXDMA_REG_READ64(handle, RX_DMA_CTL_STAT_REG, channel, value); 226 uint64_t *value) 239 *value = ddi_get64(handle.regh, 242 *value 222 RXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument [all...] |
H A D | npi_rx_wr64.h | 40 * Write a 64-bit value to a DMC register. 126 * Write a 64-bit value to a DMC register. 132 * value The 64-bit value to write. 136 * we have to subtract the value DMC right off the bat. DMC 153 * RXDMA_REG_WRITE64(handle, RX_DMA_CTL_STAT_REG, channel, value); 180 * RXDMA_REG_WRITE64(handle, RX_DMA_CTL_STAT_REG, channel, value); 204 uint64_t value) 218 (uint64_t *)(handle.regp + (uint32_t)offset), value); 221 (uint64_t *)(handle.regp + offset), value); 200 RXDMA_REG_WRITE64( npi_handle_t handle, uint64_t offset, int channel, uint64_t value) argument [all...] |
H A D | npi_tx_rd64.h | 43 * Read a 64-bit value from a DMC register. 49 * value Where to put the 64-bit value to be read. 59 * we have to subtract the value DMC right off the bat. DMC 76 * TXDMA_REG_READ64(handle, TX_CS_REG, channel, &value); 102 * TXDMA_REG_READ64(handle, TX_CS_REG, channel, &value); 126 uint64_t *value) 139 *value = ddi_get64(handle.regh, 142 *value = ddi_get64(handle.regh, (uint64_t *)(handle.regp + offset)); 147 name, (uint32_t)offset, *value); 122 TXDMA_REG_READ64( npi_handle_t handle, uint64_t offset, int channel, uint64_t *value) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_buffer.c | 34 function exits, no matter what the exit value */ 42 if ((buffer->value = (void *) xmalloc(buffer->length + 1)) == NULL) { 47 strcpy(buffer->value, str);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypv1_xdr.c | 58 yprequest_arms[0].value = (int)YPREQ_KEY; 59 yprequest_arms[1].value = (int)YPREQ_NOKEY; 60 yprequest_arms[2].value = (int)YPREQ_KEY; 61 yprequest_arms[3].value = __dontcare__; 81 ypresponse_arms[0].value = (int)YPRESP_VAL; 82 ypresponse_arms[1].value = (int)YPRESP_KEY_VAL; 83 ypresponse_arms[2].value = (int)YPRESP_MAP_PARMS; 84 ypresponse_arms[3].value = __dontcare__;
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/ |
H A D | util_set.c | 39 void *value; member in struct:_g_set_elt 65 int g_set_entry_add(g_set_elt *s, void *key, void *value) argument 73 first->value = value; 98 int g_set_entry_get(g_set_elt *s, void *key, void **value) argument 104 *value = p->value; 110 *value = NULL;
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | options.c | 14 long value; member in struct:option 32 return(opt->value);
|
/illumos-gate/usr/src/uts/intel/asm/ |
H A D | cpu.h | 131 __set_ds(selector_t value) argument 136 : "r" (value)); 140 __set_es(selector_t value) argument 145 : "r" (value)); 149 __set_fs(selector_t value) argument 154 : "r" (value)); 158 __set_gs(selector_t value) argument 163 : "r" (value));
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | regex.c | 48 char * value 51 match (re, value) 53 register char * value; 66 ret = advance(value, re); 81 char * value, 85 replace (pp, result, value) 88 char * value; 122 SCPY (value); 78 replace( char ** pp, char * result, char * value, int nbra ) argument
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | snapdir_001_pos.ksh | 42 # 4. Check the return value and make sure it is 0. 59 typeset value=$2 65 if [[ $value == "visible" ]]; then 73 if [[ $value == "visible" ]]; then 98 for value in hidden visible; do 100 set_n_check_prop "$value" "snapdir" \ 103 set_n_check_prop "$value" "snapdir" \ 105 verify_snapdir_visible $dataset $value 107 log_fail "$dataset/.zfs is not $value as expect."
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | mdi.c | 112 struct mdi_pathinfo value; local 119 if (mdb_vread(&value, sizeof (struct mdi_pathinfo), addr) != 126 dump_string((uintptr_t)value.pi_addr, "PWWN,LUN (pi_addr)"); 130 value.pi_client); 131 mdb_printf("pi_phci: %27l#r::print struct mdi_phci\n", value.pi_phci); 132 mdb_printf("pi_pprivate: %23l#r\n", value.pi_pprivate); 134 value.pi_client_link); 136 value.pi_phci_link); 137 mdb_printf("pi_prop: %27l#r::print struct nv_list\n", value.pi_prop); 139 mdiprops((uintptr_t)value 212 struct mdi_phci value; local 261 struct mdi_vhci value; local [all...] |
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_error.c | 44 * cfgadm -x passthru -o inject-error=func_name:entry_point:value N0.SB0 48 * decision making point it is that we are injecting error, and "value" 58 * To clear the error, change the value to 0, or whatever success 65 * value. They will be translated to 0. 87 #define SBDP_IE_DEFINED 2 /* Returns value from sbdp_error_matrix */ 133 * matrix to the value passed in. 141 int index, value; local 190 * pointer so it points to the begining of the value string. 191 * The rest of the arg_str is taken as the value string. 216 * No checking for value 257 int value; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | fat.c | 210 int32_t value; local 215 read_32_bits(ep, (uint32_t *)&value); 217 read_16_bits(ep, (uint32_t *)&value); 222 if (value >= PCF_RESCLUSTER) 223 value |= 0xFFF0000; 225 value = 0; 230 value = (((unsigned int)*ep++ & 0xf0) >> 4); 231 value += (*ep << 4); 233 value = *ep++; 234 value 247 writeFATEntry(int32_t currentCluster, int32_t value) argument [all...] |
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | hash.h | 48 itm_size_t value; local 50 value = *(ptr++); 53 value *= 27239; 54 value += *(ptr++); 56 return (value % hash_size);
|