Searched defs:inode (Results 1 - 25 of 32) sorted by relevance

12

/include/linux/
H A Dramfs.h4 struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir,
11 ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize) argument
16 extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize);
H A Ddevice_cgroup.h4 extern int __devcgroup_inode_permission(struct inode *inode, int mask);
6 static inline int devcgroup_inode_permission(struct inode *inode, int mask) argument
8 if (likely(!inode->i_rdev))
10 if (!S_ISBLK(inode->i_mode) && !S_ISCHR(inode->i_mode))
12 return __devcgroup_inode_permission(inode, mask);
15 static inline int devcgroup_inode_permission(struct inode *inode, in argument
[all...]
H A Dintegrity.h25 extern struct integrity_iint_cache *integrity_inode_get(struct inode *inode);
26 extern void integrity_inode_free(struct inode *inode);
30 integrity_inode_get(struct inode *inode) argument
35 static inline void integrity_inode_free(struct inode *inode) argument
H A Ddevpts_fs.h20 int devpts_new_index(struct inode *ptmx_inode);
21 void devpts_kill_index(struct inode *ptmx_inode, int idx);
23 struct inode *devpts_pty_new(struct inode *ptmx_inode, dev_t device, int index,
26 void *devpts_get_priv(struct inode *pts_inode);
28 void devpts_pty_kill(struct inode *inode);
33 static inline int devpts_new_index(struct inode *ptmx_inode) { return -EINVAL; }
34 static inline void devpts_kill_index(struct inode *ptmx_inode, int idx) { }
35 static inline struct inode *devpts_pty_ne
44 devpts_pty_kill(struct inode *inode) argument
[all...]
H A Dfutex.h6 struct inode;
25 * (no reference on an inode or mm)
27 * mapped on a file (reference on the underlying inode)
32 #define FUT_OFF_INODE 1 /* We set bit 0 if key has a reference on inode */
38 struct inode *inode; member in struct:futex_key::__anon286
H A Devm.h33 extern int evm_inode_init_security(struct inode *inode,
92 static inline int evm_inode_init_security(struct inode *inode, argument
H A Dproc_ns.h47 extern struct proc_ns *get_proc_ns(struct inode *);
50 extern bool proc_ns_inode(struct inode *inode);
62 static inline struct proc_ns *get_proc_ns(struct inode *inode) { return NULL; } argument
70 static inline bool proc_ns_inode(struct inode *inode) { return false; } argument
H A Dposix_acl.h85 extern int posix_acl_permission(struct inode *, const struct posix_acl *, int);
91 extern struct posix_acl *get_posix_acl(struct inode *, int);
92 extern int set_posix_acl(struct inode *, int, struct posix_acl *);
95 extern int posix_acl_chmod(struct inode *, umode_t);
96 extern int posix_acl_create(struct inode *, umode_t *, struct posix_acl **,
99 extern int simple_set_acl(struct inode *, struct posix_acl *, int);
100 extern int simple_acl_create(struct inode *, struct inode *);
102 struct posix_acl **acl_by_type(struct inode *inode, in
109 cache_no_acl(struct inode *inode) argument
115 posix_acl_chmod(struct inode *inode, umode_t mode) argument
122 simple_acl_create(struct inode *dir, struct inode *inode) argument
126 cache_no_acl(struct inode *inode) argument
130 posix_acl_create(struct inode *inode, umode_t *mode, struct posix_acl **default_acl, struct posix_acl **acl) argument
137 forget_all_cached_acls(struct inode *inode) argument
[all...]
H A Dproc_fs.h39 extern void *PDE_DATA(const struct inode *);
40 extern void *proc_get_parent_data(const struct inode *);
68 static inline void *PDE_DATA(const struct inode *inode) {BUG(); return NULL;} argument
69 static inline void *proc_get_parent_data(const struct inode *inode) { BUG(); return NULL; } argument
H A Dshmem_fs.h11 /* inode in-kernel data */
25 struct inode vfs_inode;
40 static inline struct shmem_inode_info *SHMEM_I(struct inode *inode) argument
42 return container_of(inode, struct shmem_inode_info, vfs_inode);
60 extern void shmem_truncate_range(struct inode *inode, loff_t start, loff_t end);
H A Dwriteback.h101 void inode_wait_for_writeback(struct inode *inode);
104 static inline void wait_on_inode(struct inode *inode) argument
107 wait_on_bit(&inode->i_state, __I_NEW, TASK_UNINTERRUPTIBLE);
H A Dfsnotify.h20 * fsnotify_d_instantiate - instantiate a dentry for inode
23 struct inode *inode)
25 __fsnotify_d_instantiate(dentry, inode);
41 struct inode *inode = file_inode(file); local
60 return fsnotify(inode, fsnotify_mask, path, FSNOTIFY_EVENT_PATH, NULL, 0);
76 * fsnotify_link_count - inode's link count changed
78 static inline void fsnotify_link_count(struct inode *inode) argument
22 fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) argument
118 fsnotify_inode_delete(struct inode *inode) argument
147 fsnotify_inoderemove(struct inode *inode) argument
156 fsnotify_create(struct inode *inode, struct dentry *dentry) argument
168 fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry) argument
179 fsnotify_mkdir(struct inode *inode, struct dentry *dentry) argument
195 struct inode *inode = file_inode(file); local
213 struct inode *inode = file_inode(file); local
231 struct inode *inode = file_inode(file); local
247 struct inode *inode = file_inode(file); local
265 struct inode *inode = dentry->d_inode; local
281 struct inode *inode = dentry->d_inode; local
[all...]
H A Dlsm_audit.h65 struct inode *inode; member in union:common_audit_data::__anon487
H A Dnamei.h17 struct inode *inode; /* path.dentry.d_inode */ member in struct:nameidata
H A Dquotaops.h22 static inline bool is_quota_modification(struct inode *inode, struct iattr *ia) argument
24 return (ia->ia_valid & ATTR_SIZE && ia->ia_size != inode->i_size) ||
25 (ia->ia_valid & ATTR_UID && !uid_eq(ia->ia_uid, inode->i_uid)) ||
26 (ia->ia_valid & ATTR_GID && !gid_eq(ia->ia_gid, inode->i_gid));
41 void inode_add_rsv_space(struct inode *inode, qsize_t number);
42 void inode_claim_rsv_space(struct inode *inode, qsize_t number);
43 void inode_sub_rsv_space(struct inode *inod
208 dquot_initialize(struct inode *inode) argument
212 dquot_drop(struct inode *inode) argument
216 dquot_alloc_inode(const struct inode *inode) argument
221 dquot_free_inode(const struct inode *inode) argument
225 dquot_transfer(struct inode *inode, struct iattr *iattr) argument
230 __dquot_alloc_space(struct inode *inode, qsize_t number, int flags) argument
238 __dquot_free_space(struct inode *inode, qsize_t number, int flags) argument
245 dquot_claim_space_nodirty(struct inode *inode, qsize_t number) argument
251 dquot_reclaim_space_nodirty(struct inode *inode, qsize_t number) argument
283 dquot_alloc_space_nodirty(struct inode *inode, qsize_t nr) argument
288 dquot_alloc_space_nofail(struct inode *inode, qsize_t nr) argument
294 dquot_alloc_space(struct inode *inode, qsize_t nr) argument
310 dquot_alloc_block_nodirty(struct inode *inode, qsize_t nr) argument
315 dquot_alloc_block_nofail(struct inode *inode, qsize_t nr) argument
320 dquot_alloc_block(struct inode *inode, qsize_t nr) argument
325 dquot_prealloc_block_nodirty(struct inode *inode, qsize_t nr) argument
330 dquot_prealloc_block(struct inode *inode, qsize_t nr) argument
340 dquot_reserve_block(struct inode *inode, qsize_t nr) argument
346 dquot_claim_block(struct inode *inode, qsize_t nr) argument
356 dquot_reclaim_block(struct inode *inode, qsize_t nr) argument
362 dquot_free_space_nodirty(struct inode *inode, qsize_t nr) argument
367 dquot_free_space(struct inode *inode, qsize_t nr) argument
373 dquot_free_block_nodirty(struct inode *inode, qsize_t nr) argument
378 dquot_free_block(struct inode *inode, qsize_t nr) argument
383 dquot_release_reservation_block(struct inode *inode, qsize_t nr) argument
[all...]
H A Duprobes.h33 struct inode;
108 extern int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
109 extern int uprobe_apply(struct inode *inode, loff_t offset, struct uprobe_consumer *uc, bool);
110 extern void uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc);
141 uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) argument
146 uprobe_apply(struct inode *inod argument
151 uprobe_unregister(struct inode *inode, loff_t offset, struct uprobe_consumer *uc) argument
[all...]
H A Dbuffer_head.h166 void mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode);
167 int inode_has_buffers(struct inode *);
168 void invalidate_inode_buffers(struct inode *);
169 int remove_inode_buffers(struct inode *inode);
228 int generic_cont_expand_simple(struct inode *inode, loff_t size);
390 static inline int inode_has_buffers(struct inode *inode) { retur argument
391 invalidate_inode_buffers(struct inode *inode) argument
392 remove_inode_buffers(struct inode *inode) argument
[all...]
H A Dsysv_fs.h12 /* inode numbers are 16 bit */
21 #define SYSV_BADBL_INO 1 /* inode of bad blocks file */
22 #define SYSV_ROOT_INO 2 /* inode of root directory */
26 #define XENIX_NICINOD 100 /* number of inode cache entries */
39 char s_ilock; /* lock during inode cache manipulation */
62 #define SYSV_NICINOD 100 /* number of inode cache entries */
80 char s_ilock; /* lock during inode cache manipulation */
109 char s_ilock; /* lock during inode cache manipulation */
126 #define V7_NICINOD 100 /* number of inode cache entries */
139 char s_ilock; /* lock during inode cach
207 sysv_ino_t inode; member in struct:sysv_dir_entry
[all...]
H A Dfscache.h247 struct inode *);
559 * @mapping: The netfs inode mapping to which the pages will be attached
638 * @cookie: The cookie representing the inode's cache object.
771 * fscache_uncache_all_inode_pages - Uncache all an inode's pages
772 * @cookie: The cookie representing the inode's cache object.
773 * @inode: The inode to uncache pages from.
775 * Uncache all the pages in an inode that are marked PG_fscache, assuming them
783 struct inode *inode)
782 fscache_uncache_all_inode_pages(struct fscache_cookie *cookie, struct inode *inode) argument
[all...]
H A Dfsnotify_backend.h13 #include <linux/fs.h> /* struct inode */
39 #define FS_UNMOUNT 0x00002000 /* inode on umount fs */
53 /* This inode cares about things that happen to its children. Always set for
87 * should_send_event - given a group, inode, and mask this function determines
98 struct inode *inode,
115 /* inode may ONLY be dereferenced during handle_event(). */
116 struct inode *inode; /* either the inode th member in struct:fsnotify_event
203 struct inode *inode; /* inode this mark is associated with */ member in struct:fsnotify_inode_mark
262 fsnotify_inode_watches_children(struct inode *inode) argument
299 __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) argument
394 __fsnotify_inode_delete(struct inode *inode) argument
403 __fsnotify_d_instantiate(struct dentry *dentry, struct inode *inode) argument
[all...]
H A Ddcache.h115 struct inode *d_inode; /* Where the name belongs to - NULL is
135 struct hlist_node d_alias; /* inode alias list */
159 void (*d_iput)(struct dentry *, struct inode *);
187 * directory inode with a DCACHE_DISCONNECTED dentry, will d_move that
205 /* Parent inode is watched by some fsnotify listener */
231 extern void d_instantiate(struct dentry *, struct inode *);
232 extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *);
233 extern struct dentry * d_materialise_unique(struct dentry *, struct inode *);
234 extern int d_instantiate_no_diralias(struct dentry *, struct inode *);
243 extern struct dentry * d_splice_alias(struct inode *, struc
281 d_add(struct dentry *entry, struct inode *inode) argument
295 d_add_unique(struct dentry *entry, struct inode *inode) argument
[all...]
H A Dnfs_fs.h112 * nfs fs inode data in memory
116 * The 64bit 'inode number'
132 * read_cache_jiffies is when we started read-caching this inode.
138 * We need to revalidate the cached attrs for this inode if
195 struct inode vfs_inode;
214 #define NFS_INO_STALE (1) /* possible stale inode */
216 #define NFS_INO_INVALIDATING (3) /* inode is being invalidated */
217 #define NFS_INO_FLUSHING (4) /* inode is flushing out data */
218 #define NFS_INO_FSCACHE (5) /* inode can be cached by FS-Cache */
220 #define NFS_INO_COMMIT (7) /* inode i
224 NFS_I(const struct inode *inode) argument
234 NFS_FH(const struct inode *inode) argument
239 NFS_SERVER(const struct inode *inode) argument
244 NFS_CLIENT(const struct inode *inode) argument
249 NFS_PROTO(const struct inode *inode) argument
254 NFS_MINATTRTIMEO(const struct inode *inode) argument
260 NFS_MAXATTRTIMEO(const struct inode *inode) argument
266 NFS_STALE(const struct inode *inode) argument
271 nfs_i_fscache(struct inode *inode) argument
280 NFS_FILEID(const struct inode *inode) argument
285 set_nfs_fileid(struct inode *inode, __u64 fileid) argument
290 nfs_mark_for_revalidate(struct inode *inode) argument
301 nfs_server_capable(struct inode *inode, int cap) argument
521 nfs_have_writebacks(struct inode *inode) argument
[all...]
H A Dftrace.h402 struct inode *inode, struct file *file);
407 int ftrace_regex_release(struct inode *inode, struct file *file);
588 ftrace_regex_release(struct inode *inode, struct file *file) { return -ENODEV; } argument
/include/linux/sunrpc/
H A Drpc_pipe_fs.h39 void (*release_pipe)(struct inode *);
40 int (*open_pipe)(struct inode *);
60 struct inode vfs_inode;
67 RPC_I(struct inode *inode) argument
69 return container_of(inode, struct rpc_inode, vfs_inode);
/include/uapi/linux/
H A Dminix_fs.h31 * This is the original minix inode layout on disk.
45 * The new minix inode has all the time entries, as well as
48 * now 16-bit. The inode is now 64 bytes instead of 32.
98 __u16 inode; member in struct:minix_dir_entry
103 __u32 inode; member in struct:minix3_dir_entry

Completed in 512 milliseconds

12