/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/uts/common/c2/ |
H A D | audit_token.c | 299 int32_t value; local 305 value = (int32_t)auid; 306 adr_int32(&adr, &value, 1); 307 value = (int32_t)uid; 308 adr_int32(&adr, &value, 1); 309 value = (int32_t)gid; 310 adr_int32(&adr, &value, 1); 311 value = (int32_t)ruid; 312 adr_int32(&adr, &value, 1); 313 value 854 int32_t value; local 886 int32_t value; local 936 int32_t value; local [all...] |
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 275 * be set to a non-zero value to allocate helper tracing buffers on the next 277 * non-zero value to deallocate helper tracing buffers on the next close of 753 * illegal value slot. 1274 * Shift the 128-bit value in a by b. If b is positive, shift left. 1313 * resulting 128-bit value. 1742 * Depending on the value of the op parameter, this function looks-up, 1768 * algorithm. For the by-value portions, we perform the algorithm in 1825 * actually happens, we set the hashval to be a value known to be a 1826 * non-sentinel value. 1954 * Now set the hash value t 2286 dtrace_aggregate_llquantize_bucket(uint16_t factor, uint16_t low, uint16_t high, uint16_t nsteps, int64_t value) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 165 uint64_t *stataddr = &(vsp->n##counter.value.ui64); \ 171 vsp->n##counter.value.ui64++; \ 181 uint64_t *stataddr = &(vsp->n##counter.value.ui64); \ 186 vsp->bytecounter.value.ui64 += bytesval; \ 188 vsp->n##counter.value.ui64++; \ 189 vsp->bytecounter.value.ui64 += bytesval; \ 1996 * The number of locks to hash into. This value must be a power 2433 * some with v_count of 1. In any case, the value should 2811 * require two fetches. The value of the fields may be 3987 * atomic_add_64 forces the fetch of a 64 bit value t 4273 vsd_defaultdestructor(void *value) argument 4415 vsd_set(vnode_t *vp, uint_t key, void *value) argument [all...] |
H A D | xattr.c | 623 boolean_t value; local 666 if (nvpair_value_boolean_value(pair, &value)) { 703 xoap->xoa_readonly = value; 707 xoap->xoa_hidden = value; 711 xoap->xoa_system = value; 715 xoap->xoa_archive = value; 719 xoap->xoa_immutable = value; 723 xoap->xoa_nounlink = value; 727 xoap->xoa_appendonly = value; 731 xoap->xoa_nodump = value; [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_dataset.c | 352 dsl_dataset_snap_lookup(dsl_dataset_t *ds, const char *name, uint64_t *value) argument 365 value, mt, NULL, 0, NULL); 367 err = zap_lookup(mos, snapobj, name, 8, 1, value); 1134 uint64_t value; local 1151 error = dsl_dataset_snap_lookup(ds, snapname, &value); 2252 uint64_t createtxg = fnvlist_lookup_uint64(valuenv, "value"); 3367 zprop_source_t source, uint64_t value, dmu_tx_t *tx) 3374 source, sizeof (value), 1, &value, tx); 3366 dsl_dataset_set_refreservation_sync_impl(dsl_dataset_t *ds, zprop_source_t source, uint64_t value, dmu_tx_t *tx) argument
|
H A D | dsl_dir.c | 79 * limit value won't require a re-traversal since the counts are already valid. 86 * When a new limit value is set on a filesystem with an existing limit, it is 114 * and updated by dsl_fs_ss_count_adjust(). A new limit value is setup in 652 * This is only called by the ioctl path when setting a limit value. 675 * write the property value. We pass in the creds that we got in the open 1579 dsl_dir_set_reservation_sync_impl(dsl_dir_t *dd, uint64_t value, dmu_tx_t *tx) argument 1588 delta = MAX(used, value) - MAX(used, dsl_dir_phys(dd)->dd_reserved); 1589 dsl_dir_phys(dd)->dd_reserved = value;
|
H A D | sa.c | 66 * id value. If an attribute can have a variable size then the value 913 uint64_t value; local 914 value = za.za_first_integer; 917 tb[ATTR_NUM(value)].sa_attr = ATTR_NUM(value); 918 tb[ATTR_NUM(value)].sa_length = ATTR_LENGTH(value); 919 tb[ATTR_NUM(value)].sa_byteswap = ATTR_BSWAP(value); [all...] |
H A D | spa.c | 93 ZTI_MODE_FIXED, /* value is # of threads (min 1) */ 94 ZTI_MODE_BATCH, /* cpu-intensive; value is ignored */ 707 * If the bootfs property value is dsobj, clear it. 843 uint_t value = ztip->zti_value; local 863 ASSERT3U(value, >=, 1); 864 value = MAX(value, 1); 870 value = zio_taskq_batch_pct; 876 zio_type_name[t], zio_taskq_types[q], mode, value); 895 tq = taskq_create_sysdc(name, value, 5 1578 load_nvlist(spa_t *spa, uint64_t obj, nvlist_t **value) argument 5688 spa_vdev_set_common(spa_t *spa, uint64_t guid, const char *value, boolean_t ispath) argument 6951 sysevent_value_t value; local [all...] |
H A D | zap.c | 38 * by the pointer at index i in the table holds entries whose hash value 988 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask, argument 1002 if ((za->za_first_integer & mask) == (value & mask)) { 1038 uint64_t value, dmu_tx_t *tx) 1053 8, 1, &value, tx); 1093 zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) argument 1097 (void) snprintf(name, sizeof (name), "%llx", (longlong_t)value); 1098 return (zap_add(os, obj, name, 8, 1, &value, tx)); 1102 zap_remove_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx) argument 1106 (void) snprintf(name, sizeof (name), "%llx", (longlong_t)value); 1037 zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj, uint64_t value, dmu_tx_t *tx) argument 1111 zap_lookup_int(objset_t *os, uint64_t obj, uint64_t value) argument 1120 zap_add_int_key(objset_t *os, uint64_t obj, uint64_t key, uint64_t value, dmu_tx_t *tx) argument 1130 zap_update_int_key(objset_t *os, uint64_t obj, uint64_t key, uint64_t value, dmu_tx_t *tx) argument 1152 uint64_t value = 0; local [all...] |
H A D | zap_micro.c | 609 /* XXX destroy the avl later, so we can use the stored hash value */ 964 err = 0; /* found, but skipped reading the value */ 1026 mzap_addent(zap_name_t *zn, uint64_t value) argument 1050 mze->mze_value = value; 1152 * If there is an old value, it shouldn't change across the 1337 * (28-bit) hash value so we can fit 4 bits of cd into the low 32-bits 1340 * [ collision differentiator | zap_hashbits()-bit hash value ] 1467 * the actual value of add, it could trigger a mzap_upgrade().
|
H A D | zfs_ioctl.c | 101 * and errno will be set to the callback's return value. The callback 2144 uint64_t value; local 2148 * zfs_get_zplprop() will either find a value or give us 2149 * the default value (if there is one). 2151 if ((error = zfs_get_zplprop(os, prop, &value)) != 0) 2153 VERIFY(nvlist_add_uint64(props, zfs_prop_to_name(prop), value) == 0); 2385 * If the named property is one that has a special function to set its value, 2436 * default path to set the value in the nvlist. 2506 /* decode the property value */ 2516 /* Validate value typ [all...] |
H A D | zfs_vfsops.c | 117 * MO_DEFAULT is not used since the default value is determined 2237 zfs_get_zplprop(objset_t *os, zfs_prop_t prop, uint64_t *value) argument 2243 * Look up the file system's value for the property. For the 2252 error = zap_lookup(os, MASTER_NODE_OBJ, pname, 8, 1, value); 2255 /* No value set, use the default value */ 2258 *value = ZPL_VERSION; 2262 *value = 0; 2265 *value = ZFS_CASE_SENSITIVE;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_if.c | 126 char *value, caddr_t cp, cred_t *ioc_cr); 717 * dlpi address, including the absolute value of sap_length. 725 t_scalar_t abs_sap_length; /* absolute value */ 2380 * will either be the value specified in ip_g_frag_timeout, or zero if the 2540 * A non-dying ILL will use the return value to decide whether to 3091 * Note: ppa value of zero cannot be allocated from vmem_arena as it 3092 * is the return value for an error condition, so allocation starts at one 3556 kn[0].value.ui32 = ipst->ips_loopback_packets; 3557 kn[1].value.ui32 = ipst->ips_loopback_packets; 3579 * falls through and resets the index counter back to 1, the minimum value 5054 th_trace_free(void *value) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 110 IPTUN_DEFAULT_ENCAPLIMIT, /* filled in with actual value later */ 325 uint32_t value = *(uint32_t *)pr_val; local 337 if (value < IPTUN_MIN_HOPLIMIT || value > IPTUN_MAX_HOPLIMIT) { 341 if (value != iptun->iptun_hoplimit) { 342 iptun->iptun_hoplimit = (uint8_t)value; 348 value > IPTUN_MAX_ENCAPLIMIT) { 352 if (value != iptun->iptun_encaplimit) { 353 iptun->iptun_encaplimit = (uint8_t)value; 360 if (value < iptu [all...] |
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_main2.c | 1237 int value; local 1240 value = bge->param_adv_pause; 1242 value = bge->param_adv_asym_pause; 1244 value = bge->param_drain_max; 1246 value = bge->param_msi_cnt; 1248 value = bge->chipid.rx_ticks_norm; 1250 value = bge->chipid.tx_ticks_norm; 1252 value = bge->chipid.rx_count_norm; 1254 value = bge->chipid.tx_count_norm; 1258 (void) snprintf(pr_val, pr_valsize, "%d", value); 1266 int value; local [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82575.c | 104 static void e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value); 341 * Added to a constant, "size" becomes the left-shift value 2033 * Configures the collision distance to the default value and is used 2223 * increase the value to either 10ms to 200ms for capability version 1 config, 2232 /* only take action if timeout value is defaulted to 0 */ 2247 * directly in order to set the completion timeout value for 2552 * e1000_rxpbs_adjust_82580 - adjust RXPBS value to reflect actual Rx PBA size 2556 * This function converts the retrieved value into the correct table value 2615 * value t 3219 e1000_write_vfta_i350(struct e1000_hw *hw, u32 offset, u32 value) argument [all...] |
H A D | e1000_api.c | 545 * e1000_write_vfta - Write value to VLAN filter table 547 * @offset: the 32-bit offset in which to write the value to. 548 * @value: the 32-bit value to write at location offset. 550 * This writes a 32-bit value to a 32-bit offset in the VLAN filter 553 void e1000_write_vfta(struct e1000_hw *hw, u32 offset, u32 value) argument 556 hw->mac.ops.write_vfta(hw, offset, value); 682 * @speed: pointer to a 16-bit value to store the speed 683 * @duplex: pointer to a 16-bit value to store the duplex. 717 * This restores the SW controllable LED to the value save [all...] |
H A D | e1000_hw.h | 950 u16 value; member in struct:e1000_shadow_ram 1040 s32 e1000_read_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value); 1041 s32 e1000_write_pcie_cap_reg(struct e1000_hw *hw, u32 reg, u16 *value); 1042 void e1000_read_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value); 1043 void e1000_write_pci_cfg(struct e1000_hw *hw, u32 reg, u16 *value);
|
H A D | e1000_ich8lan.c | 267 * e1000_toggle_lanphypc_pch_lpt - toggle the LANPHYPC pin value 270 * Toggling the LANPHYPC pin value fully power-cycles the PHY and is 695 dev_spec->shadow_ram[i].value = 0xFFFF; 837 * @data: pointer to value to read/write from/to the EMI address 867 * @data: value to be read from the EMI address 882 * @data: value to be written to the EMI address 1089 u32 value, scale; local 1091 /* Determine the latency in nsec based on the LTR value & scale */ 1092 value = ltr & E1000_LTRV_VALUE_MASK; 1095 return value * ( 1131 s64 value; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | zfsimpl.c | 1320 * Lookup a value in a microzap directory. Assumes that the zap 1324 mzap_lookup(const dnode_phys_t *dnode, const char *name, uint64_t *value) argument 1343 *value = mze->mze_value; 1382 * Extract a uint64_t value from a zap leaf entry. 1389 uint64_t value; local 1393 for (i = 0, value = 0, p = vc->l_array.la_array; i < 8; i++) { 1394 value = (value << 8) | p[i]; 1397 return value; 1401 * Lookup a value i 1405 fzap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, uint64_t *value) argument 1485 zap_lookup(const spa_t *spa, const dnode_phys_t *dnode, const char *name, uint64_t *value) argument 1563 uint64_t value; local 1651 mzap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument 1704 fzap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument 1752 zap_rlookup(const spa_t *spa, const dnode_phys_t *dnode, char *name, uint64_t value) argument 2051 check_feature(const char *name, uint64_t value) argument [all...] |
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | token.c | 213 /* case AUR_BYTE: has same value as AUR_CHAR */ 250 * Format of return32 value token: 251 * return value token id adr_char 253 * return value adr_u_int32 259 uint32_t value; local 262 adrm_u_int32(adr, &value, 1); 272 * Format of return64 value token: 273 * return value token id adr_char 275 * return value adr_u_int64 281 uint64_t value; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_io.c | 608 uintmax_t value; local 611 value = (uintmax_t)(uintptr_t)(*app)->a_un.a_str; 613 value = (*app)->a_un.a_val; 616 return (value); 774 u_longlong_t *value) 808 *value = i; /* Return value retrieved from va_list */ 966 * Note that we cast mult to a 32-bit value. We know 1077 iob_bits2str(mdb_iob_t *iob, u_longlong_t value, const mdb_bitmask_t *bmp, argument 1088 if ((value 773 iob_int2str(varglist_t *ap, intsize_t size, int base, uint_t flags, int *zero, u_longlong_t *value) argument [all...] |
/illumos-gate/usr/src/cmd/praudit/ |
H A D | token.c | 820 * argument value adr_int32 847 * argument value adr_int64 1004 * return_value32_token(): Process return value and display contents 1007 * NOTE: At the time of call, the return value token id has been retrieved 1009 * Format of return value token: 1010 * return value token id adr_char 1012 * return value adr_int32 1020 int32_t value; local 1036 * The kernel always puts a positive value in "number". 1038 * Upon failure "number" is a positive errno value tha [all...] |
/illumos-gate/usr/src/cmd/ptools/psecflags/ |
H A D | psecflags.c | 87 getid(idtype_t type, char *value) argument 96 if ((pwd = getpwnam(value)) != NULL) 100 if ((grp = getgrnam(value)) != NULL) 104 if ((ret = getprojidbyname(value)) != (id_t)-1) 108 if (zone_get_id(value, &ret) == 0) 117 ret = (id_t)strtoul(value, &endp, 10);
|