Home
last modified time | relevance | path

Searched refs:jd (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/fs/gfs2/
Drecovery.c32 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block() argument
35 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_replay_read_block()
55 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_add() argument
57 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_add()
84 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check() argument
90 list_for_each_entry(rr, &jd->jd_revoke_list, rr_list) { in gfs2_revoke_check()
100 wrap = (rr->rr_where < jd->jd_replay_tail); in gfs2_revoke_check()
101 a = (jd->jd_replay_tail < where); in gfs2_revoke_check()
108 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean() argument
110 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_clean()
[all …]
Dlops.c520 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan() argument
526 jd->jd_found_blocks = 0; in buf_lo_before_scan()
527 jd->jd_replayed_blocks = 0; in buf_lo_before_scan()
530 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements() argument
534 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_scan_elements()
535 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements()
550 jd->jd_found_blocks++; in buf_lo_scan_elements()
552 if (gfs2_revoke_check(jd, blkno, start)) in buf_lo_scan_elements()
555 error = gfs2_replay_read_block(jd, start, &bh_log); in buf_lo_scan_elements()
573 jd->jd_replayed_blocks++; in buf_lo_scan_elements()
[all …]
Drecovery.h23 extern int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
26 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
27 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
28 extern void gfs2_revoke_clean(struct gfs2_jdesc *jd);
30 extern int gfs2_find_jhead(struct gfs2_jdesc *jd,
Dlops.h67 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan() argument
74 gfs2_log_ops[x]->lo_before_scan(jd, head, pass); in lops_before_scan()
77 static inline int lops_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in lops_scan_elements() argument
85 error = gfs2_log_ops[x]->lo_scan_elements(jd, start, in lops_scan_elements()
94 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan() argument
100 gfs2_log_ops[x]->lo_after_scan(jd, error, pass); in lops_after_scan()
Dsuper.c300 struct gfs2_jdesc *jd; in gfs2_jindex_free() local
309 jd = list_entry(list.next, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
310 gfs2_free_journal_extents(jd); in gfs2_jindex_free()
311 list_del(&jd->jd_list); in gfs2_jindex_free()
312 iput(jd->jd_inode); in gfs2_jindex_free()
313 kfree(jd); in gfs2_jindex_free()
319 struct gfs2_jdesc *jd; in jdesc_find_i() local
322 list_for_each_entry(jd, head, jd_list) { in jdesc_find_i()
323 if (jd->jd_jid == jid) { in jdesc_find_i()
330 jd = NULL; in jdesc_find_i()
[all …]
Dbmap.c1337 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents() argument
1341 while(!list_empty(&jd->extent_list)) { in gfs2_free_journal_extents()
1342 jext = list_entry(jd->extent_list.next, struct gfs2_journal_extent, list); in gfs2_free_journal_extents()
1358 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument
1362 if (!list_empty(&jd->extent_list)) { in gfs2_add_jextent()
1363 jext = list_entry(jd->extent_list.prev, struct gfs2_journal_extent, list); in gfs2_add_jextent()
1376 list_add_tail(&jext->list, &jd->extent_list); in gfs2_add_jextent()
1377 jd->nr_extents++; in gfs2_add_jextent()
1401 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents() argument
1405 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_map_journal_extents()
[all …]
Dops_fstype.c550 struct gfs2_jdesc *jd; in gfs2_jindex_hold() local
577 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
578 if (!jd) in gfs2_jindex_hold()
581 INIT_LIST_HEAD(&jd->extent_list); in gfs2_jindex_hold()
582 INIT_LIST_HEAD(&jd->jd_revoke_list); in gfs2_jindex_hold()
584 INIT_WORK(&jd->jd_work, gfs2_recover_func); in gfs2_jindex_hold()
585 jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1); in gfs2_jindex_hold()
586 if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { in gfs2_jindex_hold()
587 if (!jd->jd_inode) in gfs2_jindex_hold()
590 error = PTR_ERR(jd->jd_inode); in gfs2_jindex_hold()
[all …]
Dbmap.h58 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
59 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dsuper.h33 extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
Dsys.c407 struct gfs2_jdesc *jd; in gfs2_recover_set() local
418 list_for_each_entry(jd, &sdp->sd_jindex_list, jd_list) { in gfs2_recover_set()
419 if (jd->jd_jid != jid) in gfs2_recover_set()
421 rv = gfs2_recover_journal(jd, false); in gfs2_recover_set()
Dincore.h57 void (*lo_before_scan) (struct gfs2_jdesc *jd,
59 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
62 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
/linux-4.1.27/arch/alpha/kernel/
Dcore_apecs.c376 unsigned int jd; in apecs_pci_clr_err() local
378 jd = *(vuip)APECS_IOC_DCSR; in apecs_pci_clr_err()
379 if (jd & 0xffe0L) { in apecs_pci_clr_err()
381 *(vuip)APECS_IOC_DCSR = jd | 0xffe1L; in apecs_pci_clr_err()
Dcore_cia.c823 int jd; in cia_pci_clr_err() local
825 jd = *(vip)CIA_IOC_CIA_ERR; in cia_pci_clr_err()
826 *(vip)CIA_IOC_CIA_ERR = jd; in cia_pci_clr_err()
/linux-4.1.27/arch/powerpc/kvm/
Demulate.c83 u64 jd = tb - vcpu->arch.dec_jiffies; in kvmppc_get_dec() local
86 if (vcpu->arch.dec < jd) in kvmppc_get_dec()
90 return vcpu->arch.dec - jd; in kvmppc_get_dec()
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio-Models.txt238 ref-no-jd Reference board without HP/Mic jack detection
263 no-jd BIOS setup but without jack-detection