kstrtou16
if (kstrtou16(str + 5, 0, &val) == 0)
err = kstrtou16(buf, 0, &creds);
ret = kstrtou16(buf, 10, &do_reset);
ret = kstrtou16(buf, 0, &quality);
ret = kstrtou16(val, 10, &n);
if (kstrtou16(tok, 16, &val) == 0 && val == device_id) {
ret = kstrtou16(tkn, 10, &user_bvnc_u16[idx]);
if (kstrtou16(tok, 16, &val) == 0 && val == device_id) {
ret = kstrtou16(buf, 10, &intf_id);
__le16, u16, kstrtou16)
if (kstrtou16(buf, 10, &val))
ret = kstrtou16(buf, 0, &ppm);
ret = kstrtou16(buf, 0, &val);
ret = kstrtou16(buf, 0, &arg);
ret = kstrtou16(buf, 10, &sym);
ret = kstrtou16(buf, 10, &val);
ret = kstrtou16(buf, 10, &val);
if (kstrtou16(buf, 0, &value))
ret = kstrtou16(buf, 10, &data);
ret = kstrtou16(page, 0, &val);
} else if (!kstrtou16(buf, 10, &sleep_time)) {
if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) {
if (kstrtou16(ts->id, 10, &ts->input_dev->id.product))
if (kstrtou16(ts->id, 10, &input->id.product))
if (kstrtou16(page, 10, &new))
res = kstrtou16(buf, 0, &value);
ret = kstrtou16(page, 0, &mdev_link->num_buffers);
ret = kstrtou16(page, 0, &mdev_link->buffer_size);
ret = kstrtou16(page, 0, &mdev_link->subbuffer_size);
ret = kstrtou16(page, 0, &mdev_link->packets_per_xact);
ret = kstrtou16(page, 0, &mdev_link->dbr_size);
ret = kstrtou16(num, 0, ch_num);
err = kstrtou16(buf, 16, &val);
return kstrtou16(strim(tok), base, val);
if (kstrtou16(cur, 10, &np->local_port))
if (kstrtou16(cur, 10, &np->remote_port))
ret = kstrtou16(buf, 10, &nt->np.local_port);
ret = kstrtou16(buf, 10, &nt->np.remote_port);
if (kstrtou16(token, 0, &val16))
if (kstrtou16(token, 0, &val16))
if (kstrtou16(buf, 0, &bgscan_int))
if (kstrtou16(buf, 0, &listen_interval))
if (kstrtou16(token, 0, &idle_period))
if (kstrtou16(token, 0, &ps_poll_num))
if (kstrtou16(token, 0, &dtim))
if (kstrtou16(token, 0, &tx_wakeup))
if (kstrtou16(token, 0, &num_tx))
ret = kstrtou16(buf, 0, &value);
ret = kstrtou16(buf, 0, &value);
ret = kstrtou16(buf, 0, &value);
if (kstrtou16(buf, 10, &op_id))
if (kstrtou16(buf, 0, &amsdu_len))
if (kstrtou16(buf, 0, &val))
if (kstrtou16(buf, 0, &band) || kstrtou16(sep + 1, 0, &val))
if (!field || kstrtou16(field, 16, &entry->vendor_id))
if (!field || kstrtou16(field, 16, &entry->dev_id))
if (kstrtou16(page, 0, &portid)) {
if (kstrtou16(page, 0, &vid))
if (kstrtou16(page, 0, &ssvid))
if (kstrtou16(name, 0, &portid))
if (kstrtou16(page, 0, &portid))
if (kstrtou16(page, 0, &val) < 0) \
if (kstrtou16(page, 0, &val) < 0)
if (kstrtou16(buf, 0, &num_vfs) < 0)
ret = kstrtou16(buf, 0, &angle);
return kstrtou16(uid + 2, 10, sock_ind);
ret = kstrtou16(buf, 0, &new_setting);
ret = kstrtou16(buf, 0, &new_setting);
rc = kstrtou16(name + 5, 0, &tpgt);
err = kstrtou16(strim(buf), 0, &iv->boardinfo.vendor);
err = kstrtou16(strim(buf), 0, &iv->boardinfo.type);
ret = kstrtou16(buf, 10, &data);
ret = kstrtou16(buf, 16, &data);
ret = kstrtou16(buf, 10, &val);
ret = kstrtou16(tpgt_str, 0, &tpgt);
if (kstrtou16(name + 5, 10, &tpgt))
ret = kstrtou16(page, 0, &val);
ret = kstrtou16(page, 0, &cmd_id);
ret = kstrtou16(buf, 10, &new_tw);
if (kstrtou16(field, 16, &vid))
if (kstrtou16(field, 16, &pid))
if (kstrtou16(buf, 0, &timeout))
ret = kstrtou16(page, 0, &bcdVersion);
ret = kstrtou16(page, 0, &val); \
ret = kstrtou16(name, 0, &num);
ret = kstrtou16(page, 0, &bcdDevice);
ret = kstrtou16(page, 0, &bcdUSB);
ret = kstrtou16(page, 0, &val);
ret = kstrtou16(page, 0, &segment_size);
ret = kstrtou16(page, 0, &num);
ret = kstrtou16(page, 0, &num);
if (kstrtou16(name + 5, 0, &tpgt))
ret = kstrtou16(buf, 0, &value);
ret = kstrtou16(buf, 0, &value);
ret = kstrtou16(buf, 0, &value);
if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET)
ret = kstrtou16(name + 5, 10, &tpgt);
ret = kstrtou16(argv[2], 10, &pref.prio);
rc = kstrtou16(buf, 0, &x);
int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
STANDARD_PARAM_DEF(ushort, unsigned short, "%hu", kstrtou16);
EXPORT_SYMBOL(kstrtou16);
kstrto_from_user(kstrtou16_from_user, kstrtou16, u16);
TEST_OK(kstrtou16, u16, "%hu", test_u16_ok);
TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail);
if (kstrtou16(port, 0, &port_num))
if (kstrtou16(buf, 0, &local->airtime_flags))
if (kstrtou16(buf, 0, &active_links) || !active_links)
rc = kstrtou16(token, 10, cv[sep_count]);
res = kstrtou16(args[0].from, 16, &key_enc_algo);
res = kstrtou16(args[0].from, 16, &wrap_flags);
else if (kstrtou16(field, 16, &vid))
else if (kstrtou16(field, 16, &pid))