Home
last modified time | relevance | path

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

/security/keys/
Dproc.c134 unsigned long timo; in proc_keys_show() local
160 timo = key->expiry - now.tv_sec; in proc_keys_show()
162 if (timo < 60) in proc_keys_show()
163 sprintf(xbuf, "%lus", timo); in proc_keys_show()
164 else if (timo < 60*60) in proc_keys_show()
165 sprintf(xbuf, "%lum", timo / 60); in proc_keys_show()
166 else if (timo < 60*60*24) in proc_keys_show()
167 sprintf(xbuf, "%luh", timo / (60*60)); in proc_keys_show()
168 else if (timo < 60*60*24*7) in proc_keys_show()
169 sprintf(xbuf, "%lud", timo / (60*60*24)); in proc_keys_show()
[all …]