Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/accel/ethosu/ethosu_gem.c ethosu_gem_cmdstream_copy_and_validate() -> calc_sizes()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->driver 4096-ptr_max
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter s32min-s32max
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-1)
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu 4294967295
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ddev->unplugged 0
PARAM_VALUE 0 *ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 1 info->cmd_size 1-u32max
PARAM_VALUE 2 op 2-3
PARAM_VALUE 3 st 6924888152792772608
PARAM_VALUE 3 st->dma.dst.region (-1)-7
PARAM_VALUE 3 st->dma.mode 0-3
PARAM_VALUE 3 st->dma.src.region (-1)-7
PARAM_VALUE 3 st->ifm.pad_left 0-127
PARAM_VALUE 3 st->ifm.pad_top 0-127
PARAM_VALUE 3 st->ifm.region 0-7
PARAM_VALUE 3 st->ifm2.region 0-7
PARAM_VALUE 3 st->ofm.region 0-7
PARAM_VALUE 4 ifm 1
BUF_SIZE 1 info 80
DATA_SOURCE 0 ddev $0
DATA_SOURCE 1 info r _kzalloc_noprof
MEM_ZERO 3 st
USER_DATA 1 info->cmd_size 1-u32max[u]
NO_OVERFLOW_SIMPLE 3 st->dma.dst.offset
NO_OVERFLOW_SIMPLE 3 st->dma.size0
NO_OVERFLOW_SIMPLE 3 st->dma.size1
NO_OVERFLOW_SIMPLE 3 st->dma.src.offset
UNITS 0 ddev unit_byte
LOCK2 global &drm_unplug_srcu

drivers/accel/ethosu/ethosu_gem.c ethosu_gem_cmdstream_copy_and_validate() -> calc_sizes()

Type Parameter Key Value
PARAM_VALUE 0 ddev 4096-ptr_max
PARAM_VALUE 0 ddev->driver 4096-ptr_max
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter s32min-s32max
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-1)
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu 4294967295
PARAM_VALUE 0 ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ddev->unplugged 0
PARAM_VALUE 0 *ddev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 info 4096-ptr_max
PARAM_VALUE 1 info->cmd_size 1-u32max
PARAM_VALUE 2 op 5
PARAM_VALUE 3 st 6924888152792772608
PARAM_VALUE 3 st->dma.dst.region (-1)-7
PARAM_VALUE 3 st->dma.mode 0-3
PARAM_VALUE 3 st->dma.src.region (-1)-7
PARAM_VALUE 3 st->ifm.pad_left 0-127
PARAM_VALUE 3 st->ifm.pad_top 0-127
PARAM_VALUE 3 st->ifm.region 0-7
PARAM_VALUE 3 st->ifm2.region 0-7
PARAM_VALUE 3 st->ofm.region 0-7
PARAM_VALUE 5 ifm2 0
PARAM_VALUE 6 weight 0
BUF_SIZE 1 info 80
DATA_SOURCE 0 ddev $0
DATA_SOURCE 1 info r _kzalloc_noprof
MEM_ZERO 3 st
USER_DATA 1 info->cmd_size 1-u32max[u]
NO_OVERFLOW_SIMPLE 3 st->dma.dst.offset
NO_OVERFLOW_SIMPLE 3 st->dma.size0
NO_OVERFLOW_SIMPLE 3 st->dma.size1
NO_OVERFLOW_SIMPLE 3 st->dma.src.offset
UNITS 0 ddev unit_byte
LOCK2 global &drm_unplug_srcu