/Linux-v5.10/fs/gfs2/ |
D | quota.h | 12 struct gfs2_inode; 18 extern int gfs2_qa_get(struct gfs2_inode *ip); 19 extern void gfs2_qa_put(struct gfs2_inode *ip); 20 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 21 extern void gfs2_quota_unhold(struct gfs2_inode *ip); 23 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 24 extern void gfs2_quota_unlock(struct gfs2_inode *ip); 26 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 28 extern void gfs2_quota_change(struct gfs2_inode *ip, s64 change, 40 static inline int gfs2_quota_lock_check(struct gfs2_inode *ip, in gfs2_quota_lock_check()
|
D | rgrp.h | 37 extern struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip); 40 extern int gfs2_inplace_reserve(struct gfs2_inode *ip, 42 extern void gfs2_inplace_release(struct gfs2_inode *ip); 44 extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n, 48 extern void gfs2_rs_delete(struct gfs2_inode *ip, atomic_t *wcount); 49 extern void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, 51 extern void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, 53 extern void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip); 65 extern void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist, 90 extern void check_and_update_goal(struct gfs2_inode *ip);
|
D | dir.h | 14 struct gfs2_inode; 30 const struct gfs2_inode *ip); 32 const struct gfs2_inode *ip, struct gfs2_diradd *da); 38 extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 41 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 42 const struct gfs2_inode *nip, unsigned int new_type); 44 extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip); 49 extern int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, 51 extern void gfs2_dir_hash_inval(struct gfs2_inode *ip);
|
D | bmap.h | 15 struct gfs2_inode; 28 static inline void gfs2_write_calc_reserv(const struct gfs2_inode *ip, in gfs2_write_calc_reserv() 49 extern int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page); 58 extern int gfs2_truncatei_resume(struct gfs2_inode *ip); 59 extern int gfs2_file_dealloc(struct gfs2_inode *ip); 60 extern int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset,
|
D | inode.h | 16 extern int gfs2_internal_read(struct gfs2_inode *ip, 20 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) in gfs2_is_stuffed() 25 static inline int gfs2_is_jdata(const struct gfs2_inode *ip) in gfs2_is_jdata() 40 static inline int gfs2_is_dir(const struct gfs2_inode *ip) in gfs2_is_dir() 64 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, in gfs2_check_inum() 70 static inline void gfs2_inum_out(const struct gfs2_inode *ip, in gfs2_inum_out() 98 extern int gfs2_inode_refresh(struct gfs2_inode *ip); 105 extern void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
|
D | xattr.c | 73 typedef int (*ea_call_t) (struct gfs2_inode *ip, struct buffer_head *bh, 77 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i() 114 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach() 164 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i() 188 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find() 223 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed() 317 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed() 343 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i() 400 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() 439 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed() [all …]
|
D | inode.c | 130 struct gfs2_inode *ip; in gfs2_inode_lookup() 301 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() 349 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() 370 static void munge_mode_uid_gid(const struct gfs2_inode *dip, in munge_mode_uid_gid() 392 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() 426 const struct gfs2_inode *parent) in gfs2_init_dir() 450 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr() 478 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode() 525 static unsigned gfs2_trans_da_blks(const struct gfs2_inode *dip, in gfs2_trans_da_blks() 533 static int link_dinode(struct gfs2_inode *dip, const struct qstr *name, in link_dinode() [all …]
|
D | dir.c | 89 int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, in gfs2_dir_get_new_buffer() 102 static int gfs2_dir_get_existing_buffer(struct gfs2_inode *ip, u64 block, in gfs2_dir_get_existing_buffer() 119 static int gfs2_dir_write_stuffed(struct gfs2_inode *ip, const char *buf, in gfs2_dir_write_stuffed() 152 static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf, in gfs2_dir_write_data() 243 static int gfs2_dir_read_stuffed(struct gfs2_inode *ip, __be64 *buf, in gfs2_dir_read_stuffed() 267 static int gfs2_dir_read_data(struct gfs2_inode *ip, __be64 *buf, in gfs2_dir_read_data() 335 static __be64 *gfs2_dir_get_hash_table(struct gfs2_inode *ip) in gfs2_dir_get_hash_table() 385 void gfs2_dir_hash_inval(struct gfs2_inode *ip) in gfs2_dir_hash_inval() 607 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() 634 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() [all …]
|
D | file.c | 58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() 106 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_readdir() 159 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_get_flags() 182 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() 220 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() 399 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() 449 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() 564 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fault() 602 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() 683 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() [all …]
|
D | aops.c | 40 void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, in gfs2_page_add_databufs() 92 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_writepage() 154 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() 180 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_jdata_writepage() 412 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() 432 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage() 471 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_readpage() 511 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read() 562 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readahead() 579 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in adjust_fs_space() [all …]
|
D | xattr.h | 10 struct gfs2_inode; 57 extern int gfs2_ea_dealloc(struct gfs2_inode *ip); 61 extern int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data);
|
D | dentry.c | 37 struct gfs2_inode *dip; in gfs2_drevalidate() 40 struct gfs2_inode *ip = NULL; in gfs2_drevalidate() 88 struct gfs2_inode *ginode; in gfs2_dentry_delete()
|
D | super.c | 112 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_jdesc_check() 166 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw() 244 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in gfs2_statfs_init() 246 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_init() 291 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_change() 326 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in update_statfs() 327 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in update_statfs() 348 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in gfs2_statfs_sync() 349 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_sync() 416 struct gfs2_inode *ip; in gfs2_lock_fs_check_clean() [all …]
|
D | meta_io.h | 63 extern void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen); 64 extern int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num, 67 static inline int gfs2_meta_inode_buffer(struct gfs2_inode *ip, in gfs2_meta_inode_buffer()
|
D | glops.c | 254 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) in gfs2_glock2inode() 256 struct gfs2_inode *ip; in gfs2_glock2inode() 277 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending() 311 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() 364 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() 406 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in() 473 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh() 501 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() 541 struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() 617 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() [all …]
|
D | bmap.c | 43 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length); 55 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() 119 int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) in gfs2_unstuff_dinode() 324 static int __fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, in __fillup_metapath() 359 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath() 375 static int fillup_metapath(struct gfs2_inode *ip, struct metapath *mp, int h) in fillup_metapath() 473 struct gfs2_inode *ip = GFS2_I(inode); 666 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_alloc() 799 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_alloc_size() 846 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_get() [all …]
|
D | acl.c | 42 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_get_acl() 62 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_get_acl() 111 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_acl()
|
D | quota.c | 368 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in bh_get() 532 int gfs2_qa_get(struct gfs2_inode *ip) in gfs2_qa_get() 554 void gfs2_qa_put(struct gfs2_inode *ip) in gfs2_qa_put() 564 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) in gfs2_quota_hold() 622 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold() 655 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() 694 static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, in gfs2_write_buf_to_page() 773 static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp, in gfs2_write_disk_quota() 817 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() 875 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_sync() [all …]
|
D | rgrp.c | 64 const struct gfs2_inode *ip, bool nowrap); 575 void check_and_update_goal(struct gfs2_inode *ip) in check_and_update_goal() 596 struct gfs2_inode *ip = container_of(rs, struct gfs2_inode, i_res); in dump_rs() 670 void gfs2_rs_delete(struct gfs2_inode *ip, atomic_t *wcount) in gfs2_rs_delete() 828 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_ri_total() 878 static int read_rindex_entry(struct gfs2_inode *ip) in read_rindex_entry() 976 static int gfs2_ri_update(struct gfs2_inode *ip) in gfs2_ri_update() 1017 struct gfs2_inode *ip = GFS2_I(sdp->sd_rindex); in gfs2_rindex_update() 1456 static void rs_insert(struct gfs2_inode *ip) in rs_insert() 1530 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search() [all …]
|
D | log.h | 49 static inline void gfs2_ordered_add_inode(struct gfs2_inode *ip) in gfs2_ordered_add_inode() 64 extern void gfs2_ordered_del_inode(struct gfs2_inode *ip);
|
D | aops.h | 12 extern void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page,
|
D | log.c | 610 struct gfs2_inode *ipa, *ipb; in ip_cmp() 612 ipa = list_entry(a, struct gfs2_inode, i_ordered); in ip_cmp() 613 ipb = list_entry(b, struct gfs2_inode, i_ordered); in ip_cmp() 622 static void __ordered_del_inode(struct gfs2_inode *ip) in __ordered_del_inode() 630 struct gfs2_inode *ip; in gfs2_ordered_write() 636 ip = list_first_entry(&sdp->sd_log_ordered, struct gfs2_inode, i_ordered); in gfs2_ordered_write() 652 struct gfs2_inode *ip; in gfs2_ordered_wait() 656 ip = list_first_entry(&sdp->sd_log_ordered, struct gfs2_inode, i_ordered); in gfs2_ordered_wait() 667 void gfs2_ordered_del_inode(struct gfs2_inode *ip) in gfs2_ordered_del_inode()
|
D | main.c | 36 struct gfs2_inode *ip = foo; in gfs2_init_inode_once() 115 sizeof(struct gfs2_inode), in init_gfs2_fs()
|
D | export.c | 33 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_encode_fh() 90 struct gfs2_inode *dip, *ip; in gfs2_get_name()
|
D | util.c | 56 struct gfs2_inode *ip; in check_journal_clean() 98 struct gfs2_inode *ip = GFS2_I(inode); in signal_our_withdraw() 396 void gfs2_consist_inode_i(struct gfs2_inode *ip, in gfs2_consist_inode_i()
|