Home
last modified time | relevance | path

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

12

/Linux-v4.19/lib/
Dkstrtox.c121 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() function
127 EXPORT_SYMBOL(kstrtoull);
158 rv = kstrtoull(s, base, &tmp); in kstrtoll()
175 rv = kstrtoull(s, base, &tmp); in _kstrtoul()
222 rv = kstrtoull(s, base, &tmp); in kstrtouint()
268 rv = kstrtoull(s, base, &tmp); in kstrtou16()
298 rv = kstrtoull(s, base, &tmp); in kstrtou8()
401 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.c177 ret = kstrtoull(buf, base, &val); in match_u64int()
/Linux-v4.19/drivers/base/
Dmemory.c515 ret = kstrtoull(buf, 0, &phys_addr); in memory_probe_store()
552 if (kstrtoull(buf, 0, &pfn) < 0) in store_soft_offline_page()
571 if (kstrtoull(buf, 0, &pfn) < 0) in store_hard_offline_page()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c42 if (!sram_offset || (kstrtoull(sram_offset, 0, &addr) < 0)) in get_cache_sram_params()
/Linux-v4.19/drivers/s390/scsi/
Dzfcp_sysfs.c251 if (kstrtoull(buf, 0, (unsigned long long *) &wwpn)) in zfcp_sysfs_port_remove_store()
312 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_add_store()
330 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_remove_store()
Dzfcp_aux.c107 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
111 if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) in zfcp_init_device_setup()
/Linux-v4.19/include/linux/
Dkernel.h347 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
374 return kstrtoull(s, base, (unsigned long long *)res); in kstrtoul()
413 return kstrtoull(s, base, res); in kstrtou64()
/Linux-v4.19/drivers/misc/
Dds1682.c112 rc = kstrtoull(buf, 0, &val); in ds1682_store()
/Linux-v4.19/drivers/xen/
Dpcpu.c115 if (kstrtoull(buf, 0, &val) < 0) in store_online()
/Linux-v4.19/drivers/powercap/
Dpowercap_sys.c57 err = kstrtoull(buf, 10, &value); \
112 err = kstrtoull(buf, 10, &value); \
/Linux-v4.19/drivers/target/
Dtarget_core_fabric_configfs.c304 ret = kstrtoull(buf + 4, 0, &mapped_lun); in target_fabric_make_mappedlun()
763 errno = kstrtoull(name + 4, 0, &unpacked_lun); in target_fabric_make_lun()
Dtarget_core_file.c763 ret = kstrtoull(arg_p, 0, &fd_dev->fd_dev_size); in fd_set_configfs_dev_params()
/Linux-v4.19/fs/ext4/
Dsysfs.c104 ret = kstrtoull(skip_spaces(buf), 0, &val); in reserved_clusters_store()
/Linux-v4.19/drivers/md/
Ddm-switch.c218 if (kstrtoull(dm_shift_arg(as), 10, &start) || start != (sector_t)start) { in parse_path()
Dmd.c3023 if (kstrtoull(buf, 10, &offset) < 0) in offset_store()
3051 if (kstrtoull(buf, 10, &new_offset) < 0) in new_offset_store()
3118 if (kstrtoull(buf, 10, &blocks) < 0) in strict_blocks_to_sectors()
3226 else if (kstrtoull(buf, 10, &recovery_start)) in recovery_start_store()
3292 if (kstrtoull(buf, 10, &sector) < 0) in ppl_sector_store()
4037 err = kstrtoull(buf, 10, &n); in resync_start_store()
4783 if (kstrtoull(buf, 10, &min)) in min_sync_store()
4828 if (kstrtoull(buf, 10, &max)) in max_sync_store()
4872 err = kstrtoull(buf, 10, &new); in suspend_lo_store()
4909 err = kstrtoull(buf, 10, &new); in suspend_hi_store()
[all …]
Ddm-thin.c3272 if (kstrtoull(argv[3], 10, (unsigned long long *)&low_water_blocks)) { in pool_ctr()
3607 if (!kstrtoull(arg, 10, (unsigned long long *)dev_id) && in read_dev_id()
3697 if (kstrtoull(argv[1], 10, (unsigned long long *)&old_id)) { in process_set_transaction_id_mesg()
3702 if (kstrtoull(argv[2], 10, (unsigned long long *)&new_id)) { in process_set_transaction_id_mesg()
/Linux-v4.19/drivers/scsi/
Dscsi_devinfo.c367 int ret = kstrtoull(strflags, 0, &val); in scsi_dev_info_list_add_keyed()
/Linux-v4.19/drivers/iio/frequency/
Dadf4350.c255 ret = kstrtoull(buf, 10, &readin); in adf4350_write()
/Linux-v4.19/drivers/cpuidle/
Dsysfs.c267 err = kstrtoull(buf, 0, &value); \
/Linux-v4.19/kernel/power/
Dhibernate.c1086 rc = kstrtoull(buf, 0, &offset); in resume_offset_store()
/Linux-v4.19/kernel/trace/
Dblktrace.c1808 if (kstrtoull(buf, 0, &value)) { in sysfs_blk_trace_attr_store()
1815 } else if (kstrtoull(buf, 0, &value)) in sysfs_blk_trace_attr_store()
/Linux-v4.19/block/
Dkyber-iosched.c809 ret = kstrtoull(page, 10, &nsec); \
/Linux-v4.19/kernel/
Dparams.c246 STANDARD_PARAM_DEF(ullong, unsigned long long, "%llu", kstrtoull);
/Linux-v4.19/drivers/block/
Dnull_blk_main.c365 ret = kstrtoull(buf + 1, 0, &start); in nullb_device_badblocks_store()
368 ret = kstrtoull(tmp + 1, 0, &end); in nullb_device_badblocks_store()

12