Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_gem.c radeon_mode_dumb_create() -> radeon_align_pitch()

Type Parameter Key Value
PARAM_VALUE 1 width s32min-(-1),1-s32max
PARAM_VALUE 3 tiled 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 width s32min-(-1),1-s32max[u]
NO_OVERFLOW_SIMPLE 1 width
UNITS 0 rdev unit_byte
UNITS 1 width unit_byte

drivers/gpu/drm/radeon/radeon_fbdev.c radeon_fbdev_create_pinned_object() -> radeon_align_pitch()

Type Parameter Key Value
PARAM_VALUE 2 cpp 0-4,8
PARAM_VALUE 3 tiled 0
BUF_SIZE 0 rdev s32min-(-2),1-s32max
BUF_SIZE 0 rdev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 rdev unit_byte
UNITS 1 width unit_byte
LOCK2 &dev->clientlist_mutex
LOCK2 &fb_helper->lock
TYPE_LOCK (struct drm_device)->clientlist_mutex
TYPE_LOCK (struct drm_fb_helper)->lock