/illumos-gate/usr/src/cmd/plimit/ |
H A D | plimit.c | 240 rlim64_t value; local 256 value = strtoull(minutes, &lastc, 10); 257 if (*lastc != '\0' || value > RLIM64_INFINITY / 60) 266 value = value * 60 + sec; 267 if (value > RLIM64_INFINITY) 268 value = RLIM64_INFINITY; 269 *limit = value; 305 value = strtoull(arg, &lastc, 10); 306 if (*lastc != '\0' || value > RLIM64_INFINIT [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | serial.c | 72 unsigned char value; 74 asm volatile ("inb %w1, %0" : "=a" (value) : "Nd" (port)); 77 return value; 82 outb (unsigned short port, unsigned char value) 84 asm volatile ("outb %b0, %w1" : : "a" (value), "Nd" (port)); 71 unsigned char value; local 81 outb(unsigned short port, unsigned char value) argument
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_property.c | 184 uint64_t value; local 186 zhp, prop, &value, &srctype, source, sizeof (source)); 189 propValue = convert_uint64(env, value); 277 uint64_t value; local 279 zhp, prop, &value, &srctype, source, sizeof (source)); 282 propValue = convert_uint64(env, value); 336 uint64_t value = zfs_prop_default_numeric(prop); local 337 propValue = convert_uint64(env, value); 407 uint64_t value = zfs_prop_default_numeric(prop); local 408 propValue = convert_uint64(env, value); [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | mcdi_mon.c | 227 * map then the sensor reading is used for the value of the 265 uint16_t value; local 275 value = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_VALUE); 295 valuep->emsv_value = value;
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_gld.c | 605 uint8_t value; local 626 value = (speeds & IXGBE_LINK_SPEED_100_FULL) ? 1 : 0; 627 mac_prop_info_set_default_uint8(prh, value); 632 value = (speeds & IXGBE_LINK_SPEED_1GB_FULL) ? 1 : 0; 633 mac_prop_info_set_default_uint8(prh, value); 638 value = (speeds & IXGBE_LINK_SPEED_2_5GB_FULL) ? 1 : 0; 639 mac_prop_info_set_default_uint8(prh, value); 644 value = (speeds & IXGBE_LINK_SPEED_5GB_FULL) ? 1 : 0; 645 mac_prop_info_set_default_uint8(prh, value); 650 value 722 int value; local 914 int value; local [all...] |
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.c | 43 * elfcap_str_t value. 63 * Since 0 is not a valid value for the c_val field, we use it to 86 * Order the capabilities by their numeric value. See SF1_SUNW_ 107 * Order the SPARC hardware capabilities to match their numeric value. See 182 * Order the Intel hardware capabilities to match their numeric value. See 385 * Expand a capabilities value into the strings defined in the associated 418 * If there are any unknown bits remaining display the numeric value. 431 * Expand a CA_SUNW_HW_1 value. 457 * Expand a CA_SUNW_HW_2 value. 478 * Expand a CA_SUNW_SF_1 value 524 value(elfcap_style_t style, const char *str, const elfcap_desc_t *cdp, function [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getenv.c | 155 * string must be the entry name only, and we return the value of the first 156 * match. Otherwise, string must be of the form "name=value", and we return 160 findenv(const char **e, const char *string, int name_only, char **value) argument 166 *value = NULL; 187 *value = (char *)s2 + 1; 212 char *value; local 230 if ((p = findenv(my_environ, string, 0, &value)) != NULL) { 233 * Replace the value in situ. No name was 250 * The new value must be visible before we decrement 421 char *value; local 485 char *value; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_sugar.c | 145 dt_node_t *value, *body, *newpred; local 152 * value is (1 && pred) 156 * Therefore, value can't simply be <pred>, because then 160 value = dt_node_op2(DT_TOK_LAND, dt_node_int(1), pred); 162 /* value is (this->%condition_<condid> && pred) */ 163 value = dt_node_op2(DT_TOK_LAND, 167 /* body is "this->%condition_<retval> = <value>;" */ 169 dt_sugar_new_condition_var(newcond), value));
|
/illumos-gate/usr/src/common/ficl/ |
H A D | float.c | 71 ficlFloat value) 76 ficlInstructionFConstantParen, *(ficlInteger *)(&value))); 82 ficlFloat value) 87 ficlInstructionFConstantParen, *(ficlInteger *)(&value))); 109 ficlFloat value) 114 ficlInstructionF2ConstantParen, *(ficl2Integer *)(&value))); 119 ficlFloat value) 124 ficlInstructionF2ConstantParen, *(ficl2Integer *)(&value))); 70 ficlDictionaryAppendFConstant(ficlDictionary *dictionary, char *name, ficlFloat value) argument 81 ficlDictionarySetFConstant(ficlDictionary *dictionary, char *name, ficlFloat value) argument 108 ficlDictionaryAppendF2Constant(ficlDictionary *dictionary, char *name, ficlFloat value) argument 118 ficlDictionarySetF2Constant(ficlDictionary *dictionary, char *name, ficlFloat value) argument
|
H A D | utility.c | 6 * Returns the aligned pointer value. 50 ficlDigitToCharacter(int value) argument 52 return (digits[value]); 78 ficlLtoa(ficlInteger value, char *string, int radix) argument 81 int sign = ((radix == 10) && (value < 0)); 91 value = -value; 93 if (value == 0) 96 ficlUnsigned v = (ficlUnsigned) value; 105 FICL_UNSIGNED_TO_2UNSIGNED((ficlUnsigned)value, 125 ficlUltoa(ficlUnsigned value, char *string, int radix) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | emac.c | 346 unsigned value = 0x60020000 | (addr << 18); local 349 pEmac->EMAC_MAN = value; 366 unsigned value = 0x50020000 | (addr << 18) | s; local 369 pEmac->EMAC_MAN = value;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | linux.c | 312 char *value = vga + 4; local 315 if (strncmp(value, "normal", 6) < 1) 317 else if (strncmp(value, "ext", 3) < 1) 319 else if (strncmp(value, "ask", 3) < 1) 327 * however, the actual value is 16bit, so 330 mode = strtol(value, NULL, 0); 332 printf("bad value for video mode\n");
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | glue.c | 485 char *value; local 487 if (!syscall(API_ENV_GET, NULL, name, &value)) 490 return (value); 494 ub_env_set(const char *name, char *value) argument 497 syscall(API_ENV_SET, NULL, name, value);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | highlevel.c | 302 * Set value of "config_ovr/fastreboot_default". 305 scf_fastreboot_default_set_transient(boolean_t value) argument 309 if (value == B_TRUE) 324 * 4. value of property "config/fastreboot_default" is set to "false" 329 * 6. value of property "config_ovr/fastreboot_default" is set to "false".
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_tx.c | 76 uint32_t start, stuff, value, flags, lso_flag, mss; local 82 hcksum_retrieve(mp, NULL, NULL, &start, &stuff, NULL, &value, &flags); 97 "stuff=%u, value=%u\n", flags, ethLen, start, stuff, value);
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | ns.h | 87 char *value; /* value string */ member in struct:ns_kvp 149 ns_kvp_t **attributes; /* key/value pairs. */ 174 /* functions to manipulate key/value pairs */
|
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 133 PyObject *key, *value; local 144 while (PyDict_Next(d, &pos, &key, &value)) { 152 if (PyDict_Check(value)) { 153 nvlist_t *valnvl = dict2nvl(value); 156 } else if (value == Py_None) { 158 } else if (PyString_Check(value)) { 159 char *valstr = PyString_AsString(value); 161 } else if (PyInt_Check(value)) { 162 uint64_t valint = PyInt_AsUnsignedLongLongMask(value); 164 } else if (PyBool_Check(value)) { 179 fakepropval(uint64_t value) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | eventlog_log.c | 176 char *value; local 194 if ((value = strsep(&bp, " \t")) == NULL) 196 } while (*value == '\0'); 198 if ((argv[i] = value) == NULL) 205 if ((value = strchr(bp, '\n')) != NULL) 206 *value = '\0';
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 372 * A global value mask specifies which options require values. 541 char *value; local 544 value = NULL; 545 opt = getsubopt(&optstr, ap_opt_names, &value); 550 ap_err(a, ERR_OPT_INVAL, value); 567 * Check whether the option requires a value. 570 if (i != 0 && value == NULL) { 573 } else if (i == 0 && value != NULL) { 578 if (value == NULL) 582 * Set the options's value [all...] |
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 64 int value; member in struct:slist 71 if (slist->value == match_value) { 302 { 0x26, 0x02, "parameter value invalid" }, 674 * depending on the value of es_code. 1061 * compiler error unless we cast to an unsigned value.
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/ |
H A D | ses_facility.c | 125 * the property to query to retrieve the value. Some elements (enclosures and 237 * Read the given sensor value. This just looks up the value in the node 238 * properties, and multiplies by a fixed value (determined when the method is 316 boolean_t value; local 348 &value) == 0 && value) 355 SES_PROP_WARN_UNDER, &value) == 0 && value) 358 SES_PROP_WARN_OVER, &value) 405 boolean_t value; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_solaris.c | 41 char *name = NULL, *value = NULL, **ret_values = NULL; local 55 code = profile_iterator(&state, &name, &value); 57 if ((key == NULL) || (strcmp(value, key) == 0)) { 72 if (value != NULL) { 73 profile_release_string(value); 74 value = NULL; 87 if (value != NULL) 88 profile_release_string(value); 363 * where value is a string array of any matching values assigned to name. 366 * then value i 451 char *value = NULL; local [all...] |
H A D | prof_tree.c | 17 * A section header must have its value field set to 0, and may a one 20 * A relation has as its value a pointer to allocated memory 39 char *value; member in struct:profile_node 64 if (node->value) 65 free(node->value); 92 errcode_t profile_create_node(const char *name, const char *value, argument 106 if (value) { 107 new->value = strdup(value); 108 if (new->value 154 profile_add_node(struct profile_node *section, const char *name, const char *value, struct profile_node **ret_node) argument 248 profile_find_node(struct profile_node *section, const char *name, const char *value, int section_flag, void **state, struct profile_node **node) argument 322 profile_find_node_relation(struct profile_node *section, const char *name, void **state, char **ret_name, char **value) argument [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/libsip/common/ |
H A D | sip_headers.c | 178 sip_hdr_value_t *value; local 183 value = (sip_hdr_value_t *)header->value; 184 while (value != NULL) { 185 sip_free_params(value->sip_param_list); 186 next_value = value->sip_next_value; 187 free(value); 188 value = next_value; 199 sip_hdr_value_t *value; local 204 value [all...] |