Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/resctrl/rdtgroup.c mon_addfile() -> __kernfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 292 |
| PARAM_VALUE | 5 | size | 0 |
| PARAM_VALUE | 6 | ops | 4600614816195342336 |
| PARAM_VALUE | 7 | priv | 4096-ptr_max |
| PARAM_VALUE | 8 | ns | 0 |
| PARAM_VALUE | 9 | key | 0 |
| BUF_SIZE | 7 | priv | (-1),40 |
| BUF_SIZE | 7 | priv | (-1),40 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $1 |
| DATA_SOURCE | 7 | priv | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &domain_list_lock |
fs/resctrl/rdtgroup.c rdtgroup_add_file() -> __kernfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 5 | size | 0 |
| PARAM_VALUE | 7 | priv | 8612184450409160704-8612184450409160967 |
| PARAM_VALUE | 8 | ns | 0 |
| PARAM_VALUE | 9 | key | 0 |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 7 | priv | (-1),1848 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 7 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | parent | unit_array_size |
| LOCK2 | global &rdtgroup_mutex |
fs/sysfs/file.c sysfs_add_bin_file_mode_ns() -> __kernfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 1-u64max |
| PARAM_VALUE | 0 | parent->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 2 | mode | 0-511 |
| PARAM_VALUE | 6 | ops | 1021163805445849088,3298293588562829312,6122688580061347840,6599938023014301696,6941926314192957440 |
| PARAM_VALUE | 7 | priv | 4096-ptr_max |
| PARAM_VALUE | 8 | ns | 0 |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 1 | name | 1-s32max |
| BUF_SIZE | 6 | ops | 104 |
| BUF_SIZE | 7 | priv | 40 |
| BUF_SIZE | 7 | priv | 40 |
| BUF_SIZE | 9 | key | (-1)-0,16 |
| BUF_SIZE | 9 | key | (-1)-0,16 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 3 | uid | $4 |
| DATA_SOURCE | 4 | gid | $5 |
| DATA_SOURCE | 5 | size | $3 |
| DATA_SOURCE | 8 | ns | $6 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 1 | name | (-1),4-5 |
| STR_LEN | 1 | name | (-1),4-5 |
| STR_LEN | 7 | priv->name | (-1),4-5 |
| BIT_INFO | 6 | ops | 0x200008000000,0x7ffffffbfffff000 |
| BIT_INFO | 6 | ops | 0x200008000000,0x7ffffffbfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | size | s32min-4294967295 |
| UNITS | 5 | size | unit_byte |
fs/sysfs/file.c sysfs_add_file_mode_ns() -> __kernfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->priv | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 0-511 |
| PARAM_VALUE | 5 | size | 4096 |
| PARAM_VALUE | 6 | ops | 287622944350773248,685581545236332544,1021163805445849088,1267821793937702912,3124182821897232384,4965264378633887744,5093582181046845440 |
| PARAM_VALUE | 7 | priv | 4096-ptr_max |
| PARAM_VALUE | 8 | ns | 0,4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| BUF_SIZE | 6 | ops | 104 |
| BUF_SIZE | 7 | priv->key | (-1),16 |
| BUF_SIZE | 7 | priv->name | (-1)-s32max |
| BUF_SIZE | 9 | key | (-1)-0,16 |
| BUF_SIZE | 9 | key | (-1)-0,16 |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 3 | uid | $3 |
| DATA_SOURCE | 4 | gid | $4 |
| DATA_SOURCE | 7 | priv | $1 |
| DATA_SOURCE | 8 | ns | $5 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 1 | name | (-1),4,6,10-11,13,16-19 |
| STR_LEN | 1 | name | (-1),4,6,10-11,13,16-19 |
| STR_LEN | 7 | priv->name | (-1),4,6,10-11,13,16-19 |
| BIT_INFO | 6 | ops | 0x0,0x7fffffffffffe000 |
| BIT_INFO | 6 | ops | 0x0,0x7fffffffffffe000 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 5 | size | unit_byte |
kernel/cgroup/cgroup.c cgroup_add_file() -> __kernfs_create_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name | 1536796666293161984 |
| PARAM_VALUE | 2 | mode | 0,128,146,292,420,438 |
| PARAM_VALUE | 5 | size | 0 |
| PARAM_VALUE | 7 | priv | 4096-ptr_max |
| PARAM_VALUE | 8 | ns | 0 |
| PARAM_VALUE | 9 | key | 4096-ptr_max |
| BUF_SIZE | 1 | name | 98 |
| BUF_SIZE | 7 | priv | (-1),696,928,1160,1392,1624 |
| BUF_SIZE | 9 | key | 16 |
| DATA_SOURCE | 7 | priv | $2 |
| BIT_INFO | 1 | name | 0x1553cc6cfa689000,0x1553cc6cfa689000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |