Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 195) sorted by relevance

12345678

/fs/xfs/libxfs/
Dxfs_rmap.c34 uint64_t owner, in xfs_rmap_lookup_le() argument
41 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_le()
56 uint64_t owner, in xfs_rmap_lookup_eq() argument
63 cur->bc_rec.r.rm_owner = owner; in xfs_rmap_lookup_eq()
103 uint64_t owner, in xfs_rmap_insert() argument
111 len, owner, offset, flags); in xfs_rmap_insert()
113 error = xfs_rmap_lookup_eq(rcur, agbno, len, owner, offset, flags, &i); in xfs_rmap_insert()
123 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert()
145 uint64_t owner, in xfs_rmap_delete() argument
153 len, owner, offset, flags); in xfs_rmap_delete()
[all …]
Dxfs_rmap.h84 uint64_t *owner, in xfs_owner_info_unpack() argument
90 *owner = oinfo->oi_owner; in xfs_owner_info_unpack()
102 uint64_t owner, in xfs_owner_info_pack() argument
106 oinfo->oi_owner = owner; in xfs_owner_info_pack()
123 xfs_extlen_t len, uint64_t owner, uint64_t offset,
126 xfs_extlen_t len, uint64_t owner, uint64_t offset,
129 xfs_extlen_t len, uint64_t owner, uint64_t offset,
173 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
175 xfs_agblock_t bno, xfs_extlen_t len, uint64_t owner);
180 uint64_t owner, int whichfork, xfs_fileoff_t startoff,
[all …]
/fs/lockd/
Dclntproc.c86 static struct nlm_lockowner *__nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlmclnt_find_lockowner() argument
90 if (lockowner->owner != owner) in __nlmclnt_find_lockowner()
97 static struct nlm_lockowner *nlmclnt_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlmclnt_find_lockowner() argument
102 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner()
107 res = __nlmclnt_find_lockowner(host, owner); in nlmclnt_find_lockowner()
111 new->owner = owner; in nlmclnt_find_lockowner()
137 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs()
139 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs()
172 if (!fl->fl_u.nfs_fl.owner) { in nlmclnt_proc()
459 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); in nlmclnt_locks_copy_lock()
[all …]
/fs/ocfs2/dlm/
Ddlmunlock.c59 u8 owner);
93 u8 owner; in dlmunlock_common() local
100 BUG_ON(res->owner != dlm->node_num); in dlmunlock_common()
102 BUG_ON(res->owner == dlm->node_num); in dlmunlock_common()
160 owner = res->owner; in dlmunlock_common()
169 flags, owner); in dlmunlock_common()
314 u8 owner) in dlm_send_remote_unlock_request() argument
325 if (owner == dlm->node_num) { in dlm_send_remote_unlock_request()
353 vec, veclen, owner, &status); in dlm_send_remote_unlock_request()
361 "node %u\n", tmpret, DLM_UNLOCK_LOCK_MSG, dlm->key, owner); in dlm_send_remote_unlock_request()
[all …]
Ddlmlock.c216 if (res->owner == dlm->node_num) { in dlmlock_remote()
244 dlm->name, res->owner); in dlmlock_remote()
265 dlm->name, dlm->node_num, res->owner); in dlmlock_remote()
302 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request()
309 create.name, res->owner); in dlm_send_remote_lock_request()
316 tmpret, res->owner); in dlm_send_remote_lock_request()
621 if (res->owner == dlm->node_num) in dlmlock()
692 if (res->owner == dlm->node_num) in dlmlock()
706 dlm_wait_for_node_death(dlm, res->owner, in dlmlock()
Ddlmconvert.c387 vec, veclen, res->owner, &status); in dlm_send_remote_convert_request()
393 "message!\n", res->owner); in dlm_send_remote_convert_request()
396 "message!\n", res->owner); in dlm_send_remote_convert_request()
399 "message!\n", res->owner); in dlm_send_remote_convert_request()
405 res->owner); in dlm_send_remote_convert_request()
410 dlm_wait_for_node_death(dlm, res->owner, in dlm_send_remote_convert_request()
414 "from convert message!\n", res->owner); in dlm_send_remote_convert_request()
Ddlmmaster.c744 if (tmpres->owner == DLM_LOCK_RES_OWNER_UNKNOWN) { in dlm_get_lock_resource()
746 BUG_ON(tmpres->owner == DLM_LOCK_RES_OWNER_UNKNOWN); in dlm_get_lock_resource()
755 BUG_ON(tmpres->owner == dlm->node_num); in dlm_get_lock_resource()
976 res->lockname.name, res->owner); in dlm_get_lock_resource()
978 BUG_ON(res->owner == O2NM_MAX_NODES); in dlm_get_lock_resource()
1019 if (res->owner != DLM_LOCK_RES_OWNER_UNKNOWN) { in dlm_wait_for_lock_mastery()
1021 res->lockname.len, res->lockname.name, res->owner); in dlm_wait_for_lock_mastery()
1025 if (res->owner != dlm->node_num) { in dlm_wait_for_lock_mastery()
1026 ret = dlm_do_master_request(res, mle, res->owner); in dlm_wait_for_lock_mastery()
1029 mlog(ML_ERROR, "link to %u went down?: %d\n", res->owner, ret); in dlm_wait_for_lock_mastery()
[all …]
Ddlmcommon.h316 u8 owner; //node which owns the lock resource, or unknown member
1121 u8 owner) in dlm_set_lockres_owner() argument
1125 res->owner = owner; in dlm_set_lockres_owner()
1130 u8 owner) in dlm_change_lockres_owner() argument
1134 if (owner != res->owner) in dlm_change_lockres_owner()
1135 dlm_set_lockres_owner(dlm, res, owner); in dlm_change_lockres_owner()
/fs/dlm/
Dplock.c97 op->info.owner = info->owner; in do_unlock_close()
140 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_lock()
153 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_lock()
289 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_unlock()
291 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_unlock()
350 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_get()
352 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_get()
457 iter->info.owner == info.owner && in dev_write()
483 op->info.owner != info.owner || in dev_write()
524 .owner = THIS_MODULE,
/fs/btrfs/
Dref-verify.c33 u64 owner; member
150 if (ref1->owner < ref2->owner) in comp_refs()
152 if (ref1->owner > ref2->owner) in comp_refs()
325 ref->owner = level; in add_tree_block()
392 u64 owner = btrfs_extent_data_ref_objectid(leaf, dref); in add_extent_data_ref() local
407 ref->owner = owner; in add_extent_data_ref()
624 ra->ref.owner, ra->ref.offset, ra->ref.num_refs); in dump_ref_action()
649 ref->root_objectid, ref->parent, ref->owner, in dump_block_entry()
685 u64 owner; in btrfs_ref_tree_mod() local
693 owner = generic_ref->tree_ref.level; in btrfs_ref_tree_mod()
[all …]
Dextent-tree.c51 u64 flags, u64 owner, u64 offset,
403 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument
411 lenum = cpu_to_le64(owner); in hash_extent_data_ref()
429 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument
432 btrfs_extent_data_ref_objectid(leaf, ref) != owner || in match_extent_data_ref()
442 u64 owner, u64 offset) in lookup_extent_data_ref() argument
460 owner, offset); in lookup_extent_data_ref()
500 owner, offset)) { in lookup_extent_data_ref()
517 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument
535 owner, offset); in insert_extent_data_ref()
[all …]
/fs/nfs/
Dnfs4state.c693 list_move(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked()
695 list_move_tail(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked()
701 __nfs4_find_state_byowner(struct inode *inode, struct nfs4_state_owner *owner) in __nfs4_find_state_byowner() argument
707 if (state->owner != owner) in __nfs4_find_state_byowner()
724 nfs4_get_open_state(struct inode *inode, struct nfs4_state_owner *owner) in nfs4_get_open_state() argument
730 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state()
735 spin_lock(&owner->so_lock); in nfs4_get_open_state()
737 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state()
740 state->owner = owner; in nfs4_get_open_state()
741 atomic_inc(&owner->so_count); in nfs4_get_open_state()
[all …]
/fs/
Dchar_dev.c284 cdev->owner = fops->owner; in __register_chrdev()
350 struct module *owner = p->owner; in cdev_get() local
353 if (owner && !try_module_get(owner)) in cdev_get()
357 module_put(owner); in cdev_get()
364 struct module *owner = p->owner; in cdev_put() local
366 module_put(owner); in cdev_put()
Dfcntl.c168 struct f_owner_ex owner; in f_setown_ex() local
173 ret = copy_from_user(&owner, owner_p, sizeof(owner)); in f_setown_ex()
177 switch (owner.type) { in f_setown_ex()
195 pid = find_vpid(owner.pid); in f_setown_ex()
196 if (owner.pid && !pid) in f_setown_ex()
208 struct f_owner_ex owner = {}; in f_getown_ex() local
214 owner.pid = pid_vnr(filp->f_owner.pid); in f_getown_ex()
218 owner.type = F_OWNER_TID; in f_getown_ex()
222 owner.type = F_OWNER_PID; in f_getown_ex()
226 owner.type = F_OWNER_PGRP; in f_getown_ex()
[all …]
Dfilesystems.c40 __module_get(fs->owner); in get_filesystem()
46 module_put(fs->owner); in put_filesystem()
163 if (index <= 0 && try_module_get(tmp->owner)) in fs_name()
260 if (fs && !try_module_get(fs->owner)) in __get_fs_type()
Danon_inodes.c87 if (fops->owner && !try_module_get(fops->owner)) in __anon_inode_getfile()
123 module_put(fops->owner); in __anon_inode_getfile()
/fs/xfs/scrub/
Dbmap.c106 uint64_t owner, in xchk_bmap_get_rmap() argument
135 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
145 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 0, owner, in xchk_bmap_get_rmap()
174 uint64_t owner; in xchk_bmap_xref_rmap() local
180 owner = XFS_RMAP_OWN_COW; in xchk_bmap_xref_rmap()
182 owner = info->sc->ip->i_ino; in xchk_bmap_xref_rmap()
185 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) in xchk_bmap_xref_rmap()
209 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap()
220 if (owner != XFS_RMAP_OWN_COW && in xchk_bmap_xref_rmap()
401 uint64_t owner; in xchk_bmapbt_rec() local
[all …]
Dtrace.h690 uint64_t owner, uint64_t offset, unsigned int flags),
691 TP_ARGS(mp, agno, agbno, len, owner, offset, flags),
697 __field(uint64_t, owner)
706 __entry->owner = owner;
715 __entry->owner,
723 uint64_t owner, uint64_t offset, unsigned int flags), \
724 TP_ARGS(mp, agno, agbno, len, owner, offset, flags))
/fs/nfsd/
Dnfs4acl.c180 unsigned short owner; member
206 pas->owner = pa->e_perm; in summarize_posix_acl()
250 deny = ~pas.owner; in _posix_to_nfsv4_one()
445 struct posix_ace_state owner; member
521 low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); in posix_state_to_acl()
632 allow_bits(&state->owner, mask); in process_one_v4_ace()
634 deny_bits(&state->owner, mask); in process_one_v4_ace()
644 deny_bits(&state->owner, mask); in process_one_v4_ace()
653 deny_bits(&state->owner, mask); in process_one_v4_ace()
666 deny_bits(&state->owner, mask); in process_one_v4_ace()
[all …]
/fs/nls/
Dnls_base.c235 int __register_nls(struct nls_table *nls, struct module *owner) in __register_nls() argument
242 nls->owner = owner; in __register_nls()
285 if (nls && !try_module_get(nls->owner)) in find_nls()
299 module_put(nls->owner); in unload_nls()
/fs/ocfs2/
Docfs2_trace.h386 TP_PROTO(unsigned long long owner,\
388 TP_ARGS(owner, value1, value2),
390 __field(unsigned long long, owner)
395 __entry->owner = owner;
400 __entry->owner, __entry->value1, __entry->value2)
405 TP_PROTO(unsigned long long owner, \
407 TP_ARGS(owner, value1, value2))
424 TP_PROTO(unsigned long long owner, int depth),
425 TP_ARGS(owner, depth),
427 __field(unsigned long long, owner)
[all …]
/fs/ceph/
Dlocks.c66 u64 owner; in ceph_lock_message() local
95 owner = secure_addr(fl->fl_owner); in ceph_lock_message()
99 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message()
104 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message()
387 cephlock->owner = cpu_to_le64(secure_addr(lock->fl_owner)); in lock_to_ceph_filelock()
/fs/configfs/
Dfile.c44 struct module *owner; member
390 buffer->owner = attr->ca_owner; in __configfs_open_file()
393 if (!try_module_get(buffer->owner)) in __configfs_open_file()
437 module_put(buffer->owner); in __configfs_open_file()
449 module_put(buffer->owner); in configfs_release()
/fs/afs/
Dprotocol_yfs.h92 struct yfs_xdr_u64 owner; member
115 struct yfs_xdr_u64 owner; member
/fs/debugfs/
Dfile.c189 if (real_fops->owner && in open_proxy_open()
190 real_fops->owner->state == MODULE_STATE_GOING) { in open_proxy_open()
326 if (real_fops->owner && in full_proxy_open()
327 real_fops->owner->state == MODULE_STATE_GOING) { in full_proxy_open()
1007 .owner = THIS_MODULE,
1141 .owner = THIS_MODULE,

12345678