Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/bridge/br_sysfs_br.c brforward_read() -> br_fdb_fillbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 1-u64max |
| PARAM_VALUE | 2 | maxnum | 0-256 |
| CAPPED_DATA | 2 | maxnum | 1 |
| DATA_SOURCE | 1 | buf | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | maxnum | 0-256[c] |
| USER_DATA | 3 | skip | 0-255[c] |
| ELEM_COUNT | 1 | ==buf2 | 8051 |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/bridge/br_ioctl.c get_fdb_entries() -> br_fdb_fillbuf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 16,4096-ptr_max |
| PARAM_VALUE | 2 | maxnum | 0-256 |
| BUF_SIZE | 1 | buf | 0-4096 |
| BUF_SIZE | 1 | buf | 0-4096 |
| DATA_SOURCE | 0 | br | $0 |
| DATA_SOURCE | 1 | buf | r _kmalloc_noprof |
| DATA_SOURCE | 2 | maxnum | $2 [m] |
| DATA_SOURCE | 3 | skip | $3 |
| FUZZY_MAX | 2 | maxnum | 256 |
| HARD_MAX | 2 | maxnum | 256 |
| USER_DATA | 2 | maxnum | 0-256 |
| USER_DATA | 3 | skip | 0-u64max |
| UNITS | 2 | maxnum | unit_array_size |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |