Searched defs:intval (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/libadm/common/
H A Dckint.c89 ckint(long *intval, short base, char *defstr, char *error, char *help, argument
111 *intval = strtol(defstr, NULL, (int)base);
127 *intval = value;
/illumos-gate/usr/src/cmd/valtools/
H A Dckint.c110 long intval; local
209 n = ckint(&intval, base, deflt, error, help, prompt);
215 (void) printf("%ld", intval);
H A Dckrange.c118 long lvalue, uvalue, intval; local
254 n = ckrange(&intval, lvalue, uvalue, (short)base,
261 (void) printf("%ld", intval);
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_esi.h64 uint32_t intval; member in struct:ev
H A Desi.c265 uint32_t intval = 0; local
287 intval = attr->value.ui;
289 intval = DEFAULT_ESI_INTVAL;
296 return ((int)intval);
306 * intval - the ESI interval for returnning.
314 uint32_t *intval
335 *intval = lc.data[2].ui;
352 if (*intval > intv) {
353 *intval = intv;
384 uint32_t intval; local
[all...]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c128 uint64_t intval; local
138 (void) nvpair_value_uint64(nvp, &intval);
147 tp->seci_power_cycle_delay = intval;
149 tp->seci_power_cycle_request = intval;
151 tp->seci_power_off_duration = intval;
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_beacon.c232 uint32_t nexttbtt = 0, intval, tsftu; local
248 intval = conf.beacon_interval & ATH9K_BEACON_PERIOD;
263 sleepduration = conf.listen_interval * intval;
265 sleepduration = intval;
274 nexttbtt += intval;
282 bs.bs_intval = intval;
284 bs.bs_dtimperiod = dtimperiod*intval;
285 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval;
296 if (sleepduration > intval) {
300 bs.bs_bmissthreshold = DIV_ROUND_UP(conf.bmiss_timeout, intval);
[all...]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c464 dsym_parse_intrange(const char *field, int *intval, int min, int max) argument
475 *intval = (int)longval;
737 int intval; local
750 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
753 sym->ds_code = (ushort_t)intval;
764 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
767 sym->ds_gran = (uchar_t)intval;
774 ret = dsym_parse_intrange(fields[field_num], &intval, 0,
777 sym->ds_max = (uchar_t)intval;
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c462 * intval seconds between attempts to send the message. The timeout
463 * and intval arguments are in seconds.
468 int intval)
514 delay(SEC2HZ(intval));
519 delay(SEC2HZ(intval));
466 ps_suspend_send_response(ds_svc_hdl_t *ds_handle, uint64_t req_num, uint32_t result, uint32_t rec_result, char *reason, int timeout, int intval) argument
/illumos-gate/usr/src/boot/sys/sys/
H A Dmodule.h67 int intval; member in union:modspecific
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksdp.c961 int error, intval; local
1017 intval = 0;
1020 &intval, cr);
1021 if (so_copyout(&intval, (void *)arg, sizeof (int),
1054 intval = 0;
1057 intval = sdp_polldata(
1062 if (so_copyout(&intval, (void *)arg, sizeof (intval),
H A Dsocksctp.c1446 int intval; local
1517 intval = (so->so_state & SS_ACCEPTCONN) ? 0 :
1519 if (so_copyout(&intval, (void *)arg, sizeof (intval),
1527 intval = 0;
1529 if (so_copyout(&intval, (void *)arg, sizeof (int),
1569 intval = STRUCT_FGET(opt, sopt_aid);
1571 if ((so->so_type == SOCK_SEQPACKET) && intval) {
1572 if ((error = sosctp_assoc(ss, intval, &ssa)) != 0) {
1637 intval
[all...]
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c155 int intval; local
158 (intval = atoi(strval)) > 0) {
160 *intp = intval;
/illumos-gate/usr/src/lib/libshare/autofs/
H A Dlibshare_autofs.c115 int intval; member in union:proto_option_defs::__anon8
170 proto_options[i].defvalue.intval);
177 proto_options[i].defvalue.intval ?
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c254 int intval; local
257 (intval = atoi(strval)) > 0) {
259 *intp = intval;
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c265 uint32_t intval; local
293 ret = nvlist_lookup_uint32(nvl, "cfgVersion", &intval);
299 tmpcfg->config_version = intval;
550 uint32_t intval; local
585 ret = it_nv_to_tpgtlist(listval, &intval,
587 ttgt->tgt_tpgt_count = intval;
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c624 int intval; local
635 intval = atoi(propval);
636 if (intval >= 0 && intval <= 255)
637 fb_info.fg_color = intval;
643 intval = atoi(propval);
644 if (intval >= 0 && intval <= 255)
645 fb_info.bg_color = intval;
668 intval
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_prop.c615 uint64_t zapobj, intval, dummy; local
625 isint = (dodefault(zfs_name_to_prop(propname), 8, 1, &intval) == 0);
722 VERIFY0(dsl_prop_get_int_ds(ds, propname, &intval));
736 cbr->cbr_func(cbr->cbr_arg, intval);
741 ds->ds_dir->dd_object, propname, intval, TRUE);
745 "%lld", (longlong_t)intval);
877 uint64_t intval = fnvpair_value_uint64(pair); local
879 source, sizeof (intval), 1, &intval, tx);
H A Dzap_micro.c1130 const uint64_t *intval = val; local
1153 mzap_addent(zn, *intval);
1225 const uint64_t *intval = val; local
1263 MZE_PHYS(zap, mze)->mze_value = *intval;
1265 mzap_addent(zn, *intval);
H A Dzio_crypt.c1145 uint64_t intval; local
1166 intval = (le_bswap) ? osp->os_type : BSWAP_64(osp->os_type);
1168 cd.cd_raw.iov_base = (char *)&intval;
1178 intval = osp->os_flags;
1180 intval = BSWAP_64(intval);
1181 intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK;
1184 intval = BSWAP_64(intval);
1187 cd.cd_raw.iov_base = (char *)&intval;
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c1800 int32_t intval = 0; local
1918 name, intval);
1922 (void) nvpair_value_int32(nvp, &intval);
1924 if (intval == AP_RSTATE_EMPTY)
1926 else if (intval == AP_RSTATE_DISCONNECTED)
1929 else if (intval == AP_RSTATE_CONNECTED)
1932 "rstate = %x\n", name, intval);
1936 (void) nvpair_value_int32(nvp, &intval);
1938 if (intval == AP_OSTATE_CONFIGURED)
1940 else if (intval
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c406 int32_t intval; local
429 intval = strtol(val, &endptr, 0);
432 (void) memcpy(outbuf, &intval, size);
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c658 uint64_t intval; local
662 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &intval);
663 if (ret == 0 && intval != ZIO_CRYPT_OFF)
672 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &intval);
677 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &intval);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1354 uint64_t *intval = val; local
1390 *intval = BSWAP_64(*(uint64_t *)nvp);
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c2355 uint64_t intval; local
2356 intval = strtoull(value, NULL, 0);
2357 if (intval > UID_MAX && intval != -1)
2359 *uid = (uid_t)intval;
2380 uint64_t intval; local
2381 intval = strtoull(value, NULL, 0);
2382 if (intval > UID_MAX && intval != -1)
2384 *gid = (gid_t)intval;
[all...]

Completed in 404 milliseconds

12