/linux-6.12.1/fs/bcachefs/ |
D | fs.h | 14 struct bch_inode_info { struct 52 static inline subvol_inum inode_inum(struct bch_inode_info *inode) in inode_inum() argument 71 container_of_or_null(_inode, struct bch_inode_info, v) 85 struct bch_inode_info *a[] = { NULL, __VA_ARGS__ }; \ 101 struct bch_inode_info *a[] = { NULL, __VA_ARGS__ }; \ 115 static inline struct bch_inode_info *file_bch_inode(struct file *file) in file_bch_inode() 120 static inline bool inode_attr_changing(struct bch_inode_info *dir, in inode_attr_changing() 121 struct bch_inode_info *inode, in inode_attr_changing() 129 static inline bool inode_attrs_changing(struct bch_inode_info *dir, in inode_attrs_changing() 130 struct bch_inode_info *inode) in inode_attrs_changing() [all …]
|
D | fs-io.h | 64 struct bch_inode_info *inode, in __bch2_quota_reservation_put() 76 struct bch_inode_info *inode, in bch2_quota_reservation_put() 87 struct bch_inode_info *inode, in bch2_quota_reservation_add() 112 struct bch_inode_info *inode, in __bch2_quota_reservation_put() 116 struct bch_inode_info *inode, in bch2_quota_reservation_put() 120 struct bch_inode_info *inode, in bch2_quota_reservation_add() 130 void __bch2_i_sectors_acct(struct bch_fs *, struct bch_inode_info *, 133 static inline void bch2_i_sectors_acct(struct bch_fs *c, struct bch_inode_info *inode, in bch2_i_sectors_acct() 160 struct bch_inode_info *, struct closure *); 163 struct bch_inode_info *, [all …]
|
D | fs-io-pagecache.h | 120 static inline unsigned inode_nr_replicas(struct bch_fs *c, struct bch_inode_info *inode) in inode_nr_replicas() 129 struct bch_inode_info *inode, in bch2_folio_reservation_init() 140 void bch2_mark_pagecache_unallocated(struct bch_inode_info *, u64, u64); 141 int bch2_mark_pagecache_reserved(struct bch_inode_info *, u64 *, u64, bool); 144 struct bch_inode_info *, 148 struct bch_inode_info *, 151 struct bch_inode_info *, 156 struct bch_inode_info *, 162 struct bch_inode_info *,
|
D | fs.c | 48 struct bch_inode_info *, 53 struct bch_inode_info *inode, in bch2_inode_update_after_write() 81 struct bch_inode_info *inode, in bch2_write_inode() 121 struct bch_inode_info *inode, in bch2_fs_quota_transfer() 169 const struct bch_inode_info *inode = data; in bch2_vfs_inode_obj_hash_fn() 177 const struct bch_inode_info *inode = obj; in bch2_vfs_inode_cmp_fn() 184 .head_offset = offsetof(struct bch_inode_info, hash), 185 .key_offset = offsetof(struct bch_inode_info, ei_inum), 227 struct bch_inode_info *inode; in bch2_inode_or_descendents_is_open() 271 static struct bch_inode_info *__bch2_inode_hash_find(struct bch_fs *c, subvol_inum inum) in __bch2_inode_hash_find() [all …]
|
D | fs-ioctl.c | 35 struct bch_inode_info *inode, in bch2_inode_flags_set() 69 static int bch2_ioc_getflags(struct bch_inode_info *inode, int __user *arg) in bch2_ioc_getflags() 78 struct bch_inode_info *inode, in bch2_ioc_setflags() 114 static int bch2_ioc_fsgetxattr(struct bch_inode_info *inode, in bch2_ioc_fsgetxattr() 133 struct bch_inode_info *inode, in fssetxattr_inode_update_fn() 149 struct bch_inode_info *inode, in bch2_ioc_fssetxattr() 199 struct bch_inode_info *inode, in bch2_reinherit_attrs_fn() 203 struct bch_inode_info *dir = p; in bch2_reinherit_attrs_fn() 210 struct bch_inode_info *src, in bch2_ioc_reinherit_attrs() 214 struct bch_inode_info *dst; in bch2_ioc_reinherit_attrs() [all …]
|
D | fs-io.c | 56 struct bch_inode_info *inode, in bch2_inode_flush_nocow_writes_async() 94 struct bch_inode_info *inode) in bch2_inode_flush_nocow_writes() 114 struct bch_inode_info *inode, in inode_set_size() 132 struct bch_inode_info *inode, in bch2_write_inode_size() 144 void __bch2_i_sectors_acct(struct bch_fs *c, struct bch_inode_info *inode, in __bch2_i_sectors_acct() 175 struct bch_inode_info *inode) in bch2_flush_inode() 193 struct bch_inode_info *inode = file_bch_inode(file); in bch2_fsync() 231 static int __bch2_truncate_folio(struct bch_inode_info *inode, in __bch2_truncate_folio() 345 static int bch2_truncate_folio(struct bch_inode_info *inode, loff_t from) in bch2_truncate_folio() 351 static int bch2_truncate_folios(struct bch_inode_info *inode, in bch2_truncate_folios() [all …]
|
D | fs-io-pagecache.c | 250 void bch2_mark_pagecache_unallocated(struct bch_inode_info *inode, in bch2_mark_pagecache_unallocated() 292 int bch2_mark_pagecache_reserved(struct bch_inode_info *inode, in bch2_mark_pagecache_reserved() 361 struct bch_inode_info *inode, in bch2_get_folio_disk_reservation() 395 struct bch_inode_info *inode, in bch2_folio_reservation_put() 403 struct bch_inode_info *inode, in __bch2_folio_reservation_get() 472 struct bch_inode_info *inode, in bch2_folio_reservation_get() 481 struct bch_inode_info *inode, in bch2_folio_reservation_get_partial() 491 struct bch_inode_info *inode = to_bch_ei(folio->mapping->host); in bch2_clear_folio_bits() 519 struct bch_inode_info *inode, in bch2_set_folio_dirty() 567 struct bch_inode_info *inode = file_bch_inode(file); in bch2_page_fault() [all …]
|
D | xattr.c | 140 static int bch2_xattr_get_trans(struct btree_trans *trans, struct bch_inode_info *inode, in bch2_xattr_get_trans() 307 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode); in bch2_xattr_list() 331 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_xattr_get_handler() 348 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_xattr_set_handler() 410 struct bch_inode_info *inode = to_bch_ei(vinode); in __bch2_xattr_bcachefs_get() 470 struct bch_inode_info *inode, in inode_opt_set_fn() 492 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_xattr_bcachefs_set() 542 struct bch_inode_info *dir = in bch2_xattr_bcachefs_set()
|
D | fs-io-direct.c | 68 struct bch_inode_info *inode = file_bch_inode(file); in bch2_direct_IO_read() 179 struct bch_inode_info *inode = file_bch_inode(file); in bch2_read_iter() 220 struct bch_inode_info *inode; 282 struct bch_inode_info *inode = dio->inode; in bch2_dio_write_check_allocated() 374 struct bch_inode_info *inode = dio->inode; in bch2_dio_write_done() 410 struct bch_inode_info *inode = dio->inode; in bch2_dio_write_end() 441 struct bch_inode_info *inode = dio->inode; in bch2_dio_write_loop() 584 struct bch_inode_info *inode = file_bch_inode(file); in bch2_direct_write()
|
D | fs-io-buffered.c | 246 struct bch_inode_info *inode = to_bch_ei(ractl->mapping->host); in bch2_readahead() 295 struct bch_inode_info *inode = to_bch_ei(mapping->host); in bch2_read_single_folio() 341 struct bch_inode_info *inode; 355 struct bch_inode_info *inode) in bch_writepage_state_init() 459 struct bch_inode_info *inode, in bch2_writepage_io_alloc() 490 struct bch_inode_info *inode = to_bch_ei(folio->mapping->host); in __bch2_writepage() 653 struct bch_inode_info *inode = to_bch_ei(mapping->host); in bch2_write_begin() 736 struct bch_inode_info *inode = to_bch_ei(mapping->host); in bch2_write_end() 789 static int __bch2_buffered_write(struct bch_inode_info *inode, in __bch2_buffered_write() 962 struct bch_inode_info *inode = file_bch_inode(file); in bch2_buffered_write() [all …]
|
D | xattr.h | 38 struct bch_inode_info;
|
D | acl.h | 7 struct bch_inode_info;
|
D | fs-ioctl.h | 73 static inline void bch2_inode_flags_to_vfs(struct bch_inode_info *inode) in bch2_inode_flags_to_vfs()
|
D | dirent.h | 24 struct bch_inode_info;
|
D | acl.c | 277 struct bch_inode_info *inode = to_bch_ei(vinode); in bch2_get_acl() 350 struct bch_inode_info *inode = to_bch_ei(dentry->d_inode); in bch2_set_acl()
|