Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- kernel/taskstats.c, line 394
- lib/nlattr.c, line 1004
- net/bridge/br_netlink.c
- net/core/bpf_sk_storage.c, line 547
- net/core/rtnetlink.c
- net/ipv4/inet_diag.c
- net/mpls/af_mpls.c, line 1140
- net/sctp/diag.c, line 193
Smatch caller information:
net/ipv4/inet_diag.c inet_diag_handler_get_info() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 2 |
| PARAM_VALUE | 2 | attrlen | 1-u16max |
| PARAM_VALUE | 3 | padattr | 14 |
| BUF_SIZE | 0 | skb | 0-s32max |
| BUF_SIZE | 0 | skb | 0-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| HALF_LOCKED2 | &pool->lock |
net/ipv4/inet_diag.c inet_sk_diag_fill() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 2 |
| PARAM_VALUE | 2 | attrlen | 1-u16max |
| PARAM_VALUE | 3 | padattr | 14 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ilb->lock | ||
| HALF_LOCKED2 | rcu_read |
net/core/bpf_sk_storage.c diag_get() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 3 |
| PARAM_VALUE | 3 | padattr | 1 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->end | |
| UNITS | 2 | attrlen | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ilb->lock |
net/mpls/af_mpls.c mpls_fill_stats_af() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 1 |
| PARAM_VALUE | 2 | attrlen | 72 |
| PARAM_VALUE | 3 | padattr | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
| LOCK2 | rcu_read |
net/sctp/diag.c inet_sctp_diag_fill() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 2 |
| PARAM_VALUE | 2 | attrlen | 368 |
| PARAM_VALUE | 3 | padattr | 14 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
| LOCK2 | sk |
kernel/taskstats.c mk_reply() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 3 |
| PARAM_VALUE | 2 | attrlen | 688 |
| PARAM_VALUE | 3 | padattr | 6 |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
net/bridge/br_netlink.c br_fill_linkxstats() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 2 |
| PARAM_VALUE | 2 | attrlen | 240 |
| PARAM_VALUE | 3 | padattr | 3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
net/bridge/br_netlink.c br_fill_linkxstats() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 4 |
| PARAM_VALUE | 2 | attrlen | 48 |
| PARAM_VALUE | 3 | padattr | 3 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
net/core/rtnetlink.c rtnl_fill_stats() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 23 |
| PARAM_VALUE | 2 | attrlen | 200 |
| PARAM_VALUE | 3 | padattr | 42 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| STR_LEN | 0 | skb | (-1) |
| STR_LEN | 0 | skb | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | attrlen | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock |
net/core/rtnetlink.c rtnl_fill_statsinfo() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 1 |
| PARAM_VALUE | 2 | attrlen | 200 |
| PARAM_VALUE | 3 | padattr | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| UNITS | 2 | attrlen | unit_byte |
net/core/rtnetlink.c rtnl_offload_xstats_fill() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 3 |
| PARAM_VALUE | 2 | attrlen | 72 |
| PARAM_VALUE | 3 | padattr | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| DATA_SOURCE | 2 | attrlen | r rtnl_offload_xstats_get_size_stats |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/rtnetlink.c rtnl_offload_xstats_fill_ndo() -> nla_reserve_64bit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data_len | 0 |
| PARAM_VALUE | 1 | attrtype | 1 |
| PARAM_VALUE | 2 | attrlen | 200 |
| PARAM_VALUE | 3 | padattr | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $2 |
| DATA_SOURCE | 1 | attrtype | $1 |
| DATA_SOURCE | 2 | attrlen | r rtnl_offload_xstats_get_size_ndo |
| RX_PATH | |||
| TASK_NOT_RUNNING |