Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/ptp/ptp_clock.c ptp_clock_adjtime() -> (struct ptp_clock_info)->getmaxphase()

Type Parameter Key Value
PARAM_VALUE 0 ptp_info 4096-ptr_max
PARAM_VALUE 0 ptp_info->adjphase 1-u64max
CONTAINER 0 -104+0 $(-1)

drivers/ptp/ptp_sysfs.c max_phase_adjustment_show() -> (struct ptp_clock_info)->getmaxphase()

Type Parameter Key Value
PARAM_VALUE 0 ptp_info 4096-ptr_max
CONTAINER 0 *(-104+0) $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/ptp/ptp_chardev.c ptp_clock_getcaps() -> (struct ptp_clock_info)->getmaxphase()

Type Parameter Key Value
PARAM_VALUE 0 ptp_info 4096-ptr_max
PARAM_VALUE 0 ptp_info->adjphase 1-u64max
PARAM_VALUE 0 ptp_info->getmaxphase 1-u64max
CONTAINER 0 *(-104+0) $(-1)