Home
last modified time | relevance | path

Searched refs:cur_tm (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/scsi/aacraid/
H A Dcommsup.c2238 struct tm cur_tm; in aac_send_safw_hostttime() local
2248 time64_to_tm(local_time, 0, &cur_tm); in aac_send_safw_hostttime()
2249 cur_tm.tm_mon += 1; in aac_send_safw_hostttime()
2250 cur_tm.tm_year += 1900; in aac_send_safw_hostttime()
2251 wellness_str[8] = bin2bcd(cur_tm.tm_hour); in aac_send_safw_hostttime()
2252 wellness_str[9] = bin2bcd(cur_tm.tm_min); in aac_send_safw_hostttime()
2253 wellness_str[10] = bin2bcd(cur_tm.tm_sec); in aac_send_safw_hostttime()
2254 wellness_str[12] = bin2bcd(cur_tm.tm_mon); in aac_send_safw_hostttime()
2255 wellness_str[13] = bin2bcd(cur_tm.tm_mday); in aac_send_safw_hostttime()
2256 wellness_str[14] = bin2bcd(cur_tm.tm_year / 100); in aac_send_safw_hostttime()
[all …]
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c1554 time_t start_tm, cur_tm; in test_task_vma_dead_task() local
1577 cur_tm = start_tm; in test_task_vma_dead_task()
1582 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1584 cur_tm = time(NULL); in test_task_vma_dead_task()
1592 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1598 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1603 cur_tm = time(NULL); in test_task_vma_dead_task()