Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/damon/sysfs-schemes.c damon_sysfs_access_pattern_add_dirs() -> damon_sysfs_access_pattern_add_range_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | access_pattern | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | access_pattern->kobj.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.state_initialized | 1 |
| PARAM_VALUE | 1 | range_dir_ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 2863529672984764416 |
| BUF_SIZE | 0 | access_pattern | 272 |
| BUF_SIZE | 2 | name | 3 |
| DATA_SOURCE | 0 | access_pattern | $0 |
| STR_LEN | 0 | access_pattern | 2 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &damon_sysfs_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/damon/sysfs-schemes.c damon_sysfs_access_pattern_add_dirs() -> damon_sysfs_access_pattern_add_range_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | access_pattern | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | access_pattern->kobj.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | access_pattern->sz | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->max | 0 |
| PARAM_VALUE | 0 | access_pattern->sz->min | 0 |
| PARAM_VALUE | 1 | range_dir_ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 8626505643810021376 |
| BUF_SIZE | 0 | access_pattern | 272 |
| BUF_SIZE | 2 | name | 12 |
| DATA_SOURCE | 0 | access_pattern | $0 |
| STR_LEN | 0 | access_pattern | 11 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &damon_sysfs_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/damon/sysfs-schemes.c damon_sysfs_access_pattern_add_dirs() -> damon_sysfs_access_pattern_add_range_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | access_pattern | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | access_pattern->kobj.ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | access_pattern->nr_accesses | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->nr_accesses->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->nr_accesses->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->nr_accesses->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | access_pattern->nr_accesses->max | 0 |
| PARAM_VALUE | 0 | access_pattern->nr_accesses->min | 0 |
| PARAM_VALUE | 0 | access_pattern->sz | 4096-ptr_max |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | access_pattern->sz->max | 0 |
| PARAM_VALUE | 0 | access_pattern->sz->min | 0 |
| PARAM_VALUE | 1 | range_dir_ptr | 4096-ptr_max |
| PARAM_VALUE | 2 | name | 4624116895395188736 |
| BUF_SIZE | 0 | access_pattern | 272 |
| BUF_SIZE | 2 | name | 4 |
| DATA_SOURCE | 0 | access_pattern | $0 |
| STR_LEN | 0 | access_pattern | 3 |
| TERMINATED | 2 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &damon_sysfs_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |