Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/i915_gpu_error.c i915_vma_coredump_create() -> compress_page()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->pool.i 0
PARAM_VALUE 0 c->pool.percpu_pvec_drained 0
PARAM_VALUE 0 c->tmp 0,9223372036854775807,18379471554275704832,18446612682070032384
PARAM_VALUE 0 c->zstream.adler 0-1
PARAM_VALUE 0 c->zstream.avail_in 0
PARAM_VALUE 0 c->zstream.avail_out 0-9223372036854775806
PARAM_VALUE 0 c->zstream.data_type 2
PARAM_VALUE 0 c->zstream.msg 0
PARAM_VALUE 0 c->zstream.next_in 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.next_out 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.reserved 0
PARAM_VALUE 0 c->zstream.state 4096-ptr_max
PARAM_VALUE 0 c->zstream.state->bl_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc 913731107127713792
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->elems 19
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->extra_bits 7910880777044582400
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->max_length 7
PARAM_VALUE 0 c->zstream.state->block_start 0
PARAM_VALUE 0 c->zstream.state->d_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc 1800907796424552448
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->elems 30
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->extra_bits 6582557173907828736
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->static_tree 4771640363198926848
PARAM_VALUE 0 c->zstream.state->good_match 0-u16max
PARAM_VALUE 0 c->zstream.state->ins_h 0
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc 5063368230529748992
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->elems 286
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_base 257
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_bits 7734908214924271616
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->static_tree 4874228718230159360
PARAM_VALUE 0 c->zstream.state->last_flush 0-3,5
PARAM_VALUE 0 c->zstream.state->last_lit 0
PARAM_VALUE 0 c->zstream.state->lookahead 0
PARAM_VALUE 0 c->zstream.state->match_length 2
PARAM_VALUE 0 c->zstream.state->matches 0
PARAM_VALUE 0 c->zstream.state->max_chain_length 0-u16max
PARAM_VALUE 0 c->zstream.state->max_lazy_match 0-u16max
PARAM_VALUE 0 c->zstream.state->nice_match 0-u16max
PARAM_VALUE 0 c->zstream.state->noheader 0-1
PARAM_VALUE 0 c->zstream.state->opt_len 0
PARAM_VALUE 0 c->zstream.state->pending s32min-s32max
PARAM_VALUE 0 c->zstream.state->prev_length 2
PARAM_VALUE 0 c->zstream.state->static_len 0
PARAM_VALUE 0 c->zstream.state->status 42,113,666
PARAM_VALUE 0 c->zstream.state->strstart 0
PARAM_VALUE 0 c->zstream.total_in 0
PARAM_VALUE 0 *c->zstream->state->head 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->head_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->overlay_memory 0-255
PARAM_VALUE 0 *c->zstream->workspace->prev_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->window_memory 0-255
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->next 0
PARAM_VALUE 2 dst->page_list.next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.next->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 dst->unused 0
PARAM_VALUE 3 wc 1
BUF_SIZE 0 c (-1),360
BUF_SIZE 0 c (-1),360
BUF_SIZE 2 dst 72
DATA_SOURCE 0 c $2
DATA_SOURCE 1 src r io_mapping_map_wc
DATA_SOURCE 2 dst r _kmalloc_noprof
MEM_ZERO 0 &c->zstream
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ggtt->error_mutex
HALF_LOCKED2 &capture_mutex
TYPE_LOCK (struct i915_ggtt)->error_mutex

drivers/gpu/drm/i915/i915_gpu_error.c i915_vma_coredump_create() -> compress_page()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->pool.i 0
PARAM_VALUE 0 c->pool.percpu_pvec_drained 0
PARAM_VALUE 0 c->tmp 0,9223372036854775807,18379471554275704832,18446612682070032384
PARAM_VALUE 0 c->zstream.adler 0-1
PARAM_VALUE 0 c->zstream.avail_in 0
PARAM_VALUE 0 c->zstream.avail_out 0-9223372036854775806
PARAM_VALUE 0 c->zstream.data_type 2
PARAM_VALUE 0 c->zstream.msg 0
PARAM_VALUE 0 c->zstream.next_in 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.next_out 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.reserved 0
PARAM_VALUE 0 c->zstream.state 4096-ptr_max
PARAM_VALUE 0 c->zstream.state->bl_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc 913731107127713792
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->elems 19
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->extra_bits 7910880777044582400
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->max_length 7
PARAM_VALUE 0 c->zstream.state->block_start 0
PARAM_VALUE 0 c->zstream.state->d_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc 1800907796424552448
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->elems 30
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->extra_bits 6582557173907828736
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->static_tree 4771640363198926848
PARAM_VALUE 0 c->zstream.state->good_match 0-u16max
PARAM_VALUE 0 c->zstream.state->ins_h 0
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc 5063368230529748992
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->elems 286
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_base 257
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_bits 7734908214924271616
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->static_tree 4874228718230159360
PARAM_VALUE 0 c->zstream.state->last_flush 0-3,5
PARAM_VALUE 0 c->zstream.state->last_lit 0
PARAM_VALUE 0 c->zstream.state->lookahead 0
PARAM_VALUE 0 c->zstream.state->match_length 2
PARAM_VALUE 0 c->zstream.state->matches 0
PARAM_VALUE 0 c->zstream.state->max_chain_length 0-u16max
PARAM_VALUE 0 c->zstream.state->max_lazy_match 0-u16max
PARAM_VALUE 0 c->zstream.state->nice_match 0-u16max
PARAM_VALUE 0 c->zstream.state->noheader 0-1
PARAM_VALUE 0 c->zstream.state->opt_len 0
PARAM_VALUE 0 c->zstream.state->pending s32min-s32max
PARAM_VALUE 0 c->zstream.state->prev_length 2
PARAM_VALUE 0 c->zstream.state->static_len 0
PARAM_VALUE 0 c->zstream.state->status 42,113,666
PARAM_VALUE 0 c->zstream.state->strstart 0
PARAM_VALUE 0 c->zstream.total_in 0
PARAM_VALUE 0 *c->zstream->state->head 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->head_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->overlay_memory 0-255
PARAM_VALUE 0 *c->zstream->workspace->prev_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->window_memory 0-255
PARAM_VALUE 1 src 4096-ptr_max
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->next 0
PARAM_VALUE 2 dst->page_list.next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.next->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 dst->unused 0
PARAM_VALUE 3 wc 1
BUF_SIZE 0 c (-1),360
BUF_SIZE 0 c (-1),360
BUF_SIZE 2 dst 72
DATA_SOURCE 0 c $2
DATA_SOURCE 1 src r io_mapping_map_wc
DATA_SOURCE 2 dst r _kmalloc_noprof
MEM_ZERO 0 &c->zstream
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &capture_mutex

drivers/gpu/drm/i915/i915_gpu_error.c i915_vma_coredump_create() -> compress_page()

Type Parameter Key Value
PARAM_VALUE 0 c 4096-ptr_max
PARAM_VALUE 0 c->pool.i 0
PARAM_VALUE 0 c->pool.percpu_pvec_drained 0
PARAM_VALUE 0 c->tmp 0,9223372036854775807,18379471554275704832,18446612682070032384
PARAM_VALUE 0 c->zstream.adler 0-1
PARAM_VALUE 0 c->zstream.avail_in 0
PARAM_VALUE 0 c->zstream.avail_out 0-9223372036854775806
PARAM_VALUE 0 c->zstream.data_type 2
PARAM_VALUE 0 c->zstream.msg 0
PARAM_VALUE 0 c->zstream.next_in 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.next_out 0,4096-ptr_max
PARAM_VALUE 0 c->zstream.reserved 0
PARAM_VALUE 0 c->zstream.state 4096-ptr_max
PARAM_VALUE 0 c->zstream.state->bl_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc 913731107127713792
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->elems 19
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->extra_bits 7910880777044582400
PARAM_VALUE 0 c->zstream.state->bl_desc.stat_desc->max_length 7
PARAM_VALUE 0 c->zstream.state->block_start 0
PARAM_VALUE 0 c->zstream.state->d_desc.dyn_tree->dl.len 0-15,u16max
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc 1800907796424552448
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->elems 30
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->extra_bits 6582557173907828736
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->d_desc.stat_desc->static_tree 4771640363198926848
PARAM_VALUE 0 c->zstream.state->good_match 0-u16max
PARAM_VALUE 0 c->zstream.state->ins_h 0
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc 5063368230529748992
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->elems 286
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_base 257
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->extra_bits 7734908214924271616
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->max_length 15
PARAM_VALUE 0 c->zstream.state->l_desc.stat_desc->static_tree 4874228718230159360
PARAM_VALUE 0 c->zstream.state->last_flush 0-3,5
PARAM_VALUE 0 c->zstream.state->last_lit 0
PARAM_VALUE 0 c->zstream.state->lookahead 0
PARAM_VALUE 0 c->zstream.state->match_length 2
PARAM_VALUE 0 c->zstream.state->matches 0
PARAM_VALUE 0 c->zstream.state->max_chain_length 0-u16max
PARAM_VALUE 0 c->zstream.state->max_lazy_match 0-u16max
PARAM_VALUE 0 c->zstream.state->nice_match 0-u16max
PARAM_VALUE 0 c->zstream.state->noheader 0-1
PARAM_VALUE 0 c->zstream.state->opt_len 0
PARAM_VALUE 0 c->zstream.state->pending s32min-s32max
PARAM_VALUE 0 c->zstream.state->prev_length 2
PARAM_VALUE 0 c->zstream.state->static_len 0
PARAM_VALUE 0 c->zstream.state->status 42,113,666
PARAM_VALUE 0 c->zstream.state->strstart 0
PARAM_VALUE 0 c->zstream.total_in 0
PARAM_VALUE 0 *c->zstream->state->head 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->head_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->overlay_memory 0-255
PARAM_VALUE 0 *c->zstream->workspace->prev_memory 0-u16max
PARAM_VALUE 0 *c->zstream->workspace->window_memory 0-255
PARAM_VALUE 1 src 18379471554275704832,18446612682070032384
PARAM_VALUE 2 dst 4096-ptr_max
PARAM_VALUE 2 dst->next 0
PARAM_VALUE 2 dst->page_list.next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.next->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->next 4096-ptr_max
PARAM_VALUE 2 dst->page_list.prev->prev 4096-ptr_max
PARAM_VALUE 2 dst->unused 0
PARAM_VALUE 3 wc 0
BUF_SIZE 0 c (-1),360
BUF_SIZE 0 c (-1),360
BUF_SIZE 2 dst 72
DATA_SOURCE 0 c $2
DATA_SOURCE 1 src r kmap_local_page
DATA_SOURCE 2 dst r _kmalloc_noprof
MEM_ZERO 0 &c->zstream
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &capture_mutex