Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

net/ipv6/udp.c __inet6_ehashfn() -> jhash_3words()

Type Parameter Key Value
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $2
DATA_SOURCE 3 initval $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 c 0-u32max[c]
HALF_LOCKED2 global &once_lock

net/mpls/af_mpls.c mpls_multipath_hash() -> jhash_3words()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-u32max
USER_DATA 1 b 0-u32max
UNITS 0 a unit_byte
UNITS 1 b unit_byte
HALF_LOCKED2 &net->mpls.platform_mutex

net/mptcp/syncookies.c mptcp_join_entry_hash() -> jhash_3words()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 a unit_byte
HALF_LOCKED2 &sk_listener->sk_lock.slock
HALF_LOCKED2 global &once_lock
HALF_LOCKED2 sk_listener

net/netfilter/ipvs/ip_vs_core.c ip_vs_rht_hash_linfo() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 0 a 0-u16max
DATA_SOURCE 0 a $3
DATA_SOURCE 1 b $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-u16max[u]
USER_DATA 1 b 0-u16max[u]
HALF_LOCKED2 &ipvs->service_mutex
HALF_LOCKED2 &ipvs->svc_resize_sem
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/netfilter/xt_NFQUEUE.c hash_v4() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 0 a 0-4294967294
PARAM_VALUE 1 b 1-u32max
CAPPED_DATA 0 a 1
DATA_SOURCE 3 initval $1
PARAM_COMPARE 0 a < $1
PARAM_COMPARE 1 b > $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 a unit_byte
UNITS 1 b unit_byte
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/netfilter/xt_NFQUEUE.c hash_v4() -> jhash_3words()

Type Parameter Key Value
CAPPED_DATA 0 a 1
DATA_SOURCE 3 initval $1
PARAM_COMPARE 0 a <= $1
PARAM_COMPARE 1 b >= $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 a unit_byte
UNITS 1 b unit_byte
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/netfilter/xt_NFQUEUE.c hash_v6() -> jhash_3words()

Type Parameter Key Value
DATA_SOURCE 3 initval $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_addr_hash() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 2 c 0-16777215
PARAM_VALUE 3 initval 0
CAPPED_DATA 2 c 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-u32max
USER_DATA 1 b 0-u32max
USER_DATA 2 c 0-16777215[c]
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

security/selinux/ss/context.c context_compute_hash() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 3 initval 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 a unit_array_size
UNITS 1 b unit_array_size
HALF_LOCKED2 &s->lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &selinux_state.policy_mutex

net/ipv4/udp.c __inet_ehashfn() -> jhash_3words()

Type Parameter Key Value
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $2
DATA_SOURCE 3 initval $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-u32max
USER_DATA 1 b 0-u32max[u]
USER_DATA 2 c 0-u32max[c]
UNITS 0 a unit_byte
UNITS 1 b unit_byte
HALF_LOCKED2 global &once_lock

security/selinux/ss/policydb.c role_trans_hash() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 3 initval 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 a unit_array_size
HALF_LOCKED2 global &selinux_state.policy_mutex

net/netfilter/nft_queue.c hash_v4() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 0 a 0-4294967294
PARAM_VALUE 1 b 1-u32max
CAPPED_DATA 0 a 1
DATA_SOURCE 3 initval $1
PARAM_COMPARE 0 a < $1
PARAM_COMPARE 1 b > $0
UNITS 0 a unit_byte
UNITS 1 b unit_byte

net/netfilter/nft_queue.c hash_v4() -> jhash_3words()

Type Parameter Key Value
CAPPED_DATA 0 a 1
DATA_SOURCE 3 initval $1
PARAM_COMPARE 0 a <= $1
PARAM_COMPARE 1 b >= $0
UNITS 0 a unit_byte
UNITS 1 b unit_byte

net/netfilter/nft_queue.c hash_v6() -> jhash_3words()

Type Parameter Key Value
DATA_SOURCE 3 initval $1

net/ipv4/inet_hashtables.c __inet_ehashfn() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 2 c 0-u16max
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $2
DATA_SOURCE 3 initval $4
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-u32max
USER_DATA 1 b 0-u32max[u]
USER_DATA 2 c 0-u16max[c]
UNITS 0 a unit_byte
UNITS 1 b unit_byte

net/sctp/input.c sctp_hashfn() -> jhash_3words()

Type Parameter Key Value
DATA_SOURCE 3 initval $3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 b 0-u32max[c]
UNITS 0 a unit_byte
HALF_LOCKED2 &head->lock

net/sched/cls_api.c destroy_obj_hashfn() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 2 c 0-u16max
PARAM_VALUE 3 initval 0
NOSPEC 0 a
NOSPEC 0 a
NOSPEC 1 b
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-268435455[c]
USER_DATA 1 b 65536-u32max[c]
USER_DATA 2 c 1-u16max[c]
LOCK2 &chain->filter_chain_lock
HALF_LOCKED2 &block->proto_destroy_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct tcf_chain)->filter_chain_lock

net/netfilter/xt_HMARK.c hmark_hash() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 0 a 0
PARAM_VALUE 1 b 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0[c]
USER_DATA 1 b 0[c]
HALF_LOCKED2 &table->lock
HALF_LOCKED2 bh

net/xfrm/xfrm_policy.c xfrm_pol_bin_key() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 0 a 0-s32max
DATA_SOURCE 3 initval $2
BIT_INFO 0 a 0x0,0xffff
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 a 0-s32max
USER_DATA 1 b 0-u32max[u]

net/rds/connection.c __inet_ehashfn() -> jhash_3words()

Type Parameter Key Value
PARAM_VALUE 2 c 0
DATA_SOURCE 0 a $0
DATA_SOURCE 1 b $2
DATA_SOURCE 3 initval $4
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &once_lock