Home
last modified time | relevance | path

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

/linux/fs/gfs2/
A Dglock.h144 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() local
155 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
158 gh = NULL; in gfs2_glock_is_locked_by_me()
162 return gh; in gfs2_glock_is_locked_by_me()
203 struct gfs2_holder *gh);
216 struct gfs2_holder *gh);
248 struct gfs2_holder *gh) in gfs2_glock_nq_init() argument
254 error = gfs2_glock_nq(gh); in gfs2_glock_nq_init()
256 gfs2_holder_uninit(gh); in gfs2_glock_nq_init()
285 gh->gh_gl = NULL; in gfs2_holder_mark_uninitialized()
[all …]
A Dglock.c453 return gh; in find_first_holder()
473 return gh; in find_first_strong_holder()
556 first_gh = gh; in do_promote()
599 return gh; in find_first_waiter()
763 gh && !(gh->gh_flags & LM_FLAG_NOEXP)) in do_xmote()
1260 gh->gh_gl = gl; in __gfs2_holder_init()
1261 gh->gh_ip = ip; in __gfs2_holder_init()
1301 gh->gh_ip = 0; in gfs2_holder_uninit()
1546 gh->gh_gl->gl_name.ln_type, gh->gh_state); in add_to_queue()
1619 while (gh) { in __gfs2_glock_dq()
[all …]
A Dfile.c161 struct gfs2_holder gh; in gfs2_fileattr_get() local
177 gfs2_glock_dq(&gh); in gfs2_fileattr_get()
223 struct gfs2_holder gh; in do_gfs2_set_flags() local
424 struct gfs2_holder gh; in gfs2_page_mkwrite() local
538 gfs2_glock_dq(&gh); in gfs2_page_mkwrite()
564 gfs2_glock_dq(&gh); in gfs2_fault()
859 gfs2_glock_dq(gh); in gfs2_file_direct_read()
929 gfs2_glock_dq(gh); in gfs2_file_direct_write()
1000 gfs2_glock_dq(&gh); in gfs2_file_read_iter()
1080 gfs2_glock_dq(gh); in gfs2_file_buffered_write()
[all …]
A Dsuper.c183 struct gfs2_holder gh; in gfs2_statfs_init() local
187 &gh); in gfs2_statfs_init()
272 struct gfs2_holder gh; in gfs2_statfs_sync() local
277 &gh); in gfs2_statfs_sync()
313 struct gfs2_holder gh; member
472 struct gfs2_holder gh; in gfs2_dirty_inode() local
796 gh = gha + x; in gfs2_statfs_slow()
798 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow()
820 gh); in gfs2_statfs_slow()
1091 struct gfs2_holder gh; in gfs2_dinode_dealloc() local
[all …]
A Dacl.c63 struct gfs2_holder gh; in gfs2_get_acl() local
72 LM_FLAG_ANY, &gh); in gfs2_get_acl()
79 gfs2_glock_dq_uninit(&gh); in gfs2_get_acl()
116 struct gfs2_holder gh; in gfs2_set_acl() local
129 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
150 gfs2_glock_dq_uninit(&gh); in gfs2_set_acl()
A Dtrace_gfs2.h200 TP_PROTO(const struct gfs2_holder *gh),
202 TP_ARGS(gh),
212 __entry->dev = gh->gh_gl->gl_name.ln_sbd->sd_vfs->s_dev;
213 __entry->glnum = gh->gh_gl->gl_name.ln_number;
214 __entry->gltype = gh->gh_gl->gl_name.ln_type;
215 __entry->state = glock_trace_state(gh->gh_state);
227 TP_PROTO(const struct gfs2_holder *gh, int queue),
229 TP_ARGS(gh, queue),
241 __entry->glnum = gh->gh_gl->gl_name.ln_number;
242 __entry->gltype = gh->gh_gl->gl_name.ln_type;
[all …]
A Dinode.c854 struct gfs2_holder gh; in __gfs2_lookup() local
875 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
881 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
2024 struct gfs2_holder gh; in gfs2_getattr() local
2059 struct gfs2_holder gh; in gfs2_fiemap() local
2070 gfs2_glock_dq_uninit(&gh); in gfs2_fiemap()
2081 struct gfs2_holder gh; in gfs2_seek_data() local
2088 gfs2_glock_dq_uninit(&gh); in gfs2_seek_data()
2100 struct gfs2_holder gh; in gfs2_seek_hole() local
2120 struct gfs2_holder *gh; in gfs2_update_time() local
[all …]
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()
A Dxattr.c608 struct gfs2_holder gh; in gfs2_xattr_get() local
618 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_get()
621 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_get()
622 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_get()
1234 struct gfs2_holder gh; in gfs2_xattr_set() local
1252 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_set()
1255 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_set()
1256 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_set()
1387 struct gfs2_holder gh; in ea_dealloc_block() local
1401 LM_FLAG_NODE_SCOPE, &gh); in ea_dealloc_block()
[all …]
A Dglops.c489 static int inode_go_instantiate(struct gfs2_holder *gh) in inode_go_instantiate() argument
491 struct gfs2_glock *gl = gh->gh_gl; in inode_go_instantiate()
503 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_instantiate()
508 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_instantiate()
A Drgrp.h34 extern int gfs2_rgrp_go_instantiate(struct gfs2_holder *gh);
A Drgrp.c1197 int gfs2_rgrp_go_instantiate(struct gfs2_holder *gh) in gfs2_rgrp_go_instantiate() argument
1199 struct gfs2_glock *gl = gh->gh_gl; in gfs2_rgrp_go_instantiate()
1261 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd, struct gfs2_holder *gh) in update_rgrp_lvb() argument
1265 if (!test_bit(GLF_INSTANTIATE_NEEDED, &gh->gh_gl->gl_flags)) in update_rgrp_lvb()
1269 return gfs2_instantiate(gh); in update_rgrp_lvb()
1391 struct gfs2_holder gh; in gfs2_fitrim() local
1434 LM_FLAG_NODE_SCOPE, &gh); in gfs2_fitrim()
1448 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
1466 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
A Dincore.h222 int (*go_instantiate) (struct gfs2_holder *gh);
/linux/drivers/acpi/arm64/
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()
/linux/drivers/net/
A Dgeneve.c470 return sizeof(*gh) + gh->opt_len * 4; in geneve_hlen()
479 struct genevehdr *gh, *gh2; in geneve_gro_receive() local
486 hlen = off_gnv + sizeof(*gh); in geneve_gro_receive()
490 if (unlikely(!gh)) in geneve_gro_receive()
494 if (gh->ver != GENEVE_VER || gh->oam) in geneve_gro_receive()
496 gh_len = geneve_hlen(gh); in geneve_gro_receive()
501 if (unlikely(!gh)) in geneve_gro_receive()
517 type = gh->proto_type; in geneve_gro_receive()
540 struct genevehdr *gh; in geneve_gro_complete() local
547 gh_len = geneve_hlen(gh); in geneve_gro_complete()
[all …]
/linux/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c41 struct genlmsghdr *gh; in init_genl_req() local
49 gh = (void *)(data + off); in init_genl_req()
50 gh->cmd = cmd; in init_genl_req()
51 gh->version = version; in init_genl_req()
52 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
/linux/net/ipv4/
A Dip_gre.c308 unsigned char *gh; in erspan_rcv() local
325 gh = skb_network_header(skb) + in erspan_rcv()
327 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in erspan_rcv()
/linux/net/ipv6/
A Dip6_gre.c558 unsigned char *gh; in ip6erspan_rcv() local
575 gh = skb_network_header(skb) + in ip6erspan_rcv()
577 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in ip6erspan_rcv()

Completed in 48 milliseconds