Home
last modified time | relevance | path

Searched refs:gh (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-6.6/fs/gfs2/
H A Dglock.h140 struct gfs2_holder *gh; in gfs2_glock_is_locked_by_me() local
146 list_for_each_entry(gh, &gl->gl_holders, gh_list) { in gfs2_glock_is_locked_by_me()
147 if (!test_bit(HIF_HOLDER, &gh->gh_iflags)) in gfs2_glock_is_locked_by_me()
149 if (gh->gh_owner_pid == pid) in gfs2_glock_is_locked_by_me()
152 gh = NULL; in gfs2_glock_is_locked_by_me()
156 return gh; in gfs2_glock_is_locked_by_me()
192 u16 flags, struct gfs2_holder *gh,
195 u16 flags, struct gfs2_holder *gh) { in gfs2_holder_init()
196 __gfs2_holder_init(gl, state, flags, gh, _RET_IP_); in gfs2_holder_init()
200 struct gfs2_holder *gh);
194 gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_holder_init() argument
244 gfs2_glock_nq_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_glock_nq_init() argument
283 gfs2_holder_mark_uninitialized(struct gfs2_holder *gh) gfs2_holder_mark_uninitialized() argument
288 gfs2_holder_initialized(struct gfs2_holder *gh) gfs2_holder_initialized() argument
293 gfs2_holder_queued(struct gfs2_holder *gh) gfs2_holder_queued() argument
[all...]
H A Dglock.c63 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
64 static void __gfs2_glock_dq(struct gfs2_holder *gh);
314 * @gh: The lock request which we wish to grant
318 * @current_gh; they are all the same as far as compatibility with the new @gh
326 struct gfs2_holder *gh) in may_grant()
340 return gh->gh_state == LM_ST_EXCLUSIVE && in may_grant()
342 (gh->gh_flags & LM_FLAG_NODE_SCOPE); in may_grant()
346 return gh->gh_state == current_gh->gh_state; in may_grant()
353 if (gl->gl_state == gh->gh_state) in may_grant()
355 if (gh in may_grant()
324 may_grant(struct gfs2_glock *gl, struct gfs2_holder *current_gh, struct gfs2_holder *gh) may_grant() argument
366 gfs2_holder_wake(struct gfs2_holder *gh) gfs2_holder_wake() argument
386 struct gfs2_holder *gh, *tmp; do_error() local
410 struct gfs2_holder *gh; find_first_holder() local
427 gfs2_instantiate(struct gfs2_holder *gh) gfs2_instantiate() argument
476 struct gfs2_holder *gh, *current_gh; do_promote() local
510 struct gfs2_holder *gh; find_first_waiter() local
574 struct gfs2_holder *gh; finish_xmote() local
818 struct gfs2_holder *gh = NULL; global() variable
924 struct gfs2_holder gh; gfs2_glock_poke() local
1249 __gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh, unsigned long ip) __gfs2_holder_init() argument
1271 gfs2_holder_reinit(unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_holder_reinit() argument
1287 gfs2_holder_uninit(struct gfs2_holder *gh) gfs2_holder_uninit() argument
1315 gfs2_glock_holder_ready(struct gfs2_holder *gh) gfs2_glock_holder_ready() argument
1332 gfs2_glock_wait(struct gfs2_holder *gh) gfs2_glock_wait() argument
1383 struct gfs2_holder *gh = &ghs[i]; gfs2_glock_async_wait() local
1398 struct gfs2_holder *gh = &ghs[i]; gfs2_glock_async_wait() local
1455 pid_is_meaningful(const struct gfs2_holder *gh) pid_is_meaningful() argument
1513 gfs2_holder_wake(gh); global() variable
1556 gfs2_glock_nq(struct gfs2_holder *gh) gfs2_glock_nq() argument
1592 gfs2_glock_poll(struct gfs2_holder *gh) gfs2_glock_poll() argument
1603 __gfs2_glock_dq(struct gfs2_holder *gh) __gfs2_glock_dq() argument
1648 gfs2_glock_dq(struct gfs2_holder *gh) gfs2_glock_dq() argument
1693 gfs2_glock_dq_wait(struct gfs2_holder *gh) gfs2_glock_dq_wait() argument
1707 gfs2_glock_dq_uninit(struct gfs2_holder *gh) gfs2_glock_dq_uninit() argument
1725 gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, const struct gfs2_glock_operations *glops, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_glock_nq_num() argument
1880 const struct gfs2_holder *gh; gfs2_should_freeze() local
2251 dump_holder(struct seq_file *seq, const struct gfs2_holder *gh, const char *fs_id_buf) dump_holder() argument
2344 const struct gfs2_holder *gh; gfs2_dump_glock() local
[all...]
H A Dfile.c162 struct gfs2_holder gh; in gfs2_fileattr_get() local
169 gfs2_holder_init(ip->i_gl, LM_ST_SHARED, 0, &gh); in gfs2_fileattr_get()
170 error = gfs2_glock_nq(&gh); in gfs2_fileattr_get()
178 gfs2_glock_dq(&gh); in gfs2_fileattr_get()
180 gfs2_holder_uninit(&gh); in gfs2_fileattr_get()
224 struct gfs2_holder gh; in do_gfs2_set_flags() local
228 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in do_gfs2_set_flags()
273 gfs2_glock_dq_uninit(&gh); in do_gfs2_set_flags()
425 struct gfs2_holder gh; in gfs2_page_mkwrite() local
432 gfs2_holder_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_page_mkwrite()
554 struct gfs2_holder gh; gfs2_fault() local
809 gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to, struct gfs2_holder *gh) gfs2_file_direct_read() argument
872 gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from, struct gfs2_holder *gh) gfs2_file_direct_write() argument
950 struct gfs2_holder gh; gfs2_file_read_iter() local
1008 gfs2_file_buffered_write(struct kiocb *iocb, struct iov_iter *from, struct gfs2_holder *gh) gfs2_file_buffered_write() argument
1102 struct gfs2_holder gh; gfs2_file_write_iter() local
1364 struct gfs2_holder gh; gfs2_fallocate() local
[all...]
H A Dsuper.c187 struct gfs2_holder gh; in gfs2_statfs_init() local
191 &gh); in gfs2_statfs_init()
216 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
276 struct gfs2_holder gh; in gfs2_statfs_sync() local
281 &gh); in gfs2_statfs_sync()
310 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
317 struct gfs2_holder gh; member
349 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
391 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
491 struct gfs2_holder gh; in gfs2_dirty_inode() local
882 struct gfs2_holder *gha, *gh; gfs2_statfs_slow() local
1215 struct gfs2_holder gh; gfs2_dinode_dealloc() local
1279 struct gfs2_holder *gh = &ip->i_iopen_gh; gfs2_upgrade_iopen_glock() local
1342 evict_should_delete(struct inode *inode, struct gfs2_holder *gh) evict_should_delete() argument
1503 struct gfs2_holder gh; gfs2_evict_inode() local
[all...]
H 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()
H A Dinode.c625 struct gfs2_holder d_gh, gh; in gfs2_create_inode() local
649 gfs2_holder_mark_uninitialized(&gh); in gfs2_create_inode()
764 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, GL_SKIP, &gh); in gfs2_create_inode()
815 gfs2_glock_dq_uninit(&gh); in gfs2_create_inode()
851 if (gfs2_holder_initialized(&gh)) in gfs2_create_inode()
852 gfs2_glock_dq_uninit(&gh); in gfs2_create_inode()
890 struct gfs2_holder gh; in __gfs2_lookup() local
903 error = gfs2_glock_nq_init(gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in __gfs2_lookup()
911 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
917 gfs2_glock_dq_uninit(&gh); in __gfs2_lookup()
950 struct gfs2_holder d_gh, gh; gfs2_link() local
1152 struct gfs2_holder d_gh, r_gh, gh; gfs2_unlink() local
2065 struct gfs2_holder gh; gfs2_getattr() local
2100 struct gfs2_holder gh; gfs2_fiemap() local
2122 struct gfs2_holder gh; gfs2_seek_data() local
2141 struct gfs2_holder gh; gfs2_seek_hole() local
2160 struct gfs2_holder *gh; gfs2_update_time() local
[all...]
H 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),
240 __entry->dev = gh->gh_gl->gl_name.ln_sbd->sd_vfs->s_dev;
241 __entry->glnum = gh
[all...]
H A Dxattr.c608 struct gfs2_holder gh; in gfs2_xattr_get() local
614 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
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
1244 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set()
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; ea_dealloc_block() local
[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.c496 * @gh: The glock holder
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()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dglock.c60 static void do_xmote(struct gfs2_glock *gl, struct gfs2_holder *gh, unsigned int target);
308 * @gh: The lock request which we wish to grant
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 in may_grant()
334 gfs2_holder_wake(struct gfs2_holder *gh) gfs2_holder_wake() argument
353 struct gfs2_holder *gh, *tmp; do_error() local
383 struct gfs2_holder *gh, *tmp; global() variable
403 gfs2_holder_wake(gh); global() variable
408 gfs2_holder_wake(gh); global() variable
413 gfs2_holder_wake(gh); global() variable
431 struct gfs2_holder *gh; find_first_waiter() local
496 struct gfs2_holder *gh; finish_xmote() local
720 struct gfs2_holder *gh; find_first_holder() local
741 struct gfs2_holder *gh = NULL; global() variable
810 struct gfs2_holder gh; gfs2_glock_poke() local
1116 gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_holder_init() argument
1140 gfs2_holder_reinit(unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_holder_reinit() argument
1156 gfs2_holder_uninit(struct gfs2_holder *gh) gfs2_holder_uninit() argument
1182 gfs2_glock_wait(struct gfs2_holder *gh) gfs2_glock_wait() argument
1363 gfs2_holder_wake(gh); global() variable
1413 gfs2_glock_nq(struct gfs2_holder *gh) gfs2_glock_nq() argument
1448 gfs2_glock_poll(struct gfs2_holder *gh) gfs2_glock_poll() argument
1459 gfs2_glock_dq(struct gfs2_holder *gh) gfs2_glock_dq() argument
1510 gfs2_glock_dq_wait(struct gfs2_holder *gh) gfs2_glock_dq_wait() argument
1524 gfs2_glock_dq_uninit(struct gfs2_holder *gh) gfs2_glock_dq_uninit() argument
1542 gfs2_glock_nq_num(struct gfs2_sbd *sdp, u64 number, const struct gfs2_glock_operations *glops, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_glock_nq_num() argument
1700 const struct gfs2_holder *gh; gfs2_should_freeze() local
2086 dump_holder(struct seq_file *seq, const struct gfs2_holder *gh, const char *fs_id_buf) dump_holder() argument
2170 const struct gfs2_holder *gh; gfs2_dump_glock() local
[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);
230 gfs2_glock_nq_init(struct gfs2_glock *gl, unsigned int state, u16 flags, struct gfs2_holder *gh) gfs2_glock_nq_init() argument
267 gfs2_holder_mark_uninitialized(struct gfs2_holder *gh) gfs2_holder_mark_uninitialized() argument
272 gfs2_holder_initialized(struct gfs2_holder *gh) gfs2_holder_initialized() argument
277 gfs2_holder_queued(struct gfs2_holder *gh) gfs2_holder_queued() argument
[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()
565 struct gfs2_holder gh; gfs2_fault() local
785 gfs2_file_direct_read(struct kiocb *iocb, struct iov_iter *to, struct gfs2_holder *gh) gfs2_file_direct_read() argument
810 gfs2_file_direct_write(struct kiocb *iocb, struct iov_iter *from, struct gfs2_holder *gh) gfs2_file_direct_write() argument
851 struct gfs2_holder gh; gfs2_file_read_iter() local
907 struct gfs2_holder gh; gfs2_file_write_iter() local
1177 struct gfs2_holder gh; gfs2_fallocate() local
[all...]
H A Dsuper.c195 struct gfs2_holder gh; in gfs2_statfs_init() local
199 &gh); in gfs2_statfs_init()
230 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_init()
298 struct gfs2_holder gh; in gfs2_statfs_sync() local
304 &gh); in gfs2_statfs_sync()
339 gfs2_glock_dq_uninit(&gh); in gfs2_statfs_sync()
347 struct gfs2_holder gh; member
376 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &lfcc->gh); in gfs2_lock_fs_check_clean()
409 gfs2_glock_dq_uninit(&lfcc->gh); in gfs2_lock_fs_check_clean()
508 struct gfs2_holder gh; in gfs2_dirty_inode() local
819 struct gfs2_holder *gha, *gh; gfs2_statfs_slow() local
1137 struct gfs2_holder gh; gfs2_dinode_dealloc() local
1202 struct gfs2_holder *gh = &ip->i_iopen_gh; gfs2_upgrade_iopen_glock() local
1256 evict_should_delete(struct inode *inode, struct gfs2_holder *gh) evict_should_delete() argument
1412 struct gfs2_holder gh; gfs2_evict_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
[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()
2037 struct gfs2_holder gh; in gfs2_getattr() local
2041 gfs2_holder_mark_uninitialized(&gh); in gfs2_getattr()
2043 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_getattr()
2062 if (gfs2_holder_initialized(&gh)) in gfs2_getattr()
2063 gfs2_glock_dq_uninit(&gh); in gfs2_getattr()
2072 struct gfs2_holder gh; in gfs2_fiemap() local
2094 struct gfs2_holder gh; gfs2_seek_data() local
2113 struct gfs2_holder gh; gfs2_seek_hole() local
2133 struct gfs2_holder *gh; gfs2_update_time() local
[all...]
H A Dxattr.c594 struct gfs2_holder gh; in gfs2_xattr_get() local
600 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, LM_FLAG_ANY, &gh); in gfs2_xattr_get()
604 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_get()
607 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_get()
608 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_get()
1222 struct gfs2_holder gh; in gfs2_xattr_set() local
1232 ret = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &gh); in gfs2_xattr_set()
1240 gfs2_holder_mark_uninitialized(&gh); in gfs2_xattr_set()
1243 if (gfs2_holder_initialized(&gh)) in gfs2_xattr_set()
1244 gfs2_glock_dq_uninit(&gh); in gfs2_xattr_set()
1375 struct gfs2_holder gh; ea_dealloc_block() local
[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.c501 static int inode_go_lock(struct gfs2_holder *gh) in inode_go_lock() argument
503 struct gfs2_glock *gl = gh->gh_gl; in inode_go_lock()
508 if (!ip || (gh->gh_flags & GL_SKIP)) in inode_go_lock()
517 if (gh->gh_state != LM_ST_DEFERRED) in inode_go_lock()
522 (gh->gh_state == LM_ST_EXCLUSIVE)) { in inode_go_lock()
618 static int freeze_go_xmote_bh(struct gfs2_glock *gl, struct gfs2_holder *gh) in freeze_go_xmote_bh() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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 in geneve_gro_receive()
538 struct genevehdr *gh; geneve_gro_complete() local
[all...]
/kernel/linux/linux-6.6/drivers/net/
H A Dgeneve.c496 static int geneve_hlen(struct genevehdr *gh) in geneve_hlen() argument
498 return sizeof(*gh) + gh->opt_len * 4; in geneve_hlen()
507 struct genevehdr *gh, *gh2; in geneve_gro_receive() local
514 hlen = off_gnv + sizeof(*gh); in geneve_gro_receive()
515 gh = skb_gro_header(skb, hlen, off_gnv); in geneve_gro_receive()
516 if (unlikely(!gh)) in geneve_gro_receive()
519 if (gh->ver != GENEVE_VER || gh->oam) in geneve_gro_receive()
521 gh_len = geneve_hlen(gh); in geneve_gro_receive()
564 struct genevehdr *gh; geneve_gro_complete() local
[all...]
/kernel/linux/linux-5.10/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()

Completed in 27 milliseconds

12