Lines Matching refs:wb_head
239 if (ret || req->wb_head == req) in nfs_page_group_lock()
241 return nfs_page_set_headlock(req->wb_head); in nfs_page_group_lock()
251 if (req != req->wb_head) in nfs_page_group_unlock()
252 nfs_page_clear_headlock(req->wb_head); in nfs_page_group_unlock()
264 struct nfs_page *head = req->wb_head; in nfs_page_group_sync_on_bit_locked()
318 req->wb_head = req; in nfs_page_group_init()
322 WARN_ON_ONCE(prev->wb_this_page != prev->wb_head); in nfs_page_group_init()
323 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags)); in nfs_page_group_init()
324 req->wb_head = prev->wb_head; in nfs_page_group_init()
330 kref_get(&req->wb_head->wb_kref); in nfs_page_group_init()
335 if (test_bit(PG_INODE_REF, &prev->wb_head->wb_flags)) { in nfs_page_group_init()
355 struct nfs_page *head = req->wb_head; in nfs_page_group_destroy()
366 tmp->wb_head = tmp; in nfs_page_group_destroy()
504 for (last = req->wb_head; in nfs_create_subreq()
505 last->wb_this_page != req->wb_head; in nfs_create_subreq()