Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/mac80211/debugfs_key.c key_conf_hw_key_idx_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
UNITS 4 $ unit_array_size
USER_PTR 2 ppos

net/mac80211/debugfs_key.c key_conf_keyidx_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs_key.c key_conf_keylen_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
UNITS 4 $ unit_byte
USER_PTR 2 ppos

net/mac80211/debugfs_key.c key_flags_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 1214867394655535104
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 6
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 5
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs_key.c key_ifindex_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 6907577036787400704
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
BUF_SIZE 4 $ 16
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs_sta.c sta_aid_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c hw_conf_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 841032338041667584
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c power_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c rate_ctrl_alg_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 6907577036787400704
PARAM_VALUE 4 $ 199558929474965504,1254888181978484736,4000289293724495872,4025520467983872000,4865568360013824000,5656923077976223744,7221274987600080896
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
BUF_SIZE 4 $ (-1),10
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
STR_LEN 1 count (-1),9
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c total_ps_buffered_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c user_power_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 199419505806180352
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 4
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 3
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos

net/mac80211/debugfs.c wep_iv_read() -> mac80211_format_buffer()

Type Parameter Key Value
PARAM_VALUE 1 count 0-1000000000,2147479552
PARAM_VALUE 2 *ppos 0-1000000000
PARAM_VALUE 3 fmt 2911178030490247168
PARAM_VALUE 4 $ 0-16777215
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 2 ppos (-1),8
BUF_SIZE 3 fmt 7
CAPPED_DATA 0 userbuf 1
DATA_SOURCE 0 userbuf $1
DATA_SOURCE 1 count $2
DATA_SOURCE 2 ppos $3
FUZZY_MAX 1 count 2147479552
STR_LEN 0 userbuf 6
TERMINATED 3 fmt 1
USER_DATA 0 userbuf 0-u64max[c]
USER_DATA 1 count 0-1000000000
USER_DATA 2 *ppos 0-1000000000
USER_PTR 2 ppos