Defined in 3 files as a function:
- drivers/net/ethernet/mellanox/mlx5/core/debugfs.c, line 146 (as a function)
- kernel/gcov/fs.c, line 634 (as a function)
- net/mac80211/debugfs.c, line 379 (as a function)
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx5/core/debugfs.c, line 170
- kernel/gcov/fs.c, line 664
- net/mac80211/debugfs.c, line 400
Smatch caller information:
fs/read_write.c vfs_write() -> (struct file_operations)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op->write | 1-u64max |
| PARAM_VALUE | 2 | count | 0-1000000000,2147479552 |
| PARAM_VALUE | 3 | *pos | 0-1000000000 |
| BUF_SIZE | 3 | pos | (-1),8 |
| BUF_SIZE | 3 | pos | (-1),8 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | filp | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | count | $2 [m] |
| DATA_SOURCE | 3 | pos | $3 |
| FUZZY_MAX | 2 | count | 2147479552 |
| CONTAINER | 0 | -32-80+0 | $(-1) |
| BIT_INFO | 0 | filp->f_mode | 0x40002,0xffffffffffffffff |
| USER_DATA | 1 | buf | 0-u64max[c] |
| USER_DATA | 2 | count | 0-1000000000 |
| USER_DATA | 3 | *pos | 0-1000000000 |
| USER_PTR | 3 | pos |
fs/debugfs/file.c short_proxy_write() -> (struct debugfs_short_fops)->write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filp | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | filp->f_op->write | 1-u64max |
| PARAM_VALUE | 0 | filp->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-1000000000,2147479552 |
| PARAM_VALUE | 3 | *pos | 0-1000000000 |
| BUF_SIZE | 3 | pos | (-1),8 |
| BUF_SIZE | 3 | pos | (-1),8 |
| CAPPED_DATA | 1 | buf | 1 |
| DATA_SOURCE | 0 | filp | $0 |
| DATA_SOURCE | 1 | buf | $1 |
| DATA_SOURCE | 2 | count | $2 |
| DATA_SOURCE | 3 | pos | $3 |
| FUZZY_MAX | 2 | count | 2147479552 |
| BIT_INFO | 0 | filp->f_mode | 0x40002,0xffffffffffffffff |
| USER_DATA | 1 | buf | 0-u64max[c] |
| USER_DATA | 2 | count | 0-1000000000 |
| USER_DATA | 3 | *pos | 0-1000000000 |
| USER_PTR | 3 | pos |