Home
last modified time | relevance | path

Searched refs:gl (Results 1 – 25 of 141) sorted by relevance

123456

/openbmc/linux/fs/gfs2/
H A Dglock.c57 struct gfs2_glock *gl; /* current glock struct */ member
61 typedef void (*glock_examiner) (struct gfs2_glock * gl);
63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
65 static void handle_callback(struct gfs2_glock *gl, unsigned int state,
121 static void wake_up_glock(struct gfs2_glock *gl) in wake_up_glock() argument
123 wait_queue_head_t *wq = glock_waitqueue(&gl->gl_name); in wake_up_glock()
126 __wake_up(wq, TASK_NORMAL, 1, &gl->gl_name); in wake_up_glock()
131 struct gfs2_glock *gl = container_of(rcu, struct gfs2_glock, gl_rcu); in gfs2_glock_dealloc() local
133 kfree(gl->gl_lksb.sb_lvbptr); in gfs2_glock_dealloc()
134 if (gl->gl_ops->go_flags & GLOF_ASPACE) { in gfs2_glock_dealloc()
[all …]
H A Dglops.c34 static void gfs2_ail_error(struct gfs2_glock *gl, const struct buffer_head *bh) in gfs2_ail_error() argument
36 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_ail_error()
44 gl->gl_name.ln_type, gl->gl_name.ln_number, in gfs2_ail_error()
45 gfs2_glock2aspace(gl)); in gfs2_ail_error()
59 static void __gfs2_ail_flush(struct gfs2_glock *gl, bool fsync, in __gfs2_ail_flush() argument
62 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in __gfs2_ail_flush()
63 struct list_head *head = &gl->gl_ail_list; in __gfs2_ail_flush()
77 gfs2_ail_error(gl, bh); in __gfs2_ail_flush()
82 GLOCK_BUG_ON(gl, !fsync && atomic_read(&gl->gl_ail_count)); in __gfs2_ail_flush()
91 static int gfs2_ail_empty_gl(struct gfs2_glock *gl) in gfs2_ail_empty_gl() argument
[all …]
H A Dglock.h126 void (*lm_put_lock) (struct gfs2_glock *gl);
127 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
129 void (*lm_cancel) (struct gfs2_glock *gl);
138 static inline struct gfs2_holder *gfs2_glock_is_locked_by_me(struct gfs2_glock *gl) in gfs2_glock_is_locked_by_me() argument
144 spin_lock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
146 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_glock_is_locked_by_me()
154 spin_unlock(&gl->gl_lockref.lock); in gfs2_glock_is_locked_by_me()
159 static inline int gfs2_glock_is_held_excl(struct gfs2_glock *gl) in gfs2_glock_is_held_excl() argument
161 return gl->gl_state == LM_ST_EXCLUSIVE; in gfs2_glock_is_held_excl()
164 static inline int gfs2_glock_is_held_dfrd(struct gfs2_glock *gl) in gfs2_glock_is_held_dfrd() argument
[all …]
H A Dlock_dlm.c75 static inline void gfs2_update_reply_times(struct gfs2_glock *gl) in gfs2_update_reply_times() argument
78 const unsigned gltype = gl->gl_name.ln_type; in gfs2_update_reply_times()
79 unsigned index = test_bit(GLF_BLOCKING, &gl->gl_flags) ? in gfs2_update_reply_times()
84 rtt = ktime_to_ns(ktime_sub(ktime_get_real(), gl->gl_dstamp)); in gfs2_update_reply_times()
85 lks = this_cpu_ptr(gl->gl_name.ln_sbd->sd_lkstats); in gfs2_update_reply_times()
86 gfs2_update_stats(&gl->gl_stats, index, rtt); /* Local */ in gfs2_update_reply_times()
90 trace_gfs2_glock_lock_time(gl, rtt); in gfs2_update_reply_times()
102 static inline void gfs2_update_request_times(struct gfs2_glock *gl) in gfs2_update_request_times() argument
105 const unsigned gltype = gl->gl_name.ln_type; in gfs2_update_request_times()
110 dstamp = gl->gl_dstamp; in gfs2_update_request_times()
[all …]
H A Dtrace_gfs2.h92 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state),
94 TP_ARGS(gl, new_state),
108 __entry->dev = gl->gl_name.ln_sbd->sd_vfs->s_dev;
109 __entry->glnum = gl->gl_name.ln_number;
110 __entry->gltype = gl->gl_name.ln_type;
111 __entry->cur_state = glock_trace_state(gl->gl_state);
113 __entry->tgt_state = glock_trace_state(gl->gl_target);
114 __entry->dmt_state = glock_trace_state(gl->gl_demote_state);
115 __entry->flags = gl->gl_flags | (gl->gl_object ? (1UL<<GLF_OBJECT) : 0);
131 TP_PROTO(const struct gfs2_glock *gl),
[all …]
H A Dmeta_io.c114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf() argument
116 struct address_space *mapping = gfs2_glock2aspace(gl); in gfs2_getbuf()
117 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_getbuf()
186 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new() argument
189 bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_new()
253 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags, in gfs2_meta_read() argument
256 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_meta_read()
266 *bhp = bh = gfs2_getbuf(gl, blkno, CREATE); in gfs2_meta_read()
279 bh = gfs2_getbuf(gl, blkno + 1, CREATE); in gfs2_meta_read()
492 struct gfs2_glock *gl = ip->i_gl; in gfs2_meta_buffer() local
[all …]
H A Dmain.c52 struct gfs2_glock *gl = foo; in gfs2_init_glock_once() local
54 spin_lock_init(&gl->gl_lockref.lock); in gfs2_init_glock_once()
55 INIT_LIST_HEAD(&gl->gl_holders); in gfs2_init_glock_once()
56 INIT_LIST_HEAD(&gl->gl_lru); in gfs2_init_glock_once()
57 INIT_LIST_HEAD(&gl->gl_ail_list); in gfs2_init_glock_once()
58 atomic_set(&gl->gl_ail_count, 0); in gfs2_init_glock_once()
59 atomic_set(&gl->gl_revokes, 0); in gfs2_init_glock_once()
H A Dincore.h38 typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret);
218 int (*go_sync) (struct gfs2_glock *gl);
219 int (*go_xmote_bh)(struct gfs2_glock *gl);
220 void (*go_inval) (struct gfs2_glock *gl, int flags);
221 int (*go_demote_ok) (const struct gfs2_glock *gl);
222 int (*go_instantiate) (struct gfs2_glock *gl);
224 void (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl,
226 void (*go_callback)(struct gfs2_glock *gl, bool remote);
227 void (*go_free)(struct gfs2_glock *gl);
854 static inline void gfs2_glstats_inc(struct gfs2_glock *gl, int which) in gfs2_glstats_inc() argument
[all …]
H A Dtrans.c163 static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, in gfs2_alloc_bufdata() argument
170 bd->bd_gl = gl; in gfs2_alloc_bufdata()
192 void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_data() argument
195 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_data()
209 bd = gfs2_alloc_bufdata(gl, bh); in gfs2_trans_add_data()
215 gfs2_assert(sdp, bd->bd_gl == gl); in gfs2_trans_add_data()
229 void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh) in gfs2_trans_add_meta() argument
232 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in gfs2_trans_add_meta()
251 bd = gfs2_alloc_bufdata(gl, bh); in gfs2_trans_add_meta()
258 gfs2_assert(sdp, bd->bd_gl == gl); in gfs2_trans_add_meta()
H A Dmeta_io.h53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
54 int gfs2_meta_read(struct gfs2_glock *gl, u64 blkno, int flags,
57 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
75 struct buffer_head *gfs2_meta_ra(struct gfs2_glock *gl, u64 dblock, u32 extlen);
H A Dglops.h25 int gfs2_inode_metasync(struct gfs2_glock *gl);
26 void gfs2_ail_flush(struct gfs2_glock *gl, bool fsync);
H A Dsuper.c1040 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
1041 if (test_bit(GLF_DEMOTE, &gl->gl_flags)) in gfs2_drop_inode()
1053 struct gfs2_glock *gl = ip->i_iopen_gh.gh_gl; in gfs2_drop_inode() local
1055 gfs2_glock_hold(gl); in gfs2_drop_inode()
1056 if (!gfs2_queue_verify_delete(gl, true)) in gfs2_drop_inode()
1057 gfs2_glock_put_async(gl); in gfs2_drop_inode()
1197 struct gfs2_glock *gl = ip->i_gl; in gfs2_final_release_pages() local
1199 if (unlikely(!gl)) { in gfs2_final_release_pages()
1205 truncate_inode_pages(gfs2_glock2aspace(gl), 0); in gfs2_final_release_pages()
1208 if (atomic_read(&gl->gl_revokes) == 0) { in gfs2_final_release_pages()
[all …]
H A Dlops.c73 struct gfs2_glock *gl = bd->bd_gl; in maybe_release_space() local
74 struct gfs2_sbd *sdp = gl->gl_name.ln_sbd; in maybe_release_space()
75 struct gfs2_rgrpd *rgd = gfs2_glock2rgrp(gl); in maybe_release_space()
76 unsigned int index = bd->bd_bh->b_blocknr - gl->gl_name.ln_number; in maybe_release_space()
122 struct gfs2_glock *gl = bd->bd_gl; in gfs2_unpin() local
123 list_add(&bd->bd_ail_gl_list, &gl->gl_ail_list); in gfs2_unpin()
124 atomic_inc(&gl->gl_ail_count); in gfs2_unpin()
791 struct gfs2_glock *gl = ip->i_gl; in buf_lo_scan_elements() local
814 bh_ip = gfs2_meta_new(gl, blkno); in buf_lo_scan_elements()
901 struct gfs2_glock *gl; in gfs2_drain_revokes() local
[all …]
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/
H A D0003-viv-fb-Make-sure-config.h-is-included.patch12 gst-libs/gst/gl/gl-prelude.h | 4 ++++
15 diff --git a/gst-libs/gst/gl/gl-prelude.h b/gst-libs/gst/gl/gl-prelude.h
17 --- a/gst-libs/gst/gl/gl-prelude.h
18 +++ b/gst-libs/gst/gl/gl-prelude.h
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-gl.c32 VirtIOGPUGL *gl = VIRTIO_GPU_GL(g); in virtio_gpu_gl_update_cursor_data() local
36 if (gl->renderer_state != RS_INITED) { in virtio_gpu_gl_update_cursor_data()
66 VirtIOGPUGL *gl = VIRTIO_GPU_GL(vdev); in virtio_gpu_gl_handle_ctrl() local
73 switch (gl->renderer_state) { in virtio_gpu_gl_handle_ctrl()
79 gl->renderer_state = RS_INIT_FAILED; in virtio_gpu_gl_handle_ctrl()
83 gl->renderer_state = RS_INITED; in virtio_gpu_gl_handle_ctrl()
107 VirtIOGPUGL *gl = VIRTIO_GPU_GL(vdev); in virtio_gpu_gl_reset() local
115 if (gl->renderer_state == RS_INITED) { in virtio_gpu_gl_reset()
117 gl->renderer_state = RS_RESET; in virtio_gpu_gl_reset()
168 VirtIOGPUGL *gl = VIRTIO_GPU_GL(qdev); in virtio_gpu_gl_device_unrealize() local
[all …]
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_main.c219 cxgbit_copy_frags(struct sk_buff *skb, const struct pkt_gl *gl, in cxgbit_copy_frags() argument
226 __skb_fill_page_desc(skb, skb_frag_idx, gl->frags[0].page, in cxgbit_copy_frags()
227 gl->frags[0].offset + offset, in cxgbit_copy_frags()
228 gl->frags[0].size - offset); in cxgbit_copy_frags()
229 for (i = 1; i < gl->nfrags; i++) in cxgbit_copy_frags()
231 gl->frags[i].page, in cxgbit_copy_frags()
232 gl->frags[i].offset, in cxgbit_copy_frags()
233 gl->frags[i].size); in cxgbit_copy_frags()
235 skb_shinfo(skb)->nr_frags += gl->nfrags; in cxgbit_copy_frags()
238 get_page(gl->frags[gl->nfrags - 1].page); in cxgbit_copy_frags()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/
H A Dglmark2_git.bb36 PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11"
38 PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm virtual/libgbm"
40 PACKAGECONFIG[wayland-gl] = ",,virtual/libgl wayland"
49 if "x11-gl" in packageconfig:
50 flavors.append("x11-gl")
53 if "wayland-gl" in packageconfig:
54 flavors.append("wayland-gl")
57 if "drm-gl" in packageconfig:
58 flavors.append("drm-gl")
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/
H A D0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch15 src/gl-visual-config.cpp | 9 ++++++---
16 src/gl-visual-config.h | 2 +-
33 diff --git a/src/gl-visual-config.cpp b/src/gl-visual-config.cpp
35 --- a/src/gl-visual-config.cpp
36 +++ b/src/gl-visual-config.cpp
71 diff --git a/src/gl-visual-config.h b/src/gl-visual-config.h
73 --- a/src/gl-visual-config.h
74 +++ b/src/gl-visual-config.h
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1470 const struct pkt_gl *gl, in copy_frags() argument
1476 __skb_fill_page_desc(skb, 0, gl->frags[0].page, in copy_frags()
1477 gl->frags[0].offset + offset, in copy_frags()
1478 gl->frags[0].size - offset); in copy_frags()
1479 skb_shinfo(skb)->nr_frags = gl->nfrags; in copy_frags()
1480 for (i = 1; i < gl->nfrags; i++) in copy_frags()
1481 __skb_fill_page_desc(skb, i, gl->frags[i].page, in copy_frags()
1482 gl->frags[i].offset, in copy_frags()
1483 gl->frags[i].size); in copy_frags()
1486 get_page(gl->frags[gl->nfrags - 1].page); in copy_frags()
[all …]
/openbmc/qemu/ui/
H A Dconsole.c241 if (con->gl && con->gl->ops->dpy_gl_ctx_create_texture) { in dpy_gfx_create_texture()
242 con->gl->ops->dpy_gl_ctx_create_texture(con->gl, surface); in dpy_gfx_create_texture()
248 if (con->gl && con->gl->ops->dpy_gl_ctx_destroy_texture) { in dpy_gfx_destroy_texture()
249 con->gl->ops->dpy_gl_ctx_destroy_texture(con->gl, surface); in dpy_gfx_destroy_texture()
256 if (con->gl && con->gl->ops->dpy_gl_ctx_update_texture) { in dpy_gfx_update_texture()
257 con->gl->ops->dpy_gl_ctx_update_texture(con->gl, surface, x, y, w, h); in dpy_gfx_update_texture()
554 return con->gl != NULL; in console_has_gl()
578 !con->gl->ops->dpy_gl_ctx_is_compatible_dcl(con->gl, dcl)) { in console_compatible_with()
665 void qemu_console_set_display_gl_ctx(QemuConsole *con, DisplayGLCtx *gl) in qemu_console_set_display_gl_ctx() argument
669 if (con->gl) { in qemu_console_set_display_gl_ctx()
[all …]
/openbmc/openbmc/meta-raspberrypi/conf/machine/include/
H A Drpi-default-providers.inc7 …R_virtual/libgl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
8 …ER_virtual/mesa ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
9 …_virtual/libgbm ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_main.c339 static struct sk_buff *copy_gl_to_skb_pkt(const struct pkt_gl *gl, in copy_gl_to_skb_pkt() argument
349 skb = alloc_skb(size_add(gl->tot_len, in copy_gl_to_skb_pkt()
354 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) in copy_gl_to_skb_pkt()
359 , gl->va + pktshift, in copy_gl_to_skb_pkt()
360 gl->tot_len - pktshift); in copy_gl_to_skb_pkt()
366 const struct pkt_gl *gl, const __be64 *rsp) in chtls_recv_packet() argument
372 skb = copy_gl_to_skb_pkt(gl, rsp, cdev->lldi->sge_pktshift); in chtls_recv_packet()
440 const struct pkt_gl *gl) in chtls_uld_rx_handler() argument
449 if (chtls_recv_packet(cdev, gl, rsp) < 0) in chtls_uld_rx_handler()
454 if (!gl) in chtls_uld_rx_handler()
[all …]
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D3002-fix-EGL-macro-undeclared-and-EGLImageKHR.patch57 - const EGLImage image = tc->gl->egl.createImageKHR(tc->gl, EGL_LINUX_DMA_BUF_EXT, NULL, att…
58 + const EGLImageKHR image = tc->gl->egl.createImageKHR(tc->gl, EGL_LINUX_DMA_BUF_EXT, NULL, …
H A D3004-use-GLESv2-headers-over-GL-headers.patch35 -# include <GL/gl.h>
49 # include <OpenGL/gl.h>
51 -# include <GL/gl.h>
/openbmc/openbmc/meta-arm/ci/
H A Ddownload-lockfile.py25 gl = gitlab.Gitlab(args.server) variable
26 project = gl.projects.get(args.project)

123456