Lines Matching defs:inode

595 #define i_size_ordered_init(inode) seqcount_init(&inode->i_size_seqcount)  argument
597 #define i_size_ordered_init(inode) do { } while (0) argument
632 struct inode { struct
644 const struct inode_operations *i_op; argument
659 * inode_(inc|dec)_link_count argument
661 union {
665 dev_t i_rdev;
666 loff_t i_size;
667 time64_t i_atime_sec;
668 time64_t i_mtime_sec;
669 time64_t i_ctime_sec;
670 u32 i_atime_nsec;
671 u32 i_mtime_nsec;
672 u32 i_ctime_nsec;
673 u32 i_generation;
697 /* foreign inode detection, see wbc_detach_inode() */ argument
702 struct list_head i_lru; /* inode LRU list */ argument
719 void (*free_inode)(struct inode *); argument
733 __u32 i_fsnotify_mask; /* all events this inode cares about */ argument
739 struct fscrypt_inode_info *i_crypt_info; argument
750 * Get bit address from inode->i_state to use with wait_var_event() argument
753 #define inode_state_wait_address(inode, bit) ((char *)&(inode)->i_state + (bit)) argument
758 static inline void inode_wake_up_bit(struct inode *inode, u32 bit) in inode_wake_up_bit()
771 static inline int inode_unhashed(struct inode *inode) in inode_unhashed()
782 static inline void inode_fake_hash(struct inode *inode) in inode_fake_hash()
813 static inline void inode_lock(struct inode *inode) in inode_lock()
818 static inline void inode_unlock(struct inode *inode) in inode_unlock()
823 static inline void inode_lock_shared(struct inode *inode) in inode_lock_shared()
828 static inline void inode_unlock_shared(struct inode *inode) in inode_unlock_shared()
833 static inline int inode_trylock(struct inode *inode) in inode_trylock()
838 static inline int inode_trylock_shared(struct inode *inode) in inode_trylock_shared()
843 static inline int inode_is_locked(struct inode *inode) in inode_is_locked()
848 static inline void inode_lock_nested(struct inode *inode, unsigned subclass) in inode_lock_nested()
853 static inline void inode_lock_shared_nested(struct inode *inode, unsigned subclass) in inode_lock_shared_nested()
904 static inline loff_t i_size_read(const struct inode *inode) in i_size_read()
933 static inline void i_size_write(struct inode *inode, loff_t i_size) in i_size_write()
955 static inline unsigned iminor(const struct inode *inode) in iminor()
960 static inline unsigned imajor(const struct inode *inode) in imajor()
1395 static inline struct user_namespace *i_user_ns(const struct inode *inode) in i_user_ns()
1405 static inline uid_t i_uid_read(const struct inode *inode) in i_uid_read()
1410 static inline gid_t i_gid_read(const struct inode *inode) in i_gid_read()
1415 static inline void i_uid_write(struct inode *inode, uid_t uid) in i_uid_write()
1420 static inline void i_gid_write(struct inode *inode, gid_t gid) in i_gid_write()
1434 const struct inode *inode) in i_uid_into_vfsuid()
1452 const struct inode *inode) in i_uid_needs_update()
1470 struct inode *inode) in i_uid_update()
1486 const struct inode *inode) in i_gid_into_vfsgid()
1504 const struct inode *inode) in i_gid_needs_update()
1522 struct inode *inode) in i_gid_update()
1537 static inline void inode_fsuid_set(struct inode *inode, in inode_fsuid_set()
1551 static inline void inode_fsgid_set(struct inode *inode, in inode_fsgid_set()
1588 static inline time64_t inode_get_atime_sec(const struct inode *inode) in inode_get_atime_sec()
1593 static inline long inode_get_atime_nsec(const struct inode *inode) in inode_get_atime_nsec()
1598 static inline struct timespec64 inode_get_atime(const struct inode *inode) in inode_get_atime()
1606 static inline struct timespec64 inode_set_atime_to_ts(struct inode *inode, in inode_set_atime_to_ts()
1614 static inline struct timespec64 inode_set_atime(struct inode *inode, in inode_set_atime()
1623 static inline time64_t inode_get_mtime_sec(const struct inode *inode) in inode_get_mtime_sec()
1628 static inline long inode_get_mtime_nsec(const struct inode *inode) in inode_get_mtime_nsec()
1633 static inline struct timespec64 inode_get_mtime(const struct inode *inode) in inode_get_mtime()
1640 static inline struct timespec64 inode_set_mtime_to_ts(struct inode *inode, in inode_set_mtime_to_ts()
1648 static inline struct timespec64 inode_set_mtime(struct inode *inode, in inode_set_mtime()
1656 static inline time64_t inode_get_ctime_sec(const struct inode *inode) in inode_get_ctime_sec()
1661 static inline long inode_get_ctime_nsec(const struct inode *inode) in inode_get_ctime_nsec()
1666 static inline struct timespec64 inode_get_ctime(const struct inode *inode) in inode_get_ctime()
1674 static inline struct timespec64 inode_set_ctime_to_ts(struct inode *inode, in inode_set_ctime_to_ts()
1690 static inline struct timespec64 inode_set_ctime(struct inode *inode, in inode_set_ctime()
2290 #define __IS_FLG(inode, flg) ((inode)->i_sb->s_flags & (flg)) argument
2293 #define IS_RDONLY(inode) sb_rdonly((inode)->i_sb) argument
2294 #define IS_SYNC(inode) (__IS_FLG(inode, SB_SYNCHRONOUS) || \ argument
2296 #define IS_DIRSYNC(inode) (__IS_FLG(inode, SB_SYNCHRONOUS|SB_DIRSYNC) || \ argument
2298 #define IS_MANDLOCK(inode) __IS_FLG(inode, SB_MANDLOCK) argument
2299 #define IS_NOATIME(inode) __IS_FLG(inode, SB_RDONLY|SB_NOATIME) argument
2300 #define IS_I_VERSION(inode) __IS_FLG(inode, SB_I_VERSION) argument
2302 #define IS_NOQUOTA(inode) ((inode)->i_flags & S_NOQUOTA) argument
2303 #define IS_APPEND(inode) ((inode)->i_flags & S_APPEND) argument
2304 #define IS_IMMUTABLE(inode) ((inode)->i_flags & S_IMMUTABLE) argument
2307 #define IS_POSIXACL(inode) __IS_FLG(inode, SB_POSIXACL) argument
2309 #define IS_POSIXACL(inode) 0 argument
2312 #define IS_DEADDIR(inode) ((inode)->i_flags & S_DEAD) argument
2313 #define IS_NOCMTIME(inode) ((inode)->i_flags & S_NOCMTIME) argument
2316 #define IS_SWAPFILE(inode) ((inode)->i_flags & S_SWAPFILE) argument
2318 #define IS_SWAPFILE(inode) ((void)(inode), 0U) argument
2321 #define IS_PRIVATE(inode) ((inode)->i_flags & S_PRIVATE) argument
2322 #define IS_IMA(inode) ((inode)->i_flags & S_IMA) argument
2323 #define IS_AUTOMOUNT(inode) ((inode)->i_flags & S_AUTOMOUNT) argument
2324 #define IS_NOSEC(inode) ((inode)->i_flags & S_NOSEC) argument
2325 #define IS_DAX(inode) ((inode)->i_flags & S_DAX) argument
2326 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) argument
2327 #define IS_CASEFOLDED(inode) ((inode)->i_flags & S_CASEFOLD) argument
2328 #define IS_VERITY(inode) ((inode)->i_flags & S_VERITY) argument
2330 #define IS_WHITEOUT(inode) (S_ISCHR(inode->i_mode) && \ argument
2334 struct inode *inode) in HAS_UNMAPPED_ID()
2472 static inline void mark_inode_dirty(struct inode *inode) in mark_inode_dirty()
2477 static inline void mark_inode_dirty_sync(struct inode *inode) in mark_inode_dirty_sync()
2491 static inline bool inode_is_dirtytime_only(struct inode *inode) in inode_is_dirtytime_only()
2502 static inline void inode_inc_link_count(struct inode *inode) in inode_inc_link_count()
2508 static inline void inode_dec_link_count(struct inode *inode) in inode_dec_link_count()
2887 static inline int bmap(struct inode *inode, sector_t *block) in bmap()
2910 static inline bool execute_ok(struct inode *inode) in execute_ok()
2915 static inline bool inode_wrong_type(const struct inode *inode, umode_t mode) in inode_wrong_type()
2963 struct inode *inode = file_inode(iocb->ki_filp); in kiocb_start_write() local
2981 struct inode *inode = file_inode(iocb->ki_filp); in kiocb_end_write() local
3011 static inline int get_write_access(struct inode *inode) in get_write_access()
3017 struct inode *inode = file_inode(file); in deny_write_access() local
3020 static inline void put_write_access(struct inode * inode) in put_write_access()
3029 static inline bool inode_is_open_for_write(const struct inode *inode) in inode_is_open_for_write()
3035 static inline void i_readcount_dec(struct inode *inode) in i_readcount_dec()
3039 static inline void i_readcount_inc(struct inode *inode) in i_readcount_inc()
3044 static inline void i_readcount_dec(struct inode *inode) in i_readcount_dec()
3048 static inline void i_readcount_inc(struct inode *inode) in i_readcount_inc()
3086 static inline int inode_init_always(struct super_block *sb, struct inode *inode) in inode_init_always()
3097 static inline int generic_drop_inode(struct inode *inode) in generic_drop_inode()
3134 static inline void lockdep_annotate_inode_mutex_key(struct inode *inode) { }; in lockdep_annotate_inode_mutex_key()
3160 static inline void __iget(struct inode *inode) in __iget()
3184 static inline void insert_inode_hash(struct inode *inode) in insert_inode_hash()
3190 static inline void remove_inode_hash(struct inode *inode) in remove_inode_hash()
3276 struct inode *inode, in blockdev_direct_IO()
3296 static inline void inode_dio_begin(struct inode *inode) in inode_dio_begin()
3308 static inline void inode_dio_end(struct inode *inode) in inode_dio_end()
3340 static inline loff_t __inode_get_bytes(struct inode *inode) in __inode_get_bytes()
3484 struct inode *inode; in vma_is_fsdax() local
3640 struct inode *dir, struct inode *inode) in check_sticky()
3648 static inline void inode_has_no_xattr(struct inode *inode) in inode_has_no_xattr()
3654 static inline bool is_root_inode(struct inode *inode) in is_root_inode()
3689 static inline bool dir_relax(struct inode *inode) in dir_relax()
3696 static inline bool dir_relax_shared(struct inode *inode) in dir_relax_shared()