Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/pci/emu10k1/memory.c snd_emu10k1_synth_copy_from_user() -> offset_ptr()

Type Parameter Key Value
PARAM_VALUE 0 emu 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev->next 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 emu->memhdr 4096-ptr_max
PARAM_VALUE 0 emu->memhdr->block_extra_size (-24)-3999976
PARAM_VALUE 0 emu->memhdr->size 1-u32max
PARAM_VALUE 0 *emu->page_ptr_table 1-u64max
CAPPED_DATA 0 emu->memhdr->size 1
DATA_SOURCE 0 emu $0
DATA_SOURCE 2 offset $2 [m]
UNITS 0 emu unit_byte
LOCK2 &sflist->presets_mutex
TYPE_LOCK (struct snd_sf_list)->presets_mutex

sound/pci/emu10k1/memory.c snd_emu10k1_synth_memset() -> offset_ptr()

Type Parameter Key Value
PARAM_VALUE 0 emu 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev->next 4096-ptr_max
PARAM_VALUE 0 emu->mapped_order_link_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 emu->memhdr 4096-ptr_max
PARAM_VALUE 0 emu->memhdr->block_extra_size (-24)-3999976
PARAM_VALUE 0 emu->memhdr->size 1-u32max
PARAM_VALUE 0 *emu->page_ptr_table 1-u64max
CAPPED_DATA 0 emu->memhdr->size 1
DATA_SOURCE 0 emu $0
DATA_SOURCE 2 offset $2 [m]
UNITS 0 emu unit_byte
LOCK2 &sflist->presets_mutex
TYPE_LOCK (struct snd_sf_list)->presets_mutex