• Home
  • Raw
  • Download

Lines Matching refs:head

57 	struct list_head *head = &jd->jd_revoke_list;  in gfs2_revoke_add()  local
61 list_for_each_entry(rr, head, rr_list) { in gfs2_revoke_add()
79 list_add(&rr->rr_list, head); in gfs2_revoke_add()
110 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_clean() local
113 while (!list_empty(head)) { in gfs2_revoke_clean()
114 rr = list_entry(head->next, struct gfs2_revoke_replay, rr_list); in gfs2_revoke_clean()
151 struct gfs2_log_header_host *head) in get_log_header() argument
173 *head = lh; in get_log_header()
192 struct gfs2_log_header_host *head) in find_good_lh() argument
198 error = get_log_header(jd, *blk, head); in find_good_lh()
223 static int jhead_scan(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in jhead_scan() argument
225 unsigned int blk = head->lh_blkno; in jhead_scan()
239 if (lh.lh_sequence == head->lh_sequence) { in jhead_scan()
243 if (lh.lh_sequence < head->lh_sequence) in jhead_scan()
246 *head = lh; in jhead_scan()
263 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in gfs2_find_jhead() argument
296 *head = lh_1; in gfs2_find_jhead()
381 static int clean_journal(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head) in clean_journal() argument
392 lblock = head->lh_blkno; in clean_journal()
417 lh->lh_sequence = cpu_to_be64(head->lh_sequence + 1); in clean_journal()
456 struct gfs2_log_header_host head; in gfs2_recover_func() local
501 error = gfs2_find_jhead(jd, &head); in gfs2_recover_func()
505 if (!(head.lh_flags & GFS2_LOG_HEAD_UNMOUNT)) { in gfs2_recover_func()
547 lops_before_scan(jd, &head, pass); in gfs2_recover_func()
548 error = foreach_descriptor(jd, head.lh_tail, in gfs2_recover_func()
549 head.lh_blkno, pass); in gfs2_recover_func()
555 error = clean_journal(jd, &head); in gfs2_recover_func()