| /fs/gfs2/ |
| A D | quota.h | 12 struct gfs2_inode; 18 int gfs2_qa_get(struct gfs2_inode *ip); 19 void gfs2_qa_put(struct gfs2_inode *ip); 20 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 21 void gfs2_quota_unhold(struct gfs2_inode *ip); 23 int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 24 void gfs2_quota_unlock(struct gfs2_inode *ip); 26 int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 28 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()
|
| A D | rgrp.h | 37 struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip); 40 int gfs2_inplace_reserve(struct gfs2_inode *ip, 42 void gfs2_inplace_release(struct gfs2_inode *ip); 44 int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n, 48 void gfs2_rs_delete(struct gfs2_inode *ip); 49 void __gfs2_free_blocks(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, 51 void gfs2_free_meta(struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, 53 void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip); 65 void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist, 92 void check_and_update_goal(struct gfs2_inode *ip);
|
| A D | dir.h | 14 struct gfs2_inode; 30 const struct gfs2_inode *ip); 32 const struct gfs2_inode *ip, struct gfs2_diradd *da); 38 int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 41 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 42 const struct gfs2_inode *nip, unsigned int new_type); 44 int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip); 49 int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, 51 void gfs2_dir_hash_inval(struct gfs2_inode *ip);
|
| A D | inode.h | 16 ssize_t 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() 62 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, in gfs2_check_inum() 68 static inline void gfs2_inum_out(const struct gfs2_inode *ip, in gfs2_inum_out() 95 int gfs2_dinode_dealloc(struct gfs2_inode *ip); 102 void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
|
| A 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() 50 int gfs2_unstuff_dinode(struct gfs2_inode *ip); 62 int gfs2_truncatei_resume(struct gfs2_inode *ip); 63 int gfs2_file_dealloc(struct gfs2_inode *ip); 64 int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset,
|
| A D | xattr.c | 418 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() 584 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_xattr_get() 611 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_xattr_get() 738 typedef int (*ea_skeleton_call_t) (struct gfs2_inode *ip, 841 static void ea_set_remove_stuffed(struct gfs2_inode *ip, in ea_set_remove_stuffed() 902 static int ea_set_simple_alloc(struct gfs2_inode *ip, in ea_set_simple_alloc() 1077 static int ea_set_remove_unstuffed(struct gfs2_inode *ip, in ea_set_remove_unstuffed() 1175 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_xattr_set() 1237 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_xattr_set() 1266 static int ea_dealloc_indirect(struct gfs2_inode *ip) in ea_dealloc_indirect() [all …]
|
| A D | inode.c | 119 struct gfs2_inode *ip; in gfs2_inode_lookup() 312 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() 509 const struct gfs2_inode *parent) in gfs2_init_dir() 560 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode() 1027 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_link() 1158 const struct gfs2_inode *ip) in gfs2_unlink_ok() 1229 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_unlink() 1409 static int gfs2_ok_to_move(struct gfs2_inode *this, struct gfs2_inode *to) in gfs2_ok_to_move() 1456 static int update_moved_ino(struct gfs2_inode *ip, struct gfs2_inode *ndip, in update_moved_ino() 1484 struct gfs2_inode *nip = NULL; in gfs2_rename() [all …]
|
| A D | dir.c | 715 struct gfs2_inode *ip = GFS2_I(inode); in do_init_dirent() 816 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dirent_search() 866 struct gfs2_inode *ip = GFS2_I(inode); in new_leaf() 910 struct gfs2_inode *dip = GFS2_I(inode); in dir_make_exhash() 1001 struct gfs2_inode *dip = GFS2_I(inode); in dir_split_leaf() 1371 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dir_read_leaf() 1483 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dir_readahead() 1675 const struct gfs2_inode *ip) in gfs2_dir_check() 1727 struct gfs2_inode *ip = GFS2_I(inode); in dir_new_leaf() 1799 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dir_add() [all …]
|
| A D | file.c | 108 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_readdir() 161 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fileattr_get() 186 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() 221 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() 371 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() 420 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() 555 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fault() 677 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() 708 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() 748 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_fsync() [all …]
|
| A D | glops.c | 252 static struct gfs2_inode *gfs2_glock2inode(struct gfs2_glock *gl) in gfs2_glock2inode() 254 struct gfs2_inode *ip; in gfs2_glock2inode() 275 static void gfs2_clear_glop_pending(struct gfs2_inode *ip) in gfs2_clear_glop_pending() 309 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_sync() 364 struct gfs2_inode *ip = gfs2_glock2inode(gl); in inode_go_inval() 479 static int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh() 502 struct gfs2_inode *ip = gl->gl_object; in inode_go_instantiate() 520 struct gfs2_inode *ip = gl->gl_object; in inode_go_held() 548 struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() 602 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() [all …]
|
| A D | super.c | 109 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_jdesc_check() 324 struct gfs2_inode *ip; in gfs2_lock_fs_check_clean() 439 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_write_inode() 482 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_dirty_inode() 1021 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_drop_inode() 1188 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_upgrade_iopen_glock() 1250 struct gfs2_inode *ip = GFS2_I(inode); in evict_should_delete() 1296 struct gfs2_inode *ip = GFS2_I(inode); in evict_unlinked_inode() 1346 struct gfs2_inode *ip = GFS2_I(inode); in evict_linked_inode() 1396 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_evict_inode() [all …]
|
| A D | aops.c | 106 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_write_folio() 130 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_jdata_writeback() 368 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() 388 static int stuffed_read_folio(struct gfs2_inode *ip, struct folio *folio) in stuffed_read_folio() 425 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_read_folio() 453 ssize_t gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read() 499 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readahead() 516 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in adjust_fs_space() 567 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_bmap()
|
| A D | bmap.c | 472 struct gfs2_inode *ip = GFS2_I(inode); 664 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_iomap_alloc() 797 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_alloc_size() 844 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_iomap_get() 966 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_get_folio() 991 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_put_folio() 1019 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_begin_write() 1101 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_begin() 1144 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_iomap_end() 1220 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_map() [all …]
|
| A D | dentry.c | 39 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_drevalidate() 42 struct gfs2_inode *ip = NULL; in gfs2_drevalidate() 83 struct gfs2_inode *ginode; in gfs2_dentry_delete()
|
| A D | xattr.h | 10 struct gfs2_inode; 57 int gfs2_ea_dealloc(struct gfs2_inode *ip, bool initialized); 61 int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data);
|
| A D | meta_io.h | 63 void gfs2_journal_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen); 64 int gfs2_meta_buffer(struct gfs2_inode *ip, u32 mtype, u64 num, 67 static inline int gfs2_meta_inode_buffer(struct gfs2_inode *ip, in gfs2_meta_inode_buffer()
|
| A 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() 116 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_acl()
|
| A D | quota.c | 396 struct gfs2_inode *ip = GFS2_I(inode); in bh_get() 543 int gfs2_qa_get(struct gfs2_inode *ip) in gfs2_qa_get() 571 void gfs2_qa_put(struct gfs2_inode *ip) in gfs2_qa_put() 642 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold() 675 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() 728 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in gfs2_write_buf_to_page() 840 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in gfs2_adjust_quota() 896 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_sync() 997 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in update_qd() 1144 void gfs2_quota_unlock(struct gfs2_inode *ip) in gfs2_quota_unlock() [all …]
|
| A D | rgrp.c | 601 void check_and_update_goal(struct gfs2_inode *ip) in check_and_update_goal() 622 struct gfs2_inode *ip = container_of(rs, struct gfs2_inode, i_res); in dump_rs() 685 void gfs2_rs_delete(struct gfs2_inode *ip) in gfs2_rs_delete() 845 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_ri_total() 995 static int gfs2_ri_update(struct gfs2_inode *ip) in gfs2_ri_update() 1036 struct gfs2_inode *ip = GFS2_I(sdp->sd_rindex); in gfs2_rindex_update() 1488 static void rs_insert(struct gfs2_inode *ip) in rs_insert() 1847 struct gfs2_inode *ip; in try_rgrp_unlink() 2201 void gfs2_inplace_release(struct gfs2_inode *ip) in gfs2_inplace_release() 2388 const struct gfs2_inode *ip, bool dinode) in gfs2_set_alloc_start() [all …]
|
| A D | log.h | 47 static inline void gfs2_ordered_add_inode(struct gfs2_inode *ip) in gfs2_ordered_add_inode() 62 void gfs2_ordered_del_inode(struct gfs2_inode *ip);
|
| A D | log.c | 700 struct gfs2_inode *ipa, *ipb; in ip_cmp() 702 ipa = list_entry(a, struct gfs2_inode, i_ordered); in ip_cmp() 703 ipb = list_entry(b, struct gfs2_inode, i_ordered); in ip_cmp() 712 static void __ordered_del_inode(struct gfs2_inode *ip) in __ordered_del_inode() 720 struct gfs2_inode *ip; in gfs2_ordered_write() 726 ip = list_first_entry(&sdp->sd_log_ordered, struct gfs2_inode, i_ordered); in gfs2_ordered_write() 742 struct gfs2_inode *ip; in gfs2_ordered_wait() 746 ip = list_first_entry(&sdp->sd_log_ordered, struct gfs2_inode, i_ordered); in gfs2_ordered_wait() 757 void gfs2_ordered_del_inode(struct gfs2_inode *ip) in gfs2_ordered_del_inode()
|
| A D | main.c | 36 struct gfs2_inode *ip = foo; in gfs2_init_inode_once() 111 sizeof(struct gfs2_inode), in init_gfs2_fs()
|
| A D | incore.h | 383 struct gfs2_inode { struct 411 static inline struct gfs2_inode *GFS2_I(struct inode *inode) in GFS2_I() 413 return container_of(inode, struct gfs2_inode, i_inode); in GFS2_I() 875 static inline unsigned gfs2_max_stuffed_size(const struct gfs2_inode *ip) in gfs2_max_stuffed_size()
|
| A 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()
|
| A D | trace_gfs2.h | 446 TP_PROTO(const struct gfs2_inode *ip, const struct buffer_head *bh, 485 TP_PROTO(const struct gfs2_inode *ip, loff_t pos, ssize_t length, 515 TP_PROTO(const struct gfs2_inode *ip, struct iomap *iomap, int ret), 555 TP_PROTO(const struct gfs2_inode *ip, struct gfs2_rgrpd *rgd, 622 __entry->inum = container_of(rs, struct gfs2_inode,
|