Home
last modified time | relevance | path

Searched refs:intval (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/cmd/isns/isnsd/
H A Desi.c265 uint32_t intval = 0; in cb_esi_portal() local
287 intval = attr->value.ui; in cb_esi_portal()
289 intval = DEFAULT_ESI_INTVAL; in cb_esi_portal()
296 return ((int)intval); in cb_esi_portal()
314 uint32_t *intval in extract_esi_portal() argument
335 *intval = lc.data[2].ui; in extract_esi_portal()
352 if (*intval > intv) { in extract_esi_portal()
353 *intval = intv; in extract_esi_portal()
384 uint32_t intval; in ev_add() local
392 p = extract_esi_portal(ev->uid, &intval); in ev_add()
[all …]
H A Disns_esi.h64 uint32_t intval; member
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_beacon.c232 uint32_t nexttbtt = 0, intval, tsftu; in arn_beacon_config() local
248 intval = conf.beacon_interval & ATH9K_BEACON_PERIOD; in arn_beacon_config()
263 sleepduration = conf.listen_interval * intval; in arn_beacon_config()
265 sleepduration = intval; in arn_beacon_config()
274 nexttbtt += intval; in arn_beacon_config()
282 bs.bs_intval = intval; in arn_beacon_config()
284 bs.bs_dtimperiod = dtimperiod*intval; in arn_beacon_config()
285 bs.bs_nextdtim = bs.bs_nexttbtt + dtimcount*intval; in arn_beacon_config()
296 if (sleepduration > intval) { in arn_beacon_config()
300 bs.bs_bmissthreshold = DIV_ROUND_UP(conf.bmiss_timeout, intval); in arn_beacon_config()
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_console.c631 int intval; in bcons_init_fb() local
642 intval = atoi(propval); in bcons_init_fb()
643 if (intval >= 0 && intval <= 255) in bcons_init_fb()
644 fb_info.fg_color = intval; in bcons_init_fb()
650 intval = atoi(propval); in bcons_init_fb()
651 if (intval >= 0 && intval <= 255) in bcons_init_fb()
652 fb_info.bg_color = intval; in bcons_init_fb()
675 intval = atoi(propval); in bcons_init_fb()
676 if (intval >= 0 && intval <= 0xFFFF) in bcons_init_fb()
677 fb_info.cursor.pos.y = intval; in bcons_init_fb()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dgram.y49 int intval; member
55 %type <intval> OPTION options
296 yylval.intval = COMPARE; in yylex()
300 yylval.intval = REMOVE; in yylex()
304 yylval.intval = VERIFY; in yylex()
308 yylval.intval = WHOLE; in yylex()
312 yylval.intval = YOUNGER; in yylex()
316 yylval.intval = FOLLOW; in yylex()
320 yylval.intval = IGNLNKS; in yylex()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_crypt.c1962 uint64_t intval, nlevels, blksz, ibs; in dsl_crypto_recv_raw_objset_check() local
1969 ret = nvlist_lookup_uint64(nvl, "mdn_compress", &intval); in dsl_crypto_recv_raw_objset_check()
1970 if (ret != 0 || intval >= ZIO_COMPRESS_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check()
1973 ret = nvlist_lookup_uint64(nvl, "mdn_checksum", &intval); in dsl_crypto_recv_raw_objset_check()
1974 if (ret != 0 || intval >= ZIO_CHECKSUM_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check()
2039 intval = 0; in dsl_crypto_recv_raw_objset_check()
2041 (void) nvlist_lookup_uint64(nvl, "from_ivset_guid", &intval); in dsl_crypto_recv_raw_objset_check()
2046 if (intval == 0 || from_ivset_guid == 0) in dsl_crypto_recv_raw_objset_check()
2049 if (intval != from_ivset_guid) in dsl_crypto_recv_raw_objset_check()
2063 intval = 0; in dsl_crypto_recv_raw_objset_check()
[all …]
H A Dzio_crypt.c1144 uint64_t intval; in zio_crypt_do_objset_hmacs() local
1165 intval = (le_bswap) ? osp->os_type : BSWAP_64(osp->os_type); in zio_crypt_do_objset_hmacs()
1167 cd.cd_raw.iov_base = (char *)&intval; in zio_crypt_do_objset_hmacs()
1177 intval = osp->os_flags; in zio_crypt_do_objset_hmacs()
1179 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1180 intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK; in zio_crypt_do_objset_hmacs()
1183 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1186 cd.cd_raw.iov_base = (char *)&intval; in zio_crypt_do_objset_hmacs()
1238 intval = osp->os_flags; in zio_crypt_do_objset_hmacs()
1240 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
[all …]
H A Ddsl_prop.c615 uint64_t zapobj, intval, dummy; in dsl_prop_set_sync_impl() local
625 isint = (dodefault(zfs_name_to_prop(propname), 8, 1, &intval) == 0); in dsl_prop_set_sync_impl()
722 VERIFY0(dsl_prop_get_int_ds(ds, propname, &intval)); in dsl_prop_set_sync_impl()
736 cbr->cbr_func(cbr->cbr_arg, intval); in dsl_prop_set_sync_impl()
741 ds->ds_dir->dd_object, propname, intval, TRUE); in dsl_prop_set_sync_impl()
745 "%lld", (longlong_t)intval); in dsl_prop_set_sync_impl()
871 uint64_t intval = fnvpair_value_uint64(pair); in dsl_props_set_sync_impl() local
873 source, sizeof (intval), 1, &intval, tx); in dsl_props_set_sync_impl()
H A Dzfs_ioctl.c2515 uint64_t intval = 0; in zfs_prop_set_special() local
2536 intval = fnvpair_value_uint64(pair); in zfs_prop_set_special()
2541 err = dsl_dir_set_quota(dsname, source, intval); in zfs_prop_set_special()
2544 err = dsl_dataset_set_refquota(dsname, source, intval); in zfs_prop_set_special()
2548 if (intval == UINT64_MAX) { in zfs_prop_set_special()
2572 err = dsl_dir_set_reservation(dsname, source, intval); in zfs_prop_set_special()
2575 err = dsl_dataset_set_refreservation(dsname, source, intval); in zfs_prop_set_special()
2578 err = zvol_set_volsize(dsname, intval); in zfs_prop_set_special()
2587 err = zfs_set_version(zfsvfs, intval); in zfs_prop_set_special()
2590 if (err == 0 && intval >= ZPL_VERSION_USERSPACE) { in zfs_prop_set_special()
[all …]
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_symbol.c462 dsym_parse_intrange(const char *field, int *intval, int min, int max) in dsym_parse_intrange() argument
473 *intval = (int)longval; in dsym_parse_intrange()
735 int intval; in dsym_parse_field() local
748 ret = dsym_parse_intrange(fields[field_num], &intval, 0, in dsym_parse_field()
751 sym->ds_code = (ushort_t)intval; in dsym_parse_field()
762 ret = dsym_parse_intrange(fields[field_num], &intval, 0, in dsym_parse_field()
765 sym->ds_gran = (uchar_t)intval; in dsym_parse_field()
772 ret = dsym_parse_intrange(fields[field_num], &intval, 0, in dsym_parse_field()
775 sym->ds_max = (uchar_t)intval; in dsym_parse_field()
/illumos-gate/usr/src/lib/libadm/common/
H A Dckint.c88 ckint(long *intval, short base, char *defstr, char *error, char *help, in ckint() argument
110 *intval = strtol(defstr, NULL, (int)base); in ckint()
126 *intval = value; in ckint()
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c2095 uint64_t intval; in check_user() local
2096 intval = strtoull(value, NULL, 0); in check_user()
2097 if (intval > UID_MAX && intval != -1) in check_user()
2120 uint64_t intval; in check_group() local
2121 intval = strtoull(value, NULL, 0); in check_group()
2122 if (intval > UID_MAX && intval != -1) in check_group()
2439 int intval; member
2453 .defvalue.intval = 1024,
2465 .defvalue.intval = 32,
2477 .defvalue.intval = 256,
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_ib.c1800 int32_t intval = 0; in cfga_list_ext() local
1918 name, intval); in cfga_list_ext()
1922 (void) nvpair_value_int32(nvp, &intval); in cfga_list_ext()
1924 if (intval == AP_RSTATE_EMPTY) in cfga_list_ext()
1926 else if (intval == AP_RSTATE_DISCONNECTED) in cfga_list_ext()
1929 else if (intval == AP_RSTATE_CONNECTED) in cfga_list_ext()
1932 "rstate = %x\n", name, intval); in cfga_list_ext()
1936 (void) nvpair_value_int32(nvp, &intval); in cfga_list_ext()
1938 if (intval == AP_OSTATE_CONFIGURED) in cfga_list_ext()
1940 else if (intval == AP_OSTATE_UNCONFIGURED) in cfga_list_ext()
[all …]
/illumos-gate/usr/src/cmd/valtools/
H A Dckint.c107 long intval; in main() local
206 n = ckint(&intval, base, deflt, error, help, prompt); in main()
212 (void) printf("%ld", intval); in main()
H A Dckrange.c115 long lvalue, uvalue, intval; in main() local
251 n = ckrange(&intval, lvalue, uvalue, (short)base, in main()
258 (void) printf("%ld", intval); in main()
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c128 uint64_t intval; in enc_ctl_common() local
138 (void) nvpair_value_uint64(nvp, &intval); in enc_ctl_common()
147 tp->seci_power_cycle_delay = intval; in enc_ctl_common()
149 tp->seci_power_cycle_request = intval; in enc_ctl_common()
151 tp->seci_power_off_duration = intval; in enc_ctl_common()
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.c1446 int intval; in sosctp_ioctl() local
1517 intval = (so->so_state & SS_ACCEPTCONN) ? 0 : in sosctp_ioctl()
1519 if (so_copyout(&intval, (void *)arg, sizeof (intval), in sosctp_ioctl()
1527 intval = 0; in sosctp_ioctl()
1529 if (so_copyout(&intval, (void *)arg, sizeof (int), in sosctp_ioctl()
1569 intval = STRUCT_FGET(opt, sopt_aid); in sosctp_ioctl()
1571 if ((so->so_type == SOCK_SEQPACKET) && intval) { in sosctp_ioctl()
1572 if ((error = sosctp_assoc(ss, intval, &ssa)) != 0) { in sosctp_ioctl()
1637 intval = STRUCT_FGET(opt, sopt_aid); in sosctp_ioctl()
1639 if (intval != 0) { in sosctp_ioctl()
[all …]
H A Dsocksdp.c961 int error, intval; in sosdp_ioctl() local
1017 intval = 0; in sosdp_ioctl()
1020 &intval, cr); in sosdp_ioctl()
1021 if (so_copyout(&intval, (void *)arg, sizeof (int), in sosdp_ioctl()
1054 intval = 0; in sosdp_ioctl()
1057 intval = sdp_polldata( in sosdp_ioctl()
1062 if (so_copyout(&intval, (void *)arg, sizeof (intval), in sosdp_ioctl()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c256 uint64_t intval; in zpool_get_prop() local
274 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
275 (void) snprintf(buf, len, "%llu", intval); in zpool_get_prop()
310 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
321 (u_longlong_t)intval); in zpool_get_prop()
323 (void) zfs_nicenum(intval, buf, len); in zpool_get_prop()
329 if (intval == 0) { in zpool_get_prop()
333 (u_longlong_t)intval); in zpool_get_prop()
335 (void) zfs_nicebytes(intval, buf, len); in zpool_get_prop()
341 (u_longlong_t)intval); in zpool_get_prop()
[all …]
H A Dlibzfs_dataset.c964 uint64_t intval; in zfs_valid_proplist() local
1058 intval = 0; in zfs_valid_proplist()
1060 strval, &intval) != 0) { in zfs_valid_proplist()
1067 (void) nvpair_value_uint64(elem, &intval); in zfs_valid_proplist()
1068 if (intval == 0) { in zfs_valid_proplist()
1091 valary[2] = intval; in zfs_valid_proplist()
1132 &strval, &intval, errbuf) != 0) in zfs_valid_proplist()
1146 if (intval < version) { in zfs_valid_proplist()
1178 if (intval < SPA_MINBLOCKSIZE || in zfs_valid_proplist()
1179 intval > maxbs || !ISP2(intval)) { in zfs_valid_proplist()
[all …]
/illumos-gate/usr/src/lib/libshare/autofs/
H A Dlibshare_autofs.c115 int intval; member
170 proto_options[i].defvalue.intval); in add_defaults()
177 proto_options[i].defvalue.intval ? in add_defaults()
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c265 uint32_t intval; in it_nv_to_config() local
293 ret = nvlist_lookup_uint32(nvl, "cfgVersion", &intval); in it_nv_to_config()
299 tmpcfg->config_version = intval; in it_nv_to_config()
550 uint32_t intval; in it_nv_to_tgt() local
585 ret = it_nv_to_tpgtlist(listval, &intval, in it_nv_to_tgt()
587 ttgt->tgt_tpgt_count = intval; in it_nv_to_tgt()
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dscsi_engine.c155 int intval; in scsi_parse_mtbf() local
158 (intval = atoi(strval)) > 0) { in scsi_parse_mtbf()
160 *intp = intval; in scsi_parse_mtbf()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dplatsvc.c468 int intval) in ps_suspend_send_response() argument
514 delay(SEC2HZ(intval)); in ps_suspend_send_response()
519 delay(SEC2HZ(intval)); in ps_suspend_send_response()
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c254 int intval; in smp_parse_mtbf() local
257 (intval = atoi(strval)) > 0) { in smp_parse_mtbf()
259 *intp = intval; in smp_parse_mtbf()

123