Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/ath/
H A Dif_ath_beacon.c934 u_int32_t nexttbtt, intval, tsftu; in ath_beacon_config() local
997 intval = ni->ni_intval & HAL_BEACON_PERIOD; in ath_beacon_config()
999 intval /= ATH_BCBUF; in ath_beacon_config()
1002 intval = ni->ni_intval & HAL_BEACON_PERIOD; in ath_beacon_config()
1021 nexttbtt = intval; in ath_beacon_config()
1023 nexttbtt = roundup(nexttbtt, intval); in ath_beacon_config()
1077 remainder = (nexttbtt - tsftu) % intval; in ath_beacon_config()
1080 countdiff = (oldtbtt - nexttbtt) / intval % dtimperiod; in ath_beacon_config()
1090 remainder = (tsftu - nexttbtt) % intval; in ath_beacon_config()
1091 nexttbtt = tsftu - remainder + intval; in ath_beacon_config()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dbeacon.c146 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer() argument
151 if (intval) in mt7603_beacon_set_timer()
157 if (!dev->mt76.beacon_mask || (!intval && idx < 0)) { in mt7603_beacon_set_timer()
164 if (intval) in mt7603_beacon_set_timer()
165 dev->mt76.beacon_int = intval; in mt7603_beacon_set_timer()
167 FIELD_PREP(MT_TBTT_PERIOD, intval) | MT_TBTT_CAL_ENABLE); in mt7603_beacon_set_timer()
H A Dmt7603.h206 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c2005 uint64_t intval, nlevels, blksz, ibs; in dsl_crypto_recv_raw_objset_check() local
2012 ret = nvlist_lookup_uint64(nvl, "mdn_compress", &intval); in dsl_crypto_recv_raw_objset_check()
2013 if (ret != 0 || intval >= ZIO_COMPRESS_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check()
2016 ret = nvlist_lookup_uint64(nvl, "mdn_checksum", &intval); in dsl_crypto_recv_raw_objset_check()
2017 if (ret != 0 || intval >= ZIO_CHECKSUM_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check()
2075 intval = 0; in dsl_crypto_recv_raw_objset_check()
2077 (void) nvlist_lookup_uint64(nvl, "from_ivset_guid", &intval); in dsl_crypto_recv_raw_objset_check()
2082 if (intval == 0 || from_ivset_guid == 0) in dsl_crypto_recv_raw_objset_check()
2085 if (intval != from_ivset_guid) in dsl_crypto_recv_raw_objset_check()
2174 uint64_t intval, key_guid, version; in dsl_crypto_recv_raw_key_check() local
[all …]
H A Dvdev.c5822 uint64_t intval, zprop_source_t src) in vdev_prop_add_list() argument
5832 fnvlist_add_uint64(propval, ZPROP_VALUE, intval); in vdev_prop_add_list()
5874 uint64_t intval; in vdev_props_set_sync() local
5913 intval = fnvpair_value_uint64(elem); in vdev_props_set_sync()
5918 prop, intval, &unused)); in vdev_props_set_sync()
5921 sizeof (uint64_t), 1, &intval, tx)); in vdev_props_set_sync()
5925 nvpair_name(elem), (longlong_t)intval); in vdev_props_set_sync()
5968 uint64_t intval = 0; in vdev_prop_set() local
6000 if (nvpair_value_uint64(elem, &intval) != 0) { in vdev_prop_set()
6004 if (intval != vd->vdev_noalloc) in vdev_prop_set()
[all …]
H A Ddsl_prop.c728 uint64_t zapobj, intval, dummy, count; in dsl_prop_set_sync_impl() local
739 isint = (dodefault(zfs_name_to_prop(propname), 8, 1, &intval) == 0); in dsl_prop_set_sync_impl()
860 VERIFY0(dsl_prop_get_int_ds(ds, propname, &intval)); in dsl_prop_set_sync_impl()
874 cbr->cbr_func(cbr->cbr_arg, intval); in dsl_prop_set_sync_impl()
879 ds->ds_dir->dd_object, propname, intval, TRUE); in dsl_prop_set_sync_impl()
883 "%lld", (longlong_t)intval); in dsl_prop_set_sync_impl()
1009 uint64_t intval = fnvpair_value_uint64(pair); in dsl_props_set_sync_impl() local
1011 source, sizeof (intval), 1, &intval, tx); in dsl_props_set_sync_impl()
H A Dzfs_ioctl.c2492 uint64_t intval = 0; in zfs_prop_set_special() local
2513 intval = fnvpair_value_uint64(pair); in zfs_prop_set_special()
2518 err = dsl_dir_set_quota(dsname, source, intval); in zfs_prop_set_special()
2521 err = dsl_dataset_set_refquota(dsname, source, intval); in zfs_prop_set_special()
2525 if (intval == UINT64_MAX) { in zfs_prop_set_special()
2549 err = dsl_dir_set_reservation(dsname, source, intval); in zfs_prop_set_special()
2552 err = dsl_dataset_set_refreservation(dsname, source, intval); in zfs_prop_set_special()
2555 err = dsl_dataset_set_compression(dsname, source, intval); in zfs_prop_set_special()
2564 err = zvol_set_volsize(dsname, intval); in zfs_prop_set_special()
2567 err = zvol_set_volthreading(dsname, intval); in zfs_prop_set_special()
[all …]
H A Dspa.c324 uint64_t intval, zprop_source_t src) in spa_prop_add_list() argument
335 fnvlist_add_uint64(propval, ZPROP_VALUE, intval); in spa_prop_add_list()
346 uint64_t intval; in spa_prop_add() local
355 err = ddt_get_pool_dedup_cached(spa, &intval); in spa_prop_add()
363 spa_prop_add_list(outnvl, prop, NULL, intval, src); in spa_prop_add()
571 uint64_t intval = 0; in spa_prop_get() local
601 intval = za->za_first_integer; in spa_prop_get()
604 spa_prop_add_list(nv, prop, strval, intval, src); in spa_prop_get()
660 uint64_t intval; in spa_prop_validate() local
687 if (nvpair_value_uint64(elem, &intval) != 0) { in spa_prop_validate()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c1028 uint64_t intval; in zio_crypt_do_objset_hmacs() local
1038 intval = (le_bswap) ? osp->os_type : BSWAP_64(osp->os_type); in zio_crypt_do_objset_hmacs()
1039 crypto_mac_update(ctx, &intval, sizeof (uint64_t)); in zio_crypt_do_objset_hmacs()
1042 intval = osp->os_flags; in zio_crypt_do_objset_hmacs()
1044 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1045 intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK; in zio_crypt_do_objset_hmacs()
1047 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1049 crypto_mac_update(ctx, &intval, sizeof (uint64_t)); in zio_crypt_do_objset_hmacs()
1069 intval = osp->os_flags; in zio_crypt_do_objset_hmacs()
1071 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
[all …]
/freebsd/usr.bin/patch/
H A Dutil.c299 static sig_t hupval, intval; in set_signals() local
305 intval = signal(SIGINT, SIG_IGN); in set_signals()
306 if (intval != SIG_IGN) in set_signals()
307 intval = my_exit; in set_signals()
310 signal(SIGINT, intval); in set_signals()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c288 uint64_t intval; in zpool_get_prop() local
303 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
304 (void) snprintf(buf, len, "%llu", (u_longlong_t)intval); in zpool_get_prop()
349 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop()
360 if (intval == 0) { in zpool_get_prop()
364 } else if (intval == UINT64_MAX) { in zpool_get_prop()
384 (u_longlong_t)intval); in zpool_get_prop()
386 (void) zfs_nicenum(intval, buf, len); in zpool_get_prop()
391 if (intval == 0) { in zpool_get_prop()
395 (u_longlong_t)intval); in zpool_get_prop()
[all …]
H A Dlibzfs_dataset.c1036 uint64_t intval; in zfs_valid_proplist() local
1132 intval = 0; in zfs_valid_proplist()
1134 strval, &intval) != 0) { in zfs_valid_proplist()
1141 (void) nvpair_value_uint64(elem, &intval); in zfs_valid_proplist()
1142 if (intval == 0) { in zfs_valid_proplist()
1170 valary[2] = intval; in zfs_valid_proplist()
1214 &strval, &intval, errbuf) != 0) in zfs_valid_proplist()
1228 if (intval < version) { in zfs_valid_proplist()
1252 if (intval < SPA_MINBLOCKSIZE || in zfs_valid_proplist()
1253 intval > maxbs || !ISP2(intval)) { in zfs_valid_proplist()
[all …]
H A Dlibzfs_crypto.c946 uint64_t intval; in proplist_has_encryption_props() local
950 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &intval); in proplist_has_encryption_props()
951 if (ret == 0 && intval != ZIO_CRYPT_OFF) in proplist_has_encryption_props()
960 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &intval); in proplist_has_encryption_props()
965 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &intval); in proplist_has_encryption_props()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
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()
1182 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
1185 cd.cd_raw.iov_base = (char *)&intval; in zio_crypt_do_objset_hmacs()
1221 intval = osp->os_flags; in zio_crypt_do_objset_hmacs()
1223 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs()
[all …]
/freebsd/sys/dev/wtap/wtap_hal/
H A Dhal.c222 uint32_t intval = hal->hw.timer_intr_intval; in wtap_hal_timer_intr() local
224 hal->hw.tsf += ticks_to_msecs(intval); in wtap_hal_timer_intr()
226 callout_schedule(&hal->hw.timer_intr, intval); in wtap_hal_timer_intr()
/freebsd/sbin/kldstat/
H A Dkldstat.c62 stat.name, stat.data.intval, stat.data.uintval, in printmod()
173 stat.data.intval, stat.data.uintval, in main()
/freebsd/share/examples/kld/syscall/test/
H A Dcall.c49 syscall_num = stat.data.intval; in main()
/freebsd/sbin/sysctl/
H A Dsysctl.c302 int intval; in parse_numeric() local
316 intval = strIKtoi(newvalstr, &endptr, fmt); in parse_numeric()
318 intval = (int)strtol(newvalstr, &endptr, 0); in parse_numeric()
319 newval = &intval; in parse_numeric()
320 valsize = sizeof(intval); in parse_numeric()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwnm_sta.h58 u8 action, u16 intval, struct wpabuf *tfs_req);
H A Dwnm_sta.c57 u8 action, u16 intval, struct wpabuf *tfs_req) in ieee802_11_send_wnmsleep_req() argument
83 wnmsleep_ie->intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_req()
195 "(action=%d, intval=%d)", action, intval); in ieee802_11_send_wnmsleep_req()
400 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
410 wnmsleep_ie->action_type, wnmsleep_ie->intval); in ieee802_11_rx_wnmsleep_resp()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dmax77620_regulators.c549 int intval, rv; in max77620_regnode_init() local
573 rv = max77620_get_pwr_ramp_delay(sc, &intval); in max77620_regnode_init()
579 sc->pwr_ramp_delay = intval; in max77620_regnode_init()
/freebsd/sbin/veriexec/
H A Dmanifest_parser.y92 int intval; member
/freebsd/sys/sys/
H A Dmodule.h67 int intval; member
/freebsd/contrib/wpa/src/ap/
H A Dwnm_ap.c64 u8 action_type, u16 intval) in ieee802_11_send_wnmsleep_resp() argument
95 wnmsleep_ie.intval = host_to_le16(intval); in ieee802_11_send_wnmsleep_resp()
372 le_to_host16(wnmsleep_ie->intval)); in ieee802_11_rx_wnmsleep_req()
/freebsd/sys/kern/
H A Dkern_syscalls.c199 ms.intval = *data->offset; in kern_syscall_module_handler()

12