Source
155
155
/*
156
156
* base.c
157
157
*/
158
158
extern const struct dentry_operations pid_dentry_operations;
159
159
extern int pid_getattr(const struct path *, struct kstat *, u32, unsigned int);
160
160
extern int proc_setattr(struct dentry *, struct iattr *);
161
161
extern struct inode *proc_pid_make_inode(struct super_block *, struct task_struct *, umode_t);
162
162
extern void pid_update_inode(struct task_struct *, struct inode *);
163
163
extern int pid_delete_dentry(const struct dentry *);
164
164
extern int proc_pid_readdir(struct file *, struct dir_context *);
165
-
extern struct dentry *proc_pid_lookup(struct inode *, struct dentry *, unsigned int);
165
+
struct dentry *proc_pid_lookup(struct dentry *, unsigned int);
166
166
extern loff_t mem_lseek(struct file *, loff_t, int);
167
167
168
168
/* Lookups */
169
169
typedef struct dentry *instantiate_t(struct dentry *,
170
170
struct task_struct *, const void *);
171
171
bool proc_fill_cache(struct file *, struct dir_context *, const char *, unsigned int,
172
172
instantiate_t, struct task_struct *, const void *);
173
173
174
174
/*
175
175
* generic.c