Home
last modified time | relevance | path

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

/fs/reiserfs/
Dlock.c26 if (sb_i->lock_owner != current) { in reiserfs_write_lock()
28 sb_i->lock_owner = current; in reiserfs_write_lock()
44 BUG_ON(sb_i->lock_owner != current); in reiserfs_write_unlock()
47 sb_i->lock_owner = NULL; in reiserfs_write_unlock()
58 if (sb_i->lock_owner != current) in reiserfs_write_unlock_nested()
64 sb_i->lock_owner = NULL; in reiserfs_write_unlock_nested()
79 sb_i->lock_owner = current; in reiserfs_write_lock_nested()
Dreiserfs.h535 struct task_struct *lock_owner; member
/fs/btrfs/
Dlocking.c97 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_read()
113 if (eb->lock_nested && current->pid == eb->lock_owner) in btrfs_set_lock_blocking_write()
136 current->pid == eb->lock_owner); in btrfs_tree_read_lock()
137 if (eb->blocking_writers && current->pid == eb->lock_owner) { in btrfs_tree_read_lock()
220 eb->lock_owner = current->pid; in btrfs_try_tree_write_lock()
237 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock()
259 if (eb->lock_nested && current->pid == eb->lock_owner) { in btrfs_tree_read_unlock_blocking()
282 WARN_ON(eb->lock_owner == current->pid); in btrfs_tree_lock()
293 eb->lock_owner = current->pid; in btrfs_tree_lock()
308 eb->lock_owner = 0; in btrfs_tree_unlock()
Dprint-tree.c164 eb->lock_owner, current->pid); in print_eb_refs_lock()
Dextent_io.h170 pid_t lock_owner; member
Dextent-tree.c4476 if (buf->lock_owner == current->pid) { in btrfs_init_new_buffer()
/fs/fuse/
Dfile.c294 ra->inarg.lock_owner = fuse_lock_owner_id(ff->fc, in fuse_release_common()
472 inarg.lock_owner = fuse_lock_owner_id(fc, id); in fuse_flush()
740 ia->read.in.lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_read()
1075 inarg->lock_owner = fuse_lock_owner_id(fc, owner); in fuse_send_write()
Ddir.c1624 inarg.lock_owner = fuse_lock_owner_id(fc, current->files); in fuse_do_setattr()
/fs/nfs/
Dnfs4proc.c6482 arg.lock_owner.clientid = clp->cl_clientid; in _nfs4_proc_getlk()
6487 arg.lock_owner.id = lsp->ls_seqid.owner_id; in _nfs4_proc_getlk()
6488 arg.lock_owner.s_dev = server->s_dev; in _nfs4_proc_getlk()
6807 p->arg.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_alloc_lockdata()
6808 p->arg.lock_owner.id = lsp->ls_seqid.owner_id; in nfs4_alloc_lockdata()
6809 p->arg.lock_owner.s_dev = server->s_dev; in nfs4_alloc_lockdata()
7330 data->args.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_release_lockowner_prepare()
7386 data->args.lock_owner.clientid = server->nfs_client->cl_clientid; in nfs4_release_lockowner()
7387 data->args.lock_owner.id = lsp->ls_seqid.owner_id; in nfs4_release_lockowner()
7388 data->args.lock_owner.s_dev = server->s_dev; in nfs4_release_lockowner()
Dnfs4xdr.c1342 encode_lockowner(xdr, &args->lock_owner); in encode_lock()
1359 encode_lockowner(xdr, &args->lock_owner); in encode_lockt()
2484 encode_release_lockowner(xdr, &args->lock_owner, &hdr); in nfs4_xdr_enc_release_lockowner()