Home
last modified time | relevance | path

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

/linux-6.6.21/fs/gfs2/
Dinode.c136 &ip->i_gl); in gfs2_inode_lookup()
167 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, in gfs2_inode_lookup()
174 gfs2_inode_already_deleted(ip->i_gl, no_formal_ino)) in gfs2_inode_lookup()
185 set_bit(GLF_INSTANTIATE_NEEDED, &ip->i_gl->gl_flags); in gfs2_inode_lookup()
191 glock_set_object(ip->i_gl, ip); in gfs2_inode_lookup()
197 glock_clear_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()
326 if (gfs2_glock_is_locked_by_me(dip->i_gl) == NULL) { in gfs2_lookupi()
[all …]
Dsuper.c132 struct gfs2_glock *j_gl = ip->i_gl; in gfs2_make_fs_rw()
190 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_init()
229 gfs2_trans_add_meta(l_ip->i_gl, sdp->sd_sc_bh); in gfs2_statfs_change()
256 gfs2_trans_add_meta(l_ip->i_gl, sdp->sd_sc_bh); in update_statfs()
257 gfs2_trans_add_meta(m_ip->i_gl, m_bh); in update_statfs()
280 error = gfs2_glock_nq_init(m_ip->i_gl, LM_ST_EXCLUSIVE, GL_NOCACHE, in gfs2_statfs_sync()
349 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
447 struct address_space *metamapping = gfs2_glock2aspace(ip->i_gl); in gfs2_write_inode()
453 gfs2_log_flush(GFS2_SB(inode), ip->i_gl, in gfs2_write_inode()
496 if (unlikely(!ip->i_gl)) { in gfs2_dirty_inode()
[all …]
Dxattr.c131 error = gfs2_meta_read(ip->i_gl, ip->i_eattr, DIO_WAIT, 0, &bh); in ea_foreach()
155 error = gfs2_meta_read(ip->i_gl, bn, DIO_WAIT, 0, &eabh); in ea_foreach()
278 gfs2_trans_add_meta(ip->i_gl, bh); in ea_dealloc_unstuffed()
425 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_listxattr()
471 error = gfs2_meta_read(ip->i_gl, be64_to_cpu(*dataptrs), 0, 0, in gfs2_iter_unstuffed()
504 gfs2_trans_add_meta(ip->i_gl, bh[x]); in gfs2_iter_unstuffed()
613 if (!gfs2_glock_is_locked_by_me(ip->i_gl)) { in gfs2_xattr_get()
614 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
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()
[all …]
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()
456 gfs2_dump_glock(NULL, ip->i_gl, 1); in gfs2_consist_inode_i()
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()
Dfile.c66 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_llseek()
112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &d_gh); in gfs2_readdir()
169 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fileattr_get()
228 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
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()
598 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, in gfs2_mmap()
[all …]
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()
108 error = gfs2_meta_read(ip->i_gl, block, DIO_WAIT, 0, &bh); in gfs2_dir_get_existing_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()
301 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_dir_read_data()
303 error = gfs2_meta_read(ip->i_gl, dblock, DIO_WAIT, 0, &bh); in gfs2_dir_read_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()
[all …]
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()
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()
721 gfs2_indirect_init(mp, ip->i_gl, i, 0, bn++); in __gfs2_iomap_alloc()
747 gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[i-1]); in __gfs2_iomap_alloc()
749 gfs2_indirect_init(mp, ip->i_gl, i, in __gfs2_iomap_alloc()
759 gfs2_trans_add_meta(ip->i_gl, mp->mp_bh[end_of_metadata]); in __gfs2_iomap_alloc()
1180 set_bit(GLF_DIRTY, &ip->i_gl->gl_flags); in gfs2_iomap_end()
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()
[all …]
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()
603 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &i_gh); in gfs2_bmap()
Dmeta_io.c445 if (!ip->i_gl) { in gfs2_journal_wipe()
454 bh = gfs2_getbuf(ip->i_gl, bstart, NO_CREATE); in gfs2_journal_wipe()
489 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer()
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()
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()
Dquota.c413 error = gfs2_meta_read(ip->i_gl, iomap.addr >> inode->i_blkbits, in bh_get()
708 gfs2_trans_add_meta(ip->i_gl, qd->qd_bh); in do_qc()
786 gfs2_trans_add_data(ip->i_gl, bh); in gfs2_write_buf_to_page()
938 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in do_sync()
996 gfs2_log_flush(ip->i_gl->gl_name.ln_sbd, ip->i_gl, in do_sync()
1056 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); in do_glock()
1428 bh = gfs2_meta_ra(ip->i_gl, dblock, extlen); in gfs2_quota_init()
1717 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); in gfs2_set_dqblk()
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;
Dexport.c112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
Dops_fstype.c581 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, ji_gh); in gfs2_jindex_hold()
695 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_statfs()
790 sdp->sd_jinode_gl = ip->i_gl; in init_journal()
791 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, in init_journal()
963 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_NOPID, in init_per_node()
Dincore.h391 struct gfs2_glock *i_gl; member
Dglops.c597 struct gfs2_glock *j_gl = ip->i_gl; in freeze_go_xmote_bh()
Drgrp.c1037 struct gfs2_glock *gl = ip->i_gl; in gfs2_rindex_update()
2459 gfs2_trans_add_meta(ip->i_gl, dibh); in gfs2_alloc_blocks()
Dglock.c656 if (gl == m_ip->i_gl) in is_system_glock()
970 gfs2_glock_poke(ip->i_gl); in gfs2_try_evict()