/freebsd/sys/dev/ath/ |
H A D | if_ath_beacon.c | 934 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 D | beacon.c | 146 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 D | mt7603.h | 206 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_crypt.c | 2004 uint64_t intval, nlevels, blksz, ibs; in dsl_crypto_recv_raw_objset_check() local 2011 ret = nvlist_lookup_uint64(nvl, "mdn_compress", &intval); in dsl_crypto_recv_raw_objset_check() 2012 if (ret != 0 || intval >= ZIO_COMPRESS_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check() 2015 ret = nvlist_lookup_uint64(nvl, "mdn_checksum", &intval); in dsl_crypto_recv_raw_objset_check() 2016 if (ret != 0 || intval >= ZIO_CHECKSUM_LEGACY_FUNCTIONS) in dsl_crypto_recv_raw_objset_check() 2074 intval = 0; in dsl_crypto_recv_raw_objset_check() 2076 (void) nvlist_lookup_uint64(nvl, "from_ivset_guid", &intval); in dsl_crypto_recv_raw_objset_check() 2081 if (intval == 0 || from_ivset_guid == 0) in dsl_crypto_recv_raw_objset_check() 2084 if (intval != from_ivset_guid) in dsl_crypto_recv_raw_objset_check() 2173 uint64_t intval, key_guid, version; in dsl_crypto_recv_raw_key_check() local [all …]
|
H A D | vdev.c | 5818 uint64_t intval, zprop_source_t src) in vdev_prop_add_list() argument 5828 fnvlist_add_uint64(propval, ZPROP_VALUE, intval); in vdev_prop_add_list() 5870 uint64_t intval; in vdev_props_set_sync() local 5909 intval = fnvpair_value_uint64(elem); in vdev_props_set_sync() 5914 prop, intval, &unused)); in vdev_props_set_sync() 5917 sizeof (uint64_t), 1, &intval, tx)); in vdev_props_set_sync() 5921 nvpair_name(elem), (longlong_t)intval); in vdev_props_set_sync() 5964 uint64_t intval = 0; in vdev_prop_set() local 5996 if (nvpair_value_uint64(elem, &intval) != 0) { in vdev_prop_set() 6000 if (intval != vd->vdev_noalloc) in vdev_prop_set() [all …]
|
H A D | dsl_prop.c | 727 uint64_t zapobj, intval, dummy, count; in dsl_prop_set_sync_impl() local 738 isint = (dodefault(zfs_name_to_prop(propname), 8, 1, &intval) == 0); in dsl_prop_set_sync_impl() 859 VERIFY0(dsl_prop_get_int_ds(ds, propname, &intval)); in dsl_prop_set_sync_impl() 873 cbr->cbr_func(cbr->cbr_arg, intval); in dsl_prop_set_sync_impl() 878 ds->ds_dir->dd_object, propname, intval, TRUE); in dsl_prop_set_sync_impl() 882 "%lld", (longlong_t)intval); in dsl_prop_set_sync_impl() 1008 uint64_t intval = fnvpair_value_uint64(pair); in dsl_props_set_sync_impl() local 1010 source, sizeof (intval), 1, &intval, tx); in dsl_props_set_sync_impl()
|
H A D | zfs_ioctl.c | 2479 uint64_t intval = 0; in zfs_prop_set_special() local 2500 intval = fnvpair_value_uint64(pair); in zfs_prop_set_special() 2505 err = dsl_dir_set_quota(dsname, source, intval); in zfs_prop_set_special() 2508 err = dsl_dataset_set_refquota(dsname, source, intval); in zfs_prop_set_special() 2512 if (intval == UINT64_MAX) { in zfs_prop_set_special() 2536 err = dsl_dir_set_reservation(dsname, source, intval); in zfs_prop_set_special() 2539 err = dsl_dataset_set_refreservation(dsname, source, intval); in zfs_prop_set_special() 2542 err = dsl_dataset_set_compression(dsname, source, intval); in zfs_prop_set_special() 2551 err = zvol_set_volsize(dsname, intval); in zfs_prop_set_special() 2554 err = zvol_set_volthreading(dsname, intval); in zfs_prop_set_special() [all …]
|
H A D | spa.c | 323 uint64_t intval, zprop_source_t src) in spa_prop_add_list() argument 334 fnvlist_add_uint64(propval, ZPROP_VALUE, intval); in spa_prop_add_list() 345 uint64_t intval; in spa_prop_add() local 354 err = ddt_get_pool_dedup_cached(spa, &intval); in spa_prop_add() 362 spa_prop_add_list(outnvl, prop, NULL, intval, src); in spa_prop_add() 569 uint64_t intval = 0; in spa_prop_get() local 599 intval = za->za_first_integer; in spa_prop_get() 602 spa_prop_add_list(nv, prop, strval, intval, src); in spa_prop_get() 658 uint64_t intval; in spa_prop_validate() local 685 if (nvpair_value_uint64(elem, &intval) != 0) { in spa_prop_validate() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 1027 uint64_t intval; in zio_crypt_do_objset_hmacs() local 1037 intval = (le_bswap) ? osp->os_type : BSWAP_64(osp->os_type); in zio_crypt_do_objset_hmacs() 1038 crypto_mac_update(ctx, &intval, sizeof (uint64_t)); in zio_crypt_do_objset_hmacs() 1041 intval = osp->os_flags; in zio_crypt_do_objset_hmacs() 1043 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() 1044 intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK; in zio_crypt_do_objset_hmacs() 1046 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() 1048 crypto_mac_update(ctx, &intval, sizeof (uint64_t)); in zio_crypt_do_objset_hmacs() 1068 intval = osp->os_flags; in zio_crypt_do_objset_hmacs() 1070 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() [all …]
|
/freebsd/usr.bin/patch/ |
H A D | util.c | 299 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 D | libzfs_pool.c | 287 uint64_t intval; in zpool_get_prop() local 302 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop() 303 (void) snprintf(buf, len, "%llu", (u_longlong_t)intval); in zpool_get_prop() 348 intval = zpool_get_prop_int(zhp, prop, &src); in zpool_get_prop() 359 if (intval == 0) { in zpool_get_prop() 363 } else if (intval == UINT64_MAX) { in zpool_get_prop() 383 (u_longlong_t)intval); in zpool_get_prop() 385 (void) zfs_nicenum(intval, buf, len); in zpool_get_prop() 390 if (intval == 0) { in zpool_get_prop() 394 (u_longlong_t)intval); in zpool_get_prop() [all …]
|
H A D | libzfs_dataset.c | 1035 uint64_t intval; in zfs_valid_proplist() local 1131 intval = 0; in zfs_valid_proplist() 1133 strval, &intval) != 0) { in zfs_valid_proplist() 1140 (void) nvpair_value_uint64(elem, &intval); in zfs_valid_proplist() 1141 if (intval == 0) { in zfs_valid_proplist() 1169 valary[2] = intval; in zfs_valid_proplist() 1213 &strval, &intval, errbuf) != 0) in zfs_valid_proplist() 1227 if (intval < version) { in zfs_valid_proplist() 1251 if (intval < SPA_MINBLOCKSIZE || in zfs_valid_proplist() 1252 intval > maxb in zfs_valid_proplist() 2606 zcp_check(zfs_handle_t * zhp,zfs_prop_t prop,uint64_t intval,const char * strval) zcp_check() argument [all...] |
H A D | libzfs_crypto.c | 945 uint64_t intval; in proplist_has_encryption_props() local 949 zfs_prop_to_name(ZFS_PROP_ENCRYPTION), &intval); in proplist_has_encryption_props() 950 if (ret == 0 && intval != ZIO_CRYPT_OFF) in proplist_has_encryption_props() 959 zfs_prop_to_name(ZFS_PROP_KEYFORMAT), &intval); in proplist_has_encryption_props() 964 zfs_prop_to_name(ZFS_PROP_PBKDF2_ITERS), &intval); in proplist_has_encryption_props()
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zio_crypt.c | 1143 uint64_t intval; in zio_crypt_do_objset_hmacs() local 1164 intval = (le_bswap) ? osp->os_type : BSWAP_64(osp->os_type); in zio_crypt_do_objset_hmacs() 1166 cd.cd_raw.iov_base = (char *)&intval; in zio_crypt_do_objset_hmacs() 1176 intval = osp->os_flags; in zio_crypt_do_objset_hmacs() 1178 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() 1179 intval &= OBJSET_CRYPT_PORTABLE_FLAGS_MASK; in zio_crypt_do_objset_hmacs() 1181 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() 1184 cd.cd_raw.iov_base = (char *)&intval; in zio_crypt_do_objset_hmacs() 1220 intval = osp->os_flags; in zio_crypt_do_objset_hmacs() 1222 intval = BSWAP_64(intval); in zio_crypt_do_objset_hmacs() [all …]
|
/freebsd/sys/dev/wtap/wtap_hal/ |
H A D | hal.c | 222 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 D | kldstat.c | 62 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 D | call.c | 49 syscall_num = stat.data.intval; in main()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | wnm_sta.h | 58 u8 action, u16 intval, struct wpabuf *tfs_req);
|
H A D | wnm_sta.c | 57 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/sbin/sysctl/ |
H A D | sysctl.c | 256 int intval; in parse_numeric() local 270 intval = strIKtoi(newvalstr, &endptr, fmt); in parse_numeric() 272 intval = (int)strtol(newvalstr, &endptr, 0); in parse_numeric() 273 newval = &intval; in parse_numeric() 274 valsize = sizeof(intval); in parse_numeric()
|
/freebsd/sys/arm64/nvidia/tegra210/ |
H A D | max77620_regulators.c | 549 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 D | manifest_parser.y | 92 int intval; member
|
/freebsd/sys/sys/ |
H A D | module.h | 67 int intval; member
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wnm_ap.c | 64 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 D | kern_syscalls.c | 199 ms.intval = *data->offset; in kern_syscall_module_handler()
|