Home
last modified time | relevance | path

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

123

/linux-6.12.1/lib/
Dkstrtox.c132 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()
422 kstrto_from_user(kstrtoull_from_user, kstrtoull, unsigned long long);
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()
Dparser.c178 ret = kstrtoull(buf, base, &val); in match_u64int()
/linux-6.12.1/include/linux/
Dkstrtox.h12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
38 return kstrtoull(s, base, (unsigned long long *)res); in kstrtoul()
76 return kstrtoull(s, base, res); in kstrtou64()
/linux-6.12.1/arch/x86/boot/
Dstring.c331 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() function
343 rv = kstrtoull(s, base, &tmp); in _kstrtoul()
375 return kstrtoull(s, base, (unsigned long long *)res); in boot_kstrtoul()
Dstring.h32 int kstrtoull(const char *s, unsigned int base, unsigned long long *res);
/linux-6.12.1/drivers/md/
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()
Ddm-switch.c218 if (kstrtoull(dm_shift_arg(as), 10, &start) || start != (sector_t)start) { in parse_path()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c165 err = kstrtoull(buf, 0, &duration); in max_spin_store()
216 err = kstrtoull(buf, 0, &duration); in timeslice_store()
271 err = kstrtoull(buf, 0, &duration); in stop_store()
322 err = kstrtoull(buf, 0, &timeout); in preempt_timeout_store()
380 err = kstrtoull(buf, 0, &delay); in heartbeat_store()
/linux-6.12.1/kernel/
Dwatchdog_perf.c292 if (kstrtoull(str, 16, &config)) in hardlockup_config_perf_event()
303 if (kstrtoull(buf, 16, &config)) in hardlockup_config_perf_event()
/linux-6.12.1/drivers/s390/scsi/
Dzfcp_aux.c109 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
113 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
Dzfcp_sysfs.c311 if (kstrtoull(buf, 0, (unsigned long long *) &wwpn)) in zfcp_sysfs_port_remove_store()
450 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-6.12.1/drivers/base/
Dmemory.c557 ret = kstrtoull(buf, 0, &phys_addr); in probe_store()
599 if (kstrtoull(buf, 0, &pfn) < 0) in soft_offline_page_store()
615 if (kstrtoull(buf, 0, &pfn) < 0) in hard_offline_page_store()
/linux-6.12.1/drivers/misc/
Dds1682.c110 rc = kstrtoull(buf, 0, &val); in ds1682_store()
/linux-6.12.1/arch/um/kernel/
Dtime.c657 if (kstrtoull(buf, 0, &id)) { in time_travel_connect_external()
989 err = kstrtoull(str, 0, &time_travel_start); in setup_time_travel_start()
/linux-6.12.1/drivers/powercap/
Dpowercap_sys.c46 err = kstrtoull(buf, 10, &value); \
101 err = kstrtoull(buf, 10, &value); \
/linux-6.12.1/drivers/xen/
Dpcpu.c119 if (kstrtoull(buf, 0, &val) < 0) in online_store()
/linux-6.12.1/kernel/trace/
Dtrace_events_inject.c97 ret = kstrtoull(num, 0, &val); in parse_field()
/linux-6.12.1/fs/
Dfs_parser.c247 if (kstrtoull(param->string, 0, &result->uint_64) < 0) in fs_param_is_u64()
/linux-6.12.1/drivers/dax/
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-6.12.1/mm/
Dbacking-dev.c381 ret = kstrtoull(buf, 10, &bytes); in min_bytes_store()
409 ret = kstrtoull(buf, 10, &bytes); in max_bytes_store()
/linux-6.12.1/drivers/target/
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-6.12.1/drivers/hwtracing/coresight/
Dcoresight-syscfg-configfs.c299 err = kstrtoull(page, 0, &value); in cscfg_param_value_store()
/linux-6.12.1/drivers/virt/acrn/
Dhsm.c441 if (kstrtoull(buf, 0, &cpu) < 0) in remove_cpu_store()
/linux-6.12.1/drivers/block/zram/
Dzram_drv.c330 if (IS_ENABLED(CONFIG_ZRAM_TRACK_ENTRY_ACTIME) && !kstrtoull(buf, 0, &age_sec)) in idle_store()
362 if (kstrtoull(buf, 10, &val)) in writeback_limit_enable_store()
397 if (kstrtoull(buf, 10, &val)) in writeback_limit_store()
1840 ret = kstrtoull(val, 10, &num_recomp_pages); in recompress_store()

123