Home
last modified time | relevance | path

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

/linux/drivers/scsi/aacraid/
H A Dcommsup.c2359 struct tm cur_tm; in aac_send_safw_hostttime() local
2369 time64_to_tm(local_time, 0, &cur_tm); in aac_send_safw_hostttime()
2370 cur_tm.tm_mon += 1; in aac_send_safw_hostttime()
2371 cur_tm.tm_year += 1900; in aac_send_safw_hostttime()
2372 wellness_str[8] = bin2bcd(cur_tm.tm_hour); in aac_send_safw_hostttime()
2373 wellness_str[9] = bin2bcd(cur_tm.tm_min); in aac_send_safw_hostttime()
2374 wellness_str[10] = bin2bcd(cur_tm.tm_sec); in aac_send_safw_hostttime()
2375 wellness_str[12] = bin2bcd(cur_tm.tm_mon); in aac_send_safw_hostttime()
2376 wellness_str[13] = bin2bcd(cur_tm.tm_mday); in aac_send_safw_hostttime()
2377 wellness_str[14] = bin2bcd(cur_tm.tm_year / 100); in aac_send_safw_hostttime()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c1486 time_t start_tm, cur_tm; in test_task_vma_dead_task() local
1509 cur_tm = start_tm; in test_task_vma_dead_task()
1514 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1516 cur_tm = time(NULL); in test_task_vma_dead_task()
1524 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1530 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1535 cur_tm = time(NULL); in test_task_vma_dead_task()