Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/util/
Djitdump.c109 jit_close(struct jit_buf_desc *jd) in jit_close() argument
111 if (!(jd && jd->in)) in jit_close()
113 funlockfile(jd->in); in jit_close()
114 fclose(jd->in); in jit_close()
115 jd->in = NULL; in jit_close()
134 jit_open(struct jit_buf_desc *jd, const char *name) in jit_open() argument
142 jd->in = fopen(name, "r"); in jit_open()
143 if (!jd->in) in jit_open()
155 flockfile(jd->in); in jit_open()
157 ret = fread(buf, sizeof(header), 1, jd->in); in jit_open()
[all …]
/kernel/linux/linux-5.10/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.c142 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap() argument
146 list_for_each_entry(je, &jd->extent_list, list) { in gfs2_log_bmap()
418 static bool gfs2_jhead_pg_srch(struct gfs2_jdesc *jd, in gfs2_jhead_pg_srch() argument
422 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jhead_pg_srch()
461 static void gfs2_jhead_process_page(struct gfs2_jdesc *jd, unsigned long index, in gfs2_jhead_process_page() argument
467 page = find_get_page(jd->jd_inode->i_mapping, index); in gfs2_jhead_process_page()
474 *done = gfs2_jhead_pg_srch(jd, head, page); in gfs2_jhead_process_page()
504 int gfs2_find_jhead(struct gfs2_jdesc *jd, struct gfs2_log_header_host *head, in gfs2_find_jhead() argument
507 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_find_jhead()
508 struct address_space *mapping = jd->jd_inode->i_mapping; in gfs2_find_jhead()
[all …]
Drecovery.h14 static inline void gfs2_replay_incr_blk(struct gfs2_jdesc *jd, u32 *blk) in gfs2_replay_incr_blk() argument
16 if (++*blk == jd->jd_blocks) in gfs2_replay_incr_blk()
20 extern int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
23 extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
24 extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
25 extern void gfs2_revoke_clean(struct gfs2_jdesc *jd);
Dlops.h22 extern u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lbn);
28 extern int gfs2_find_jhead(struct gfs2_jdesc *jd,
64 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan() argument
71 gfs2_log_ops[x]->lo_before_scan(jd, head, pass); in lops_before_scan()
74 static inline int lops_scan_elements(struct gfs2_jdesc *jd, u32 start, in lops_scan_elements() argument
82 error = gfs2_log_ops[x]->lo_scan_elements(jd, start, in lops_scan_elements()
91 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan() argument
97 gfs2_log_ops[x]->lo_after_scan(jd, error, pass); in lops_after_scan()
Dsuper.c62 struct gfs2_jdesc *jd; in gfs2_jindex_free() local
72 jd = list_first_entry(&list, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
73 gfs2_free_journal_extents(jd); in gfs2_jindex_free()
74 list_del(&jd->jd_list); in gfs2_jindex_free()
75 iput(jd->jd_inode); in gfs2_jindex_free()
76 jd->jd_inode = NULL; in gfs2_jindex_free()
77 kfree(jd); in gfs2_jindex_free()
83 struct gfs2_jdesc *jd; in jdesc_find_i() local
86 list_for_each_entry(jd, head, jd_list) { in jdesc_find_i()
87 if (jd->jd_jid == jid) { in jdesc_find_i()
[all …]
Dops_fstype.c553 struct gfs2_jdesc *jd; in gfs2_jindex_hold() local
582 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
583 if (!jd) in gfs2_jindex_hold()
586 INIT_LIST_HEAD(&jd->extent_list); in gfs2_jindex_hold()
587 INIT_LIST_HEAD(&jd->jd_revoke_list); in gfs2_jindex_hold()
589 INIT_WORK(&jd->jd_work, gfs2_recover_func); in gfs2_jindex_hold()
590 jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1); in gfs2_jindex_hold()
591 if (IS_ERR_OR_NULL(jd->jd_inode)) { in gfs2_jindex_hold()
592 if (!jd->jd_inode) in gfs2_jindex_hold()
595 error = PTR_ERR(jd->jd_inode); in gfs2_jindex_hold()
[all …]
Dbmap.h62 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
63 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
Dutil.c50 int check_journal_clean(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in check_journal_clean() argument
58 ip = GFS2_I(jd->jd_inode); in check_journal_clean()
67 error = gfs2_jdesc_check(jd); in check_journal_clean()
74 error = gfs2_find_jhead(jd, &head, false); in check_journal_clean()
86 jd->jd_jid); in check_journal_clean()
Dbmap.c2228 void gfs2_free_journal_extents(struct gfs2_jdesc *jd) in gfs2_free_journal_extents() argument
2232 while(!list_empty(&jd->extent_list)) { in gfs2_free_journal_extents()
2233 jext = list_first_entry(&jd->extent_list, struct gfs2_journal_extent, list); in gfs2_free_journal_extents()
2249 static int gfs2_add_jextent(struct gfs2_jdesc *jd, u64 lblock, u64 dblock, u64 blocks) in gfs2_add_jextent() argument
2253 if (!list_empty(&jd->extent_list)) { in gfs2_add_jextent()
2254 jext = list_last_entry(&jd->extent_list, struct gfs2_journal_extent, list); in gfs2_add_jextent()
2267 list_add_tail(&jext->list, &jd->extent_list); in gfs2_add_jextent()
2268 jd->nr_extents++; in gfs2_add_jextent()
2292 int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd) in gfs2_map_journal_extents() argument
2296 struct gfs2_inode *ip = GFS2_I(jd->jd_inode); in gfs2_map_journal_extents()
[all …]
Dsuper.h28 extern int gfs2_jdesc_check(struct gfs2_jdesc *jd);
Dlog.h69 extern void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
Dincore.h58 void (*lo_before_scan) (struct gfs2_jdesc *jd,
60 int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
63 void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
Dsys.c423 struct gfs2_jdesc *jd; in gfs2_recover_set() local
443 list_for_each_entry(jd, &sdp->sd_jindex_list, jd_list) { in gfs2_recover_set()
444 if (jd->jd_jid != jid && !sdp->sd_args.ar_spectator) in gfs2_recover_set()
446 rv = gfs2_recover_journal(jd, false); in gfs2_recover_set()
Dlog.c759 void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_write_log_header() argument
793 if (!list_empty(&jd->extent_list)) in gfs2_write_log_header()
794 dblock = gfs2_log_bmap(jd, lblock); in gfs2_write_log_header()
796 int ret = gfs2_lblk_to_dblk(jd->jd_inode, lblock, &dblock); in gfs2_write_log_header()
801 lh->lh_jinode = cpu_to_be64(GFS2_I(jd->jd_inode)->i_no_addr); in gfs2_write_log_header()
Dlock_dlm.c586 struct gfs2_jdesc *jd; in remote_withdraw() local
589 list_for_each_entry(jd, &sdp->sd_jindex_list, jd_list) { in remote_withdraw()
590 if (jd->jd_jid == sdp->sd_lockstruct.ls_jid) in remote_withdraw()
592 ret = gfs2_recover_journal(jd, true); in remote_withdraw()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drt5645.txt20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
39 -- realtek,jd-mode : The JD mode of rt5645/rt5650
74 realtek,en-jd-func = "true";
75 realtek,jd-mode = <3>;
Drt5668.txt24 - realtek,jd-src
49 realtek,jd-src = <1>;
Drt5682.txt24 - realtek,jd-src
66 realtek,jd-src = <1>;
Drt5665.txt31 - realtek,jd-src
Drt5659.txt37 - realtek,jd-src
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dcore_apecs.c378 unsigned int jd; in apecs_pci_clr_err() local
380 jd = *(vuip)APECS_IOC_DCSR; in apecs_pci_clr_err()
381 if (jd & 0xffe0L) { in apecs_pci_clr_err()
383 *(vuip)APECS_IOC_DCSR = jd | 0xffe1L; in apecs_pci_clr_err()
Dcore_cia.c827 int jd; in cia_pci_clr_err() local
829 jd = *(vip)CIA_IOC_CIA_ERR; in cia_pci_clr_err()
830 *(vip)CIA_IOC_CIA_ERR = jd; in cia_pci_clr_err()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Demulate.c65 u64 jd = tb - vcpu->arch.dec_jiffies; in kvmppc_get_dec() local
68 if (vcpu->arch.dec < jd) in kvmppc_get_dec()
72 return vcpu->arch.dec - jd; in kvmppc_get_dec()
/kernel/linux/linux-5.10/Documentation/maintainer/
Dconfigure-git.rst22 email = jd@domain.org
23 signingkey = jd@domain.org

12