Home
last modified time | relevance | path

Searched refs:i_gl (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/fs/gfs2/
H A Dinode.c136 &ip->i_gl); in gfs2_inode_lookup()
191 glock_set_object(ip->i_gl, ip); in gfs2_inode_lookup()
228 if (ip->i_gl) { in gfs2_inode_lookup()
229 gfs2_glock_put(ip->i_gl); in gfs2_inode_lookup()
230 ip->i_gl = NULL; in gfs2_inode_lookup()
778 glock_set_object(ip->i_gl, ip); in gfs2_create_inode()
823 glock_clear_object(ip->i_gl, ip); in gfs2_create_inode()
830 if (ip->i_gl) { in gfs2_create_inode()
831 gfs2_glock_put(ip->i_gl); in gfs2_create_inode()
832 ip->i_gl = NULL; in gfs2_create_inode()
[all …]
H A Dsuper.c136 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw()
261 gfs2_trans_add_meta(m_ip->i_gl, m_bh); in update_statfs()
500 if (unlikely(!ip->i_gl)) { in gfs2_dirty_inode()
530 gfs2_trans_add_meta(ip->i_gl, bh); in gfs2_dirty_inode()
1197 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages()
1440 if (!ret && ip->i_gl) in evict_unlinked_inode()
1467 gfs2_ail_flush(ip->i_gl, 0); in evict_linked_inode()
1553 if (ip->i_gl) { in gfs2_evict_inode()
1554 glock_clear_object(ip->i_gl, ip); in gfs2_evict_inode()
1556 gfs2_glock_add_to_lru(ip->i_gl); in gfs2_evict_inode()
[all …]
H A Dxattr.c278 gfs2_trans_add_meta(ip->i_gl, bh); in ea_dealloc_unstuffed()
504 gfs2_trans_add_meta(ip->i_gl, bh[x]); in gfs2_iter_unstuffed()
646 *bhp = gfs2_meta_new(ip->i_gl, block); in ea_alloc_blk()
647 gfs2_trans_add_meta(ip->i_gl, *bhp); in ea_alloc_blk()
708 bh = gfs2_meta_new(ip->i_gl, block); in ea_write()
709 gfs2_trans_add_meta(ip->i_gl, bh); in ea_write()
881 gfs2_trans_add_meta(ip->i_gl, bh); in ea_set_simple_noalloc()
1001 gfs2_trans_add_meta(ip->i_gl, indbh); in ea_set_block()
1009 indbh = gfs2_meta_new(ip->i_gl, blk); in ea_set_block()
1332 gfs2_trans_add_meta(ip->i_gl, indbh); in ea_dealloc_indirect()
[all …]
H A Dutil.c61 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_NOEXP | in check_journal_clean()
123 struct gfs2_glock *i_gl; in signal_our_withdraw() local
134 i_gl = ip->i_gl; in signal_our_withdraw()
189 wait_on_bit(&i_gl->gl_flags, GLF_DEMOTE, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
209 if (i_gl->gl_ops->go_free) { in signal_our_withdraw()
210 set_bit(GLF_FREEING, &i_gl->gl_flags); in signal_our_withdraw()
211 wait_on_bit(&i_gl->gl_flags, GLF_FREEING, TASK_UNINTERRUPTIBLE); in signal_our_withdraw()
455 gfs2_dump_glock(NULL, ip->i_gl, 1); in gfs2_consist_inode_i()
H A Dacl.c70 if (!gfs2_glock_is_locked_by_me(ip->i_gl)) { in gfs2_get_acl()
71 int ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_get_acl()
129 if (!gfs2_glock_is_locked_by_me(ip->i_gl)) { in gfs2_set_acl()
130 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
H A Dfile.c169 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fileattr_get()
245 gfs2_log_flush(sdp, ip->i_gl, in do_gfs2_set_flags()
264 gfs2_trans_add_meta(ip->i_gl, bh); in do_gfs2_set_flags()
432 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
457 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_page_mkwrite()
558 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fault()
768 gfs2_ail_flush(ip->i_gl, 1); in gfs2_fsync()
838 gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, gh); in gfs2_file_direct_read()
901 gfs2_holder_init(ip->i_gl, LM_ST_DEFERRED, 0, gh); in gfs2_file_direct_write()
981 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_file_read_iter()
[all …]
H A Ddentry.c63 had_lock = (gfs2_glock_is_locked_by_me(dip->i_gl) != NULL); in gfs2_drevalidate()
65 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_drevalidate()
H A Ddir.c94 bh = gfs2_meta_new(ip->i_gl, block); in gfs2_dir_get_new_buffer()
95 gfs2_trans_add_meta(ip->i_gl, bh); in gfs2_dir_get_new_buffer()
129 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_stuffed()
210 gfs2_trans_add_meta(ip->i_gl, bh); in gfs2_dir_write_data()
232 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_dir_write_data()
678 gfs2_trans_add_meta(dip->i_gl, bh); in dirent_del()
717 gfs2_trans_add_meta(ip->i_gl, bh); in do_init_dirent()
874 bh = gfs2_meta_new(ip->i_gl, bn); in new_leaf()
879 gfs2_trans_add_meta(ip->i_gl, bh); in new_leaf()
1483 struct gfs2_glock *gl = ip->i_gl; in gfs2_dir_readahead()
[all …]
H A Dbmap.c83 gfs2_trans_add_data(ip->i_gl, bh); in gfs2_unstuffer_page()
129 gfs2_trans_add_meta(ip->i_gl, dibh); in __gfs2_unstuff_inode()
677 gfs2_trans_add_meta(ip->i_gl, dibh); in __gfs2_iomap_alloc()
749 gfs2_indirect_init(mp, ip->i_gl, i, in __gfs2_iomap_alloc()
1381 gfs2_trans_add_meta(ip->i_gl, dibh); in trunc_start()
1553 gfs2_trans_add_meta(ip->i_gl, bh); in sweep_bh_for_rgrps()
1587 gfs2_trans_add_meta(ip->i_gl, dibh); in sweep_bh_for_rgrps()
1954 gfs2_trans_add_meta(ip->i_gl, dibh); in punch_hole()
1999 gfs2_trans_add_meta(ip->i_gl, dibh); in trunc_end()
2098 gfs2_trans_add_meta(ip->i_gl, dibh); in do_grow()
[all …]
H A Daops.c57 gfs2_trans_add_data(ip->i_gl, bh); in gfs2_trans_add_databufs()
158 if (gfs2_assert_withdraw(sdp, gfs2_glock_is_held_excl(ip->i_gl))) in gfs2_jdata_writepage()
398 gfs2_log_flush(sdp, ip->i_gl, GFS2_LOG_HEAD_FLUSH_NORMAL | in gfs2_jdata_writepages()
601 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_bmap()
H A Dmeta_io.c448 if (!ip->i_gl) { in gfs2_journal_wipe()
457 bh = gfs2_getbuf(ip->i_gl, bstart, NO_CREATE); in gfs2_journal_wipe()
492 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer()
H A Dlops.c791 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements()
846 gfs2_inode_metasync(ip->i_gl); in buf_lo_after_scan()
852 gfs2_inode_metasync(ip->i_gl); in buf_lo_after_scan()
1015 struct gfs2_glock *gl = ip->i_gl; in databuf_lo_scan_elements()
1066 gfs2_inode_metasync(ip->i_gl); in databuf_lo_after_scan()
1073 gfs2_inode_metasync(ip->i_gl); in databuf_lo_after_scan()
H A Drecovery.c36 struct gfs2_glock *gl = ip->i_gl; in gfs2_replay_read_block()
351 gfs2_inode_metasync(ip->i_gl); in update_statfs_inode()
445 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in gfs2_recover_func()
H A Dquota.c410 error = gfs2_meta_read(ip->i_gl, iomap.addr >> inode->i_blkbits, in bh_get()
690 gfs2_trans_add_meta(ip->i_gl, qd->qd_bh); in do_qc()
766 gfs2_trans_add_data(ip->i_gl, bh); in gfs2_write_buf_to_page()
918 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync()
976 gfs2_log_flush(ip->i_gl->gl_name.ln_sbd, ip->i_gl, in do_sync()
1036 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock()
1414 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1703 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
H A Dtrace_gfs2.h455 __entry->dev = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
491 __entry->dev = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
523 __entry->dev = ip->i_gl->gl_name.ln_sbd->sd_vfs->s_dev;
H A Dexport.c112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
H A Dops_fstype.c582 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); in gfs2_jindex_hold()
696 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_statfs()
791 sdp->sd_jinode_gl = ip->i_gl; in init_journal()
792 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in init_journal()
964 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_per_node()
H A Dincore.h391 struct gfs2_glock *i_gl; member
H A Dglops.c600 struct gfs2_glock *j_gl = ip->i_gl; in freeze_go_xmote_bh()
H A Dglock.c679 if (gl == m_ip->i_gl) in is_system_glock()
1005 gfs2_glock_poke(ip->i_gl); in gfs2_try_evict()
H A Drgrp.c1037 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update()
2458 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_alloc_blocks()