Lines Matching refs:head
416 * gfs2_jhead_pg_srch - Look for the journal head in a given page.
418 * @head: The journal head to start from
425 struct gfs2_log_header_host *head,
437 if (lh.lh_sequence >= head->lh_sequence)
438 *head = lh;
453 * @head: The journal head to start from
457 * the journal head if requested (cleanup == false). Release refs on the
470 struct gfs2_log_header_host *head,
482 *done = gfs2_jhead_pg_srch(jd, head, &folio->page);
501 * gfs2_find_jhead - find the head of a log
503 * @head: The log descriptor for the head of the log is returned here
507 * the valid log entry with the highest sequence number. (i.e. the log head)
511 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head,
528 memset(head, 0, sizeof(*head));
583 gfs2_jhead_process_page(jd, blocks_read >> shift, head, &done);
594 gfs2_jhead_process_page(jd, blocks_read >> shift, head, &done);
735 struct list_head *head;
741 head = &tr->tr_buf;
742 while (!list_empty(head)) {
743 bd = list_first_entry(head, struct gfs2_bufdata, bd_list);
750 struct gfs2_log_header_host *head, int pass)
862 struct list_head *head = &sdp->sd_log_revokes;
875 list_for_each_entry(bd, head, bd_list) {
899 struct list_head *head = &sdp->sd_log_revokes;
903 while (!list_empty(head)) {
904 bd = list_first_entry(head, struct gfs2_bufdata, bd_list);
918 struct gfs2_log_header_host *head, int pass)
924 jd->jd_replay_tail = head->lh_tail;
1081 struct list_head *head;
1087 head = &tr->tr_databuf;
1088 while (!list_empty(head)) {
1089 bd = list_first_entry(head, struct gfs2_bufdata, bd_list);