/fs/nfs/ |
D | nfs4state.c | 373 list_move(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked() 375 list_move_tail(&state->open_states, &state->owner->so_states); in nfs4_state_set_mode_locked() 381 __nfs4_find_state_byowner(struct inode *inode, struct nfs4_state_owner *owner) in __nfs4_find_state_byowner() argument 387 if (state->owner != owner) in __nfs4_find_state_byowner() 402 nfs4_get_open_state(struct inode *inode, struct nfs4_state_owner *owner) in nfs4_get_open_state() argument 408 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state() 413 spin_lock(&owner->so_lock); in nfs4_get_open_state() 415 state = __nfs4_find_state_byowner(inode, owner); in nfs4_get_open_state() 418 state->owner = owner; in nfs4_get_open_state() 419 atomic_inc(&owner->so_count); in nfs4_get_open_state() [all …]
|
D | nfs4proc.c | 304 struct nfs4_state_owner *owner; member 343 p->owner = sp; in nfs4_opendata_alloc() 383 nfs4_put_state_owner(p->owner); in nfs4_opendata_free() 486 spin_lock(&state->owner->so_lock); in __update_open_stateid() 488 spin_unlock(&state->owner->so_lock); in __update_open_stateid() 557 spin_lock(&state->owner->so_lock); in nfs4_try_open_cached() 560 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached() 563 spin_unlock(&state->owner->so_lock); in nfs4_try_open_cached() 575 ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode); in nfs4_try_open_cached() 611 state = nfs4_get_open_state(inode, data->owner); in nfs4_opendata_to_nfs4_state() [all …]
|
/fs/lockd/ |
D | clntproc.c | 83 static struct nlm_lockowner *__nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in __nlm_find_lockowner() argument 87 if (lockowner->owner != owner) in __nlm_find_lockowner() 94 static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) in nlm_find_lockowner() argument 99 res = __nlm_find_lockowner(host, owner); in nlm_find_lockowner() 104 res = __nlm_find_lockowner(host, owner); in nlm_find_lockowner() 108 new->owner = owner; in nlm_find_lockowner() 134 (unsigned int)fl->fl_u.nfs_fl.owner->pid, in nlmclnt_setlockargs() 136 lock->svid = fl->fl_u.nfs_fl.owner->pid; in nlmclnt_setlockargs() 449 new->fl_u.nfs_fl.owner = nlm_get_lockowner(fl->fl_u.nfs_fl.owner); in nlmclnt_locks_copy_lock() 450 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); in nlmclnt_locks_copy_lock() [all …]
|
/fs/ocfs2/dlm/ |
D | dlmunlock.c | 76 u8 owner); 110 u8 owner; in dlmunlock_common() local 116 BUG_ON(res->owner != dlm->node_num); in dlmunlock_common() 118 BUG_ON(res->owner == dlm->node_num); in dlmunlock_common() 176 owner = res->owner; in dlmunlock_common() 185 flags, owner); in dlmunlock_common() 313 u8 owner) in dlm_send_remote_unlock_request() argument 324 if (owner == dlm->node_num) { in dlm_send_remote_unlock_request() 352 vec, veclen, owner, &status); in dlm_send_remote_unlock_request() 454 if (res->owner != dlm->node_num) { in dlm_unlock_lock_handler() [all …]
|
D | dlmmaster.c | 470 u8 owner) in dlm_set_lockres_owner() argument 474 mlog_entry("%.*s, %u\n", res->lockname.len, res->lockname.name, owner); in dlm_set_lockres_owner() 476 if (owner == dlm->node_num) in dlm_set_lockres_owner() 478 else if (owner == DLM_LOCK_RES_OWNER_UNKNOWN) in dlm_set_lockres_owner() 483 res->owner = owner; in dlm_set_lockres_owner() 487 struct dlm_lock_resource *res, u8 owner) in dlm_change_lockres_owner() argument 491 if (owner == res->owner) in dlm_change_lockres_owner() 494 if (res->owner == dlm->node_num) in dlm_change_lockres_owner() 496 else if (res->owner == DLM_LOCK_RES_OWNER_UNKNOWN) in dlm_change_lockres_owner() 501 dlm_set_lockres_owner(dlm, res, owner); in dlm_change_lockres_owner() [all …]
|
D | dlmlock.c | 260 dlm->name, res->owner); in dlmlock_remote() 281 dlm->name, dlm->node_num, res->owner); in dlmlock_remote() 320 sizeof(create), res->owner, &status); in dlm_send_remote_lock_request() 328 create.name, res->owner); in dlm_send_remote_lock_request() 337 "from lock message!\n", res->owner); in dlm_send_remote_lock_request() 643 if (res->owner == dlm->node_num) in dlmlock() 714 if (res->owner == dlm->node_num) in dlmlock() 732 res->owner); in dlmlock() 736 dlm_wait_for_node_death(dlm, res->owner, in dlmlock()
|
D | dlmconvert.c | 379 vec, veclen, res->owner, &status); in dlm_send_remote_convert_request() 385 "message!\n", res->owner); in dlm_send_remote_convert_request() 388 "message!\n", res->owner); in dlm_send_remote_convert_request() 391 "message!\n", res->owner); in dlm_send_remote_convert_request() 400 dlm_wait_for_node_death(dlm, res->owner, in dlm_send_remote_convert_request() 404 "from convert message!\n", res->owner); in dlm_send_remote_convert_request()
|
D | dlmthread.c | 136 res->lockname.len, res->lockname.name, res, res->owner); in __dlm_lockres_calc_usage() 170 master = (res->owner == dlm->node_num); in dlm_purge_lockres() 460 if ((res->owner == dlm->node_num)) { in __dlm_dirty_lockres() 660 if (res->owner != dlm->node_num) { in dlm_thread() 668 BUG_ON(res->owner != dlm->node_num); in dlm_thread()
|
/fs/ |
D | char_dev.c | 278 cdev->owner = fops->owner; in register_chrdev() 333 struct module *owner = p->owner; in cdev_get() local 336 if (owner && !try_module_get(owner)) in cdev_get() 340 module_put(owner); in cdev_get() 347 struct module *owner = p->owner; in cdev_put() local 349 module_put(owner); in cdev_put()
|
D | filesystems.c | 38 __module_get(fs->owner); in get_filesystem() 43 module_put(fs->owner); in put_filesystem() 154 if (index <= 0 && try_module_get(tmp->owner)) in fs_name() 262 if (fs && !try_module_get(fs->owner)) in __get_fs_type()
|
D | anon_inodes.c | 82 if (fops->owner && !try_module_get(fops->owner)) in anon_inode_getfd() 135 module_put(fops->owner); in anon_inode_getfd()
|
/fs/dlm/ |
D | plock.c | 103 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_lock() 110 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_lock() 231 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_unlock() 233 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_unlock() 283 op->info.owner = (__u64) fl->fl_pid; in dlm_posix_get() 285 op->info.owner = (__u64)(long) fl->fl_owner; in dlm_posix_get() 370 op->info.owner == info.owner) { in dev_write() 411 .owner = THIS_MODULE
|
/fs/nfsd/ |
D | nfs4acl.c | 174 unsigned short owner; member 200 pas->owner = pa->e_perm; in summarize_posix_acl() 244 deny = ~pas.owner; in _posix_to_nfsv4_one() 424 struct posix_ace_state owner; member 528 error = check_deny(state->owner.deny, 1); in posix_state_to_acl() 531 low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); in posix_state_to_acl() 641 allow_bits(&state->owner, mask); in process_one_v4_ace() 643 deny_bits(&state->owner, mask); in process_one_v4_ace() 653 deny_bits(&state->owner, mask); in process_one_v4_ace() 662 deny_bits(&state->owner, mask); in process_one_v4_ace() [all …]
|
/fs/cifs/ |
D | cifs_debug.c | 221 .owner = THIS_MODULE, 379 .owner = THIS_MODULE, 405 proc_fs_cifs->owner = THIS_MODULE; in cifs_proc_init() 478 .owner = THIS_MODULE, 515 .owner = THIS_MODULE, 554 .owner = THIS_MODULE, 591 .owner = THIS_MODULE, 628 .owner = THIS_MODULE, 665 .owner = THIS_MODULE, 702 .owner = THIS_MODULE, [all …]
|
/fs/sysfs/ |
D | file.c | 665 struct module *owner; member 676 module_put(ss->owner); in sysfs_schedule_callback_work() 701 void *data, struct module *owner) in sysfs_schedule_callback() argument 705 if (!try_module_get(owner)) in sysfs_schedule_callback() 709 module_put(owner); in sysfs_schedule_callback() 716 ss->owner = owner; in sysfs_schedule_callback()
|
/fs/jfs/ |
D | jfs_debug.c | 61 .owner = THIS_MODULE, 93 base->owner = THIS_MODULE; in jfs_proc_init()
|
/fs/afs/ |
D | proc.c | 44 .owner = THIS_MODULE, 61 .owner = THIS_MODULE, 85 .owner = THIS_MODULE, 110 .owner = THIS_MODULE, 134 .owner = THIS_MODULE, 149 proc_afs->owner = THIS_MODULE; in afs_proc_init()
|
D | afs.h | 122 u32 owner; /* owner ID */ member 139 u32 owner; /* owner ID */ member
|
/fs/proc/ |
D | inode.c | 62 if (de->owner) in proc_delete_inode() 63 module_put(de->owner); in proc_delete_inode() 452 if (!try_module_get(de->owner)) in proc_get_inode() 489 module_put(de->owner); in proc_get_inode() 495 module_put(de->owner); in proc_get_inode()
|
D | proc_tty.c | 155 ent->owner = driver->owner; in proc_tty_register_driver()
|
/fs/nls/ |
D | nls_base.c | 208 if (nls && !try_module_get(nls->owner)) in find_nls() 221 module_put(nls->owner); in unload_nls()
|
D | nls_utf8.c | 42 .owner = THIS_MODULE,
|
D | nls_ascii.c | 151 .owner = THIS_MODULE,
|
/fs/autofs4/ |
D | init.c | 24 .owner = THIS_MODULE,
|
/fs/autofs/ |
D | init.c | 24 .owner = THIS_MODULE,
|