Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/aacraid/
H A Dcommsup.c2358 struct tm cur_tm; in aac_send_safw_hostttime() local
2368 time64_to_tm(local_time, 0, &cur_tm); in aac_send_safw_hostttime()
2369 cur_tm.tm_mon += 1; in aac_send_safw_hostttime()
2370 cur_tm.tm_year += 1900; in aac_send_safw_hostttime()
2371 wellness_str[8] = bin2bcd(cur_tm.tm_hour); in aac_send_safw_hostttime()
2372 wellness_str[9] = bin2bcd(cur_tm.tm_min); in aac_send_safw_hostttime()
2373 wellness_str[10] = bin2bcd(cur_tm.tm_sec); in aac_send_safw_hostttime()
2374 wellness_str[12] = bin2bcd(cur_tm.tm_mon); in aac_send_safw_hostttime()
2375 wellness_str[13] = bin2bcd(cur_tm.tm_mday); in aac_send_safw_hostttime()
2376 wellness_str[14] = bin2bcd(cur_tm.tm_year / 100); in aac_send_safw_hostttime()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter.c1474 time_t start_tm, cur_tm; in test_task_vma_dead_task() local
1497 cur_tm = start_tm; in test_task_vma_dead_task()
1502 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1504 cur_tm = time(NULL); in test_task_vma_dead_task()
1512 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1518 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1523 cur_tm = time(NULL); in test_task_vma_dead_task()