Searched refs:i_res (Results 1 – 8 of 8) sorted by relevance
536 if (ip->i_res == NULL) { in gfs2_quota_hold()542 qd = ip->i_res->rs_qa_qd; in gfs2_quota_hold()544 if (gfs2_assert_warn(sdp, !ip->i_res->rs_qa_qd_num) || in gfs2_quota_hold()554 ip->i_res->rs_qa_qd_num++; in gfs2_quota_hold()560 ip->i_res->rs_qa_qd_num++; in gfs2_quota_hold()568 ip->i_res->rs_qa_qd_num++; in gfs2_quota_hold()577 ip->i_res->rs_qa_qd_num++; in gfs2_quota_hold()592 if (ip->i_res == NULL) in gfs2_quota_unhold()596 for (x = 0; x < ip->i_res->rs_qa_qd_num; x++) { in gfs2_quota_unhold()597 qdsb_put(ip->i_res->rs_qa_qd[x]); in gfs2_quota_unhold()[all …]
607 if (ip->i_res) in gfs2_rs_alloc()610 ip->i_res = kmem_cache_zalloc(gfs2_rsrv_cachep, GFP_NOFS); in gfs2_rs_alloc()611 if (!ip->i_res) { in gfs2_rs_alloc()616 RB_CLEAR_NODE(&ip->i_res->rs_node); in gfs2_rs_alloc()689 if (ip->i_res && ((wcount == NULL) || (atomic_read(wcount) <= 1))) { in gfs2_rs_delete()690 gfs2_rs_deltree(ip->i_res); in gfs2_rs_delete()691 BUG_ON(ip->i_res->rs_free); in gfs2_rs_delete()692 kmem_cache_free(gfs2_rsrv_cachep, ip->i_res); in gfs2_rs_delete()693 ip->i_res = NULL; in gfs2_rs_delete()1459 struct gfs2_blkreserv *rs = ip->i_res; in rs_insert()[all …]
44 ip->i_res = NULL; in gfs2_init_inode_once()
339 if (hint > atomic_read(&ip->i_res->rs_sizehint)) in gfs2_size_hint()340 atomic_set(&ip->i_res->rs_sizehint, hint); in gfs2_size_hint()947 gfs2_rs_deltree(ip->i_res); in gfs2_fallocate()
790 if (gfs2_rs_active(ip->i_res)) /* needs to be done with the rgrp glock held */ in do_strip()791 gfs2_rs_deltree(ip->i_res); in do_strip()1310 gfs2_rs_deltree(ip->i_res); in gfs2_setattr_size()
1596 if (gfs2_rs_active(ip->i_res)) in gfs2_evict_inode()1597 gfs2_rs_deltree(ip->i_res); in gfs2_evict_inode()1635 ip->i_res = NULL; in gfs2_alloc_inode()
394 struct gfs2_blkreserv *i_res; /* rgrp multi-block reservation */ member
917 if (ip->i_res->rs_qa_qd_num) in gfs2_write_end()