/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | rbtree_fail.c | 55 bpf_spin_lock(&glock); in rbtree_api_nolock_remove() 57 bpf_spin_unlock(&glock); in rbtree_api_nolock_remove() 88 bpf_spin_lock(&glock); in rbtree_api_remove_unadded_node() 114 bpf_spin_lock(&glock); in rbtree_api_remove_no_drop() 142 bpf_spin_lock(&glock); in rbtree_api_add_to_multiple_trees() 161 bpf_spin_lock(&glock); in rbtree_api_add_release_unlock_escape() 165 bpf_spin_lock(&glock); in rbtree_api_add_release_unlock_escape() 186 bpf_spin_lock(&glock); in rbtree_api_release_aliasing() 190 bpf_spin_lock(&glock); in rbtree_api_release_aliasing() 233 bpf_spin_lock(&glock); in rbtree_api_first_release_unlock_escape() [all …]
|
A D | rbtree.c | 52 bpf_spin_lock(&glock); in __add_three() 55 bpf_spin_unlock(&glock); in __add_three() 62 bpf_spin_lock(&glock); in __add_three() 64 bpf_spin_unlock(&glock); in __add_three() 90 bpf_spin_lock(&glock); in rbtree_add_and_remove() 94 bpf_spin_unlock(&glock); in rbtree_add_and_remove() 134 bpf_spin_lock(&glock); in rbtree_first_and_remove() 141 bpf_spin_unlock(&glock); in rbtree_first_and_remove() 149 bpf_spin_unlock(&glock); in rbtree_first_and_remove() 156 bpf_spin_lock(&glock); in rbtree_first_and_remove() [all …]
|
A D | linked_list_fail.c | 366 bpf_spin_lock(&glock); in use_after_unlock() 394 bpf_spin_lock(&glock); in list_double_add() 422 bpf_spin_lock(&glock); in no_node_value_type() 437 bpf_spin_lock(&glock); in incorrect_value_type() 452 bpf_spin_lock(&glock); in incorrect_node_var_off() 467 bpf_spin_lock(&glock); in incorrect_node_off1() 482 bpf_spin_lock(&glock); in incorrect_node_off2() 497 bpf_spin_lock(&glock); in no_head_type() 499 bpf_spin_lock(&glock); in no_head_type() 512 bpf_spin_lock(&glock); in incorrect_head_var_off1() [all …]
|
A D | rbtree_btf_fail__wrong_node_type.c | 31 private(A) struct bpf_spin_lock glock; variable 43 bpf_spin_lock(&glock); in rbtree_api_add__wrong_node_type() 45 bpf_spin_unlock(&glock); in rbtree_api_add__wrong_node_type()
|
A D | rbtree_btf_fail__add_wrong_type.c | 34 private(A) struct bpf_spin_lock glock; variable 46 bpf_spin_lock(&glock); in rbtree_api_add__add_wrong_type() 48 bpf_spin_unlock(&glock); in rbtree_api_add__add_wrong_type()
|
A D | linked_list.c | 309 return test_list_push_pop(&glock, &ghead); in global_list_push_pop() 345 ret = list_push_pop_multiple(&glock, &ghead, false); in global_list_push_pop_multiple() 348 return list_push_pop_multiple(&glock, &ghead, true); in global_list_push_pop_multiple() 382 return test_list_in_list(&glock, &ghead); in global_list_in_list()
|
A D | linked_list.h | 52 private(A) struct bpf_spin_lock glock; variable
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | gfs2-glocks.rst | 7 This documents the basic principles of the glock state machine 57 Table of glock operations and per type constants: 70 error to dump glock to the log. 90 rather than via the glock. 92 Locking rules for glock operations: 117 2. Rename glock (for rename only) 118 3. Inode glock(s) 121 4. Rgrp glock(s) (for (de)allocation operations) 148 glock is created. The per-glock statistics are lost when 149 the glock is ejected from memory. [all …]
|
/linux-6.3-rc2/fs/9p/ |
A D | vfs_file.c | 239 struct p9_getlock glock; in v9fs_file_getlock() local 255 memset(&glock, 0, sizeof(glock)); in v9fs_file_getlock() 257 glock.start = fl->fl_start; in v9fs_file_getlock() 259 glock.length = 0; in v9fs_file_getlock() 262 glock.proc_id = fl->fl_pid; in v9fs_file_getlock() 269 switch (glock.type) { in v9fs_file_getlock() 281 fl->fl_start = glock.start; in v9fs_file_getlock() 282 if (glock.length == 0) in v9fs_file_getlock() 285 fl->fl_end = glock.start + glock.length - 1; in v9fs_file_getlock() 286 fl->fl_pid = -glock.proc_id; in v9fs_file_getlock() [all …]
|
/linux-6.3-rc2/net/9p/ |
A D | client.c | 2211 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) in p9_client_getlock_dotl() argument 2221 fid->fid, glock->type, glock->start, glock->length, in p9_client_getlock_dotl() 2222 glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2225 glock->type, glock->start, glock->length, in p9_client_getlock_dotl() 2226 glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2231 err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl() 2232 &glock->start, &glock->length, &glock->proc_id, in p9_client_getlock_dotl() 2233 &glock->client_id); in p9_client_getlock_dotl() 2240 glock->type, glock->start, glock->length, in p9_client_getlock_dotl() 2241 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | Makefile | 4 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
|
A D | glock.h | 143 struct gfs2_glock glock; member 187 container_of(gl, struct gfs2_glock_aspace, glock); in gfs2_glock2aspace()
|
A D | meta_io.h | 46 return gla->glock.gl_name.ln_sbd; in gfs2_mapping2sbd()
|
A D | main.c | 66 gfs2_init_glock_once(&gla->glock); in gfs2_init_gl_aspace_once()
|
A D | glock.c | 136 container_of(gl, struct gfs2_glock_aspace, glock); in gfs2_glock_dealloc() 1170 gl = &gla->glock; in gfs2_glock_get()
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | graph_ds_impl.rst | 70 struct bpf_spin_lock glock;
|