Home
last modified time | relevance | path

Searched full:jd (Results 1 – 25 of 171) sorted by relevance

1234567

/kernel/linux/linux-6.6/tools/perf/util/
Djitdump.c70 jit_emit_elf(struct jit_buf_desc *jd, in jit_emit_elf() argument
88 nsinfo__mountns_enter(jd->nsi, &nsc); in jit_emit_elf()
103 nsinfo__mountns_enter(jd->nsi, &nsc); in jit_emit_elf()
112 jit_close(struct jit_buf_desc *jd) in jit_close() argument
114 if (!(jd && jd->in)) in jit_close()
116 funlockfile(jd->in); in jit_close()
117 fclose(jd->in); in jit_close()
118 jd->in = NULL; in jit_close()
137 jit_open(struct jit_buf_desc *jd, const char *name) in jit_open() argument
146 nsinfo__mountns_enter(jd->nsi, &nsc); in jit_open()
[all …]
/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-6.6/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()
83 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) in gfs2_revoke_check() argument
88 list_for_each_entry(iter, &jd->jd_revoke_list, rr_list) { in gfs2_revoke_check()
98 wrap = (rr->rr_where < jd->jd_replay_tail); in gfs2_revoke_check()
99 a = (jd->jd_replay_tail < where); in gfs2_revoke_check()
106 void gfs2_revoke_clean(struct gfs2_jdesc *jd) in gfs2_revoke_clean() argument
108 struct list_head *head = &jd->jd_revoke_list; in gfs2_revoke_clean()
[all …]
Dlops.c145 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lblock) in gfs2_log_bmap() argument
149 list_for_each_entry(je, &jd->extent_list, list) { in gfs2_log_bmap()
317 * @jd: The journal descriptor
328 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, in gfs2_log_write() argument
335 bio = gfs2_log_get_bio(sdp, blkno, &jd->jd_log_bio, REQ_OP_WRITE, in gfs2_log_write()
339 bio = gfs2_log_get_bio(sdp, blkno, &jd->jd_log_bio, in gfs2_log_write()
417 * @jd: The journal descriptor
424 static bool gfs2_jhead_pg_srch(struct gfs2_jdesc *jd, in gfs2_jhead_pg_srch() argument
428 struct gfs2_sbd *sdp = GFS2_SB(jd->jd_inode); in gfs2_jhead_pg_srch()
451 * @jd: The journal descriptor
[all …]
Dlops.h16 u64 gfs2_log_bmap(struct gfs2_jdesc *jd, unsigned int lbn);
17 void gfs2_log_write(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd,
22 int gfs2_find_jhead(struct gfs2_jdesc *jd,
54 static inline void lops_before_scan(struct gfs2_jdesc *jd, in lops_before_scan() argument
61 gfs2_log_ops[x]->lo_before_scan(jd, head, pass); in lops_before_scan()
64 static inline int lops_scan_elements(struct gfs2_jdesc *jd, u32 start, in lops_scan_elements() argument
72 error = gfs2_log_ops[x]->lo_scan_elements(jd, start, in lops_scan_elements()
81 static inline void lops_after_scan(struct gfs2_jdesc *jd, int error, in lops_after_scan() argument
87 gfs2_log_ops[x]->lo_after_scan(jd, error, pass); in lops_after_scan()
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 int gfs2_replay_read_block(struct gfs2_jdesc *jd, unsigned int blk,
23 int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
24 int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where);
25 void gfs2_revoke_clean(struct gfs2_jdesc *jd);
Dsuper.c62 struct gfs2_jdesc *jd; in gfs2_jindex_free() local
75 jd = list_first_entry(&list, struct gfs2_jdesc, jd_list); in gfs2_jindex_free()
76 BUG_ON(jd->jd_log_bio); in gfs2_jindex_free()
77 gfs2_free_journal_extents(jd); in gfs2_jindex_free()
78 list_del(&jd->jd_list); in gfs2_jindex_free()
79 iput(jd->jd_inode); in gfs2_jindex_free()
80 jd->jd_inode = NULL; in gfs2_jindex_free()
81 kfree(jd); in gfs2_jindex_free()
87 struct gfs2_jdesc *jd; in jdesc_find_i() local
89 list_for_each_entry(jd, head, jd_list) { in jdesc_find_i()
[all …]
Dops_fstype.c572 struct gfs2_jdesc *jd; in gfs2_jindex_hold() local
601 jd = kzalloc(sizeof(struct gfs2_jdesc), GFP_KERNEL); in gfs2_jindex_hold()
602 if (!jd) in gfs2_jindex_hold()
605 INIT_LIST_HEAD(&jd->extent_list); in gfs2_jindex_hold()
606 INIT_LIST_HEAD(&jd->jd_revoke_list); in gfs2_jindex_hold()
608 INIT_WORK(&jd->jd_work, gfs2_recover_func); in gfs2_jindex_hold()
609 jd->jd_inode = gfs2_lookupi(sdp->sd_jindex, &name, 1); in gfs2_jindex_hold()
610 if (IS_ERR_OR_NULL(jd->jd_inode)) { in gfs2_jindex_hold()
611 if (!jd->jd_inode) in gfs2_jindex_hold()
614 error = PTR_ERR(jd->jd_inode); in gfs2_jindex_hold()
[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()
412 * @jd: The journal descriptor
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()
444 * @jd: The journal descriptor
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()
496 * @jd: The journal descriptor
[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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Drt5645.txt20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
21 we will get the JD status by getting the value of hp-detect-gpios.
39 -- realtek,jd-mode : The JD mode of rt5645/rt5650
40 0 : rt5645/rt5650 JD function is not used
74 realtek,en-jd-func = "true";
75 realtek,jd-mode = <3>;
Drt5668.txt24 - realtek,jd-src
25 0: No JD is used
26 1: using JD1 as JD source
49 realtek,jd-src = <1>;
Drt5682.txt24 - realtek,jd-src
25 0: No JD is used
26 1: using JD1 as JD source
66 realtek,jd-src = <1>;
Drt5665.txt31 - realtek,jd-src
32 0: No JD is used
33 1: using JD1 as JD source
Drt5659.txt37 - realtek,jd-src
38 0: No JD is used
39 1: using JD3 as JD source
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Drt5645.txt20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
21 we will get the JD status by getting the value of hp-detect-gpios.
44 -- realtek,jd-mode : The JD mode of rt5645/rt5650
45 0 : rt5645/rt5650 JD function is not used
80 realtek,en-jd-func = "true";
81 realtek,jd-mode = <3>;
Drt5668.txt24 - realtek,jd-src
25 0: No JD is used
26 1: using JD1 as JD source
49 realtek,jd-src = <1>;
Drealtek,rt5682s.yaml48 realtek,jd-src:
51 - 0 # No JD is used
52 - 1 # using JD1 as JD source
54 Specify which JD source be used.
137 realtek,jd-src = <1>;
Drt5659.txt37 - realtek,jd-src
38 0: No JD is used
39 1: using JD3 as JD source
40 2: JD source for Intel HDA header
Drt5682.txt39 - realtek,jd-src
40 0: No JD is used
41 1: using JD1 as JD source
85 realtek,jd-src = <1>;
Drt5665.txt31 - realtek,jd-src
32 0: No JD is used
33 1: using JD1 as JD source
/kernel/linux/linux-6.6/tools/perf/pmu-events/
Djevents.py201 def __init__(self, jd: dict):
296 if 'EventCode' in jd:
297 eventcode = int(jd['EventCode'].split(',', 1)[0], 0)
298 if 'ExtSel' in jd:
299 eventcode |= int(jd['ExtSel']) << 8
300 configcode = int(jd['ConfigCode'], 0) if 'ConfigCode' in jd else None
301 self.name = jd['EventName'].lower() if 'EventName' in jd else None
303 self.compat = jd.get('Compat')
304 self.desc = fixdesc(jd.get('BriefDescription'))
305 self.long_desc = fixdesc(jd.get('PublicDescription'))
[all …]

1234567