/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_cfgacc.h | 63 pci_cfg_data_t value; member in struct:pci_cfgacc_req 66 #define VAL8(req) ((req)->value.b) 67 #define VAL16(req) ((req)->value.w) 68 #define VAL32(req) ((req)->value.dw) 69 #define VAL64(req) ((req)->value.qw)
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckrange.c | 78 long value; local 80 value = strtol(input, &ptr, base); 81 if ((*ptr != '\0') || (value < lower) || (value > upper)) 91 long value; local 140 value = strtol(input, &ptr, base); 142 valid = ((value >= lower) && (value <= upper)); 149 *rngval = value;
|
/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/uts/sun4v/io/ |
H A D | vnet_common.c | 57 uint64_t value; local 59 value = val; 61 macaddr[i] = value & 0xFF; 62 value >>= 8;
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | doreloc.c | 202 * Write a single relocated value to its reference location. 203 * We assume we wish to add the relocation amount, value, to the 204 * value of the address already present in the instruction. 313 * NOTE3: The value to be passed for relocations R_SPARC_HIX22 and 321 * A calculated relocation value may be larger than the intended field, and 322 * the relocation type may verify (V) that the value fits, or truncate (T) 331 * S the value of the symbol 351 * TLS block. This value can be added to the thread-pointer to 360 * Upon successful completion of do_reloc() *value will be set to the 361 * 'bit-shifted' value tha 366 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, const char *file) argument [all...] |
/illumos-gate/usr/src/uts/sparc/v9/fpu/ |
H A D | uword.c | 46 uint32_t *pvalue, /* Place for instruction value. */ 75 uint64_t *pvalue, /* Place for extended word value. */ 104 uint32_t *pvalue, /* Place for word value. */ 133 uint64_t value, /* Extended word value to write. */ 151 if (suword64(address, value) == -1) { 162 uint32_t value, /* Word value to write. */ 180 if (suword32(address, value) == -1) { 197 uint64_t *pvalue) /* Place for extended word value 131 _fp_write_extword( uint64_t *address, uint64_t value, fp_simd_type *pfpsd) argument 160 _fp_write_word( uint32_t *address, uint32_t value, fp_simd_type *pfpsd) argument [all...] |
/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | balloon_drv.c | 111 size_t value; local 119 value = balloon_values(cmd); 120 if (ddi_copyout((void *)&value, (void *)arg, sizeof (value),
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mach_kdi.c | 95 kdi_dreg_set(int reg, ulong_t value) argument 97 (void) __hypercall2(__HYPERVISOR_set_debugreg, (long)reg, value);
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-misc.c | 39 char *value) 43 if ((list != NULL) && (name != NULL) && (value != NULL) && 44 (value[0] != NULL)) 45 result = papiAttributeListAddString(list, flags, name, value); 71 char *value = NULL; local 73 papiAttributeListGetString(attributes, NULL, key, &value); 74 if (value != NULL) { 77 *string = strdup(value); 87 char *value = NULL; local 91 key, &value); 38 papiAttributeListAddLPString(papi_attribute_t ***list, int flags, char *name, char *value) argument [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_osdep.c | 46 e1000_write_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 48 pci_config_put16(OS_DEP(hw)->cfg_handle, reg, *value); 52 e1000_read_pci_cfg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 54 *value = 102 * The real intent of this routine is to return the value from pci-e 109 e1000_read_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 111 *value = pci_config_get16(OS_DEP(hw)->cfg_handle, 118 * Write the given 16-bit value to pci-e config space at offset reg into the 123 e1000_write_pcie_cap_reg(struct e1000_hw *hw, uint32_t reg, uint16_t *value) argument 135 (off_t)(pcie_cap + reg), *value); [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | nse_printdep.cc | 42 void print_value(register Name value, Daemon daemon); 256 * Return value: 305 print_value(register Name value, Daemon daemon) argument 311 if (value == NULL) 316 (void)printf("= %s\n", value->string_mb); 319 for (cp= (Chain) value; cp != NULL; cp= cp->next)
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | map_conv.c | 152 datum value; local 223 value = dbm_fetch(dbm, key); 226 if (SUCCESS != write_to_dit(map_name, domain, key, value,
|
/illumos-gate/usr/src/lib/libdns_sd/java/com/apple/dnssd/ |
H A D | TXTRecord.java | 36 is an attribute-value pair. 54 /** Set a key/value pair in the TXT record. Setting an existing key will replace its value.<P> 58 @param value 61 public void set( String key, String value) argument 63 byte[] valBytes = (value != null) ? value.getBytes() : null; 67 /** Set a key/value pair in the TXT record. Setting an existing key will replace its value.<P> 71 @param value 74 set( String key, byte[] value) argument 100 insert( byte[] keyBytes, byte[] value, int index) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | defaults.c | 41 const char *df_default; /* default value */ 42 int df_min; /* min value if type DF_INTEGER */ 43 int df_max; /* max value if type DF_INTEGER */ 77 char *param, *pastv6, *value, *end; local 86 dhcpmsg(MSG_WARNING, "cannot build default value cache; " 97 value = strchr(entry, '='); 98 if (end == NULL || value == NULL || entry[i] == '#') 102 *value++ = '\0'; 133 if (nvlist_add_string(nvlist, &entry[i], value) != 0) { 134 dhcpmsg(MSG_WARNING, "cannot build default value cach 162 char *value; local 228 const char *value; local 265 const char *value; local [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | siena_mac.c | 245 efx_qword_t value; local 258 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 259 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 260 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 261 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 263 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 264 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 266 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 267 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 269 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | disk.h | 45 * value is mostly used for compatibility with various ill designed 52 * value is mostly used for compatibility with various ill designed 86 * - ident value is preserved between reboots, 89 * - ident value should not be based on on-disk metadata; in other 135 } value; member in struct:diocgattr_arg
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | environment.c | 64 * If (value) is NULL, the variable is set but has no value. 67 env_setenv(const char *name, int flags, const void *value, argument 78 return (ev->ev_sethook(ev, flags, value)); 129 /* If we have a new value, use it */ 131 ev->ev_value = strdup(value); 134 ev->ev_value = (char *)value; 146 /* Set but no value gives empty string */ 156 setenv(const char *name, const char *value, int overwrite) argument 160 return(env_setenv(name, EV_VOLATILE, value, NUL 167 char *value, *copy; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | devicename.c | 193 * Set currdev to suit the value being supplied in (value) 196 i386_setcurrdev(struct env_var *ev, int flags, const void *value) argument 201 if ((rv = i386_parsedev(&ncurr, value, NULL)) != 0) 204 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | devicename.c | 136 ofw_setcurrdev(struct env_var *ev, int flags, const void *value) argument 141 if ((rv = ofw_parsedev(&ncurr, value, NULL)) != 0) 145 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | devicename.c | 188 * Set currdev to suit the value being supplied in (value). 191 uboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument 196 if ((rv = uboot_parsedev(&ncurr, value, NULL)) != 0) 199 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | devicename.c | 211 * Set currdev to suit the value being supplied in (value) 214 userboot_setcurrdev(struct env_var *ev, int flags, const void *value) argument 219 if ((rv = userboot_parsedev(&ncurr, value, NULL)) != 0) 222 env_setenv(ev->ev_name, flags | EV_NOHOOK, value, NULL, NULL);
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getgrent.c | 215 long value; local 229 value = strtol(buf, &buf_next, 10); 233 } else if ((value == LONG_MAX && errno == ERANGE) || 234 (ulong_t)value > INT_MAX) { 238 gid = (gid_t)value;
|
/illumos-gate/usr/src/lib/print/libipp-core/common/ |
H A D | write.c | 142 if (name != NULL) { /* first value gets named */ 161 papi_attribute_value_t *value = values[i]; local 167 if (name != NULL) { /* first value gets named */ 184 char *v = (char *)value->string; 209 int8_t v = (int8_t)value->boolean; 219 int32_t v = (int32_t)value->integer; 230 int32_t min = (int32_t)htonl((int)(value->range).lower), 231 max = (int32_t)htonl((int)(value->range).upper); 243 int32_t x = (int)(value->resolution).xres, 244 y = (int)(value [all...] |
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | scsi_status.c | 41 int value; member in struct:slist 235 { 0x26, 0x02, "parameter value invalid" }, 571 if (slist->value == match_value) {
|
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_newmsg.c | 110 ns_newmsg_flag(ns_newmsg *handle, ns_flag flag, u_int value) { argument 117 msg->_flags |= (value << fd->shift);
|