Lines Matching refs:i_res
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()
1443 struct gfs2_blkreserv *rs = ip->i_res; in rs_insert()
1490 struct gfs2_blkreserv *rs = ip->i_res; in rg_mblk_search()
1561 while ((rs_cmp(block, length, rs) == 0) && (ip->i_res != rs)) { in gfs2_next_unreserved_block()
1964 struct gfs2_blkreserv *rs = ip->i_res; in gfs2_inplace_reserve()
2093 struct gfs2_blkreserv *rs = ip->i_res; in gfs2_inplace_release()
2247 struct gfs2_blkreserv *rs = ip->i_res; in gfs2_adjust_reservation()
2290 if (gfs2_rs_active(ip->i_res)) { in gfs2_set_alloc_start()
2291 *rbm = ip->i_res->rs_rbm; in gfs2_set_alloc_start()
2345 if (gfs2_rs_active(ip->i_res)) in gfs2_alloc_blocks()