Defined in 1 files as a prototype:

Referenced in 19 files:

Smatch caller information:

fs/smb/client/cifs_debug.c cifs_debug_dirs_proc_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 7909946282672545792
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c rdma_readwrite_threshold_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 1468446754353180672
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_keep_alive_interval_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 7944999091357020160
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_max_fragmented_recv_size_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 9174992051643424768
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_max_frmr_depth_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 8301933308219162624
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_max_receive_size_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 854877905896013824
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_max_send_size_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 3351093526937354240
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_receive_credit_max_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 7063467161355956224
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

fs/smb/client/cifs_debug.c smbd_send_credit_target_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 5885250750158028800
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

arch/x86/mm/tlb.c tlbflush_write_file() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 2512241405134180352
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/nouveau/dispnv50/crc.c nv50_crc_debugfs_flip_threshold_set() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 9147709010166677504
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/iommu/intel/debugfs.c dmar_perf_latency_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 7634860973667901440
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/hwmon/mr75203.c kstrtos32_from_user() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 4096-ptr_max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 count $1
DATA_SOURCE 2 base $2
DATA_SOURCE 3 res $3
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/netdevsim/hwstats.c nsim_dev_hwstats_do_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 6676430214508871680
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/i915/gt/uc/intel_guc_log_debugfs.c guc_log_relay_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 1159003168283885568
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/wil6210/debugfs.c wil_compressed_rx_status_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 6268639429198348288
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
RX_PATH
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/wil6210/debugfs.c wil_link_stats_global_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 5260023752475271168
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/wil6210/debugfs.c wil_tx_latency_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 1947692027118505984
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/wil6210/debugfs.c wil_write_file_led_cfg() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 8358315347703099392
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/wil6210/debugfs.c wil_write_file_rbufcap() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 5044482074561925120
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/ntb/test/ntb_perf.c perf_dbgfs_write_run() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 5967769649308172288
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/iommu/amd/debugfs.c kstrtos32_from_user() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-8
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 3643780780257251328,9074927513594273792
PARAM_VALUE 3 *res (-1)
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 count $1
DATA_SOURCE 2 base $2
DATA_SOURCE 3 res $3
FUZZY_MAX 1 count 8
HARD_MAX 1 count 8
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-8

drivers/gpu/drm/i915/display/intel_display_debugfs.c i915_dsc_bpc_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 977626122651037696
PARAM_VALUE 3 *res 0
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/i915/display/intel_display_debugfs.c i915_dsc_output_format_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 3679853336530485248
PARAM_VALUE 3 *res 0
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/i915/display/intel_display_debugfs.c i915_joiner_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 1-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 4306190971536474112
PARAM_VALUE 3 *res 0
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 1-1000000000

kernel/power/qos.c kstrtos32_from_user() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-3,5-1000000000,2147479552
PARAM_VALUE 2 base 16
PARAM_VALUE 3 res 1352902747147915264,7596070168181428224
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 count $1
DATA_SOURCE 2 base $2
DATA_SOURCE 3 res $3
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-3,5-1000000000
UNITS 1 count unit_byte

drivers/net/wireless/ath/ath10k/debug.c ath10k_sta_tid_stats_mask_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 4834178797170122752
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpio/gpio-mockup.c gpio_mockup_debugfs_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 4861521955352776704
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/i915/i915_debugfs_params.c i915_param_int_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
BUF_SIZE 3 res s32min-(-2),1-s32max
BUF_SIZE 3 res s32min-(-2),1-s32max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000
UNITS 3 res unit_array_size

drivers/greybus/es2.c apb_log_enable_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 4508724386390372352
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/gpu/drm/i915/display/intel_display_debugfs_params.c intel_display_param_int_write() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
BUF_SIZE 3 res s32min-(-2),1-s32max
BUF_SIZE 3 res s32min-(-2),1-s32max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000
UNITS 3 res unit_array_size

security/smack/smackfs.c kstrtos32_from_user() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 2833481168000389120,5117228414918381568
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
DATA_SOURCE 1 count $1
DATA_SOURCE 2 base $2
DATA_SOURCE 3 res $3
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000

drivers/net/wireless/ath/ath11k/debugfs_sta.c ath11k_dbg_sta_write_peer_pktlog() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 0
PARAM_VALUE 3 res 5971766164333723648
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000
LOCK2 &ar->conf_mutex
TYPE_LOCK (struct ath11k)->conf_mutex

drivers/net/wireless/realtek/rtw88/debug.c rtw_debugfs_set_dm_cap() -> kstrtoint_from_user()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 base 10
PARAM_VALUE 3 res 3695453422742528000
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $1
DATA_SOURCE 1 count $2
FUZZY_MAX 1 count 2147479552
USER_DATA 0 s 0-u64max[c]
USER_DATA 1 count 0-1000000000