Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/relay.c relay_create_buf_file() -> (struct rchan_callbacks)->create_buf_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 1-u64max |
| PARAM_VALUE | 2 | mode | 256 |
| PARAM_VALUE | 4 | is_global | 4096-ptr_max |
| PARAM_VALUE | 4 | *is_global | 0 |
| BUF_SIZE | 0 | filename | 0-s32max |
| BUF_SIZE | 0 | filename | 0-s32max |
| BUF_SIZE | 1 | parent | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | parent | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | filename | 1 |
| DATA_SOURCE | 0 | filename | r kasprintf |
| DATA_SOURCE | 3 | buf | $1 |
| CONTAINER | 1 | *(-8-32+88) | $(-1) |
| CONTAINER | 4 | -8-32+64 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &relay_channels_mutex |
kernel/relay.c relay_open_buf() -> (struct rchan_callbacks)->create_buf_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filename | 0 |
| PARAM_VALUE | 1 | parent | 0 |
| PARAM_VALUE | 2 | mode | 256 |
| PARAM_VALUE | 4 | is_global | 4096-ptr_max |
| PARAM_VALUE | 4 | *is_global | 0 |
| DATA_SOURCE | 3 | buf | r relay_create_buf |
| CONTAINER | 4 | -8-32+64 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &relay_channels_mutex |