Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/gfs2/
A Dglock.h149 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() local
158 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
161 gh = NULL; in gfs2_glock_is_locked_by_me()
165 return gh; in gfs2_glock_is_locked_by_me()
209 struct gfs2_holder *gh);
223 struct gfs2_holder *gh);
255 struct gfs2_holder *gh) in gfs2_glock_nq_init() argument
261 error = gfs2_glock_nq(gh); in gfs2_glock_nq_init()
263 gfs2_holder_uninit(gh); in gfs2_glock_nq_init()
294 gh->gh_gl = NULL; in gfs2_holder_mark_uninitialized()
[all …]
A Dglock.c416 return gh; in find_first_holder()
498 current_gh = gh; in do_promote()
514 return gh; in find_first_waiter()
675 unsigned int lck_flags = (unsigned int)(gh ? gh->gh_flags : 0); in do_xmote()
679 gh && !(gh->gh_flags & LM_FLAG_NOEXP)) in do_xmote()
1254 gh->gh_ip = ip; in __gfs2_holder_init()
1292 gh->gh_ip = 0; in gfs2_holder_uninit()
1317 if (gh->gh_error || (gh->gh_flags & GL_SKIP)) in gfs2_glock_holder_ready()
1319 gh->gh_error = gfs2_instantiate(gh); in gfs2_glock_holder_ready()
1549 gh->gh_gl->gl_name.ln_type, gh->gh_state); in add_to_queue()
[all …]
A Dfile.c162 struct gfs2_holder gh; in gfs2_fileattr_get() local
178 gfs2_glock_dq(&gh); in gfs2_fileattr_get()
539 gfs2_glock_dq(&gh); in gfs2_page_mkwrite()
565 gfs2_glock_dq(&gh); in gfs2_fault()
849 gfs2_glock_dq(gh); in gfs2_file_direct_read()
856 gfs2_glock_dq(gh); in gfs2_file_direct_read()
917 gfs2_glock_dq(gh); in gfs2_file_direct_write()
924 gfs2_glock_dq(gh); in gfs2_file_direct_write()
1062 gfs2_glock_dq(gh); in gfs2_file_buffered_write()
1067 gfs2_glock_dq(gh); in gfs2_file_buffered_write()
[all …]
A Dsuper.c187 struct gfs2_holder gh; in gfs2_statfs_init() local
191 &gh); in gfs2_statfs_init()
276 struct gfs2_holder gh; in gfs2_statfs_sync() local
281 &gh); in gfs2_statfs_sync()
317 struct gfs2_holder gh; member
478 struct gfs2_holder gh; in gfs2_dirty_inode() local
810 gh = gha + x; in gfs2_statfs_slow()
812 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow()
834 gh); in gfs2_statfs_slow()
1117 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()
117 struct gfs2_holder gh; in gfs2_set_acl() local
130 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_set_acl()
151 gfs2_glock_dq_uninit(&gh); in gfs2_set_acl()
A Dinode.c809 gfs2_glock_dq_uninit(&gh); in gfs2_create_inode()
846 gfs2_glock_dq_uninit(&gh); in gfs2_create_inode()
884 struct gfs2_holder gh; in __gfs2_lookup() local
905 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
911 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
2054 struct gfs2_holder gh; in gfs2_getattr() local
2089 struct gfs2_holder gh; in gfs2_fiemap() local
2111 struct gfs2_holder gh; in gfs2_seek_data() local
2130 struct gfs2_holder gh; in gfs2_seek_hole() local
2150 struct gfs2_holder *gh; in gfs2_update_time() local
[all …]
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 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.c505 static int inode_go_held(struct gfs2_holder *gh) in inode_go_held() argument
507 struct gfs2_glock *gl = gh->gh_gl; in inode_go_held()
514 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_held()
519 (gh->gh_state == LM_ST_EXCLUSIVE)) in inode_go_held()
A Drgrp.c1262 static int update_rgrp_lvb(struct gfs2_rgrpd *rgd, struct gfs2_holder *gh) in update_rgrp_lvb() argument
1266 if (!test_bit(GLF_INSTANTIATE_NEEDED, &gh->gh_gl->gl_flags)) in update_rgrp_lvb()
1270 return gfs2_instantiate(gh); in update_rgrp_lvb()
1392 struct gfs2_holder gh; in gfs2_fitrim() local
1435 LM_FLAG_NODE_SCOPE, &gh); in gfs2_fitrim()
1449 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
1467 gfs2_glock_dq_uninit(&gh); in gfs2_fitrim()
A Dincore.h223 int (*go_held)(struct gfs2_holder *gh);
/linux-6.3-rc2/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-6.3-rc2/drivers/net/
A Dgeneve.c489 return sizeof(*gh) + gh->opt_len * 4; in geneve_hlen()
498 struct genevehdr *gh, *gh2; in geneve_gro_receive() local
505 hlen = off_gnv + sizeof(*gh); in geneve_gro_receive()
507 if (unlikely(!gh)) in geneve_gro_receive()
510 if (gh->ver != GENEVE_VER || gh->oam) in geneve_gro_receive()
512 gh_len = geneve_hlen(gh); in geneve_gro_receive()
517 if (unlikely(!gh)) in geneve_gro_receive()
535 type = gh->proto_type; in geneve_gro_receive()
555 struct genevehdr *gh; in geneve_gro_complete() local
562 gh_len = geneve_hlen(gh); in geneve_gro_complete()
[all …]
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/
A Dpm_nl_ctl.c54 struct genlmsghdr *gh; in init_genl_req() local
62 gh = (void *)(data + off); in init_genl_req()
63 gh->cmd = cmd; in init_genl_req()
64 gh->version = version; in init_genl_req()
65 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
/linux-6.3-rc2/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-6.3-rc2/net/ipv6/
A Dip6_gre.c553 unsigned char *gh; in ip6erspan_rcv() local
570 gh = skb_network_header(skb) + in ip6erspan_rcv()
572 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in ip6erspan_rcv()

Completed in 51 milliseconds