Home
last modified time | relevance | path

Searched refs:gh (Results 1 – 25 of 43) sorted by relevance

12

/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dglock.c60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
313 static inline int may_grant(const struct gfs2_glock *gl, const struct gfs2_holder *gh) in may_grant() argument
316 if ((gh->gh_state == LM_ST_EXCLUSIVE || in may_grant()
317 gh_head->gh_state == LM_ST_EXCLUSIVE) && gh != gh_head) in may_grant()
319 if (gl->gl_state == gh->gh_state) in may_grant()
321 if (gh->gh_flags & GL_EXACT) in may_grant()
324 if (gh->gh_state == LM_ST_SHARED && gh_head->gh_state == LM_ST_SHARED) in may_grant()
326 if (gh->gh_state == LM_ST_DEFERRED && gh_head->gh_state == LM_ST_DEFERRED) in may_grant()
329 if (gl->gl_state != LM_ST_UNLOCKED && (gh->gh_flags & LM_FLAG_ANY)) in may_grant()
334 static void gfs2_holder_wake(struct gfs2_holder *gh) in gfs2_holder_wake() argument
[all …]
H A Dglock.h138 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() local
144 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_glock_is_locked_by_me()
145 if (!test_bit(HIF_HOLDER, &gh->gh_iflags)) in gfs2_glock_is_locked_by_me()
147 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
150 gh = NULL; in gfs2_glock_is_locked_by_me()
154 return gh; in gfs2_glock_is_locked_by_me()
186 u16 flags, struct gfs2_holder *gh);
188 struct gfs2_holder *gh);
189 extern void gfs2_holder_uninit(struct gfs2_holder *gh);
190 extern int gfs2_glock_nq(struct gfs2_holder *gh);
[all …]
H A Dfile.c160 struct gfs2_holder gh; in gfs2_get_flags() local
164 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_flags()
165 error = gfs2_glock_nq(&gh); in gfs2_get_flags()
174 gfs2_glock_dq(&gh); in gfs2_get_flags()
176 gfs2_holder_uninit(&gh); in gfs2_get_flags()
223 struct gfs2_holder gh; in do_gfs2_set_flags() local
231 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
293 gfs2_glock_dq_uninit(&gh); in do_gfs2_set_flags()
454 struct gfs2_holder gh; in gfs2_page_mkwrite() local
461 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
[all …]
H A Dsuper.c191 struct gfs2_holder gh; in gfs2_statfs_init() local
195 &gh); in gfs2_statfs_init()
226 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
294 struct gfs2_holder gh; in gfs2_statfs_sync() local
300 &gh); in gfs2_statfs_sync()
335 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
343 struct gfs2_holder gh; member
372 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
405 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
504 struct gfs2_holder gh; in gfs2_dirty_inode() local
[all …]
H A Dacl.c63 struct gfs2_holder gh; in gfs2_get_acl() local
69 LM_FLAG_ANY, &gh); in gfs2_get_acl()
76 gfs2_glock_dq_uninit(&gh); in gfs2_get_acl()
112 struct gfs2_holder gh; in gfs2_set_acl() local
125 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
146 gfs2_glock_dq_uninit(&gh); in gfs2_set_acl()
H A Dtrace_gfs2.h200 TP_PROTO(const struct gfs2_holder *gh, int first),
202 TP_ARGS(gh, first),
213 __entry->dev = gh->gh_gl->gl_name.ln_sbd->sd_vfs->s_dev;
214 __entry->glnum = gh->gh_gl->gl_name.ln_number;
215 __entry->gltype = gh->gh_gl->gl_name.ln_type;
217 __entry->state = glock_trace_state(gh->gh_state);
230 TP_PROTO(const struct gfs2_holder *gh, int queue),
232 TP_ARGS(gh, queue),
243 __entry->dev = gh->gh_gl->gl_name.ln_sbd->sd_vfs->s_dev;
244 __entry->glnum = gh->gh_gl->gl_name.ln_number;
[all …]
H A Dinode.c867 struct gfs2_holder gh; in __gfs2_lookup() local
880 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in __gfs2_lookup()
888 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
894 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
2029 struct gfs2_holder gh; in gfs2_getattr() local
2033 gfs2_holder_mark_uninitialized(&gh); in gfs2_getattr()
2035 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_getattr()
2054 if (gfs2_holder_initialized(&gh)) in gfs2_getattr()
2055 gfs2_glock_dq_uninit(&gh); in gfs2_getattr()
2064 struct gfs2_holder gh; in gfs2_fiemap() local
[all …]
H A Dxattr.c595 struct gfs2_holder gh; in gfs2_xattr_get() local
601 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
605 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_get()
608 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_get()
609 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_get()
1223 struct gfs2_holder gh; in gfs2_xattr_set() local
1233 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set()
1241 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_set()
1244 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_set()
1245 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_set()
[all …]
H A Dexport.c95 struct gfs2_holder gh; in gfs2_get_name() local
112 error = gfs2_glock_nq_init(dip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_get_name()
118 gfs2_glock_dq_uninit(&gh); in gfs2_get_name()
H A Dglops.c497 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock() argument
499 struct gfs2_glock *gl = gh->gh_gl; in inode_go_lock()
504 if (!ip || (gh->gh_flags & GL_SKIP)) in inode_go_lock()
513 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_lock()
518 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
614 static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in freeze_go_xmote_bh() argument
H A Drgrp.h34 extern int gfs2_rgrp_go_lock(struct gfs2_holder *gh);
H A Dincore.h242 int (*go_xmote_bh) (struct gfs2_glock *gl, struct gfs2_holder *gh);
245 int (*go_lock) (struct gfs2_holder *gh);
H A Drgrp.c1255 int gfs2_rgrp_go_lock(struct gfs2_holder *gh) in gfs2_rgrp_go_lock() argument
1257 struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; in gfs2_rgrp_go_lock()
1260 if (gh->gh_flags & GL_SKIP && sdp->sd_args.ar_rgrplvb) in gfs2_rgrp_go_lock()
1367 struct gfs2_holder gh; in gfs2_fitrim() local
1410 ret = gfs2_glock_nq_init(rgd->rd_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_fitrim()
1422 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
1438 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
/OK3568_Linux_fs/buildroot/package/libnetfilter_log/
H A D0003-src-Use-stdint-types-everywhere.patch68 extern int nflog_unbind_group(struct nflog_g_handle *gh);
70 extern int nflog_set_mode(struct nflog_g_handle *gh,
72 -extern int nflog_set_timeout(struct nflog_g_handle *gh, u_int32_t timeout);
73 -extern int nflog_set_flags(struct nflog_g_handle *gh, u_int16_t flags);
74 -extern int nflog_set_qthresh(struct nflog_g_handle *gh, u_int32_t qthresh);
75 -extern int nflog_set_nlbufsiz(struct nflog_g_handle *gh, u_int32_t nlbufsiz);
77 +extern int nflog_set_timeout(struct nflog_g_handle *gh, uint32_t timeout);
78 +extern int nflog_set_flags(struct nflog_g_handle *gh, uint16_t flags);
79 +extern int nflog_set_qthresh(struct nflog_g_handle *gh, uint32_t qthresh);
80 +extern int nflog_set_nlbufsiz(struct nflog_g_handle *gh, uint32_t nlbufsiz);
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/arm64/
H A Dgtdt.c41 struct acpi_gtdt_header *gh = platform_timer; in next_platform_timer() local
43 platform_timer += gh->length; in next_platform_timer()
56 struct acpi_gtdt_header *gh = platform_timer; in is_timer_block() local
58 return gh->type == ACPI_GTDT_TYPE_TIMER_BLOCK; in is_timer_block()
63 struct acpi_gtdt_header *gh = platform_timer; in is_non_secure_watchdog() local
66 if (gh->type != ACPI_GTDT_TYPE_WATCHDOG) in is_non_secure_watchdog()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/i18n/locales/
H A Dig_NG56 % &G<gb<<<Gb<<<GB<gh<<<Gh<<<GH<gw<<<Gw<<<GW
87 collating-symbol <gh-digraph>
88 collating-element <gh> from "gh"
139 <gh-digraph>
165 <gh> <gh-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE
166 <gH> <gh-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE
167 <Gh> <gh-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE
168 <GH> <gh-digraph>;"<BASE><BASE>";"<CAP><CAP>";IGNORE
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/
H A Dig_NG56 % &G<gb<<<Gb<<<GB<gh<<<Gh<<<GH<gw<<<Gw<<<GW
87 collating-symbol <gh-digraph>
88 collating-element <gh> from "gh"
139 <gh-digraph>
165 <gh> <gh-digraph>;"<BASE><BASE>";"<MIN><MIN>";IGNORE
166 <gH> <gh-digraph>;"<BASE><BASE>";"<MIN><CAP>";IGNORE
167 <Gh> <gh-digraph>;"<BASE><BASE>";"<CAP><MIN>";IGNORE
168 <GH> <gh-digraph>;"<BASE><BASE>";"<CAP><CAP>";IGNORE
H A Dvi_VN86 % &G<gh<<<Gh<<<GH<gi<<<Gi<<<GI
/OK3568_Linux_fs/kernel/drivers/net/
H A Dgeneve.c466 static int geneve_hlen(struct genevehdr *gh) in geneve_hlen() argument
468 return sizeof(*gh) + gh->opt_len * 4; in geneve_hlen()
477 struct genevehdr *gh, *gh2; in geneve_gro_receive() local
484 hlen = off_gnv + sizeof(*gh); in geneve_gro_receive()
485 gh = skb_gro_header_fast(skb, off_gnv); in geneve_gro_receive()
487 gh = skb_gro_header_slow(skb, hlen, off_gnv); in geneve_gro_receive()
488 if (unlikely(!gh)) in geneve_gro_receive()
492 if (gh->ver != GENEVE_VER || gh->oam) in geneve_gro_receive()
494 gh_len = geneve_hlen(gh); in geneve_gro_receive()
498 gh = skb_gro_header_slow(skb, hlen, off_gnv); in geneve_gro_receive()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c40 struct genlmsghdr *gh; in init_genl_req() local
48 gh = (void *)(data + off); in init_genl_req()
49 gh->cmd = cmd; in init_genl_req()
50 gh->version = version; in init_genl_req()
51 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
/OK3568_Linux_fs/buildroot/package/assimp/
H A D0003-closes-2954-upgrade-to-latest-greatest.patch63 [![Version](https://badge.fury.io/gh/kuba--%2Fzip.svg)](https://github.com/kuba--/zip/releases)
64 -[![Codecov](https://codecov.io/gh/kuba--/zip/branch/master/graph/badge.svg)](https://codecov.io/gh
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/
H A Dcve-2023-24329.patch5 Subject: [PATCH] gh-99418: Make urllib.parse.urlparse enforce that a scheme
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3-numpy/
H A D0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch52 - # subclass) if an old setuptools bug is triggered (see gh-3160).
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dstb_truetype.h2533 int advance, lsb, x0,y0,x1,y1,gw,gh; in stbtt_BakeFontBitmap() local
2538 gh = y1-y0; in stbtt_BakeFontBitmap()
2541 if (y + gh + 1 >= ph) // check if it fits vertically AFTER potentially moving to next row in stbtt_BakeFontBitmap()
2544 STBTT_assert(y+gh < ph); in stbtt_BakeFontBitmap()
2545 stbtt_MakeGlyphBitmap(&f, pixels+x+y*pw, gw,gh,pw, scale,scale, g); in stbtt_BakeFontBitmap()
2549 chardata[i].y1 = (stbtt_int16) (y + gh); in stbtt_BakeFontBitmap()
2554 if (y+gh+1 > bottom_y) in stbtt_BakeFontBitmap()
2555 bottom_y = y+gh+1; in stbtt_BakeFontBitmap()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dip_gre.c306 unsigned char *gh; in erspan_rcv() local
323 gh = skb_network_header(skb) + in erspan_rcv()
325 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in erspan_rcv()

12