Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 27 files:

Smatch caller information:

fs/udf/udftime.c udf_time_to_disk_stamp() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 907089196636315648
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sbi->s_alloc_mutex

drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_set_iop_datetime() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset (-54000)-(-60),0-54000
PARAM_VALUE 2 result 7801911977154211840
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/vsprintf.c time64_str() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 7059019486521614336
DATA_SOURCE 0 totalsecs $2
STR_LEN 0 totalsecs (-1)-s32max
STR_LEN 0 totalsecs (-1)-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/media/test-drivers/vivid/vivid-vbi-gen.c vivid_vbi_gen_set_time_of_day() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 5253739270389010432
NOCHECK_CALL
LOCK2 &dev->mutex
TYPE_LOCK (struct vivid_dev)->mutex

drivers/scsi/ips.c ips_fix_ffdc_time() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 987759218728198144
DATA_SOURCE 0 totalsecs $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_hwrm_fw_set_time() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 3822397409021075456
DATA_SOURCE 0 totalsecs r ktime_get_real_seconds
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/aacraid/commsup.c aac_send_safw_hostttime() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 2692607431875325952
NOCHECK_CALL

drivers/net/wwan/wwan_hwsim.c wwan_hwsim_nmea_emul_timer() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 7014955500447412224
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &wport->ops_lock

drivers/media/test-drivers/vidtv/vidtv_psi.c vidtv_psi_eit_event_init() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 7999895023019888640
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dvb->feed_lock
HALF_LOCKED2 &demux->mutex
HALF_LOCKED2 &dvbdmx->mutex
TYPE_LOCK (struct vidtv_dvb)->feed_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c amdgpu_cper_get_timestamp() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 7724170749754413056
DATA_SOURCE 0 totalsecs r ktime_get_real_seconds
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &control->ras_tbl_mutex

net/netfilter/nft_meta.c nft_meta_hour() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 6853701681968836608
DATA_SOURCE 0 totalsecs $0
NOCHECK_CALL

drivers/accel/habanalabs/common/debugfs.c dump_cfg_access_entry() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 2487761816998354944
NOCHECK_CALL

drivers/scsi/smartpqi/smartpqi_init.c pqi_write_current_time_to_host_wellness() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset (-54000)-(-60),0-54000
PARAM_VALUE 2 result 7440804561791176704
DATA_SOURCE 0 totalsecs r ktime_get_real_seconds
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/lpfc/lpfc_init.c lpfc_cgn_update_tstamp() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 1105943438821064704
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/bluetooth/btintel_pcie.c btintel_pcie_read_dram_buffers() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 3267685352838545408
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/scsi/lpfc/lpfc_attr.c lpfc_vmid_info_show() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 2 result 8031419665922748416
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/lpfc/lpfc_sli.c lpfc_set_host_tm() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 4644938863311470592
NOCHECK_CALL

drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c bnge_hwrm_fw_set_time() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 796626764685201408
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c bnxt_fill_coredump_record() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 534049333621219328
DATA_SOURCE 0 totalsecs $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/broadcom/bnxt/bnxt_coredump.c bnxt_fill_coredump_record() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 534049333621219328
PARAM_VALUE 2 result->tm_hour 0-u16max
PARAM_VALUE 2 result->tm_mday 1-31
PARAM_VALUE 2 result->tm_min 0-59
PARAM_VALUE 2 result->tm_mon (-10)-13
PARAM_VALUE 2 result->tm_sec 0-59
PARAM_VALUE 2 result->tm_yday 59-424
DATA_SOURCE 0 totalsecs r ktime_get_real_seconds
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

sound/soc/codecs/tac5xx2-sdw.c tac5xx2_fw_ready() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 0 totalsecs 0-255
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 3684662960746049536
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

kernel/time/time_test.c time64_to_tm_test_date_range() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 0 totalsecs (-2524556160000),(-2524556073600)-2524556160000
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 6758070524887171072
FUZZY_MAX 0 totalsecs 2524556160000
HARD_MAX 0 totalsecs 2524556160000
NOCHECK_CALL

sound/soc/codecs/tas2783-sdw.c tas2783_validate_calibdata() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 2605188348505595904
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

fs/fat/misc.c fat_time_unix2fat() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset (-2147483647)-s32max
PARAM_VALUE 2 result 1124470227875565568
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sbi->inode_hash_lock

fs/exfat/misc.c exfat_set_entry_time() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 181772735293181952
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

security/tomoyo/util.c tomoyo_convert_time() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 7470369831841132544
DATA_SOURCE 0 totalsecs $0
NOCHECK_CALL
LOCK2 global &tomoyo_ss
HALF_LOCKED2 &head->io_sem

drivers/media/test-drivers/vivid/vivid-rds-gen.c vivid_rds_generate() -> time64_to_tm()

Type Parameter Key Value
PARAM_VALUE 1 offset 0
PARAM_VALUE 2 result 1645408249235693568
RX_PATH
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex