Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/l2cap_core.c l2cap_ecred_data_rcv() -> append_skb_frag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 1 | new_frag | 4096-ptr_max |
| PARAM_VALUE | 1 | new_frag->len | 0-u16max |
| PARAM_VALUE | 2 | last_frag | 4096-ptr_max |
| CAPPED_DATA | 1 | new_frag->len | 1 |
| DATA_SOURCE | 1 | new_frag | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | new_frag->end | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->len | |
| USER_PTR | 2 | (*last_frag).data | |
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/l2cap_core.c l2cap_reassemble_sdu() -> append_skb_frag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 1-u64max |
| PARAM_VALUE | 1 | new_frag | 4096-ptr_max |
| PARAM_VALUE | 2 | last_frag | 4096-ptr_max |
| DATA_SOURCE | 1 | new_frag | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->end | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->end | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->len | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->sk->sk_backlog.len | |
| USER_PTR | 2 | (*last_frag).data | |
| LOCK2 | &chan->lock | ||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |
net/bluetooth/l2cap_core.c l2cap_reassemble_sdu() -> append_skb_frag()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 1-u64max |
| PARAM_VALUE | 1 | new_frag | 4096-ptr_max |
| PARAM_VALUE | 2 | last_frag | 4096-ptr_max |
| DATA_SOURCE | 1 | new_frag | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->end | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->end | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->len | |
| NO_OVERFLOW_SIMPLE | 1 | new_frag->sk->sk_backlog.len | |
| USER_PTR | 2 | (*last_frag).data | |
| LOCK2 | &chan->lock | ||
| LOCK2 | &conn->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2cap_chan)->lock | ||
| TYPE_LOCK | (struct l2cap_conn)->lock |