Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/bluetooth/l2cap_core.c l2cap_create_basic_pdu() -> (struct l2cap_ops)->alloc_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 0-1,3-255 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->mode | 0 |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr_len | 4 |
| PARAM_VALUE | 2 | len | 0-u16max |
| PARAM_VALUE | 3 | nb | 0,64 |
| BUF_SIZE | 0 | chan->data | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| CONTAINER | 0 | -104-1272+0 | $(-1) |
| BIT_INFO | 3 | nb | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 1-u16max[c] |
| USER_DATA | 2 | len | 1-u16max[c] |
| USER_DATA | 3 | nb | 64[c] |
| HALF_LOCKED2 | 0 | &chan->lock |
net/bluetooth/l2cap_core.c l2cap_create_connless_pdu() -> (struct l2cap_ops)->alloc_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 2 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr_len | 6 |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | nb | 0,64 |
| BUF_SIZE | 0 | chan->data | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| CONTAINER | 0 | -104-1272+0 | $(-1) |
| BIT_INFO | 3 | nb | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 1-s32max[c] |
| USER_DATA | 2 | len | 1-s32max[c] |
| USER_DATA | 3 | nb | 64[c] |
| HALF_LOCKED2 | 0 | &chan->lock |
net/bluetooth/l2cap_core.c l2cap_create_iframe_pdu() -> (struct l2cap_ops)->alloc_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 0-1,3-255 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->mode | 3-4 |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr_len | 6,8,10,12 |
| PARAM_VALUE | 2 | len | 0-u16max |
| PARAM_VALUE | 3 | nb | 0,64 |
| BUF_SIZE | 0 | chan->data | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| CONTAINER | 0 | -104-1272+0 | $(-1) |
| BIT_INFO | 3 | nb | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 2-u16max[c] |
| USER_DATA | 2 | len | 1-u16max[c] |
| USER_DATA | 3 | nb | 64[c] |
| HALF_LOCKED2 | 0 | &chan->lock |
net/bluetooth/l2cap_core.c l2cap_create_le_flowctl_pdu() -> (struct l2cap_ops)->alloc_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->chan_type | 0-1,3-255 |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->mode | 128-129 |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr_len | 4,6 |
| PARAM_VALUE | 2 | len | 0-u16max |
| PARAM_VALUE | 3 | nb | 0,64 |
| BUF_SIZE | 0 | chan->data | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| CONTAINER | 0 | -104-1272+0 | $(-1) |
| BIT_INFO | 3 | nb | 0x0,0x40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 2-u16max[c] |
| USER_DATA | 2 | len | 2-u16max[c] |
| USER_DATA | 3 | nb | 64[c] |
| HALF_LOCKED2 | 0 | &chan->lock |
net/bluetooth/l2cap_core.c l2cap_skbuff_fromiovec() -> (struct l2cap_ops)->alloc_skb()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | hdr_len | 0 |
| PARAM_VALUE | 2 | len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | nb | 0,64 |
| BUF_SIZE | 0 | chan->data | (-1)-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| CONTAINER | 0 | -104-1272+0 | $(-1) |
| BIT_INFO | 3 | nb | 0x0,0x40 |
| NOSPEC | 2 | len | |
| NOSPEC | 2 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | len | 2-2147483645[c] |
| USER_DATA | 2 | len | 2-s32max[c] |
| USER_DATA | 3 | nb | 64[c] |
| HALF_LOCKED2 | 0 | &chan->lock |