Home
last modified time | relevance | path

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

/linux/Documentation/filesystems/
A Dgfs2-glocks.rst7 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/fs/9p/
A Dvfs_file.c238 struct p9_getlock glock; in v9fs_file_getlock() local
254 memset(&glock, 0, sizeof(glock)); in v9fs_file_getlock()
256 glock.start = fl->fl_start; in v9fs_file_getlock()
258 glock.length = 0; in v9fs_file_getlock()
261 glock.proc_id = fl->fl_pid; in v9fs_file_getlock()
268 switch (glock.type) { in v9fs_file_getlock()
280 fl->fl_start = glock.start; in v9fs_file_getlock()
281 if (glock.length == 0) in v9fs_file_getlock()
284 fl->fl_end = glock.start + glock.length - 1; in v9fs_file_getlock()
285 fl->fl_pid = -glock.proc_id; in v9fs_file_getlock()
[all …]
/linux/net/9p/
A Dclient.c2234 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) in p9_client_getlock_dotl() argument
2244 fid->fid, glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2245 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
2248 glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2249 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
2254 err = p9pdu_readf(&req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl()
2255 &glock->start, &glock->length, &glock->proc_id, in p9_client_getlock_dotl()
2256 &glock->client_id); in p9_client_getlock_dotl()
2263 glock->type, glock->start, glock->length, in p9_client_getlock_dotl()
2264 glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
/linux/fs/gfs2/
A DMakefile4 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \

Completed in 10 milliseconds