/fs/gfs2/ |
D | rgrp.h | 42 extern struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip); 45 extern int gfs2_inplace_reserve(struct gfs2_inode *ip, 47 extern void gfs2_inplace_release(struct gfs2_inode *ip); 49 extern int gfs2_alloc_blocks(struct gfs2_inode *ip, u64 *bn, unsigned int *n, 52 extern int gfs2_rs_alloc(struct gfs2_inode *ip); 54 extern void gfs2_rs_delete(struct gfs2_inode *ip, atomic_t *wcount); 55 extern void __gfs2_free_blocks(struct gfs2_inode *ip, u64 bstart, u32 blen, int meta); 56 extern void gfs2_free_meta(struct gfs2_inode *ip, u64 bstart, u32 blen); 57 extern void gfs2_free_di(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip); 69 extern void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist, [all …]
|
D | dir.h | 17 struct gfs2_inode; 33 const struct gfs2_inode *ip); 35 const struct gfs2_inode *ip, struct gfs2_diradd *da); 42 extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); 45 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 46 const struct gfs2_inode *nip, unsigned int new_type); 48 extern int gfs2_dir_exhash_dealloc(struct gfs2_inode *dip); 53 extern int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, 55 extern void gfs2_dir_hash_inval(struct gfs2_inode *ip);
|
D | quota.h | 15 struct gfs2_inode; 21 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 22 extern void gfs2_quota_unhold(struct gfs2_inode *ip); 24 extern int gfs2_quota_lock(struct gfs2_inode *ip, kuid_t uid, kgid_t gid); 25 extern void gfs2_quota_unlock(struct gfs2_inode *ip); 27 extern int gfs2_quota_check(struct gfs2_inode *ip, kuid_t uid, kgid_t gid, 29 extern void gfs2_quota_change(struct gfs2_inode *ip, s64 change, 41 static inline int gfs2_quota_lock_check(struct gfs2_inode *ip, in gfs2_quota_lock_check()
|
D | inode.h | 19 extern int gfs2_internal_read(struct gfs2_inode *ip, 23 static inline int gfs2_is_stuffed(const struct gfs2_inode *ip) in gfs2_is_stuffed() 28 static inline int gfs2_is_jdata(const struct gfs2_inode *ip) in gfs2_is_jdata() 33 static inline int gfs2_is_writeback(const struct gfs2_inode *ip) in gfs2_is_writeback() 39 static inline int gfs2_is_ordered(const struct gfs2_inode *ip) in gfs2_is_ordered() 45 static inline int gfs2_is_dir(const struct gfs2_inode *ip) in gfs2_is_dir() 69 static inline int gfs2_check_inum(const struct gfs2_inode *ip, u64 no_addr, in gfs2_check_inum() 75 static inline void gfs2_inum_out(const struct gfs2_inode *ip, in gfs2_inum_out() 104 extern int gfs2_inode_refresh(struct gfs2_inode *ip); 111 extern void gfs2_dinode_out(const struct gfs2_inode *ip, void *buf);
|
D | bmap.h | 16 struct gfs2_inode; 29 static inline void gfs2_write_calc_reserv(const struct gfs2_inode *ip, in gfs2_write_calc_reserv() 47 extern int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page); 54 extern int gfs2_truncatei_resume(struct gfs2_inode *ip); 55 extern int gfs2_file_dealloc(struct gfs2_inode *ip); 56 extern int gfs2_write_alloc_required(struct gfs2_inode *ip, u64 offset,
|
D | xattr.c | 75 typedef int (*ea_call_t) (struct gfs2_inode *ip, struct buffer_head *bh, 79 static int ea_foreach_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_foreach_i() 116 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data) in ea_foreach() 166 static int ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_find_i() 190 static int gfs2_ea_find(struct gfs2_inode *ip, int type, const char *name, in gfs2_ea_find() 225 static int ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_dealloc_unstuffed() 325 static int ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, in ea_remove_unstuffed() 365 static int ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, in ea_list_i() 423 struct gfs2_inode *ip = GFS2_I(d_inode(dentry)); in gfs2_listxattr() 462 static int gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, in gfs2_iter_unstuffed() [all …]
|
D | inode.c | 48 struct gfs2_inode *ip = GFS2_I(inode); in iget_test() 64 struct gfs2_inode *ip = GFS2_I(inode); in iget_set() 144 struct gfs2_inode *ip; in gfs2_inode_lookup() 287 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_lookupi() 336 static int create_ok(struct gfs2_inode *dip, const struct qstr *name, in create_ok() 357 static void munge_mode_uid_gid(const struct gfs2_inode *dip, in munge_mode_uid_gid() 379 static int alloc_dinode(struct gfs2_inode *ip, u32 flags, unsigned *dblocks) in alloc_dinode() 413 const struct gfs2_inode *parent) in gfs2_init_dir() 437 static void gfs2_init_xattr(struct gfs2_inode *ip) in gfs2_init_xattr() 465 static void init_dinode(struct gfs2_inode *dip, struct gfs2_inode *ip, in init_dinode() [all …]
|
D | dir.c | 92 int gfs2_dir_get_new_buffer(struct gfs2_inode *ip, u64 block, in gfs2_dir_get_new_buffer() 105 static int gfs2_dir_get_existing_buffer(struct gfs2_inode *ip, u64 block, in gfs2_dir_get_existing_buffer() 122 static int gfs2_dir_write_stuffed(struct gfs2_inode *ip, const char *buf, in gfs2_dir_write_stuffed() 155 static int gfs2_dir_write_data(struct gfs2_inode *ip, const char *buf, in gfs2_dir_write_data() 247 static int gfs2_dir_read_stuffed(struct gfs2_inode *ip, __be64 *buf, in gfs2_dir_read_stuffed() 271 static int gfs2_dir_read_data(struct gfs2_inode *ip, __be64 *buf, in gfs2_dir_read_data() 339 static __be64 *gfs2_dir_get_hash_table(struct gfs2_inode *ip) in gfs2_dir_get_hash_table() 389 void gfs2_dir_hash_inval(struct gfs2_inode *ip) in gfs2_dir_hash_inval() 587 static int dirent_check_reclen(struct gfs2_inode *dip, in dirent_check_reclen() 614 static int dirent_next(struct gfs2_inode *dip, struct buffer_head *bh, in dirent_next() [all …]
|
D | aops.c | 41 static void gfs2_page_add_databufs(struct gfs2_inode *ip, struct page *page, in gfs2_page_add_databufs() 101 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_writepage_common() 157 struct gfs2_inode *ip = GFS2_I(inode); in __gfs2_jdata_writepage() 428 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_jdata_writepages() 448 static int stuffed_readpage(struct gfs2_inode *ip, struct page *page) in stuffed_readpage() 497 struct gfs2_inode *ip = GFS2_I(page->mapping->host); in __gfs2_readpage() 527 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_readpage() 559 int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos, in gfs2_internal_read() 611 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_readpages() 647 struct gfs2_inode *ip = GFS2_I(mapping->host); in gfs2_write_begin() [all …]
|
D | file.c | 58 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_llseek() 95 struct gfs2_inode *dip = GFS2_I(dir); in gfs2_readdir() 155 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_get_flags() 178 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_set_inode_flags() 215 struct gfs2_inode *ip = GFS2_I(inode); in do_gfs2_set_flags() 337 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_size_hint() 387 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_page_mkwrite() 518 struct gfs2_inode *ip = GFS2_I(file->f_mapping->host); in gfs2_mmap() 589 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_open() 620 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_release() [all …]
|
D | xattr.h | 13 struct gfs2_inode; 60 extern int gfs2_ea_dealloc(struct gfs2_inode *ip); 64 extern int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **data); 65 extern int gfs2_xattr_acl_chmod(struct gfs2_inode *ip, struct iattr *attr, char *data);
|
D | bmap.c | 56 static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh, in gfs2_unstuffer_page() 118 int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page) in gfs2_unstuff_dinode() 314 static int lookup_metapath(struct gfs2_inode *ip, struct metapath *mp) in lookup_metapath() 383 static inline void bmap_lock(struct gfs2_inode *ip, int create) in bmap_lock() 391 static inline void bmap_unlock(struct gfs2_inode *ip, int create) in bmap_unlock() 454 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_bmap_alloc() 606 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_map() 716 static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh, in do_strip() 870 static int recursive_scan(struct gfs2_inode *ip, struct buffer_head *dibh, in recursive_scan() 934 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_block_truncate_page() [all …]
|
D | glops.c | 207 struct gfs2_inode *ip = gl->gl_object; in inode_go_sync() 255 struct gfs2_inode *ip = gl->gl_object; in inode_go_inval() 327 static int gfs2_dinode_in(struct gfs2_inode *ip, const void *buf) in gfs2_dinode_in() 394 int gfs2_inode_refresh(struct gfs2_inode *ip) in gfs2_inode_refresh() 422 struct gfs2_inode *ip = gl->gl_object; in inode_go_lock() 460 const struct gfs2_inode *ip = gl->gl_object; in inode_go_dump() 506 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in freeze_go_xmote_bh() 549 struct gfs2_inode *ip = (struct gfs2_inode *)gl->gl_object; in iopen_go_callback()
|
D | super.c | 348 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_jdesc_check() 401 struct gfs2_inode *ip = GFS2_I(sdp->sd_jdesc->jd_inode); in gfs2_make_fs_rw() 471 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in gfs2_statfs_init() 473 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_init() 518 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_change() 553 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in update_statfs() 554 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in update_statfs() 576 struct gfs2_inode *m_ip = GFS2_I(sdp->sd_statfs_inode); in gfs2_statfs_sync() 577 struct gfs2_inode *l_ip = GFS2_I(sdp->sd_sc_inode); in gfs2_statfs_sync() 645 struct gfs2_inode *ip; in gfs2_lock_fs_check_clean() [all …]
|
D | dentry.c | 40 struct gfs2_inode *dip; in gfs2_drevalidate() 43 struct gfs2_inode *ip = NULL; in gfs2_drevalidate() 114 struct gfs2_inode *ginode; in gfs2_dentry_delete()
|
D | meta_io.h | 62 extern void gfs2_meta_wipe(struct gfs2_inode *ip, u64 bstart, u32 blen); 63 extern int gfs2_meta_indirect_buffer(struct gfs2_inode *ip, int height, u64 num, 66 static inline int gfs2_meta_inode_buffer(struct gfs2_inode *ip, in gfs2_meta_inode_buffer()
|
D | quota.c | 371 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in bh_get() 530 int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid) in gfs2_quota_hold() 587 void gfs2_quota_unhold(struct gfs2_inode *ip) in gfs2_quota_unhold() 618 struct gfs2_inode *ip = GFS2_I(sdp->sd_qc_inode); in do_qc() 657 static int gfs2_write_buf_to_page(struct gfs2_inode *ip, unsigned long index, in gfs2_write_buf_to_page() 733 static int gfs2_write_disk_quota(struct gfs2_inode *ip, struct gfs2_quota *qp, in gfs2_write_disk_quota() 777 static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc, in gfs2_adjust_quota() 835 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_sync() 931 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in update_qd() 958 struct gfs2_inode *ip = GFS2_I(sdp->sd_quota_inode); in do_glock() [all …]
|
D | rgrp.c | 76 const struct gfs2_inode *ip, bool nowrap, 580 void check_and_update_goal(struct gfs2_inode *ip) in check_and_update_goal() 602 int gfs2_rs_alloc(struct gfs2_inode *ip) in gfs2_rs_alloc() 695 void gfs2_rs_delete(struct gfs2_inode *ip, atomic_t *wcount) in gfs2_rs_delete() 856 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_ri_total() 906 static int read_rindex_entry(struct gfs2_inode *ip) in read_rindex_entry() 1008 static int gfs2_ri_update(struct gfs2_inode *ip) in gfs2_ri_update() 1049 struct gfs2_inode *ip = GFS2_I(sdp->sd_rindex); in gfs2_rindex_update() 1475 static void rs_insert(struct gfs2_inode *ip) in rs_insert() 1521 static void rg_mblk_search(struct gfs2_rgrpd *rgd, struct gfs2_inode *ip, in rg_mblk_search() [all …]
|
D | log.h | 51 static inline void gfs2_ordered_add_inode(struct gfs2_inode *ip) in gfs2_ordered_add_inode() 62 extern void gfs2_ordered_del_inode(struct gfs2_inode *ip);
|
D | log.c | 518 struct gfs2_inode *ipa, *ipb; in ip_cmp() 520 ipa = list_entry(a, struct gfs2_inode, i_ordered); in ip_cmp() 521 ipb = list_entry(b, struct gfs2_inode, i_ordered); in ip_cmp() 532 struct gfs2_inode *ip; in gfs2_ordered_write() 538 ip = list_entry(sdp->sd_log_le_ordered.next, struct gfs2_inode, i_ordered); in gfs2_ordered_write() 552 struct gfs2_inode *ip; in gfs2_ordered_wait() 556 ip = list_entry(sdp->sd_log_le_ordered.next, struct gfs2_inode, i_ordered); in gfs2_ordered_wait() 568 void gfs2_ordered_del_inode(struct gfs2_inode *ip) in gfs2_ordered_del_inode()
|
D | main.c | 39 struct gfs2_inode *ip = foo; in gfs2_init_inode_once() 113 sizeof(struct gfs2_inode), in init_gfs2_fs()
|
D | export.c | 36 struct gfs2_inode *ip = GFS2_I(inode); in gfs2_encode_fh() 93 struct gfs2_inode *dip, *ip; in gfs2_get_name()
|
D | trans.h | 31 static inline unsigned int gfs2_rg_blocks(const struct gfs2_inode *ip, unsigned requested) in gfs2_rg_blocks()
|
D | recovery.c | 35 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_replay_read_block() 383 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in clean_journal() 454 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_recover_func()
|
D | lops.c | 527 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_scan_elements() 596 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_after_scan() 764 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in databuf_lo_scan_elements() 813 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in databuf_lo_after_scan()
|