Lines Matching defs:lock
42 afs_flock_mode_openafs, /* Don't get server lock for a partial lock */
43 afs_flock_mode_strict, /* Always get a server lock for a partial lock */
44 afs_flock_mode_write, /* Get an exclusive server lock for a partial lock */
407 rwlock_t lock; /* Lock on addresses */
450 rwlock_t lock;
520 rwlock_t fs_lock; /* access lock */
556 rwlock_t lock;
599 AFS_VNODE_LOCK_NONE, /* The vnode has no lock on the server */
601 AFS_VNODE_LOCK_SETTING, /* We're asking the server for a lock */
602 AFS_VNODE_LOCK_GRANTED, /* We have a lock on the server */
603 AFS_VNODE_LOCK_EXTENDING, /* We're extending a lock on the server */
606 AFS_VNODE_LOCK_DELETED, /* The vnode has been deleted whilst we have a lock */
627 struct rw_semaphore validate_lock; /* lock for validating this vnode */
630 spinlock_t wb_lock; /* lock for wb_keys */
631 spinlock_t lock; /* waitqueue/flags lock */
649 struct key *lock_key; /* Key to be used in lock ops */
650 ktime_t locked_at; /* Time at which lock obtained */
755 bool need_io_lock:1; /* T if we need the I/O lock on this */
759 bool speculative:1; /* T if speculative status fetch (no vnode lock) */
811 } lock;
846 #define AFS_OPERATION_CUR_ONLY 0x0010 /* Set if current server only (file lock held) */