Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_dx_shader_add() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 1337832223600676864
BUF_SIZE 1 res 152
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_shader.c vmw_gb_shader_init() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 dev_priv->bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 dev_priv->ctx.cmd_bounce_size 0,4096-9437184
PARAM_VALUE 0 dev_priv->ctx.ctx 1255665894879240192
PARAM_VALUE 0 dev_priv->ctx.ctx->merge_dups 0-1
PARAM_VALUE 0 dev_priv->ctx.ctx->page_address 0,4096-ptr_max
PARAM_VALUE 0 dev_priv->ctx.res_cache->handle 0-4294967295
PARAM_VALUE 0 dev_priv->ctx.res_cache->valid 0-u16max
PARAM_VALUE 0 dev_priv->ctx.res_cache->valid_handle 0-u16max
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->bind_cmd_count 0-4294967295
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->bind_first_slot 0-4294967295
PARAM_VALUE 0 dev_priv->ctx.staged_bindings->dirty 0-s64max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 5939278544681062400
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 1 res $1
DATA_SOURCE 3 res_free $8
HALF_LOCKED2 0 &dev_priv->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_so.c vmw_view_add() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 8232990455760797696
BUF_SIZE 1 res 152
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex

drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c vmw_cotable_alloc() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 0 dev_priv->fifo_mem 1-u64max
PARAM_VALUE 0 dev_priv->has_mob 1
PARAM_VALUE 0 dev_priv->sm_type 0-4
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 8564307907488092160
DATA_SOURCE 0 dev_priv $0

drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c vmw_simple_resource_init() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 0
PARAM_VALUE 4 func 5795274804822618112
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 3 res_free $3

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_context_init() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 0 dev_priv->has_mob 0
PARAM_VALUE 0 dev_priv->sm_type 0-4
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 0
PARAM_VALUE 4 func 3996129421491695616
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 1 res $1
DATA_SOURCE 3 res_free $2

drivers/gpu/drm/vmwgfx/vmwgfx_context.c vmw_gb_context_init() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 0 dev_priv->has_mob 1
PARAM_VALUE 0 dev_priv->sm_type 0-4
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->guest_memory_size 8192,16448
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 1959263264537276416,4259228067064877056
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 1 res $2
DATA_SOURCE 3 res_free $3
FUZZY_MAX 1 res->guest_memory_size 16448
BIT_INFO 1 res->guest_memory_size 0x0,0x6040
BIT_INFO 4 func 0x1b10910c50061000,0x3b3bf3defaf7f000
HARD_MAX 1 res->guest_memory_size 16448

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_init() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->guest_memory_size 0-4294967311
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 3 res_free 1-u64max
PARAM_VALUE 4 func 5789633868058304512,7977347820108009472
BUF_SIZE 1 res 152
DATA_SOURCE 0 dev_priv $0
DATA_SOURCE 3 res_free $2
BIT_INFO 4 func 0x4010291001060000,0x7efdfbd79f6ff000
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 res->guest_memory_size 0-4294967310[c][u]

drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c vmw_dx_streamoutput_add() -> vmw_resource_init()

Type Parameter Key Value
PARAM_VALUE 0 dev_priv 4096-ptr_max
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 2 delay_id 1
PARAM_VALUE 4 func 6432164345135841280
BUF_SIZE 1 res 152
LOCK2 &dev_priv->cmdbuf_mutex
TYPE_LOCK (struct vmw_private)->cmdbuf_mutex