Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/resctrl/rdtgroup.c _mkdir_mondata_subdir() -> mon_event_read()

Type Parameter Key Value
PARAM_VALUE 0 rr 378929485594152960
PARAM_VALUE 0 rr->arch_mon_ctx 0
PARAM_VALUE 0 rr->ci 0
PARAM_VALUE 0 rr->evt 0,8080696706977394696-8080696706977394791
PARAM_VALUE 0 rr->hdr 0,4096-ptr_max
PARAM_VALUE 0 rr->r 0,4096-ptr_max
PARAM_VALUE 0 rr->rgrp 0,4096-ptr_max
PARAM_VALUE 1 r 4096-ptr_max
PARAM_VALUE 1 r->mon_capable 1
PARAM_VALUE 1 r->rid 0-4
PARAM_VALUE 2 hdr 4096-ptr_max
PARAM_VALUE 3 rdtgrp 4096-ptr_max
PARAM_VALUE 4 cpumask 32,4096-ptr_max
PARAM_VALUE 5 evt 8080696706977394696-8080696706977394791
PARAM_VALUE 5 evt->enabled 1
PARAM_VALUE 5 evt->evtid 2-3
PARAM_VALUE 5 evt->rid 0-4
PARAM_VALUE 6 first 1
BUF_SIZE 5 evt (-1),480
BUF_SIZE 5 evt (-1),480
CAPPED_DATA 1 r->rid 1
CAPPED_DATA 5 evt->rid 1
DATA_SOURCE 1 r $3
DATA_SOURCE 2 hdr $2
DATA_SOURCE 3 rdtgrp $4
PARAM_COMPARE 5 evt->rid == $1->rid
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 r->mon.num_rmid
LOCK2 global &rdtgroup_mutex
HALF_LOCKED2 global &domain_list_lock

fs/resctrl/ctrlmondata.c rdtgroup_mondata_show() -> mon_event_read()

Type Parameter Key Value
PARAM_VALUE 0 rr 4418439534697115648
PARAM_VALUE 0 rr->arch_mon_ctx 0
PARAM_VALUE 0 rr->ci 4096-ptr_max
PARAM_VALUE 0 rr->err 0
PARAM_VALUE 0 rr->evt 0
PARAM_VALUE 0 rr->first 0
PARAM_VALUE 0 rr->hdr 0
PARAM_VALUE 0 rr->is_mbm_cntr 0
PARAM_VALUE 0 rr->r 0
PARAM_VALUE 0 rr->rgrp 0
PARAM_VALUE 0 rr->val 0
PARAM_VALUE 2 hdr 0
PARAM_VALUE 3 rdtgrp 4096-ptr_max
PARAM_VALUE 4 cpumask 4096-ptr_max
PARAM_VALUE 6 first 0
BUF_SIZE 1 r 136
BUF_SIZE 3 rdtgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 3 rdtgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
DATA_SOURCE 1 r r resctrl_arch_get_resource
DATA_SOURCE 3 rdtgrp r rdtgroup_kn_lock_live
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
LOCK2 global &rdtgroup_mutex
TYPE_LOCK (struct seq_file)->lock

fs/resctrl/ctrlmondata.c rdtgroup_mondata_show() -> mon_event_read()

Type Parameter Key Value
PARAM_VALUE 0 rr 4418439534697115648
PARAM_VALUE 0 rr->arch_mon_ctx 0
PARAM_VALUE 0 rr->ci 0
PARAM_VALUE 0 rr->err 0
PARAM_VALUE 0 rr->evt 0
PARAM_VALUE 0 rr->first 0
PARAM_VALUE 0 rr->hdr 0
PARAM_VALUE 0 rr->is_mbm_cntr 0
PARAM_VALUE 0 rr->r 0
PARAM_VALUE 0 rr->rgrp 0
PARAM_VALUE 0 rr->val 0
PARAM_VALUE 1 r 4096-ptr_max
PARAM_VALUE 2 hdr 4096-ptr_max
PARAM_VALUE 3 rdtgrp 4096-ptr_max
PARAM_VALUE 4 cpumask 4096-ptr_max
PARAM_VALUE 6 first 0
BUF_SIZE 1 r (-1),136
BUF_SIZE 1 r (-1),136
BUF_SIZE 3 rdtgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 3 rdtgrp 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 1 &r->mon_domains 1
CAPPED_DATA 2 hdr->id 1
DATA_SOURCE 1 r r resctrl_arch_get_resource
DATA_SOURCE 2 hdr r resctrl_find_domain
DATA_SOURCE 3 rdtgrp r rdtgroup_kn_lock_live
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &m->lock
LOCK2 global &rdtgroup_mutex
TYPE_LOCK (struct seq_file)->lock