Home
last modified time | relevance | path

Searched refs:lock_owner (Results 1 – 11 of 11) sorted by relevance

/fs/reiserfs/
Dlock.c25 if (sb_i->lock_owner != current) { in reiserfs_write_lock()
27 sb_i->lock_owner = current; in reiserfs_write_lock()
43 BUG_ON(sb_i->lock_owner != current); in reiserfs_write_unlock()
46 sb_i->lock_owner = NULL; in reiserfs_write_unlock()
57 if (sb_i->lock_owner != current) in reiserfs_write_unlock_nested()
63 sb_i->lock_owner = NULL; in reiserfs_write_unlock_nested()
78 sb_i->lock_owner = current; in reiserfs_write_lock_nested()
Dreiserfs.h530 struct task_struct *lock_owner; member
/fs/btrfs/
Dlocking.c42 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_rw()
74 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_clear_lock_blocking_rw()
104 current->pid == eb->lock_owner); in btrfs_tree_read_lock()
108 current->pid == eb->lock_owner) { in btrfs_tree_read_lock()
189 eb->lock_owner = current->pid; in btrfs_try_tree_write_lock()
204 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock()
226 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock_blocking()
263 eb->lock_owner = current->pid; in btrfs_tree_lock()
276 eb->lock_owner = 0; in btrfs_tree_unlock()
Ddev-replace.c883 dev_replace->lock_owner = current->pid; in btrfs_dev_replace_lock()
891 dev_replace->lock_owner == current->pid) { in btrfs_dev_replace_lock()
907 WARN_ON(dev_replace->lock_owner != current->pid); in btrfs_dev_replace_unlock()
910 dev_replace->lock_owner = 0; in btrfs_dev_replace_unlock()
Dextent_io.h132 pid_t lock_owner; member
Dctree.h963 pid_t lock_owner; member
Ddisk-io.c2369 fs_info->dev_replace.lock_owner = 0; in open_ctree()
/fs/nfs/
Dnfs4proc.c5271 arg.lock_owner.clientid = clp->cl_clientid; in _nfs4_proc_getlk()
5276 arg.lock_owner.id = lsp->ls_seqid.owner_id; in _nfs4_proc_getlk()
5277 arg.lock_owner.s_dev = server->s_dev; in _nfs4_proc_getlk()
5539 p->arg.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_alloc_lockdata()
5540 p->arg.lock_owner.id = lsp->ls_seqid.owner_id; in nfs4_alloc_lockdata()
5541 p->arg.lock_owner.s_dev = server->s_dev; in nfs4_alloc_lockdata()
5972 data->args.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_release_lockowner_prepare()
6028 data->args.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_release_lockowner()
6029 data->args.lock_owner.id = lsp->ls_seqid.owner_id; in nfs4_release_lockowner()
6030 data->args.lock_owner.s_dev = server->s_dev; in nfs4_release_lockowner()
Dnfs4xdr.c1304 encode_lockowner(xdr, &args->lock_owner); in encode_lock()
1321 encode_lockowner(xdr, &args->lock_owner); in encode_lockt()
2384 encode_release_lockowner(xdr, &args->lock_owner, &hdr); in nfs4_xdr_enc_release_lockowner()
/fs/fuse/
Dfile.c297 inarg->lock_owner = fuse_lock_owner_id(ff->fc, in fuse_release_common()
469 inarg.lock_owner = fuse_lock_owner_id(fc, id); in fuse_flush()
704 inarg->lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_read()
1016 inarg->lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_write()
Ddir.c1795 inarg.lock_owner = fuse_lock_owner_id(fc, current->files); in fuse_do_setattr()