Home
last modified time | relevance | path

Searched refs:glock (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/Documentation/filesystems/
Dgfs2-glocks.rst7 This documents the basic principles of the glock state machine
8 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h)
20 just the holders) associated with the glock. If there are any
26 There are three lock states that users of the glock layer can request,
33 UN IV/NL Unlocked (no DLM lock associated with glock) or NL
53 These rules are implemented using the various glock operations which
54 are defined for each type of glock. Not all types of glocks use
57 Table of glock operations and per type constants:
65 go_demote_ok Returns boolean value of whether its ok to demote a glock
70 error to dump glock to the log.
[all …]
/linux-6.1.9/fs/9p/
Dvfs_file.c238 struct p9_getlock glock; in v9fs_file_getlock() local
254 memset(&glock, 0, sizeof(glock)); in v9fs_file_getlock()
255 glock.type = P9_LOCK_TYPE_UNLCK; in v9fs_file_getlock()
256 glock.start = fl->fl_start; in v9fs_file_getlock()
258 glock.length = 0; in v9fs_file_getlock()
260 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock()
261 glock.proc_id = fl->fl_pid; in v9fs_file_getlock()
262 glock.client_id = fid->clnt->name; in v9fs_file_getlock()
264 res = p9_client_getlock_dotl(fid, &glock); in v9fs_file_getlock()
268 switch (glock.type) { in v9fs_file_getlock()
[all …]
/linux-6.1.9/net/9p/
Dclient.c2202 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) in p9_client_getlock_dotl() argument
2212 fid->fid, glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2213 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
2216 glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2217 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
2222 err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl()
2223 &glock->start, &glock->length, &glock->proc_id, in p9_client_getlock_dotl()
2224 &glock->client_id); in p9_client_getlock_dotl()
2231 glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2232 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
/linux-6.1.9/fs/gfs2/
DMakefile4 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
Dglock.h143 struct gfs2_glock glock; member
190 container_of(gl, struct gfs2_glock_aspace, glock); in gfs2_glock2aspace()
Dmeta_io.h46 return gla->glock.gl_name.ln_sbd; in gfs2_mapping2sbd()
Dmain.c66 gfs2_init_glock_once(&gla->glock); in gfs2_init_gl_aspace_once()
Dglock.c137 container_of(gl, struct gfs2_glock_aspace, glock); in gfs2_glock_dealloc()
1178 gl = &gla->glock; in gfs2_glock_get()