Home
last modified time | relevance | path

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

12

/Linux-v4.19/tools/perf/util/
Djitdump.c107 jit_close(struct jit_buf_desc *jd) in jit_close() argument
109 if (!(jd && jd->in)) in jit_close()
111 funlockfile(jd->in); in jit_close()
112 fclose(jd->in); in jit_close()
113 jd->in = NULL; in jit_close()
132 jit_open(struct jit_buf_desc *jd, const char *name) in jit_open() argument
140 jd->in = fopen(name, "r"); in jit_open()
141 if (!jd->in) in jit_open()
153 flockfile(jd->in); in jit_open()
155 ret = fread(buf, sizeof(header), 1, jd->in); in jit_open()
[all …]
/Linux-v4.19/fs/gfs2/
Drecovery.c35 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk, in gfs2_replay_read_block() argument
38 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_replay_read_block()
58 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_add() argument
60 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_add()
87 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check() argument
93 list_for_each_entry(rr, &jd->jd_revoke_list, rr_list) { in gfs2_revoke_check()
103 wrap = (rr->rr_where < jd->jd_replay_tail); in gfs2_revoke_check()
104 a = (jd->jd_replay_tail < where); in gfs2_revoke_check()
111 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean() argument
113 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_clean()
[all …]
Dlops.c516 static void buf_lo_before_scan(struct gfs2_jdesc *jd, in buf_lo_before_scan() argument
522 jd->jd_found_blocks = 0; in buf_lo_before_scan()
523 jd->jd_replayed_blocks = 0; in buf_lo_before_scan()
526 static int buf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in buf_lo_scan_elements() argument
530 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in buf_lo_scan_elements()
531 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in buf_lo_scan_elements()
541 gfs2_replay_incr_blk(jd, &start); in buf_lo_scan_elements()
543 for (; blks; gfs2_replay_incr_blk(jd, &start), blks--) { in buf_lo_scan_elements()
546 jd->jd_found_blocks++; in buf_lo_scan_elements()
548 if (gfs2_revoke_check(jd, blkno, start)) in buf_lo_scan_elements()
[all …]
Drecovery.h17 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, unsigned int *blk) in gfs2_replay_incr_blk() argument
19 if (++*blk == jd->jd_blocks) in gfs2_replay_incr_blk()
23 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.h70 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan() argument
77 gfs2_log_ops[x]->lo_before_scan(jd, head, pass); in lops_before_scan()
80 static inline int lops_scan_elements(struct gfs2_jdesc *jd, unsigned int start, in lops_scan_elements() argument
88 error = gfs2_log_ops[x]->lo_scan_elements(jd, start, in lops_scan_elements()
97 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan() argument
103 gfs2_log_ops[x]->lo_after_scan(jd, error, pass); in lops_after_scan()
Dsuper.c310 struct gfs2_jdesc *jd; in gfs2_jindex_free() local
319 jd = list_entry(list.next, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
320 gfs2_free_journal_extents(jd); in gfs2_jindex_free()
321 list_del(&jd->jd_list); in gfs2_jindex_free()
322 iput(jd->jd_inode); in gfs2_jindex_free()
323 kfree(jd); in gfs2_jindex_free()
329 struct gfs2_jdesc *jd; in jdesc_find_i() local
332 list_for_each_entry(jd, head, jd_list) { in jdesc_find_i()
333 if (jd->jd_jid == jid) { in jdesc_find_i()
340 jd = NULL; in jdesc_find_i()
[all …]
Dops_fstype.c537 struct gfs2_jdesc *jd; in gfs2_jindex_hold() local
564 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
565 if (!jd) in gfs2_jindex_hold()
568 INIT_LIST_HEAD(&jd->extent_list); in gfs2_jindex_hold()
569 INIT_LIST_HEAD(&jd->jd_revoke_list); in gfs2_jindex_hold()
571 INIT_WORK(&jd->jd_work, gfs2_recover_func); in gfs2_jindex_hold()
572 jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1); in gfs2_jindex_hold()
573 if (!jd->jd_inode || IS_ERR(jd->jd_inode)) { in gfs2_jindex_hold()
574 if (!jd->jd_inode) in gfs2_jindex_hold()
577 error = PTR_ERR(jd->jd_inode); in gfs2_jindex_hold()
[all …]
Dbmap.h64 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
65 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dbmap.c2178 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents() argument
2182 while(!list_empty(&jd->extent_list)) { in gfs2_free_journal_extents()
2183 jext = list_entry(jd->extent_list.next, struct gfs2_journal_extent, list); in gfs2_free_journal_extents()
2199 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument
2203 if (!list_empty(&jd->extent_list)) { in gfs2_add_jextent()
2204 jext = list_entry(jd->extent_list.prev, struct gfs2_journal_extent, list); in gfs2_add_jextent()
2217 list_add_tail(&jext->list, &jd->extent_list); in gfs2_add_jextent()
2218 jd->nr_extents++; in gfs2_add_jextent()
2242 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents() argument
2246 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_map_journal_extents()
[all …]
Dsuper.h33 extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
Dlog.h73 extern void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
Dsys.c424 struct gfs2_jdesc *jd; in gfs2_recover_set() local
442 list_for_each_entry(jd, &sdp->sd_jindex_list, jd_list) { in gfs2_recover_set()
443 if (jd->jd_jid != jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
445 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);
Dlog.c678 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header() argument
709 lh->lh_jinode = cpu_to_be64(GFS2_I(jd->jd_inode)->i_no_addr); in gfs2_write_log_header()
/Linux-v4.19/Documentation/devicetree/bindings/sound/
Drt5645.txt16 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
35 -- realtek,jd-mode : The JD mode of rt5645/rt5650
70 realtek,en-jd-func = "true";
71 realtek,jd-mode = <3>;
Drt5668.txt24 - realtek,jd-src
49 realtek,jd-src = <1>;
Drt5682.txt24 - realtek,jd-src
49 realtek,jd-src = <1>;
Drt5665.txt31 - realtek,jd-src
Drt5659.txt37 - realtek,jd-src
/Linux-v4.19/arch/alpha/kernel/
Dcore_apecs.c377 unsigned int jd; in apecs_pci_clr_err() local
379 jd = *(vuip)APECS_IOC_DCSR; in apecs_pci_clr_err()
380 if (jd & 0xffe0L) { in apecs_pci_clr_err()
382 *(vuip)APECS_IOC_DCSR = jd | 0xffe1L; in apecs_pci_clr_err()
Dcore_cia.c824 int jd; in cia_pci_clr_err() local
826 jd = *(vip)CIA_IOC_CIA_ERR; in cia_pci_clr_err()
827 *(vip)CIA_IOC_CIA_ERR = jd; in cia_pci_clr_err()
/Linux-v4.19/Documentation/devicetree/bindings/display/
Dsitronix,st7735r.txt7 - compatible: "jianda,jd-t18003-t01", "sitronix,st7735r"
28 compatible = "jianda,jd-t18003-t01", "sitronix,st7735r";
/Linux-v4.19/Documentation/maintainer/
Dconfigure-git.rst22 email = jd@domain.org
23 signingkey = jd@domain.org
/Linux-v4.19/arch/powerpc/kvm/
Demulate.c77 u64 jd = tb - vcpu->arch.dec_jiffies; in kvmppc_get_dec() local
80 if (vcpu->arch.dec < jd) in kvmppc_get_dec()
84 return vcpu->arch.dec - jd; in kvmppc_get_dec()
/Linux-v4.19/Documentation/devicetree/bindings/extcon/
Dextcon-arizona.txt21 - wlf,jd-invert : Invert the polarity of the jack detection switch
61 wlf,jd-invert;

12