/fs/xfs/libxfs/ |
D | xfs_rmap.c | 34 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() 120 rcur->bc_rec.r.rm_owner = owner; in xfs_rmap_insert() 139 uint64_t owner, in xfs_rmap_delete() argument 147 len, owner, offset, flags); in xfs_rmap_delete() [all …]
|
D | xfs_rmap.h | 84 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/ |
D | clntproc.c | 86 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/ |
D | dlmunlock.c | 59 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 …]
|
D | dlmlock.c | 216 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()
|
D | dlmconvert.c | 387 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()
|
D | dlmmaster.c | 744 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 …]
|
D | dlmcommon.h | 316 u8 owner; //node which owns the lock resource, or unknown member 1125 u8 owner) in dlm_set_lockres_owner() argument 1129 res->owner = owner; in dlm_set_lockres_owner() 1134 u8 owner) in dlm_change_lockres_owner() argument 1138 if (owner != res->owner) in dlm_change_lockres_owner() 1139 dlm_set_lockres_owner(dlm, res, owner); in dlm_change_lockres_owner()
|
/fs/btrfs/ |
D | ref-verify.c | 33 u64 owner; member 150 if (ref1->owner < ref2->owner) in comp_refs() 152 if (ref1->owner > ref2->owner) in comp_refs() 323 ref->owner = level; in add_tree_block() 390 u64 owner = btrfs_extent_data_ref_objectid(leaf, dref); in add_extent_data_ref() local 405 ref->owner = owner; in add_extent_data_ref() 622 ra->ref.owner, ra->ref.offset, ra->ref.num_refs); in dump_ref_action() 647 ref->root_objectid, ref->parent, ref->owner, in dump_block_entry() 683 u64 owner; in btrfs_ref_tree_mod() local 691 owner = generic_ref->tree_ref.level; in btrfs_ref_tree_mod() [all …]
|
D | extent-tree.c | 49 u64 flags, u64 owner, u64 offset, 441 u64 hash_extent_data_ref(u64 root_objectid, u64 owner, u64 offset) in hash_extent_data_ref() argument 449 lenum = cpu_to_le64(owner); in hash_extent_data_ref() 467 u64 root_objectid, u64 owner, u64 offset) in match_extent_data_ref() argument 470 btrfs_extent_data_ref_objectid(leaf, ref) != owner || in match_extent_data_ref() 480 u64 owner, u64 offset) in lookup_extent_data_ref() argument 498 owner, offset); in lookup_extent_data_ref() 538 owner, offset)) { in lookup_extent_data_ref() 555 u64 root_objectid, u64 owner, in insert_extent_data_ref() argument 573 owner, offset); in insert_extent_data_ref() [all …]
|
D | tree-checker.c | 1217 u64 owner; in check_extent_data_ref() local 1223 owner = btrfs_extent_data_ref_objectid(leaf, dref); in check_extent_data_ref() 1225 hash = hash_extent_data_ref(root_objectid, owner, offset); in check_extent_data_ref() 1320 u64 owner = btrfs_header_owner(leaf); in check_leaf() local 1323 if (owner == BTRFS_ROOT_TREE_OBJECTID || in check_leaf() 1324 owner == BTRFS_CHUNK_TREE_OBJECTID || in check_leaf() 1325 owner == BTRFS_EXTENT_TREE_OBJECTID || in check_leaf() 1326 owner == BTRFS_DEV_TREE_OBJECTID || in check_leaf() 1327 owner == BTRFS_FS_TREE_OBJECTID || in check_leaf() 1328 owner == BTRFS_DATA_RELOC_TREE_OBJECTID) { in check_leaf() [all …]
|
/fs/nfs/ |
D | nfs4state.c | 689 list_move(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked() 691 list_move_tail(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked() 697 __nfs4_find_state_byowner(struct inode *inode, struct nfs4_state_owner *owner) in __nfs4_find_state_byowner() argument 703 if (state->owner != owner) in __nfs4_find_state_byowner() 720 nfs4_get_open_state(struct inode *inode, struct nfs4_state_owner *owner) in nfs4_get_open_state() argument 726 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state() 731 spin_lock(&owner->so_lock); in nfs4_get_open_state() 733 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state() 736 state->owner = owner; in nfs4_get_open_state() 737 atomic_inc(&owner->so_count); in nfs4_get_open_state() [all …]
|
D | nfs4super.c | 29 .owner = THIS_MODULE, 37 .owner = THIS_MODULE, 45 .owner = THIS_MODULE, 68 .owner = THIS_MODULE,
|
/fs/dlm/ |
D | plock.c | 93 op->info.owner = (__u64) fl->fl_pid; in do_unlock_close() 95 op->info.owner = (__u64)(long) fl->fl_owner; in do_unlock_close() 131 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_lock() 138 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_lock() 279 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_unlock() 281 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_unlock() 340 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_get() 342 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_get() 438 op->info.owner == info.owner) { in dev_write() 481 .owner = THIS_MODULE,
|
/fs/ |
D | char_dev.c | 284 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()
|
D | fcntl.c | 163 struct f_owner_ex owner; in f_setown_ex() local 168 ret = copy_from_user(&owner, owner_p, sizeof(owner)); in f_setown_ex() 172 switch (owner.type) { in f_setown_ex() 190 pid = find_vpid(owner.pid); in f_setown_ex() 191 if (owner.pid && !pid) in f_setown_ex() 203 struct f_owner_ex owner; in f_getown_ex() local 207 owner.pid = pid_vnr(filp->f_owner.pid); in f_getown_ex() 210 owner.type = F_OWNER_TID; in f_getown_ex() 214 owner.type = F_OWNER_PID; in f_getown_ex() 218 owner.type = F_OWNER_PGRP; in f_getown_ex() [all …]
|
D | anon_inodes.c | 83 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfile() 104 module_put(fops->owner); in anon_inode_getfile()
|
D | filesystems.c | 40 __module_get(fs->owner); in get_filesystem() 46 module_put(fs->owner); in put_filesystem() 162 if (index <= 0 && try_module_get(tmp->owner)) in fs_name() 259 if (fs && !try_module_get(fs->owner)) in __get_fs_type()
|
/fs/xfs/scrub/ |
D | bmap.c | 88 uint64_t owner, in xchk_bmap_get_rmap() argument 115 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap() 125 error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 0, owner, in xchk_bmap_get_rmap() 154 uint64_t owner; in xchk_bmap_xref_rmap() local 160 owner = XFS_RMAP_OWN_COW; in xchk_bmap_xref_rmap() 162 owner = info->sc->ip->i_ino; in xchk_bmap_xref_rmap() 165 if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) in xchk_bmap_xref_rmap() 189 if (rmap.rm_owner != owner) in xchk_bmap_xref_rmap() 200 if (owner != XFS_RMAP_OWN_COW && in xchk_bmap_xref_rmap() 381 uint64_t owner; in xchk_bmapbt_rec() local [all …]
|
/fs/nfsd/ |
D | nfs4acl.c | 180 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/ |
D | nls_base.c | 235 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/ |
D | ocfs2_trace.h | 386 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/ |
D | locks.c | 70 u64 owner; in ceph_lock_message() local 99 owner = secure_addr(fl->fl_owner); in ceph_lock_message() 103 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, in ceph_lock_message() 108 req->r_args.filelock_change.owner = cpu_to_le64(owner); in ceph_lock_message() 364 cephlock->owner = cpu_to_le64(secure_addr(lock->fl_owner)); in lock_to_ceph_filelock()
|
/fs/configfs/ |
D | file.c | 44 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() 451 module_put(buffer->owner); in configfs_release()
|
/fs/pstore/ |
D | platform.c | 558 struct module *owner = psi->owner; in pstore_register() local 594 if (owner && !try_module_get(owner)) { in pstore_register() 629 module_put(owner); in pstore_register()
|