/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | addipopt.c | 20 u_short val; local 49 val = atoi(class); 50 bcopy((char *)&val, op, 2);
|
/illumos-gate/usr/src/uts/common/io/afe/ |
H A D | afeimpl.h | 201 #define PUTTXDESC(afep, member, val) \ 202 ddi_put32(afep->afe_txdesc_acch, &member, val) 204 #define PUTRXDESC(afep, member, val) \ 205 ddi_put32(afep->afe_rxdesc_acch, &member, val) 295 #define PUTCSR(afep, reg, val) \ 296 ddi_put32(afep->afe_regshandle, (uint32_t *)(afep->afe_regs + reg), val) 298 #define PUTCSR16(afep, reg, val) \ 299 ddi_put16(afep->afe_regshandle, (uint16_t *)(afep->afe_regs + reg), val) 301 #define SETBIT(afep, reg, val) PUTCSR(afep, reg, GETCSR(afep, reg) | (val)) [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ldap.h | 89 #define NEG(val) (val <0) ? abs(val) : -val ; 155 #define STORE16_INT(ptr, val) store_16_be(val, ptr) 156 #define STORE32_INT(ptr, val) store_32_be(val, ptr) 157 #define UNSTORE16_INT(ptr, val) (val [all...] |
/illumos-gate/usr/src/lib/libast/common/path/ |
H A D | pathshell.c | 60 static char* val; local 105 if (!(sh = val)) 109 val = sh;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | uuid_to_string.c | 40 * Dump len characters into *buf from val as hex and update *buf 43 tohex(char **buf, int len, uint32_t val) argument 50 walker[i] = hexstr[val & 0xf]; 51 val >>= 4;
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies_005_neg.ksh | 66 for val in 3 2 1; do 68 log_mustnot zfs set copies=$val $ds 71 log_mustnot zfs create -o copies=$val $ds
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_007_pos.ksh | 97 typeset val 99 val=$(get_prop $prop $fs) || log_fail "get_prop $prop $fs" 100 if [[ $val == "on" ]]; then
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_init.c | 185 uint32_t val; local 188 unm_nic_read_w0(adapter, UNM_PCIE_REG(PCIE_SEM2_UNLOCK), &val); 256 int addr, val, status, i, init_delay = 0, n; local 269 int val; local 270 if (rom_fast_read(adapter, 0x4008, &val) == 0) 271 cmn_err(CE_WARN, "P2 ROM board type: 0x%08x\n", val); 274 if (rom_fast_read(adapter, 0x400c, &val) == 0) 275 cmn_err(CE_WARN, "ROM board num: 0x%08x\n", val); 278 if (rom_fast_read(adapter, 0x4010, &val) == 0) 279 cmn_err(CE_WARN, "ROM chip num: 0x%08x\n", val); 441 u32 val = 0; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | read.c | 209 register char *name, *val; local 233 if(val= strchr(name,'?')) 234 *val = 0; 255 if(val) 256 *val = '?'; 502 /* val==0 at the start of a field */ 503 val = 0; 511 if(val==0) 512 val = (char*)(cp-1); 532 if(val) [all...] |
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_files.c | 162 nwam_value_t val = NULL; local 179 * Parse property into name=type,val[,val] 265 nelem, &val)) != NWAM_SUCCESS || 267 propname, val)) != NWAM_SUCCESS) { 269 nwam_value_free(val); 274 nwam_value_free(val); 283 nelem, &val)) != NWAM_SUCCESS || 285 propname, val)) != NWAM_SUCCESS) { 287 nwam_value_free(val); 627 nwam_value_t val; local [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_power.c | 55 u32_t val = 0 ; local 116 val = nwuf->pattern_size; 117 DbgMessage(pdev, VERBOSE, "init_nwuf_57710: idx[%d] crc_mask=0x%08x size=%d\n", idx, nwuf->crc32, val ); 122 val = min( nwuf->size * 8, 64 ) ; 123 if( val != nwuf->size * 8 ) 125 DbgMessage(pdev, WARN, "init_nwuf_57710: idx[%d] Updated size=%03d-->%03d\n", idx, nwuf->size * 8, val ) ; 129 REG_WR( pdev, reg_len, val ) ; 131 val = nwuf->crc32 ; 132 REG_WR( pdev, reg_crc, val ) ; 162 val 296 u32_t val = 0 ; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | modhash.c | 87 * mod_hash_insert(hash, key, val): 91 * mod_hash_insert_reserve(hash, key, val, handle): 104 * mod_hash_remove(hash, key, *val): 106 * stored key, and returning the value in val. 108 * mod_hash_replace(hash, key, val) 117 * mod_hash_find(hash, key, val): 120 * mod_hash_find_cb(hash, key, val, found_callback) 122 * If a value is found, call specified callback passing key and val to it. 157 #define MH_VAL_DESTROY(hash, val) ((hash->mh_vdtor)(val)) 185 mod_hash_null_valdtor(mod_hash_val_t val) argument 236 mod_hash_strval_dtor(mod_hash_val_t val) argument 545 i_mod_hash_insert_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val, mod_hash_hndl_t handle) argument 579 mod_hash_insert(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val) argument 602 mod_hash_insert_reserve(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val, mod_hash_hndl_t handle) argument 670 i_mod_hash_remove_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 707 mod_hash_remove(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 725 mod_hash_replace(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val) argument 752 mod_hash_val_t val; local 774 i_mod_hash_find_nosync(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 794 mod_hash_find(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val) argument 806 mod_hash_find_cb(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val, void (*find_cb)(mod_hash_key_t, mod_hash_val_t)) argument 822 mod_hash_find_cb_rval(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t *val, int (*find_cb)(mod_hash_key_t, mod_hash_val_t), int *cb_rval) argument [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | printf.c | 161 long long val; local 351 val = va_arg(*args, long long); 353 val = va_arg(*args, long); 355 val = va_arg(*args, int); 357 val = va_arg(*args, unsigned); 362 if (val < 0) { 369 if (val != HIBITLL) { 370 val = -val; 395 while (val) { [all...] |
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdev.c | 95 * list of attr=val pairs given 420 * EINVAL If "alias" is used as an attribute in an attr=val pair 431 struct attrval *prevattrval; /* * to prev attr/val struct */ 435 char *val; /* Ptr to space for value */ local 469 if (val = malloc(strlen(peq))) { 470 (void) strcpy(val, peq+1); /* Copy it */ 481 free(val); 488 if (val[0] != '/') { 491 free(val); 494 devtabent->cdevice = val; [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | str2sig.c | 128 str2long(const char *p, long *val) argument 135 *val = strtol(p, &q, 10); 149 long val; local 151 if (str2long(s, &val) == -1) 155 if (sp->signum == val) {
|
/illumos-gate/usr/src/lib/libmp/common/ |
H A D | mult.c | 90 c->val = _mp_xalloc(c->len, "m_mult"); 92 aptr = a->val; 93 bptr = b->val; 94 cptr = c->val; 127 if (c->val[c->len-1] == 0) {
|
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/kctl/ |
H A D | kctl_isadep.c | 60 char *val; local 64 DDI_PROP_DONTPASS, pname, &val) != DDI_SUCCESS) 67 if (strlen(val) < buf_len) { 68 (void) strcpy(prop_buf, val); 72 ddi_prop_free(val);
|
/illumos-gate/usr/src/cmd/eeprom/sparc/ |
H A D | openprom.c | 187 char *val; local 189 val = strchr(var, '='); 191 if (val == NULL) { 204 *val++ = '\0'; 210 set_one(var, val); 297 set_one(char *var, char *val) argument 315 (*v->in)(v->name, val, opp); local 318 int vallen = strlen(val); 329 (void) strcpy(opp->oprom_array + varlen, val); 393 i_oemlogo(char *var, char *val, struc argument 414 i_secure(char *var, char *val, struct openpromio *opp) argument 483 i_passwd(char *var, char *val, struct openpromio *opp) argument 518 o_passwd(char *var, char *val) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_nis.c | 173 char *key, *nkey, *val; local 182 val = NULL; vl = 0; 200 &nkey, &nkl, &val, &vl); 205 &nkey, &nkl, &val, &vl); 215 &nkey, &nkl, &val, &vl); 222 &nkey, &nkl, &val, &vl); 251 (void) strncpy(map, val, vl); 274 free(val); 315 char *key, *nkey, *val, *my_nismap; local 322 val 438 char *key = NULL, *val = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pathconf.c | 60 ulong_t val; local 64 if (error = VOP_PATHCONF(vp, _PC_SYMLINK_MAX, &val, cr, NULL)) 66 return ((long)(val > 0)); 118 if (error = VOP_PATHCONF(vp, cmd, &val, cr, NULL)) 120 return (val);
|
/illumos-gate/usr/src/uts/common/io/ipw/ |
H A D | ipw2100_hw.c | 89 ipw2100_csr_put8(struct ipw2100_softc *sc, uint32_t off, uint8_t val) argument 91 ddi_put8(sc->sc_ioh, (uint8_t *)(sc->sc_regs + off), val); 95 ipw2100_csr_put16(struct ipw2100_softc *sc, uint32_t off, uint16_t val) argument 98 (uint16_t *)((uintptr_t)sc->sc_regs + off), val); 102 ipw2100_csr_put32(struct ipw2100_softc *sc, uint32_t off, uint32_t val) argument 105 (uint32_t *)((uintptr_t)sc->sc_regs + off), val); 149 ipw2100_imem_put8(struct ipw2100_softc *sc, uint32_t addr, uint8_t val) argument 152 ipw2100_csr_put8(sc, IPW2100_CSR_INDIRECT_DATA, val); 156 ipw2100_imem_put16(struct ipw2100_softc *sc, uint32_t addr, uint16_t val) argument 159 ipw2100_csr_put16(sc, IPW2100_CSR_INDIRECT_DATA, val); 163 ipw2100_imem_put32(struct ipw2100_softc *sc, uint32_t addr, uint32_t val) argument 200 ipw2100_rom_control(struct ipw2100_softc *sc, uint32_t val) argument 222 ipw2100_table1_put32(struct ipw2100_softc *sc, uint32_t off, uint32_t val) argument 261 uint16_t val; local [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | macro.cc | 64 Name val = NULL; local 73 val = macro_apx->body.macro_appendix.value_to_append; 77 if (val != NULL) { 78 APPEND_NAME(val, 80 (int) val->hash.length);
|
/illumos-gate/usr/src/uts/common/io/efe/ |
H A D | efe.c | 547 efe_m_getstat(void *arg, uint_t stat, uint64_t *val) argument 551 if (mii_m_getstat(efep->efe_miih, stat, val) == 0) { 557 *val = efep->efe_multircv; 561 *val = efep->efe_brdcstrcv; 565 *val = efep->efe_multixmt; 569 *val = efep->efe_brdcstxmt; 573 *val = efep->efe_norcvbuf; 577 *val = efep->efe_ierrors; 581 *val = efep->efe_noxmtbuf; 585 *val 737 uint32_t val; local 840 efe_m_setprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, const void *val) argument 849 efe_m_getprop(void *arg, const char *name, mac_prop_id_t id, uint_t valsize, void *val) argument 944 uint32_t val; local 1554 uint16_t val; local 1591 uint16_t val = efe_eeprom_readw(efep, addrlen, addr + i); local 1600 uint16_t val = 0; local [all...] |
/illumos-gate/usr/src/common/nvpair/ |
H A D | nvpair.c | 997 nvlist_add_boolean_value(nvlist_t *nvl, const char *name, boolean_t val) argument 999 return (nvlist_add_common(nvl, name, DATA_TYPE_BOOLEAN_VALUE, 1, &val)); 1003 nvlist_add_byte(nvlist_t *nvl, const char *name, uchar_t val) argument 1005 return (nvlist_add_common(nvl, name, DATA_TYPE_BYTE, 1, &val)); 1009 nvlist_add_int8(nvlist_t *nvl, const char *name, int8_t val) argument 1011 return (nvlist_add_common(nvl, name, DATA_TYPE_INT8, 1, &val)); 1015 nvlist_add_uint8(nvlist_t *nvl, const char *name, uint8_t val) argument 1017 return (nvlist_add_common(nvl, name, DATA_TYPE_UINT8, 1, &val)); 1021 nvlist_add_int16(nvlist_t *nvl, const char *name, int16_t val) argument 1023 return (nvlist_add_common(nvl, name, DATA_TYPE_INT16, 1, &val)); 1027 nvlist_add_uint16(nvlist_t *nvl, const char *name, uint16_t val) argument 1033 nvlist_add_int32(nvlist_t *nvl, const char *name, int32_t val) argument 1039 nvlist_add_uint32(nvlist_t *nvl, const char *name, uint32_t val) argument 1045 nvlist_add_int64(nvlist_t *nvl, const char *name, int64_t val) argument 1051 nvlist_add_uint64(nvlist_t *nvl, const char *name, uint64_t val) argument 1058 nvlist_add_double(nvlist_t *nvl, const char *name, double val) argument 1065 nvlist_add_string(nvlist_t *nvl, const char *name, const char *val) argument 1139 nvlist_add_hrtime(nvlist_t *nvl, const char *name, hrtime_t val) argument 1145 nvlist_add_nvlist(nvlist_t *nvl, const char *name, nvlist_t *val) argument 1362 nvlist_lookup_boolean_value(nvlist_t *nvl, const char *name, boolean_t *val) argument 1369 nvlist_lookup_byte(nvlist_t *nvl, const char *name, uchar_t *val) argument 1375 nvlist_lookup_int8(nvlist_t *nvl, const char *name, int8_t *val) argument 1381 nvlist_lookup_uint8(nvlist_t *nvl, const char *name, uint8_t *val) argument 1387 nvlist_lookup_int16(nvlist_t *nvl, const char *name, int16_t *val) argument 1393 nvlist_lookup_uint16(nvlist_t *nvl, const char *name, uint16_t *val) argument 1399 nvlist_lookup_int32(nvlist_t *nvl, const char *name, int32_t *val) argument 1405 nvlist_lookup_uint32(nvlist_t *nvl, const char *name, uint32_t *val) argument 1411 nvlist_lookup_int64(nvlist_t *nvl, const char *name, int64_t *val) argument 1417 nvlist_lookup_uint64(nvlist_t *nvl, const char *name, uint64_t *val) argument 1424 nvlist_lookup_double(nvlist_t *nvl, const char *name, double *val) argument 1431 nvlist_lookup_string(nvlist_t *nvl, const char *name, char **val) argument 1437 nvlist_lookup_nvlist(nvlist_t *nvl, const char *name, nvlist_t **val) argument 1527 nvlist_lookup_hrtime(nvlist_t *nvl, const char *name, hrtime_t *val) argument 1543 void *val; local 1821 nvpair_value_boolean_value(nvpair_t *nvp, boolean_t *val) argument 1827 nvpair_value_byte(nvpair_t *nvp, uchar_t *val) argument 1833 nvpair_value_int8(nvpair_t *nvp, int8_t *val) argument 1839 nvpair_value_uint8(nvpair_t *nvp, uint8_t *val) argument 1845 nvpair_value_int16(nvpair_t *nvp, int16_t *val) argument 1851 nvpair_value_uint16(nvpair_t *nvp, uint16_t *val) argument 1857 nvpair_value_int32(nvpair_t *nvp, int32_t *val) argument 1863 nvpair_value_uint32(nvpair_t *nvp, uint32_t *val) argument 1869 nvpair_value_int64(nvpair_t *nvp, int64_t *val) argument 1875 nvpair_value_uint64(nvpair_t *nvp, uint64_t *val) argument 1882 nvpair_value_double(nvpair_t *nvp, double *val) argument 1889 nvpair_value_string(nvpair_t *nvp, char **val) argument 1895 nvpair_value_nvlist(nvpair_t *nvp, nvlist_t **val) argument 1901 nvpair_value_boolean_array(nvpair_t *nvp, boolean_t **val, uint_t *nelem) argument 1907 nvpair_value_byte_array(nvpair_t *nvp, uchar_t **val, uint_t *nelem) argument 1913 nvpair_value_int8_array(nvpair_t *nvp, int8_t **val, uint_t *nelem) argument 1919 nvpair_value_uint8_array(nvpair_t *nvp, uint8_t **val, uint_t *nelem) argument 1925 nvpair_value_int16_array(nvpair_t *nvp, int16_t **val, uint_t *nelem) argument 1931 nvpair_value_uint16_array(nvpair_t *nvp, uint16_t **val, uint_t *nelem) argument 1937 nvpair_value_int32_array(nvpair_t *nvp, int32_t **val, uint_t *nelem) argument 1943 nvpair_value_uint32_array(nvpair_t *nvp, uint32_t **val, uint_t *nelem) argument 1949 nvpair_value_int64_array(nvpair_t *nvp, int64_t **val, uint_t *nelem) argument 1955 nvpair_value_uint64_array(nvpair_t *nvp, uint64_t **val, uint_t *nelem) argument 1961 nvpair_value_string_array(nvpair_t *nvp, char ***val, uint_t *nelem) argument 1967 nvpair_value_nvlist_array(nvpair_t *nvp, nvlist_t ***val, uint_t *nelem) argument 1973 nvpair_value_hrtime(nvpair_t *nvp, hrtime_t *val) argument [all...] |
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | globals.c | 40 * val - The value for which a string is desired. 47 * strings corresponding to val. 52 * If val lies in the range [0-(num_msg-1)], then the string 53 * corresponding to it is returned. If val is outside the range, 59 map_msg2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val, argument 63 if ((val < num_msg) && (msg[val] != 0)) 64 return (MSG_ORIG_STRTAB(msg[val], local_sgs_msg)); 67 return (conv_invalid_val(inv_buf, val, flags)); 78 * val i 98 map_vd2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc *vdp, const char *local_sgs_msg) argument 112 map_vd22str(Conv_inv_buf_t *inv_buf, uchar_t osabi, Half mach, Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc2 *vdp, const char *local_sgs_msg) argument [all...] |