Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ptp/ptp_clock.c ptp_clock_gettime() -> (struct ptp_clock_info)->gettimex64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->gettimex64 | 1-u64max |
| PARAM_VALUE | 1 | ts | 99791054051651584,2256598480787394560,2317135252460216320 |
| PARAM_VALUE | 2 | sts | 0 |
| DATA_SOURCE | 1 | ts | $1 |
| CONTAINER | 0 | *(-128+0) | $(-1) |
drivers/ptp/ptp_chardev.c ptp_sys_offset() -> (struct ptp_clock_info)->gettimex64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->gettimex64 | 1-u64max |
| PARAM_VALUE | 1 | ts | 6510108232589836288 |
| PARAM_VALUE | 1 | ts->tv_nsec | 0-999999999 |
| PARAM_VALUE | 2 | sts | 0 |
| CONTAINER | 0 | -128+0 | $(-1) |
| NO_OVERFLOW_SIMPLE | 1 | ts->tv_sec |
drivers/ptp/ptp_chardev.c ptp_sys_offset_extended() -> ptp_sys_offset_extended param 2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 1040290183786221568 |
| PARAM_VALUE | 2 | sts | 1322821600724856832 |
| PARAM_VALUE | 2 | sts->clockid | 0-1,4,16-23 |
| HOST_DATA | 2 | sts->post_sts.cycles | 0-u64max |
| HOST_DATA | 2 | sts->pre_sts.cycles | 0-u64max |
| USER_DATA | 2 | sts->clockid | 0-1,4,16-23 |
drivers/ptp/ptp_vclock.c ptp_vclock_gettimex() -> (struct ptp_clock_info)->getcyclesx64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | ts | 610505656059703296 |
| PARAM_VALUE | 2 | sts->clockid | 0-1,4,16-23 |
| DATA_SOURCE | 2 | sts | $2 |
| CONTAINER | 0 | *(-160+0) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | sts->post_sts.cycles | 0-u64max |
| HOST_DATA | 2 | sts->pre_sts.cycles | 0-u64max |
| USER_DATA | 2 | sts->clockid | 0-1,4,16-23 |
| NO_OVERFLOW_SIMPLE | 2 | sts->post_ts.tv_sec |
drivers/ptp/ptp_clock.c ptp_getcycles64() -> (struct ptp_clock_info)->getcyclesx64()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->getcyclesx64 | 1-u64max |
| PARAM_VALUE | 1 | ts | 286996878195216384 |
| PARAM_VALUE | 1 | ts->tv_nsec | 0 |
| PARAM_VALUE | 1 | ts->tv_sec | 0 |
| PARAM_VALUE | 2 | sts | 0 |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 1 | ts | $1 |
| CONTAINER | 0 | -160+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adapter->tmreg_lock | ||
| HALF_LOCKED2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &clock->lock | ||
| HALF_LOCKED2 | &clock->lock.lock | ||
| HALF_LOCKED2 | &clock->spin_lock | ||
| HALF_LOCKED2 | &cpts->ptp_clk_mutex | ||
| HALF_LOCKED2 | &fep->ptp_clk_mutex | ||
| HALF_LOCKED2 | &fep->tmreg_lock | ||
| HALF_LOCKED2 | &fp->private_data->clk->rwsem | ||
| HALF_LOCKED2 | &mdev->clock_lock.lock | ||
| HALF_LOCKED2 | &parent->tc_lock | ||
| HALF_LOCKED2 | &phc->lock | ||
| HALF_LOCKED2 | &ptp->lock | ||
| HALF_LOCKED2 | &ptp->nic->mbox.lock | ||
| HALF_LOCKED2 | &ptp->ptp_lock.lock | ||
| HALF_LOCKED2 | &vclock->lock | ||
| HALF_LOCKED2 | &wx->hw_tc_lock.lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irqflags |