Lines Matching defs:inode

554 #define i_size_ordered_init(inode) seqcount_init(&inode->i_size_seqcount)  argument
556 #define i_size_ordered_init(inode) do { } while (0) argument
593 struct inode { struct
605 const struct inode_operations *i_op; argument
620 * inode_(inc|dec)_link_count argument
622 union {
626 dev_t i_rdev;
627 loff_t i_size;
628 struct timespec64 i_atime;
629 struct timespec64 i_mtime;
653 /* foreign inode detection, see wbc_detach_inode() */ argument
658 struct list_head i_lru; /* inode LRU list */ argument
675 void (*free_inode)(struct inode *); argument
690 __u32 i_fsnotify_mask; /* all events this inode cares about */ argument
705 struct timespec64 timestamp_truncate(struct timespec64 t, struct inode *inode); argument
712 static inline int inode_unhashed(struct inode *inode) in inode_unhashed()
723 static inline void inode_fake_hash(struct inode *inode) in inode_fake_hash()
754 static inline void inode_lock(struct inode *inode) in inode_lock()
759 static inline void inode_unlock(struct inode *inode) in inode_unlock()
764 static inline void inode_lock_shared(struct inode *inode) in inode_lock_shared()
769 static inline void inode_unlock_shared(struct inode *inode) in inode_unlock_shared()
774 static inline int inode_trylock(struct inode *inode) in inode_trylock()
779 static inline int inode_trylock_shared(struct inode *inode) in inode_trylock_shared()
784 static inline int inode_is_locked(struct inode *inode) in inode_is_locked()
789 static inline void inode_lock_nested(struct inode *inode, unsigned subclass) in inode_lock_nested()
794 static inline void inode_lock_shared_nested(struct inode *inode, unsigned subclass) in inode_lock_shared_nested()
845 static inline loff_t i_size_read(const struct inode *inode) in i_size_read()
873 static inline void i_size_write(struct inode *inode, loff_t i_size) in i_size_write()
890 static inline unsigned iminor(const struct inode *inode) in iminor()
895 static inline unsigned imajor(const struct inode *inode) in imajor()
1226 locks_free_lock_context(struct inode *inode) in locks_free_lock_context()
1287 static inline int locks_lock_inode_wait(struct inode *inode, struct file_lock *fl) in locks_lock_inode_wait()
1292 static inline int __break_lease(struct inode *inode, unsigned int mode, unsigned int type) in __break_lease()
1297 static inline void lease_get_mtime(struct inode *inode, in lease_get_mtime()
1585 static inline struct user_namespace *i_user_ns(const struct inode *inode) in i_user_ns()
1595 static inline uid_t i_uid_read(const struct inode *inode) in i_uid_read()
1600 static inline gid_t i_gid_read(const struct inode *inode) in i_gid_read()
1605 static inline void i_uid_write(struct inode *inode, uid_t uid) in i_uid_write()
1610 static inline void i_gid_write(struct inode *inode, gid_t gid) in i_gid_write()
1627 const struct inode *inode) in i_uid_into_mnt()
1641 const struct inode *inode) in i_uid_into_vfsuid()
1659 const struct inode *inode) in i_uid_needs_update()
1677 struct inode *inode) in i_uid_update()
1696 const struct inode *inode) in i_gid_into_mnt()
1710 const struct inode *inode) in i_gid_into_vfsgid()
1728 const struct inode *inode) in i_gid_needs_update()
1746 struct inode *inode) in i_gid_update()
1761 static inline void inode_fsuid_set(struct inode *inode, in inode_fsuid_set()
1775 static inline void inode_fsgid_set(struct inode *inode, in inode_fsgid_set()
2307 #define __IS_FLG(inode, flg) ((inode)->i_sb->s_flags & (flg)) argument
2310 #define IS_RDONLY(inode) sb_rdonly((inode)->i_sb) argument
2311 #define IS_SYNC(inode) (__IS_FLG(inode, SB_SYNCHRONOUS) || \ argument
2313 #define IS_DIRSYNC(inode) (__IS_FLG(inode, SB_SYNCHRONOUS|SB_DIRSYNC) || \ argument
2315 #define IS_MANDLOCK(inode) __IS_FLG(inode, SB_MANDLOCK) argument
2316 #define IS_NOATIME(inode) __IS_FLG(inode, SB_RDONLY|SB_NOATIME) argument
2317 #define IS_I_VERSION(inode) __IS_FLG(inode, SB_I_VERSION) argument
2319 #define IS_NOQUOTA(inode) ((inode)->i_flags & S_NOQUOTA) argument
2320 #define IS_APPEND(inode) ((inode)->i_flags & S_APPEND) argument
2321 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE) argument
2322 #define IS_POSIXACL(inode) __IS_FLG(inode, SB_POSIXACL) argument
2324 #define IS_DEADDIR(inode) ((inode)->i_flags & S_DEAD) argument
2325 #define IS_NOCMTIME(inode) ((inode)->i_flags & S_NOCMTIME) argument
2326 #define IS_SWAPFILE(inode) ((inode)->i_flags & S_SWAPFILE) argument
2327 #define IS_PRIVATE(inode) ((inode)->i_flags & S_PRIVATE) argument
2328 #define IS_IMA(inode) ((inode)->i_flags & S_IMA) argument
2329 #define IS_AUTOMOUNT(inode) ((inode)->i_flags & S_AUTOMOUNT) argument
2330 #define IS_NOSEC(inode) ((inode)->i_flags & S_NOSEC) argument
2331 #define IS_DAX(inode) ((inode)->i_flags & S_DAX) argument
2332 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) argument
2333 #define IS_CASEFOLDED(inode) ((inode)->i_flags & S_CASEFOLD) argument
2334 #define IS_VERITY(inode) ((inode)->i_flags & S_VERITY) argument
2336 #define IS_WHITEOUT(inode) (S_ISCHR(inode->i_mode) && \ argument
2340 struct inode *inode) in HAS_UNMAPPED_ID()
2473 static inline void mark_inode_dirty(struct inode *inode) in mark_inode_dirty()
2478 static inline void mark_inode_dirty_sync(struct inode *inode) in mark_inode_dirty_sync()
2492 static inline bool inode_is_dirtytime_only(struct inode *inode) in inode_is_dirtytime_only()
2503 static inline void inode_inc_link_count(struct inode *inode) in inode_inc_link_count()
2509 static inline void inode_dec_link_count(struct inode *inode) in inode_dec_link_count()
2638 static inline int break_lease(struct inode *inode, unsigned int mode) in break_lease()
2652 static inline int break_deleg(struct inode *inode, unsigned int mode) in break_deleg()
2666 static inline int try_break_deleg(struct inode *inode, struct inode **delegated_inode) in try_break_deleg()
2688 static inline int break_layout(struct inode *inode, bool wait) in break_layout()
2699 static inline int break_lease(struct inode *inode, unsigned int mode) in break_lease()
2704 static inline int break_deleg(struct inode *inode, unsigned int mode) in break_deleg()
2709 static inline int try_break_deleg(struct inode *inode, struct inode **delegated_inode) in try_break_deleg()
2720 static inline int break_layout(struct inode *inode, bool wait) in break_layout()
2907 static inline int bmap(struct inode *inode, sector_t *block) in bmap()
2930 static inline bool execute_ok(struct inode *inode) in execute_ok()
2935 static inline bool inode_wrong_type(const struct inode *inode, umode_t mode) in inode_wrong_type()
2982 static inline int get_write_access(struct inode *inode) in get_write_access()
2988 struct inode *inode = file_inode(file); in deny_write_access() local
2991 static inline void put_write_access(struct inode * inode) in put_write_access()
3000 static inline bool inode_is_open_for_write(const struct inode *inode) in inode_is_open_for_write()
3006 static inline void i_readcount_dec(struct inode *inode) in i_readcount_dec()
3011 static inline void i_readcount_inc(struct inode *inode) in i_readcount_inc()
3016 static inline void i_readcount_dec(struct inode *inode) in i_readcount_dec()
3020 static inline void i_readcount_inc(struct inode *inode) in i_readcount_inc()
3053 static inline int generic_drop_inode(struct inode *inode) in generic_drop_inode()
3085 static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; in lockdep_annotate_inode_mutex_key()
3129 static inline void insert_inode_hash(struct inode *inode) in insert_inode_hash()
3135 static inline void remove_inode_hash(struct inode *inode) in remove_inode_hash()
3218 struct inode *inode, in blockdev_direct_IO()
3236 static inline void inode_dio_begin(struct inode *inode) in inode_dio_begin()
3248 static inline void inode_dio_end(struct inode *inode) in inode_dio_end()
3282 static inline loff_t __inode_get_bytes(struct inode *inode) in __inode_get_bytes()
3394 struct inode *inode; in vma_is_fsdax() local
3542 struct inode *dir, struct inode *inode) in check_sticky()
3550 static inline void inode_has_no_xattr(struct inode *inode) in inode_has_no_xattr()
3556 static inline bool is_root_inode(struct inode *inode) in is_root_inode()
3591 static inline bool dir_relax(struct inode *inode) in dir_relax()
3598 static inline bool dir_relax_shared(struct inode *inode) in dir_relax_shared()