Searched refs:glock (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/Documentation/filesystems/ |
D | gfs2-glocks.txt | 4 This documents the basic principles of the glock state machine 5 internals. Each glock (struct gfs2_glock in fs/gfs2/incore.h) 17 just the holders) associated with the glock. If there are any 23 There are three lock states that users of the glock layer can request, 29 UN | IV/NL Unlocked (no DLM lock associated with glock) or NL 46 These rules are implemented using the various glock operations which 47 are defined for each type of glock. Not all types of glocks use 50 Table of glock operations and per type constants: 57 go_demote_ok | Returns boolean value of whether its ok to demote a glock 62 | error to dump glock to the log. [all …]
|
/linux-4.4.14/fs/9p/ |
D | vfs_file.c | 244 struct p9_getlock glock; in v9fs_file_getlock() local 260 memset(&glock, 0, sizeof(glock)); in v9fs_file_getlock() 261 glock.type = P9_LOCK_TYPE_UNLCK; in v9fs_file_getlock() 262 glock.start = fl->fl_start; in v9fs_file_getlock() 264 glock.length = 0; in v9fs_file_getlock() 266 glock.length = fl->fl_end - fl->fl_start + 1; in v9fs_file_getlock() 267 glock.proc_id = fl->fl_pid; in v9fs_file_getlock() 268 glock.client_id = fid->clnt->name; in v9fs_file_getlock() 270 res = p9_client_getlock_dotl(fid, &glock); in v9fs_file_getlock() 274 switch (glock.type) { in v9fs_file_getlock() [all …]
|
/linux-4.4.14/net/9p/ |
D | client.c | 2215 int p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) in p9_client_getlock_dotl() argument 2224 "length %lld proc_id %d client_id %s\n", fid->fid, glock->type, in p9_client_getlock_dotl() 2225 glock->start, glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2227 req = p9_client_rpc(clnt, P9_TGETLOCK, "dbqqds", fid->fid, glock->type, in p9_client_getlock_dotl() 2228 glock->start, glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl() 2233 err = p9pdu_readf(req->rc, clnt->proto_version, "bqqds", &glock->type, in p9_client_getlock_dotl() 2234 &glock->start, &glock->length, &glock->proc_id, in p9_client_getlock_dotl() 2235 &glock->client_id); in p9_client_getlock_dotl() 2241 "proc_id %d client_id %s\n", glock->type, glock->start, in p9_client_getlock_dotl() 2242 glock->length, glock->proc_id, glock->client_id); in p9_client_getlock_dotl()
|
/linux-4.4.14/fs/gfs2/ |
D | Makefile | 3 gfs2-y := acl.o bmap.o dir.o xattr.o glock.o \
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/ |
D | o2iblnd.c | 646 rwlock_t *glock = &kiblnd_data.kib_global_lock; in kiblnd_create_conn() local 705 write_lock_irqsave(glock, flags); in kiblnd_create_conn() 707 write_unlock_irqrestore(glock, flags); in kiblnd_create_conn() 720 write_unlock_irqrestore(glock, flags); in kiblnd_create_conn() 731 write_unlock_irqrestore(glock, flags); in kiblnd_create_conn() 1061 rwlock_t *glock = &kiblnd_data.kib_global_lock; in kiblnd_query() local 1065 read_lock_irqsave(glock, flags); in kiblnd_query() 1075 read_unlock_irqrestore(glock, flags); in kiblnd_query()
|
D | o2iblnd_cb.c | 3397 rwlock_t *glock = &kiblnd_data.kib_global_lock; in kiblnd_failover_thread() local 3408 write_lock_irqsave(glock, flags); in kiblnd_failover_thread() 3426 write_unlock_irqrestore(glock, flags); in kiblnd_failover_thread() 3430 write_lock_irqsave(glock, flags); in kiblnd_failover_thread() 3455 write_unlock_irqrestore(glock, flags); in kiblnd_failover_thread() 3460 write_lock_irqsave(glock, flags); in kiblnd_failover_thread() 3477 write_unlock_irqrestore(glock, flags); in kiblnd_failover_thread()
|
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd.c | 1790 rwlock_t *glock = &ksocknal_data.ksnd_global_lock; in ksocknal_query() local 1793 read_lock(glock); in ksocknal_query() 1819 read_unlock(glock); in ksocknal_query() 1834 write_lock_bh(glock); in ksocknal_query() 1840 write_unlock_bh(glock); in ksocknal_query()
|