| /linux-6.15/fs/gfs2/ |
| H A D | glock.h | 141 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() local 150 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me() 153 gh = NULL; in gfs2_glock_is_locked_by_me() 157 return gh; in gfs2_glock_is_locked_by_me() 186 struct gfs2_holder *gh); 200 struct gfs2_holder *gh); 232 struct gfs2_holder *gh) in gfs2_glock_nq_init() argument 238 error = gfs2_glock_nq(gh); in gfs2_glock_nq_init() 240 gfs2_holder_uninit(gh); in gfs2_glock_nq_init() 272 gh->gh_gl = NULL; in gfs2_holder_mark_uninitialized() [all …]
|
| H A D | glock.c | 430 return gh; in find_first_holder() 528 return gh; in find_first_waiter() 547 return test_bit(HIF_HOLDER, &gh->gh_iflags) ? NULL : gh; in find_last_waiter() 615 if (gh) { in finish_xmote() 702 gh && !(gh->gh_flags & LM_FLAG_NOEXP)) in do_xmote() 879 if (!gh) in run_queue() 1307 gh->gh_ip = 0; in gfs2_holder_uninit() 1332 if (gh->gh_error || (gh->gh_flags & GL_SKIP)) in gfs2_glock_holder_ready() 1334 gh->gh_error = gfs2_instantiate(gh); in gfs2_glock_holder_ready() 1540 gh->gh_gl->gl_name.ln_type, gh->gh_state); in add_to_queue() [all …]
|
| H A D | file.c | 162 struct gfs2_holder gh; in gfs2_fileattr_get() local 178 gfs2_glock_dq(&gh); in gfs2_fileattr_get() 541 gfs2_glock_dq(&gh); in gfs2_page_mkwrite() 567 gfs2_glock_dq(&gh); in gfs2_fault() 858 gfs2_glock_dq(gh); in gfs2_file_direct_read() 865 gfs2_glock_dq(gh); in gfs2_file_direct_read() 929 gfs2_glock_dq(gh); in gfs2_file_direct_write() 940 gfs2_glock_dq(gh); in gfs2_file_direct_write() 1074 gfs2_glock_dq(gh); in gfs2_file_buffered_write() 1079 gfs2_glock_dq(gh); in gfs2_file_buffered_write() [all …]
|
| H A D | super.c | 191 struct gfs2_holder gh; in gfs2_statfs_init() local 195 &gh); in gfs2_statfs_init() 280 struct gfs2_holder gh; in gfs2_statfs_sync() local 285 &gh); in gfs2_statfs_sync() 321 struct gfs2_holder gh; member 495 struct gfs2_holder gh; in gfs2_dirty_inode() local 895 gh = gha + x; in gfs2_statfs_slow() 897 if (gfs2_holder_initialized(gh) && gfs2_glock_poll(gh)) { in gfs2_statfs_slow() 919 gh); in gfs2_statfs_slow() 1200 struct gfs2_holder gh; in gfs2_dinode_dealloc() local [all …]
|
| H A D | acl.c | 63 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()
|
| H A D | inode.c | 893 struct gfs2_holder gh; in __gfs2_lookup() local 1058 gfs2_glock_dq(&gh); in gfs2_link() 1064 gfs2_holder_uninit(&gh); in gfs2_link() 1211 gfs2_glock_dq(&gh); in gfs2_unlink() 1217 gfs2_holder_uninit(&gh); in gfs2_unlink() 2069 struct gfs2_holder gh; in gfs2_getattr() local 2104 struct gfs2_holder gh; in gfs2_fiemap() local 2126 struct gfs2_holder gh; in gfs2_seek_data() local 2145 struct gfs2_holder gh; in gfs2_seek_hole() local 2164 struct gfs2_holder *gh; in gfs2_update_time() local [all …]
|
| H A D | trace_gfs2.h | 208 TP_PROTO(const struct gfs2_holder *gh), 210 TP_ARGS(gh), 220 __entry->dev = gh->gh_gl->gl_name.ln_sbd->sd_vfs->s_dev; 221 __entry->glnum = gh->gh_gl->gl_name.ln_number; 222 __entry->gltype = gh->gh_gl->gl_name.ln_type; 223 __entry->state = glock_trace_state(gh->gh_state); 235 TP_PROTO(const struct gfs2_holder *gh, int queue), 237 TP_ARGS(gh, queue), 249 __entry->glnum = gh->gh_gl->gl_name.ln_number; 250 __entry->gltype = gh->gh_gl->gl_name.ln_type; [all …]
|
| H A D | export.c | 95 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 D | xattr.c | 612 struct gfs2_holder gh; in gfs2_xattr_get() local 622 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_get() 625 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_get() 626 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_get() 1238 struct gfs2_holder gh; in gfs2_xattr_set() local 1256 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_set() 1259 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_set() 1260 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_set() 1391 struct gfs2_holder gh; in ea_dealloc_block() local 1405 LM_FLAG_NODE_SCOPE, &gh); in ea_dealloc_block() [all …]
|
| H A D | glops.c | 511 static int inode_go_held(struct gfs2_holder *gh) in inode_go_held() argument 513 struct gfs2_glock *gl = gh->gh_gl; in inode_go_held() 520 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_held() 525 (gh->gh_state == LM_ST_EXCLUSIVE)) in inode_go_held()
|
| H A D | rgrp.c | 1262 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()
|
| H A D | incore.h | 222 int (*go_held)(struct gfs2_holder *gh);
|
| /linux-6.15/drivers/acpi/arm64/ |
| H A D | gtdt.c | 41 struct acpi_gtdt_header *gh = platform_timer; in platform_timer_valid() local 45 gh->length != 0 && in platform_timer_valid() 46 platform_timer + gh->length <= acpi_gtdt_desc.gtdt_end); in platform_timer_valid() 51 struct acpi_gtdt_header *gh = platform_timer; in next_platform_timer() local 53 return platform_timer + gh->length; in next_platform_timer() 62 struct acpi_gtdt_header *gh = platform_timer; in is_timer_block() local 64 return gh->type == ACPI_GTDT_TYPE_TIMER_BLOCK; in is_timer_block() 69 struct acpi_gtdt_header *gh = platform_timer; in is_non_secure_watchdog() local 72 if (gh->type != ACPI_GTDT_TYPE_WATCHDOG) in is_non_secure_watchdog()
|
| /linux-6.15/drivers/net/ |
| H A D | geneve.c | 497 return sizeof(*gh) + gh->opt_len * 4; in geneve_hlen() 506 struct genevehdr *gh, *gh2; in geneve_gro_receive() local 513 hlen = off_gnv + sizeof(*gh); in geneve_gro_receive() 515 if (unlikely(!gh)) in geneve_gro_receive() 518 if (gh->ver != GENEVE_VER || gh->oam) in geneve_gro_receive() 520 gh_len = geneve_hlen(gh); in geneve_gro_receive() 525 if (unlikely(!gh)) in geneve_gro_receive() 543 type = gh->proto_type; in geneve_gro_receive() 563 struct genevehdr *gh; in geneve_gro_complete() local 570 gh_len = geneve_hlen(gh); in geneve_gro_complete() [all …]
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | pm_nl_ctl.c | 48 struct genlmsghdr *gh; in init_genl_req() local 56 gh = (void *)(data + off); in init_genl_req() 57 gh->cmd = cmd; in init_genl_req() 58 gh->version = version; in init_genl_req() 59 off += NLMSG_ALIGN(sizeof(*gh)); in init_genl_req()
|
| /linux-6.15/net/ipv4/ |
| H A D | ip_gre.c | 321 unsigned char *gh; in erspan_rcv() local 337 gh = skb_network_header(skb) + in erspan_rcv() 339 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in erspan_rcv()
|
| /linux-6.15/net/ipv6/ |
| H A D | ip6_gre.c | 558 unsigned char *gh; in ip6erspan_rcv() local 574 gh = skb_network_header(skb) + in ip6erspan_rcv() 576 pkt_md = (struct erspan_metadata *)(gh + gre_hdr_len + in ip6erspan_rcv()
|