Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 15 files:

Smatch caller information:

fs/smb/client/netmisc.c cifs_inet_pton() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 0,4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 delim 92
PARAM_VALUE 4 end 0
BUF_SIZE 0 src (-1)-s32max
BUF_SIZE 0 src (-1)-s32max
BUF_SIZE 2 dst 4
DATA_SOURCE 0 src $1
DATA_SOURCE 1 srclen $2
DATA_SOURCE 2 dst $3
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/net/netconsole.c netpoll_parse_ip_addr() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 0 *src 0
PARAM_VALUE 1 srclen 0-1010101
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 7508254471622311936
PARAM_VALUE 4 *end 0
PARAM_VALUE 4 *(*end) 0
BUF_SIZE 0 src (-1),4096
BUF_SIZE 0 src (-1),4096
DATA_SOURCE 0 src $0
DATA_SOURCE 2 dst $1
STR_LEN 0 src 0-1010101
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 global &dynamic_netconsole_mutex

net/ceph/messenger.c ceph_pton() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 0,4096-u64max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 delim 44,47,93,255
PARAM_VALUE 4 end 0,8937373865683378176
BUF_SIZE 2 dst 4
CAPPED_DATA 3 delim 1
DATA_SOURCE 0 src $0
DATA_SOURCE 1 srclen $1
DATA_SOURCE 3 delim $3
DATA_SOURCE 4 end $4
FUZZY_MAX 3 delim 93
STR_LEN 0 src (-1)-1010101
STR_LEN 0 src (-1)-1010101
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *src 0-90,92-255
UNITS 0 src unit_byte
UNITS 1 srclen unit_byte
USER_PTR 0 src
HALF_LOCKED2 &of->mutex

net/netfilter/ipvs/ip_vs_ftp.c ip_vs_ftp_get_addrport() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4099-18446744073709547521
PARAM_VALUE 2 dst 1475660243902779392,7707091201106780160
PARAM_VALUE 3 delim 33-126
PARAM_VALUE 4 end 1177186101722017792
CAPPED_DATA 3 delim 1
DATA_SOURCE 2 dst $7
FUZZY_MAX 3 delim 126
HARD_MAX 3 delim 126
RX_PATH
TASK_NOT_RUNNING
UNITS 0 src unit_byte
UNITS 1 srclen unit_byte

drivers/net/bonding/bond_main.c bond_check_params() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 1-u64max
PARAM_VALUE 1 srclen (-1)
PARAM_VALUE 2 dst 416170596676968448
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 0
BUF_SIZE 2 dst 4

drivers/scsi/qla4xxx/ql4_os.c qla4xxx_match_ipaddress() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 1-u64max
PARAM_VALUE 1 srclen 0-1010101
PARAM_VALUE 2 dst 3109242947325005824
PARAM_VALUE 3 delim 0
PARAM_VALUE 4 end 0
BUF_SIZE 2 dst 16
DATA_SOURCE 0 src $3
STR_LEN 0 src 0-1010101
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cls_conn->ep_mutex
LOCK2 global &rx_queue_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct iscsi_cls_conn)->ep_mutex

net/netfilter/xt_recent.c recent_mt_proc_write() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 6820087964317372417
PARAM_VALUE 1 srclen 0-46
PARAM_VALUE 2 dst 8305323711146643456
PARAM_VALUE 3 delim 10
PARAM_VALUE 4 end 0
BUF_SIZE 2 dst 16
DATA_SOURCE 1 srclen $2 [m]
USER_DATA 1 srclen 2-46[c]
UNITS 1 srclen unit_byte

net/sunrpc/addr.c rpc_pton4() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 1 srclen 0-16
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 delim 0
PARAM_VALUE 4 end 0
BUF_SIZE 0 src (-1),1-32768
BUF_SIZE 0 src (-1),1-32768
BUF_SIZE 2 dst 4
BUF_SIZE 2 dst 4
CAPPED_DATA 1 srclen 1
DATA_SOURCE 0 src $0
DATA_SOURCE 1 srclen $1
NOSPEC 1 srclen
NOSPEC 1 srclen
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *src 0-255
USER_DATA 1 srclen 2-16[c]
UNITS 1 srclen unit_byte
USER_PTR 0 src
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &of->mutex

net/netfilter/nf_conntrack_sip.c sdp_parse_addr() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 7526715148059316224
BUF_SIZE 2 dst 4
DATA_SOURCE 0 src $1
MEM_ZERO 2 dst
RX_PATH
TASK_NOT_RUNNING

net/netfilter/nf_conntrack_sip.c sip_parse_addr() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 3067824303683567616
BUF_SIZE 2 dst 4
DATA_SOURCE 0 src $1
MEM_ZERO 2 dst
RX_PATH
TASK_NOT_RUNNING

fs/afs/addr_prefs.c afs_parse_address() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-18446744073709547521
PARAM_VALUE 2 dst 16752715533357056,880624601505566720
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 2155839918796414976
BUF_SIZE 2 dst 4
DATA_SOURCE 0 src $0 [m]

security/tomoyo/network.c tomoyo_parse_ipaddr_union() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 1 srclen (-1)
PARAM_VALUE 3 delim 45
PARAM_VALUE 4 end 3578987258217738240
BUF_SIZE 0 src (-1),1-2,42,81
BUF_SIZE 0 src (-1),1-2,42,81
BUF_SIZE 2 dst 16
BUF_SIZE 2 dst 16
DATA_SOURCE 0 src r tomoyo_read_token
HALF_LOCKED2 global &tomoyo_ss

security/tomoyo/network.c tomoyo_parse_ipaddr_union() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4097-18446744073709547521
PARAM_VALUE 1 srclen (-1)
PARAM_VALUE 3 delim 0
PARAM_VALUE 4 end 3578987258217738240
PARAM_VALUE 4 *end 4097-18446744073709547521
BUF_SIZE 2 dst 16
BUF_SIZE 2 dst 16
HALF_LOCKED2 global &tomoyo_ss

fs/afs/addr_list.c afs_parse_text_addrs() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-u64max
PARAM_VALUE 2 dst 1333156924617920512
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 6627598223220621312
BUF_SIZE 2 dst 16
STR_LEN 0 src (-1)-1010101
STR_LEN 0 src (-1)-1010101
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/bonding/bond_options.c bond_option_arp_ip_targets_set() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 0 src 4096-ptr_max
PARAM_VALUE 1 srclen (-1)
PARAM_VALUE 2 dst 8848999945788166144
PARAM_VALUE 3 delim (-1)
PARAM_VALUE 4 end 0
BUF_SIZE 2 dst 4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/core/utils.c in6_pton() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 2 dst 305766027810058240
PARAM_VALUE 3 delim (-1)-0,10,33-126,255
PARAM_VALUE 4 end 5040221042522132480
BUF_SIZE 2 dst 16
BUF_SIZE 2 dst 16
CAPPED_DATA 3 delim 1
DATA_SOURCE 3 delim $3
FUZZY_MAX 3 delim 126
STR_LEN 0 src (-1)-1010101
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *src 0-255
UNITS 0 src unit_byte
UNITS 1 srclen unit_byte
USER_PTR 0 src
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 bh
HALF_LOCKED2 global &nf_ftp_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/core/utils.c inet4_pton() -> in4_pton()

Type Parameter Key Value
PARAM_VALUE 1 srclen 0-16
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 3 delim 10
PARAM_VALUE 4 end 0
BUF_SIZE 0 src s32min-(-1),1-s32max
BUF_SIZE 0 src s32min-(-1),1-s32max
BUF_SIZE 2 dst 4
CAPPED_DATA 1 srclen 1
DATA_SOURCE 0 src $0
DATA_SOURCE 1 srclen r __fortify_strlen
STR_LEN 0 src 0-16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex