Searched refs:glock (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.10/Documentation/filesystems/ |
| D | gfs2-glocks.rst | 7 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-v5.10/fs/9p/ |
| D | vfs_file.c | 243 struct p9_getlock glock; in v9fs_file_getlock() local 259 memset(&glock, 0, sizeof(glock)); in v9fs_file_getlock() 260 glock.type = P9_LOCK_TYPE_UNLCK; in v9fs_file_getlock() 261 glock.start = fl->fl_start; in v9fs_file_getlock() 263 glock.length = 0; in v9fs_file_getlock() 265 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 266 glock.proc_id = fl->fl_pid; in v9fs_file_getlock() 267 glock.client_id = fid->clnt->name; in v9fs_file_getlock() 269 res = p9_client_getlock_dotl(fid, &glock); in v9fs_file_getlock() 273 switch (glock.type) { in v9fs_file_getlock() [all …]
|
| /Linux-v5.10/net/9p/ |
| D | client.c | 2241 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) in p9_client_getlock_dotl() argument 2250 "length %lld proc_id %d client_id %s\n", fid->fid, glock->type, in p9_client_getlock_dotl() 2251 glock->start, glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2253 req = p9_client_rpc(clnt, P9_TGETLOCK, "dbqqds", fid->fid, glock->type, in p9_client_getlock_dotl() 2254 glock->start, glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2259 err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl() 2260 &glock->start, &glock->length, &glock->proc_id, in p9_client_getlock_dotl() 2261 &glock->client_id); in p9_client_getlock_dotl() 2267 "proc_id %d client_id %s\n", glock->type, glock->start, in p9_client_getlock_dotl() 2268 glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
|
| /Linux-v5.10/fs/gfs2/ |
| D | Makefile | 4 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
|