Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_oa.c xe_oa_add_config_ioctl() -> create_dynamic_oa_sysfs_entry()

Type Parameter Key Value
PARAM_VALUE 0 perf 4096-ptr_max
PARAM_VALUE 0 perf->metrics_lock.dep_map->name 0-255
PARAM_VALUE 0 perf->metrics_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 perf->metrics_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 perf->metrics_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 perf->metrics_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 perf->metrics_lock.wait_lock.owner (-1)
PARAM_VALUE 0 perf->metrics_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 perf->xe 1-u64max
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->oa 4096-ptr_max
PARAM_VALUE 1 oa_config->oa->xe 1-u64max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter 1
PARAM_VALUE 1 oa_config->regs 4096-ptr_max
PARAM_VALUE 1 oa_config->regs_len 1-u32max
BUF_SIZE 0 perf 288
BUF_SIZE 1 oa_config 216
BUF_SIZE 1 oa_config->oa 288
BUF_SIZE 1 oa_config->regs 8-s32max
CAPPED_DATA 0 perf->metrics_idr.idr_base 1
CAPPED_DATA 0 &perf->metrics_lock 1
DATA_SOURCE 1 oa_config r _kzalloc_noprof
LOCK2 0 &perf->metrics_lock
TYPE_LOCK (struct xe_oa)->metrics_lock

drivers/gpu/drm/i915/i915_perf.c i915_perf_add_config_ioctl() -> create_dynamic_oa_sysfs_entry()

Type Parameter Key Value
PARAM_VALUE 0 perf 4096-ptr_max
PARAM_VALUE 0 perf->i915 1-u64max
PARAM_VALUE 0 perf->metrics_kobj 1-u64max
PARAM_VALUE 0 perf->metrics_lock.dep_map->name 0-255
PARAM_VALUE 0 perf->metrics_lock.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 perf->metrics_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 perf->metrics_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 perf->metrics_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 perf->metrics_lock.wait_lock.owner (-1)
PARAM_VALUE 0 perf->metrics_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 oa_config 4096-ptr_max
PARAM_VALUE 1 oa_config->b_counter_regs 0,4096-ptr_max
PARAM_VALUE 1 oa_config->flex_regs 0,4096-ptr_max
PARAM_VALUE 1 oa_config->mux_regs 0,4096-ptr_max
PARAM_VALUE 1 oa_config->perf 4096-ptr_max
PARAM_VALUE 1 oa_config->perf->i915 1-u64max
PARAM_VALUE 1 oa_config->perf->metrics_kobj 1-u64max
PARAM_VALUE 1 oa_config->ref.refcount.refs.counter 1
BUF_SIZE 0 perf 584
BUF_SIZE 1 oa_config 248
BUF_SIZE 1 oa_config->b_counter_regs (-1),8-s32max
BUF_SIZE 1 oa_config->flex_regs (-1),8-s32max
BUF_SIZE 1 oa_config->mux_regs (-1),8-s32max
BUF_SIZE 1 oa_config->perf 584
CAPPED_DATA 0 perf->metrics_idr.idr_base 1
CAPPED_DATA 0 &perf->metrics_lock 1
DATA_SOURCE 1 oa_config r _kzalloc_noprof
USER_DATA 1 oa_config->b_counter_regs_len 0-u32max[u]
USER_DATA 1 oa_config->flex_regs_len 0-u32max[u]
USER_DATA 1 oa_config->mux_regs_len 0-u32max[u]
USER_DATA 1 *oa_config->uuid 0-255
USER_PTR 1 oa_config->uuid
LOCK2 0 &perf->metrics_lock
TYPE_LOCK (struct i915_perf)->metrics_lock