Home
last modified time | relevance | path

Searched refs:kstrtoull (Results 1 – 25 of 59) sorted by relevance

123

/linux/lib/
H A Dkstrtox.c117 * kstrtoull - convert a string to an unsigned long long
132 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() function
138 EXPORT_SYMBOL(kstrtoull);
169 rv = kstrtoull(s, base, &tmp); in kstrtoll()
186 rv = kstrtoull(s, base, &tmp); in _kstrtoul()
233 rv = kstrtoull(s, base, &tmp); in kstrtouint()
280 rv = kstrtoull(s, base, &tmp); in kstrtou16()
312 rv = kstrtoull(s, base, &tmp); in kstrtou8()
426 kstrto_from_user(kstrtoull_from_user, kstrtoull, unsigned long long);
H A Dtest-kstrtox.c152 TEST_OK(kstrtoull, unsigned long long, "%llu", test_ull_ok); in test_kstrtoull_ok()
234 TEST_FAIL(kstrtoull, unsigned long long, "%llu", test_ull_fail); in test_kstrtoull_fail()
H A Dparser.c178 ret = kstrtoull(buf, base, &val); in match_u64int()
/linux/arch/x86/boot/
H A Dstring.c323 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() function
335 rv = kstrtoull(s, base, &tmp); in _kstrtoul()
367 return kstrtoull(s, base, (unsigned long long *)res); in boot_kstrtoul()
/linux/drivers/gpu/drm/i915/gt/
H A Dsysfs_engines.c166 err = kstrtoull(buf, 0, &duration); in max_spin_store()
217 err = kstrtoull(buf, 0, &duration); in timeslice_store()
272 err = kstrtoull(buf, 0, &duration); in stop_store()
323 err = kstrtoull(buf, 0, &timeout); in preempt_timeout_store()
381 err = kstrtoull(buf, 0, &delay); in heartbeat_store()
/linux/drivers/md/
H A Ddm-init.c136 if (kstrtoull(field[0], 0, &sp->sector_start)) in dm_parse_table_entry()
139 if (kstrtoull(field[1], 0, &sp->length)) in dm_parse_table_entry()
215 if (kstrtoull(field[2], 0, &dev->dmi.dev) || in dm_parse_device_entry()
H A Ddm-switch.c218 if (kstrtoull(dm_shift_arg(as), 10, &start) || start != (sector_t)start) { in parse_path()
/linux/kernel/
H A Dwatchdog_perf.c299 if (kstrtoull(str, 16, &config)) in hardlockup_config_perf_event()
308 if (kstrtoull(buf, 16, &config)) in hardlockup_config_perf_event()
/linux/drivers/base/
H A Dmemory.c570 ret = kstrtoull(buf, 0, &phys_addr); in probe_store()
612 if (kstrtoull(buf, 0, &pfn) < 0) in soft_offline_page_store()
628 if (kstrtoull(buf, 0, &pfn) < 0) in hard_offline_page_store()
/linux/drivers/s390/scsi/
H A Dzfcp_aux.c108 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
112 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
H A Dzfcp_sysfs.c310 if (kstrtoull(buf, 0, (unsigned long long *) &wwpn)) in zfcp_sysfs_port_remove_store()
448 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_add_store()
468 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_remove_store()
/linux/drivers/misc/
H A Dds1682.c110 rc = kstrtoull(buf, 0, &val); in ds1682_store()
/linux/arch/um/kernel/
H A Dtime.c678 if (kstrtoull(buf, 0, &id)) { in time_travel_connect_external()
1038 err = kstrtoull(str, 0, &time_travel_start); in setup_time_travel_start()
/linux/drivers/powercap/
H A Dpowercap_sys.c46 err = kstrtoull(buf, 10, &value); \
101 err = kstrtoull(buf, 10, &value); \
/linux/drivers/xen/
H A Dpcpu.c119 if (kstrtoull(buf, 0, &val) < 0) in online_store()
/linux/kernel/trace/
H A Dtrace_events_inject.c97 ret = kstrtoull(num, 0, &val); in parse_field()
/linux/drivers/dax/
H A Dbus.c1102 rc = kstrtoull(buf, 0, &val); in size_store()
1150 rc = kstrtoull(start, 16, &addr); in range_parse()
1155 rc = kstrtoull(end, 16, &addr); in range_parse()
/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c297 ret = kstrtoull(buf + 4, 0, &mapped_lun); in target_fabric_make_mappedlun()
756 errno = kstrtoull(name + 4, 0, &unpacked_lun); in target_fabric_make_lun()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.c299 err = kstrtoull(page, 0, &value); in cscfg_param_value_store()
/linux/mm/
H A Dbacking-dev.c381 ret = kstrtoull(buf, 10, &bytes); in min_bytes_store()
409 ret = kstrtoull(buf, 10, &bytes); in max_bytes_store()
/linux/drivers/virt/acrn/
H A Dhsm.c441 if (kstrtoull(buf, 0, &cpu) < 0) in remove_cpu_store()
/linux/drivers/iio/frequency/
H A Dadf4371.c393 ret = kstrtoull(buf, 10, &freq); in adf4371_write()
/linux/arch/powerpc/kernel/
H A Drtas-proc.c271 return kstrtoull(buf, 10, val); in parse_number()
/linux/drivers/scsi/
H A Dscsi_devinfo.c371 int ret = kstrtoull(strflags, 0, &val); in scsi_dev_info_list_add_keyed()
/linux/drivers/block/null_blk/
H A Dzoned.c795 ret = kstrtoull(page, 0, &sector); in zone_cond_store()

123