Lines Matching +full:60 +full:v
17 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
18 static void proc_keys_stop(struct seq_file *p, void *v);
19 static int proc_keys_show(struct seq_file *m, void *v);
29 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
30 static void proc_key_users_stop(struct seq_file *p, void *v);
31 static int proc_key_users_show(struct seq_file *m, void *v);
135 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() argument
139 n = key_serial_next(p, v); in proc_keys_next()
147 static void proc_keys_stop(struct seq_file *p, void *v) in proc_keys_stop() argument
153 static int proc_keys_show(struct seq_file *m, void *v) in proc_keys_show() argument
155 struct rb_node *_p = v; in proc_keys_show()
208 if (timo < 60) in proc_keys_show()
210 else if (timo < 60*60) in proc_keys_show()
211 sprintf(xbuf, "%llum", div_u64(timo, 60)); in proc_keys_show()
212 else if (timo < 60*60*24) in proc_keys_show()
213 sprintf(xbuf, "%lluh", div_u64(timo, 60 * 60)); in proc_keys_show()
214 else if (timo < 60*60*24*7) in proc_keys_show()
215 sprintf(xbuf, "%llud", div_u64(timo, 60 * 60 * 24)); in proc_keys_show()
217 sprintf(xbuf, "%lluw", div_u64(timo, 60 * 60 * 24 * 7)); in proc_keys_show()
291 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos) in proc_key_users_next() argument
294 return key_user_next(seq_user_ns(p), (struct rb_node *)v); in proc_key_users_next()
297 static void proc_key_users_stop(struct seq_file *p, void *v) in proc_key_users_stop() argument
303 static int proc_key_users_show(struct seq_file *m, void *v) in proc_key_users_show() argument
305 struct rb_node *_p = v; in proc_key_users_show()