Lines Matching refs:p

16 static void *proc_keys_start(struct seq_file *p, loff_t *_pos);
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);
28 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos);
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);
45 struct proc_dir_entry *p; in key_proc_init() local
47 p = proc_create_seq("keys", 0, NULL, &proc_keys_ops); in key_proc_init()
48 if (!p) in key_proc_init()
51 p = proc_create_seq("key-users", 0, NULL, &proc_key_users_ops); in key_proc_init()
52 if (!p) in key_proc_init()
64 static struct rb_node *key_serial_next(struct seq_file *p, struct rb_node *n) in key_serial_next() argument
66 struct user_namespace *user_ns = seq_user_ns(p); in key_serial_next()
78 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key() argument
80 struct user_namespace *user_ns = seq_user_ns(p); in find_ge_key()
112 static void *proc_keys_start(struct seq_file *p, loff_t *_pos) in proc_keys_start() argument
122 key = find_ge_key(p, pos); in proc_keys_start()
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
274 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos) in proc_key_users_start() argument
282 _p = key_user_first(seq_user_ns(p), &key_user_tree); in proc_key_users_start()
285 _p = key_user_next(seq_user_ns(p), _p); in proc_key_users_start()
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