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.c2229 struct tm cur_tm; in aac_send_safw_hostttime() local
2239 time64_to_tm(local_time, 0, &cur_tm); in aac_send_safw_hostttime()
2240 cur_tm.tm_mon += 1; in aac_send_safw_hostttime()
2241 cur_tm.tm_year += 1900; in aac_send_safw_hostttime()
2242 wellness_str[8] = bin2bcd(cur_tm.tm_hour); in aac_send_safw_hostttime()
2243 wellness_str[9] = bin2bcd(cur_tm.tm_min); in aac_send_safw_hostttime()
2244 wellness_str[10] = bin2bcd(cur_tm.tm_sec); in aac_send_safw_hostttime()
2245 wellness_str[12] = bin2bcd(cur_tm.tm_mon); in aac_send_safw_hostttime()
2246 wellness_str[13] = bin2bcd(cur_tm.tm_mday); in aac_send_safw_hostttime()
2247 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.c1553 time_t start_tm, cur_tm; in test_task_vma_dead_task() local
1576 cur_tm = start_tm; in test_task_vma_dead_task()
1581 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1583 cur_tm = time(NULL); in test_task_vma_dead_task()
1591 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1597 while (cur_tm < start_tm + wait_sec) { in test_task_vma_dead_task()
1602 cur_tm = time(NULL); in test_task_vma_dead_task()