Searched refs:owner (Results 1 - 200 of 4259) sorted by relevance

1234567891011>>

/linux-4.1.27/arch/s390/lib/
H A Dspinlock.c43 unsigned int owner; arch_spin_lock_wait() local
47 owner = ACCESS_ONCE(lp->lock); arch_spin_lock_wait()
49 if (!owner) { arch_spin_lock_wait()
54 /* Check if the lock owner is running. */ arch_spin_lock_wait()
55 if (!smp_vcpu_scheduled(~owner)) { arch_spin_lock_wait()
56 smp_yield_cpu(~owner); arch_spin_lock_wait()
63 _raw_compare_and_delay(&lp->lock, owner); arch_spin_lock_wait()
64 owner = ACCESS_ONCE(lp->lock); arch_spin_lock_wait()
65 } while (owner && count-- > 0); arch_spin_lock_wait()
66 if (!owner) arch_spin_lock_wait()
73 smp_yield_cpu(~owner); arch_spin_lock_wait()
81 unsigned int owner; arch_spin_lock_wait_flags() local
86 owner = ACCESS_ONCE(lp->lock); arch_spin_lock_wait_flags()
88 if (!owner) { arch_spin_lock_wait_flags()
94 /* Check if the lock owner is running. */ arch_spin_lock_wait_flags()
95 if (!smp_vcpu_scheduled(~owner)) { arch_spin_lock_wait_flags()
96 smp_yield_cpu(~owner); arch_spin_lock_wait_flags()
103 _raw_compare_and_delay(&lp->lock, owner); arch_spin_lock_wait_flags()
104 owner = ACCESS_ONCE(lp->lock); arch_spin_lock_wait_flags()
105 } while (owner && count-- > 0); arch_spin_lock_wait_flags()
106 if (!owner) arch_spin_lock_wait_flags()
113 smp_yield_cpu(~owner); arch_spin_lock_wait_flags()
121 unsigned int owner; arch_spin_trylock_retry() local
125 owner = ACCESS_ONCE(lp->lock); arch_spin_trylock_retry()
127 if (!owner) { arch_spin_trylock_retry()
131 _raw_compare_and_delay(&lp->lock, owner); arch_spin_trylock_retry()
139 unsigned int owner, old; _raw_read_lock_wait() local
145 owner = 0; _raw_read_lock_wait()
148 if (owner && !smp_vcpu_scheduled(~owner)) _raw_read_lock_wait()
149 smp_yield_cpu(~owner); _raw_read_lock_wait()
153 owner = ACCESS_ONCE(rw->owner); _raw_read_lock_wait()
188 unsigned int owner, old; _raw_write_lock_wait() local
191 owner = 0; _raw_write_lock_wait()
194 if (owner && !smp_vcpu_scheduled(~owner)) _raw_write_lock_wait()
195 smp_yield_cpu(~owner); _raw_write_lock_wait()
199 owner = ACCESS_ONCE(rw->owner); _raw_write_lock_wait()
217 unsigned int owner, old, prev; _raw_write_lock_wait() local
221 owner = 0; _raw_write_lock_wait()
224 if (owner && !smp_vcpu_scheduled(~owner)) _raw_write_lock_wait()
225 smp_yield_cpu(~owner); _raw_write_lock_wait()
229 owner = ACCESS_ONCE(rw->owner); _raw_write_lock_wait()
/linux-4.1.27/include/linux/
H A Dnfs_fs_i.h11 struct nlm_lockowner *owner; member in struct:nfs_lock_info
17 struct nfs4_lock_state *owner; member in struct:nfs4_lock_info
H A Drwlock_types.h18 void *owner; member in struct:__anon12405
37 .owner = SPINLOCK_OWNER_INIT, \
H A Datm_tcp.h16 struct module *owner; member in struct:atm_tcp_ops
H A Drtmutex.h27 * @owner: the mutex owner
33 struct task_struct *owner; member in struct:rt_mutex
72 , .owner = NULL \
86 return lock->owner != NULL; rt_mutex_is_locked()
H A Ddevcoredump.h12 void dev_coredumpm(struct device *dev, struct module *owner,
25 dev_coredumpm(struct device *dev, struct module *owner, dev_coredumpm() argument
H A Dcdev.h14 struct module *owner; member in struct:cdev
H A Dreset-controller.h32 * @owner: kernel module of the reset controller driver
42 struct module *owner; member in struct:reset_controller_dev
H A Dspinlock_types.h27 void *owner; member in struct:raw_spinlock
48 .owner = SPINLOCK_OWNER_INIT,
H A Drwsem.h34 * Write owner. Used as a speculative check to see
35 * if the owner is running on the cpu.
37 struct task_struct *owner; member in struct:rw_semaphore
69 #define __RWSEM_OPT_INIT(lockname) , .osq = OSQ_LOCK_UNLOCKED, .owner = NULL
165 * Take/release a lock when not the owner will release it.
H A Dmdio-bitbang.h11 struct module *owner; member in struct:mdiobb_ops
H A Dmei_cl_bus.h22 struct module *owner);
/linux-4.1.27/kernel/locking/
H A Drwsem.h4 sem->owner = current; rwsem_set_owner()
9 sem->owner = NULL; rwsem_clear_owner()
H A Dspinlock_debug.c28 lock->owner = SPINLOCK_OWNER_INIT; __raw_spin_lock_init()
46 lock->owner = SPINLOCK_OWNER_INIT; __rwlock_init()
54 struct task_struct *owner = NULL; spin_dump() local
56 if (lock->owner && lock->owner != SPINLOCK_OWNER_INIT) spin_dump()
57 owner = lock->owner; spin_dump()
61 printk(KERN_EMERG " lock: %pS, .magic: %08x, .owner: %s/%d, " spin_dump()
64 owner ? owner->comm : "<none>", spin_dump()
65 owner ? task_pid_nr(owner) : -1, spin_dump()
84 SPIN_BUG_ON(lock->owner == current, lock, "recursion"); debug_spin_lock_before()
92 lock->owner = current; debug_spin_lock_after()
99 SPIN_BUG_ON(lock->owner != current, lock, "wrong owner"); debug_spin_unlock()
102 lock->owner = SPINLOCK_OWNER_INIT; debug_spin_unlock()
229 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion"); debug_write_lock_before()
237 lock->owner = current; debug_write_lock_after()
243 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner"); debug_write_unlock()
246 lock->owner = SPINLOCK_OWNER_INIT; debug_write_unlock()
H A Drtmutex.c23 * lock->owner state tracking:
25 * lock->owner holds the task_struct pointer of the owner. Bit 0
28 * owner bit0
36 * possible when bit 0 of lock->owner is 0.
40 * we need to set the bit0 before looking at the lock, and the owner may be
45 * To prevent a cmpxchg of the owner releasing the lock, we need to
50 rt_mutex_set_owner(struct rt_mutex *lock, struct task_struct *owner) rt_mutex_set_owner() argument
52 unsigned long val = (unsigned long)owner; rt_mutex_set_owner()
57 lock->owner = (struct task_struct *)val; rt_mutex_set_owner()
62 lock->owner = (struct task_struct *) clear_rt_mutex_waiters()
63 ((unsigned long)lock->owner & ~RT_MUTEX_HAS_WAITERS); clear_rt_mutex_waiters()
77 # define rt_mutex_cmpxchg(l,c,n) (cmpxchg(&l->owner, c, n) == c) mark_rt_mutex_waiters()
80 unsigned long owner, *p = (unsigned long *) &lock->owner; mark_rt_mutex_waiters() local
83 owner = *p; mark_rt_mutex_waiters()
84 } while (cmpxchg(p, owner, owner | RT_MUTEX_HAS_WAITERS) != owner); mark_rt_mutex_waiters()
96 struct task_struct *owner = rt_mutex_owner(lock); variable in typeref:struct:task_struct
106 * cmpxchg(p, owner, 0) == owner
115 * cmpxchg(p, owner, 0) != owner
124 return rt_mutex_cmpxchg(lock, owner, NULL);
131 lock->owner = (struct task_struct *) mark_rt_mutex_waiters()
132 ((unsigned long)lock->owner | RT_MUTEX_HAS_WAITERS); mark_rt_mutex_waiters()
136 * Simple slow path only version: lock->owner is protected by lock->wait_lock.
141 lock->owner = NULL;
352 * @task: the task owning the mutex (owner) for which a chain walk is
358 * @next_lock: the mutex on which the owner of @orig_lock was blocked before
362 * its priority to the mutex owner (can be NULL in the case
364 * actually deboosting the owner)
402 * [10] task = owner(lock); [L]
487 * the previous owner of the lock might have released the lock. rt_mutex_adjust_prio_chain()
586 * If there is no owner of the lock, end of chain. rt_mutex_adjust_prio_chain()
593 /* [10] Grab the next task, i.e. owner of @lock */ rt_mutex_adjust_prio_chain()
601 * [12] Store whether owner is blocked rt_mutex_adjust_prio_chain()
614 /* If owner is not blocked, end of chain. */ rt_mutex_adjust_prio_chain()
639 * We must abort the chain walk if there is no lock owner even rt_mutex_adjust_prio_chain()
655 /* [10] Grab the next task, i.e. the owner of @lock */ rt_mutex_adjust_prio_chain()
665 * in the owner tasks pi waiters list with this waiter rt_mutex_adjust_prio_chain()
666 * and adjust the priority of the owner. rt_mutex_adjust_prio_chain()
676 * the owner tasks pi waiters list with the new top rt_mutex_adjust_prio_chain()
678 * of the owner. rt_mutex_adjust_prio_chain()
760 * RT_MUTEX_HAS_WAITERS bit in @lock->owner. This forces all try_to_take_rt_mutex()
767 * - There is a lock owner. The caller must fixup the try_to_take_rt_mutex()
778 * If @lock has an owner, give up. try_to_take_rt_mutex()
845 * Finish the lock acquisition. @task is the new owner. If try_to_take_rt_mutex()
880 struct task_struct *owner = rt_mutex_owner(lock); task_blocks_on_rt_mutex() local
895 if (owner == task) task_blocks_on_rt_mutex()
913 if (!owner) task_blocks_on_rt_mutex()
916 raw_spin_lock_irqsave(&owner->pi_lock, flags); task_blocks_on_rt_mutex()
918 rt_mutex_dequeue_pi(owner, top_waiter); task_blocks_on_rt_mutex()
919 rt_mutex_enqueue_pi(owner, waiter); task_blocks_on_rt_mutex()
921 __rt_mutex_adjust_prio(owner); task_blocks_on_rt_mutex()
922 if (owner->pi_blocked_on) task_blocks_on_rt_mutex()
928 /* Store the lock on which owner is blocked or NULL */ task_blocks_on_rt_mutex()
929 next_lock = task_blocked_on_lock(owner); task_blocks_on_rt_mutex()
931 raw_spin_unlock_irqrestore(&owner->pi_lock, flags); task_blocks_on_rt_mutex()
933 * Even if full deadlock detection is on, if the owner is not task_blocks_on_rt_mutex()
941 * The owner can't disappear while holding a lock, task_blocks_on_rt_mutex()
942 * so the owner struct is protected by wait_lock. task_blocks_on_rt_mutex()
945 get_task_struct(owner); task_blocks_on_rt_mutex()
949 res = rt_mutex_adjust_prio_chain(owner, chwalk, lock, task_blocks_on_rt_mutex()
990 lock->owner = (void *) RT_MUTEX_HAS_WAITERS; wakeup_next_waiter()
1012 struct task_struct *owner = rt_mutex_owner(lock); remove_waiter() local
1023 * waiter of the lock and there is an owner to update. remove_waiter()
1025 if (!owner || !is_top_waiter) remove_waiter()
1028 raw_spin_lock_irqsave(&owner->pi_lock, flags); remove_waiter()
1030 rt_mutex_dequeue_pi(owner, waiter); remove_waiter()
1033 rt_mutex_enqueue_pi(owner, rt_mutex_top_waiter(lock)); remove_waiter()
1035 __rt_mutex_adjust_prio(owner); remove_waiter()
1037 /* Store the lock on which owner is blocked or NULL */ remove_waiter()
1038 next_lock = task_blocked_on_lock(owner); remove_waiter()
1040 raw_spin_unlock_irqrestore(&owner->pi_lock, flags); remove_waiter()
1043 * Don't walk the chain, if the owner task is not blocked remove_waiter()
1050 get_task_struct(owner); remove_waiter()
1054 rt_mutex_adjust_prio_chain(owner, RT_MUTEX_MIN_CHAINWALK, lock, remove_waiter()
1229 * If the lock already has an owner we fail to get the lock. rt_mutex_slowtrylock()
1237 * The mutex has currently no owner. Lock the wait lock and rt_mutex_slowtrylock()
1269 * have no waiters queued we cannot set owner to NULL here rt_mutex_slowunlock()
1272 * foo->lock->owner = NULL; rt_mutex_slowunlock()
1285 * owner = rt_mutex_owner(lock); rt_mutex_slowunlock()
1288 * if (cmpxchg(&lock->owner, owner, 0) == owner) rt_mutex_slowunlock()
1293 * lock->owner is serialized by lock->wait_lock: rt_mutex_slowunlock()
1295 * lock->owner = NULL; rt_mutex_slowunlock()
1494 lock->owner = NULL; __rt_mutex_init()
1505 * proxy owner
1508 * @proxy_owner:the task to set as owner
1523 * rt_mutex_proxy_unlock - release a lock on behalf of owner
1571 * returned with -EDEADLK and the owner rt_mutex_start_proxy_lock()
1589 * rt_mutex_next_owner - return the next owner of the lock
1593 * Returns the next owner of the lock or NULL
H A Drwsem-xadd.c87 sem->owner = NULL; __init_rwsem()
300 struct task_struct *owner; rwsem_can_spin_on_owner() local
307 owner = READ_ONCE(sem->owner); rwsem_can_spin_on_owner()
308 if (!owner) { rwsem_can_spin_on_owner()
311 * If sem->owner is not set, yet we have just recently entered the rwsem_can_spin_on_owner()
321 ret = owner->on_cpu; rwsem_can_spin_on_owner()
328 bool rwsem_spin_on_owner(struct rw_semaphore *sem, struct task_struct *owner) rwsem_spin_on_owner() argument
333 while (sem->owner == owner) { rwsem_spin_on_owner()
335 * Ensure we emit the owner->on_cpu, dereference _after_ rwsem_spin_on_owner()
336 * checking sem->owner still matches owner, if that fails, rwsem_spin_on_owner()
337 * owner might point to free()d memory, if it still matches, rwsem_spin_on_owner()
342 /* abort spinning when need_resched or owner is not running */ rwsem_spin_on_owner()
343 if (!owner->on_cpu || need_resched()) { rwsem_spin_on_owner()
352 if (READ_ONCE(sem->owner)) rwsem_spin_on_owner()
353 return true; /* new owner, continue spinning */ rwsem_spin_on_owner()
356 * When the owner is not set, the lock could be free or rwsem_spin_on_owner()
366 struct task_struct *owner; rwsem_optimistic_spin() local
379 owner = READ_ONCE(sem->owner); rwsem_optimistic_spin()
380 if (owner && !rwsem_spin_on_owner(sem, owner)) rwsem_optimistic_spin()
390 * When there's no owner, we might have preempted between the rwsem_optimistic_spin()
391 * owner acquiring the lock and setting the owner field. If rwsem_optimistic_spin()
393 * the owner complete. rwsem_optimistic_spin()
395 if (!owner && (need_resched() || rt_task(current))) rwsem_optimistic_spin()
H A Dmutex.h22 lock->owner = current; mutex_set_owner()
27 lock->owner = NULL; mutex_clear_owner()
H A Dmutex.c221 * Look out! "owner" is an entirely speculative pointer
225 bool mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner) mutex_spin_on_owner() argument
230 while (lock->owner == owner) { mutex_spin_on_owner()
232 * Ensure we emit the owner->on_cpu, dereference _after_ mutex_spin_on_owner()
233 * checking lock->owner still matches owner. If that fails, mutex_spin_on_owner()
234 * owner might point to freed memory. If it still matches, mutex_spin_on_owner()
239 if (!owner->on_cpu || need_resched()) { mutex_spin_on_owner()
256 struct task_struct *owner; mutex_can_spin_on_owner() local
263 owner = READ_ONCE(lock->owner); mutex_can_spin_on_owner()
264 if (owner) mutex_can_spin_on_owner()
265 retval = owner->on_cpu; mutex_can_spin_on_owner()
268 * if lock->owner is not set, the mutex owner may have just acquired mutex_can_spin_on_owner()
269 * it and not set the owner yet or the mutex has been released. mutex_can_spin_on_owner()
286 * We try to spin for acquisition when we find that the lock owner
288 * need to reschedule. The rationale is that if the lock owner is
291 * Since this needs the lock owner, and this mutex implementation
292 * doesn't track the owner atomically in the lock field, we need to
317 * MCS (queued) lock first before spinning on the owner field. mutex_optimistic_spin()
323 struct task_struct *owner; mutex_optimistic_spin() local
342 * If there's an owner, wait for it to either mutex_optimistic_spin()
345 owner = READ_ONCE(lock->owner); mutex_optimistic_spin()
346 if (owner && !mutex_spin_on_owner(lock, owner)) mutex_optimistic_spin()
366 * When there's no owner, we might have preempted between the mutex_optimistic_spin()
367 * owner acquiring the lock and setting the owner field. If mutex_optimistic_spin()
369 * the owner complete. mutex_optimistic_spin()
371 if (!owner && (need_resched() || rt_task(task))) mutex_optimistic_spin()
431 * When debugging is enabled we must not clear the owner before time, mutex_unlock()
432 * the slow path will always be taken, and that clears the owner field mutex_unlock()
470 * When debugging is enabled we must not clear the owner before time, ww_mutex_unlock()
471 * the slow path will always be taken, and that clears the owner field ww_mutex_unlock()
H A Dmutex-debug.h32 lock->owner = current; mutex_set_owner()
37 lock->owner = NULL; mutex_clear_owner()
H A Dmutex-debug.c77 if (!lock->owner) debug_mutex_unlock()
78 DEBUG_LOCKS_WARN_ON(!lock->owner); debug_mutex_unlock()
80 DEBUG_LOCKS_WARN_ON(lock->owner != current); debug_mutex_unlock()
H A Drtmutex_common.h44 * @pi_tree_entry: pi node to enqueue into the mutex owner waiters tree
93 * lock->owner state tracking:
101 ((unsigned long)lock->owner & ~RT_MUTEX_OWNER_MASKALL); rt_mutex_owner()
/linux-4.1.27/arch/arm/include/asm/
H A Dspinlock_types.h16 u16 owner; member in struct:__anon183::__anon184::__raw_tickets
18 u16 owner;
H A Dspinlock.h75 while (lockval.tickets.next != lockval.tickets.owner) { arch_spin_lock()
77 lockval.tickets.owner = ACCESS_ONCE(lock->tickets.owner); arch_spin_lock()
112 lock->tickets.owner++; arch_spin_unlock()
118 return lock.tickets.owner == lock.tickets.next; arch_spin_value_unlocked()
129 return (tickets.next - tickets.owner) > 1; arch_spin_is_contended()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target_transport.c15 if (t->owner && !try_module_get(t->owner)) { iscsit_get_transport()
29 module_put(t->owner); iscsit_put_transport()
/linux-4.1.27/arch/s390/include/asm/
H A Dspinlock_types.h16 unsigned int owner; member in struct:__anon2472
H A Dspinlock.h204 rw->owner = SPINLOCK_LOCKVAL; arch_write_lock()
209 rw->owner = 0; arch_write_unlock()
237 rw->owner = SPINLOCK_LOCKVAL; arch_write_lock()
244 rw->owner = 0; arch_write_unlock()
266 rw->owner = SPINLOCK_LOCKVAL; arch_write_trylock()
272 arch_lock_relax(rw->owner); arch_read_relax()
277 arch_lock_relax(rw->owner); arch_write_relax()
/linux-4.1.27/arch/powerpc/include/asm/
H A Drheap.h23 const char *owner; member in struct:_rh_block
43 const char *owner; member in struct:_rh_stats
67 const char *owner);
70 extern unsigned long rh_alloc(rh_info_t * info, int size, const char *owner);
74 const char *owner);
86 /* Set owner of taken block */
87 extern int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner);
H A Dppc4xx_ocm.h35 int flags, const char *owner);
40 #define ppc4xx_ocm_alloc(phys, size, align, flags, owner) NULL
/linux-4.1.27/drivers/base/
H A Dmap.c24 struct module *owner; member in struct:kobj_map::probe
49 p->owner = module; kobj_map()
105 struct module *owner; kobj_lookup() local
112 if (!try_module_get(p->owner)) kobj_lookup()
114 owner = p->owner; kobj_lookup()
120 module_put(owner); kobj_lookup()
125 /* Currently ->owner protects _only_ ->probe() itself. */ kobj_lookup()
126 module_put(owner); kobj_lookup()
H A Ddevcoredump.c46 struct module *owner; member in struct:devcd_entry
64 module_put(devcd->owner); devcd_dev_release()
170 .owner = THIS_MODULE,
218 * @owner: the module that contains the read/free functions, use %THIS_MODULE
230 void dev_coredumpm(struct device *dev, struct module *owner, dev_coredumpm() argument
250 if (!try_module_get(owner)) dev_coredumpm()
257 devcd->owner = owner; dev_coredumpm()
288 module_put(owner); dev_coredumpm()
H A Dmodule.c82 if (drv->owner) module_remove_driver()
83 mk = &drv->owner->mkobj; module_remove_driver()
/linux-4.1.27/sound/oss/
H A Dad1848.h15 int dma_capture, int share_dma, int *osp, struct module *owner);
21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner);
H A Dsb.h164 int sb_dsp_init (struct address_info *hw_config, struct module *owner);
166 int sb_mixer_init(sb_devc *devc, struct module *owner);
170 void sb_dsp_midi_init (sb_devc *devc, struct module *owner);
171 void sb_audio_init (sb_devc *devc, char *name, struct module *owner);
181 int probe_sbmpu (struct address_info *hw_config, struct module *owner);
H A Dsb_midi.c150 .owner = THIS_MODULE,
162 void sb_dsp_midi_init(sb_devc * devc, struct module *owner) sb_dsp_midi_init() argument
187 if (owner) sb_dsp_midi_init()
188 midi_devs[dev]->owner = owner; sb_dsp_midi_init()
H A Duart401.c211 .owner = THIS_MODULE,
288 int probe_uart401(struct address_info *hw_config, struct module *owner) probe_uart401() argument
358 if (owner) probe_uart401()
359 midi_devs[devc->my_dev]->owner = owner; probe_uart401()
374 if (owner) probe_uart401()
375 midi_devs[devc->my_dev]->converter->owner = owner; probe_uart401()
/linux-4.1.27/drivers/regulator/
H A Dlp8788-ldo.c199 .owner = THIS_MODULE,
212 .owner = THIS_MODULE,
225 .owner = THIS_MODULE,
238 .owner = THIS_MODULE,
251 .owner = THIS_MODULE,
264 .owner = THIS_MODULE,
277 .owner = THIS_MODULE,
290 .owner = THIS_MODULE,
303 .owner = THIS_MODULE,
316 .owner = THIS_MODULE,
329 .owner = THIS_MODULE,
341 .owner = THIS_MODULE,
356 .owner = THIS_MODULE,
368 .owner = THIS_MODULE,
379 .owner = THIS_MODULE,
390 .owner = THIS_MODULE,
401 .owner = THIS_MODULE,
413 .owner = THIS_MODULE,
426 .owner = THIS_MODULE,
438 .owner = THIS_MODULE,
449 .owner = THIS_MODULE,
460 .owner = THIS_MODULE,
H A Ddb8500-prcmu.c220 .owner = THIS_MODULE,
229 .owner = THIS_MODULE,
238 .owner = THIS_MODULE,
247 .owner = THIS_MODULE,
256 .owner = THIS_MODULE,
265 .owner = THIS_MODULE,
277 .owner = THIS_MODULE,
286 .owner = THIS_MODULE,
295 .owner = THIS_MODULE,
305 .owner = THIS_MODULE,
316 .owner = THIS_MODULE,
326 .owner = THIS_MODULE,
336 .owner = THIS_MODULE,
347 .owner = THIS_MODULE,
357 .owner = THIS_MODULE,
367 .owner = THIS_MODULE,
377 .owner = THIS_MODULE,
388 .owner = THIS_MODULE,
399 .owner = THIS_MODULE,
410 .owner = THIS_MODULE,
H A Drk808-regulator.c186 .owner = THIS_MODULE,
200 .owner = THIS_MODULE,
210 .owner = THIS_MODULE,
224 .owner = THIS_MODULE,
239 .owner = THIS_MODULE,
254 .owner = THIS_MODULE,
269 .owner = THIS_MODULE,
284 .owner = THIS_MODULE,
299 .owner = THIS_MODULE,
314 .owner = THIS_MODULE,
329 .owner = THIS_MODULE,
344 .owner = THIS_MODULE,
353 .owner = THIS_MODULE,
362 .owner = THIS_MODULE,
H A Dmax8998.c478 .owner = THIS_MODULE,
484 .owner = THIS_MODULE,
490 .owner = THIS_MODULE,
496 .owner = THIS_MODULE,
502 .owner = THIS_MODULE,
508 .owner = THIS_MODULE,
514 .owner = THIS_MODULE,
520 .owner = THIS_MODULE,
526 .owner = THIS_MODULE,
532 .owner = THIS_MODULE,
538 .owner = THIS_MODULE,
544 .owner = THIS_MODULE,
550 .owner = THIS_MODULE,
556 .owner = THIS_MODULE,
562 .owner = THIS_MODULE,
568 .owner = THIS_MODULE,
574 .owner = THIS_MODULE,
580 .owner = THIS_MODULE,
586 .owner = THIS_MODULE,
592 .owner = THIS_MODULE,
598 .owner = THIS_MODULE,
604 .owner = THIS_MODULE,
610 .owner = THIS_MODULE,
616 .owner = THIS_MODULE,
622 .owner = THIS_MODULE,
H A Dwm8400-regulator.c135 .owner = THIS_MODULE,
149 .owner = THIS_MODULE,
163 .owner = THIS_MODULE,
177 .owner = THIS_MODULE,
191 .owner = THIS_MODULE,
205 .owner = THIS_MODULE,
H A Dmc13xxx.h68 .owner = THIS_MODULE, \
86 .owner = THIS_MODULE, \
101 .owner = THIS_MODULE, \
H A Drt5033-regulator.c44 .owner = THIS_MODULE,
60 .owner = THIS_MODULE,
76 .owner = THIS_MODULE,
H A Disl6271a-regulator.c87 .owner = THIS_MODULE,
96 .owner = THIS_MODULE,
104 .owner = THIS_MODULE,
159 .owner = THIS_MODULE,
H A Ds2mps11.c266 .owner = THIS_MODULE, \
281 .owner = THIS_MODULE, \
297 .owner = THIS_MODULE, \
313 .owner = THIS_MODULE, \
329 .owner = THIS_MODULE, \
398 .owner = THIS_MODULE, \
414 .owner = THIS_MODULE, \
431 .owner = THIS_MODULE, \
448 .owner = THIS_MODULE, \
615 .owner = THIS_MODULE, \
630 .owner = THIS_MODULE, \
787 .owner = THIS_MODULE, \
802 .owner = THIS_MODULE, \
817 .owner = THIS_MODULE, \
832 .owner = THIS_MODULE, \
847 .owner = THIS_MODULE, \
863 .owner = THIS_MODULE, \
879 .owner = THIS_MODULE, \
895 .owner = THIS_MODULE, \
911 .owner = THIS_MODULE, \
H A Dab8500.c718 .owner = THIS_MODULE,
741 .owner = THIS_MODULE,
764 .owner = THIS_MODULE,
787 .owner = THIS_MODULE,
815 .owner = THIS_MODULE,
834 .owner = THIS_MODULE,
850 .owner = THIS_MODULE,
866 .owner = THIS_MODULE,
882 .owner = THIS_MODULE,
902 .owner = THIS_MODULE,
932 .owner = THIS_MODULE,
953 .owner = THIS_MODULE,
974 .owner = THIS_MODULE,
995 .owner = THIS_MODULE,
1018 .owner = THIS_MODULE,
1040 .owner = THIS_MODULE,
1062 .owner = THIS_MODULE,
1089 .owner = THIS_MODULE,
1108 .owner = THIS_MODULE,
1125 .owner = THIS_MODULE,
1143 .owner = THIS_MODULE,
1164 .owner = THIS_MODULE,
1185 .owner = THIS_MODULE,
1203 .owner = THIS_MODULE,
1235 .owner = THIS_MODULE,
1256 .owner = THIS_MODULE,
1277 .owner = THIS_MODULE,
1298 .owner = THIS_MODULE,
1321 .owner = THIS_MODULE,
1348 .owner = THIS_MODULE,
1367 .owner = THIS_MODULE,
1384 .owner = THIS_MODULE,
1399 .owner = THIS_MODULE,
1414 .owner = THIS_MODULE,
1429 .owner = THIS_MODULE,
1448 .owner = THIS_MODULE,
1477 .owner = THIS_MODULE,
1498 .owner = THIS_MODULE,
1519 .owner = THIS_MODULE,
1546 .owner = THIS_MODULE,
1569 .owner = THIS_MODULE,
1592 .owner = THIS_MODULE,
1615 .owner = THIS_MODULE,
1642 .owner = THIS_MODULE,
1661 .owner = THIS_MODULE,
1676 .owner = THIS_MODULE,
1697 .owner = THIS_MODULE,
1718 .owner = THIS_MODULE,
1741 .owner = THIS_MODULE,
1759 .owner = THIS_MODULE,
H A Dlp3971.c254 .owner = THIS_MODULE,
263 .owner = THIS_MODULE,
272 .owner = THIS_MODULE,
281 .owner = THIS_MODULE,
290 .owner = THIS_MODULE,
299 .owner = THIS_MODULE,
308 .owner = THIS_MODULE,
317 .owner = THIS_MODULE,
455 .owner = THIS_MODULE,
H A Dlp3972.c407 .owner = THIS_MODULE,
416 .owner = THIS_MODULE,
425 .owner = THIS_MODULE,
434 .owner = THIS_MODULE,
443 .owner = THIS_MODULE,
452 .owner = THIS_MODULE,
461 .owner = THIS_MODULE,
470 .owner = THIS_MODULE,
553 .owner = THIS_MODULE,
H A Dlp872x.c528 .owner = THIS_MODULE,
541 .owner = THIS_MODULE,
554 .owner = THIS_MODULE,
567 .owner = THIS_MODULE,
580 .owner = THIS_MODULE,
593 .owner = THIS_MODULE,
607 .owner = THIS_MODULE,
620 .owner = THIS_MODULE,
633 .owner = THIS_MODULE,
646 .owner = THIS_MODULE,
659 .owner = THIS_MODULE,
672 .owner = THIS_MODULE,
685 .owner = THIS_MODULE,
698 .owner = THIS_MODULE,
709 .owner = THIS_MODULE,
958 .owner = THIS_MODULE,
H A Dmax14577.c111 .owner = THIS_MODULE,
124 .owner = THIS_MODULE,
149 .owner = THIS_MODULE,
162 .owner = THIS_MODULE,
173 .owner = THIS_MODULE,
189 .owner = THIS_MODULE,
H A Dab3100.c404 .owner = THIS_MODULE,
414 .owner = THIS_MODULE,
424 .owner = THIS_MODULE,
435 .owner = THIS_MODULE,
445 .owner = THIS_MODULE,
455 .owner = THIS_MODULE,
465 .owner = THIS_MODULE,
475 .owner = THIS_MODULE,
483 .owner = THIS_MODULE,
492 .owner = THIS_MODULE,
/linux-4.1.27/drivers/misc/cxl/
H A Dbase.c30 if (calls && !try_module_get(calls->owner)) cxl_calls_get()
42 module_put(cxl_calls->owner); cxl_calls_put()
82 BUG_ON(cxl_calls->owner != calls->owner); unregister_cxl_calls()
/linux-4.1.27/drivers/staging/sm750fb/
H A Dddk750.h8 * without the written consent of the copyright owner.
/linux-4.1.27/drivers/usb/gadget/
H A Dconfigfs.h12 struct module *owner);
/linux-4.1.27/fs/nfs/
H A Dnfs2super.c10 .owner = THIS_MODULE,
H A Dnfs3super.c11 .owner = THIS_MODULE,
H A Dnfs.h15 struct module *owner; /* THIS_MODULE pointer */ member in struct:nfs_subversion
H A Dnfs4state.c548 * nfs4_get_state_owner - Look up a state owner given a credential
585 * @sp: state owner data to release
592 * a while, to ensure that those state owner names are
657 list_move(&state->open_states, &state->owner->so_states); nfs4_state_set_mode_locked()
659 list_move_tail(&state->open_states, &state->owner->so_states); nfs4_state_set_mode_locked()
665 __nfs4_find_state_byowner(struct inode *inode, struct nfs4_state_owner *owner) __nfs4_find_state_byowner() argument
671 if (state->owner != owner) __nfs4_find_state_byowner()
688 nfs4_get_open_state(struct inode *inode, struct nfs4_state_owner *owner) nfs4_get_open_state() argument
694 state = __nfs4_find_state_byowner(inode, owner); nfs4_get_open_state()
699 spin_lock(&owner->so_lock); nfs4_get_open_state()
701 state = __nfs4_find_state_byowner(inode, owner); nfs4_get_open_state()
704 state->owner = owner; nfs4_get_open_state()
705 atomic_inc(&owner->so_count); nfs4_get_open_state()
712 list_add_tail(&state->open_states, &owner->so_states); nfs4_get_open_state()
713 spin_unlock(&owner->so_lock); nfs4_get_open_state()
716 spin_unlock(&owner->so_lock); nfs4_get_open_state()
727 struct nfs4_state_owner *owner = state->owner; nfs4_put_open_state() local
729 if (!atomic_dec_and_lock(&state->count, &owner->so_lock)) nfs4_put_open_state()
735 spin_unlock(&owner->so_lock); nfs4_put_open_state()
738 nfs4_put_state_owner(owner); nfs4_put_open_state()
747 struct nfs4_state_owner *owner = state->owner; __nfs4_close() local
751 atomic_inc(&owner->so_count); __nfs4_close()
753 spin_lock(&owner->so_lock); __nfs4_close()
780 spin_unlock(&owner->so_lock); __nfs4_close()
784 nfs4_put_state_owner(owner); __nfs4_close()
824 struct nfs_server *server = state->owner->so_server; nfs4_alloc_lock_state()
855 static struct nfs4_lock_state *nfs4_get_lock_state(struct nfs4_state *state, fl_owner_t owner) nfs4_get_lock_state() argument
861 lsp = __nfs4_find_lock_state(state, owner); nfs4_get_lock_state()
872 new = nfs4_alloc_lock_state(state, owner); nfs4_get_lock_state()
878 nfs4_free_lock_state(state->owner->so_server, new); nfs4_get_lock_state()
900 server = state->owner->so_server; nfs4_put_lock_state()
911 struct nfs4_lock_state *lsp = src->fl_u.nfs4_fl.owner; nfs4_fl_copy_lock()
913 dst->fl_u.nfs4_fl.owner = lsp; nfs4_fl_copy_lock()
919 nfs4_put_lock_state(fl->fl_u.nfs4_fl.owner); nfs4_fl_release_lock()
936 fl->fl_u.nfs4_fl.owner = lsp; nfs4_set_lock_state()
1308 set_bit(NFS_OWNER_RECLAIM_REBOOT, &state->owner->so_flags); nfs4_state_mark_reclaim_reboot()
1317 set_bit(NFS_OWNER_RECLAIM_NOGRACE, &state->owner->so_flags); nfs4_state_mark_reclaim_nograce()
/linux-4.1.27/arch/m68k/include/asm/
H A Datari_stram.h9 void *atari_stram_alloc(unsigned long size, const char *owner);
/linux-4.1.27/drivers/dma/bestcomm/
H A Dsram.c41 int bcom_sram_init(struct device_node *sram_node, char *owner) bcom_sram_init() argument
51 "Already initialized !\n", owner); bcom_sram_init()
58 "Couldn't allocate internal state !\n", owner); bcom_sram_init()
66 "Invalid device node !\n", owner); bcom_sram_init()
77 if (!request_mem_region(bcom_sram->base_phys, bcom_sram->size, owner)) { bcom_sram_init()
79 "Couldn't request region !\n", owner); bcom_sram_init()
91 owner, (long)bcom_sram->base_phys, bcom_sram->size ); bcom_sram_init()
/linux-4.1.27/kernel/
H A Daudit_tree.c33 struct audit_tree *owner; member in struct:audit_chunk::node
114 if (chunk->owners[i].owner) free_chunk()
115 put_tree(chunk->owners[i].owner); free_chunk()
204 if (chunk->owners[n].owner == tree) audit_tree_match()
223 struct audit_tree *owner; untag_chunk() local
242 owner = p->owner; untag_chunk()
248 if (owner->root == chunk) untag_chunk()
249 owner->root = NULL; untag_chunk()
270 if (owner->root == chunk) { untag_chunk()
271 list_del_init(&owner->same_root); untag_chunk()
272 owner->root = NULL; untag_chunk()
282 s = chunk->owners[j].owner; untag_chunk()
283 new->owners[i].owner = s; untag_chunk()
292 list_for_each_entry(owner, &new->trees, same_root) untag_chunk()
293 owner->root = new; untag_chunk()
303 if (owner->root == chunk) { untag_chunk()
304 list_del_init(&owner->same_root); untag_chunk()
305 owner->root = NULL; untag_chunk()
308 p->owner = NULL; untag_chunk()
309 put_tree(owner); untag_chunk()
341 chunk->owners[0].owner = tree; create_chunk()
359 struct audit_tree *owner; tag_chunk() local
373 if (old->owners[n].owner == tree) { tag_chunk()
425 struct audit_tree *s = old->owners[n].owner; tag_chunk()
426 p->owner = s; tag_chunk()
434 p->owner = tree; tag_chunk()
438 list_for_each_entry(owner, &chunk->trees, same_root) tag_chunk()
439 owner->root = chunk; tag_chunk()
911 struct audit_tree *owner; evict_chunk() local
923 owner = list_entry(chunk->trees.next, evict_chunk()
925 owner->goner = 1; evict_chunk()
926 owner->root = NULL; evict_chunk()
927 list_del_init(&owner->same_root); evict_chunk()
930 kill_rules(owner); evict_chunk()
931 list_move(&owner->list, &prune_list); evict_chunk()
934 list_move(&owner->list, postponed); evict_chunk()
H A Dfutex.c200 struct task_struct *owner; member in struct:futex_pi_state
631 pi_state->owner = NULL; refill_pi_state_cache()
662 * If pi_state->owner is NULL, the owner is most probably dying free_pi_state()
665 if (pi_state->owner) { free_pi_state()
666 raw_spin_lock_irq(&pi_state->owner->pi_lock); free_pi_state()
668 raw_spin_unlock_irq(&pi_state->owner->pi_lock); free_pi_state()
670 rt_mutex_proxy_unlock(&pi_state->pi_mutex, pi_state->owner); free_pi_state()
678 * clear pi_state->owner. free_pi_state()
681 pi_state->owner = NULL; free_pi_state()
745 WARN_ON(pi_state->owner != curr); exit_pi_state_list()
748 pi_state->owner = NULL; exit_pi_state_list()
763 * Waiter | pi_state | pi->owner | uTID | uODIED | ?
785 * thread is found then it indicates that the owner TID has died.
795 * [6] Valid state after exit_pi_state_list() which sets the new owner in
798 * [7] pi_state->owner can only be NULL when the OWNER_DIED bit is set.
806 * [10] There is no transient state which leaves owner and user space
829 * Handle the owner died case: attach_to_pi_state()
833 * exit_pi_state_list sets owner to NULL and wakes the attach_to_pi_state()
835 * pi_state->rt_mutex will fixup owner. attach_to_pi_state()
837 if (!pi_state->owner) { attach_to_pi_state()
839 * No pi state owner, but the user space TID attach_to_pi_state()
851 * If TID is 0, then either the dying owner has not attach_to_pi_state()
862 * If the owner died bit is not set, then the pi_state attach_to_pi_state()
863 * must have an owner. [7] attach_to_pi_state()
865 if (!pi_state->owner) attach_to_pi_state()
871 * state exists then the owner TID must be the same as the attach_to_pi_state()
874 if (pid != task_pid_vnr(pi_state->owner)) attach_to_pi_state()
894 * We are the first waiter - try to look up the real owner and attach attach_to_pi_owner()
935 * the owner of it: attach_to_pi_owner()
944 pi_state->owner = p; attach_to_pi_owner()
967 * We are the first waiter - try to look up the owner based on lookup_pi_state()
1034 * waiters or the owner died bit is set or called from futex_lock_pi_atomic()
1041 * TID is 0. We preserve the owner died bit. futex_lock_pi_atomic()
1057 * the owner. If owner tries to unlock, it will be forced into futex_lock_pi_atomic()
1066 * attach to the owner. If that fails, no harm done, we only futex_lock_pi_atomic()
1139 if (pi_state->owner != current) wake_futex_pi()
1147 * this owner to the kernel) timed out and is no longer wake_futex_pi()
1154 * We pass it to the next owner. The WAITERS bit is always wake_futex_pi()
1156 * owner died bit, because we are the owner. wake_futex_pi()
1179 raw_spin_lock_irq(&pi_state->owner->pi_lock); wake_futex_pi()
1182 raw_spin_unlock_irq(&pi_state->owner->pi_lock); wake_futex_pi()
1187 pi_state->owner = new_owner; wake_futex_pi()
1403 * to protect access to the pi_state to fixup the owner later. Must be called
1535 * waiters and no owner. However, second and third wake-ups futex_requeue()
1885 * Fixup the pi_state owner with the new owner.
1895 struct task_struct *oldowner = pi_state->owner; fixup_pi_state_owner()
1900 if (!pi_state->owner) fixup_pi_state_owner()
1908 * This must be atomic as we have to preserve the owner died bit here. fixup_pi_state_owner()
1938 if (pi_state->owner != NULL) { fixup_pi_state_owner()
1939 raw_spin_lock_irq(&pi_state->owner->pi_lock); fixup_pi_state_owner()
1942 raw_spin_unlock_irq(&pi_state->owner->pi_lock); fixup_pi_state_owner()
1945 pi_state->owner = newowner; fixup_pi_state_owner()
1973 if (pi_state->owner != oldowner) fixup_pi_state_owner()
1991 * the pi_state owner as well as handle race conditions that may allow us to
2001 struct task_struct *owner; fixup_owner() local
2006 * Got the lock. We might not be the anticipated owner if we fixup_owner()
2009 if (q->pi_state->owner != current) fixup_owner()
2018 if (q->pi_state->owner == current) { fixup_owner()
2035 owner = rt_mutex_owner(&q->pi_state->pi_mutex); fixup_owner()
2036 if (!owner) fixup_owner()
2037 owner = rt_mutex_next_owner(&q->pi_state->pi_mutex); fixup_owner()
2039 ret = fixup_pi_state_owner(uaddr, q, owner); fixup_owner()
2045 * the owner of the rt_mutex. fixup_owner()
2050 q->pi_state->pi_mutex.owner, fixup_owner()
2051 q->pi_state->owner); fixup_owner()
2342 * Fixup the pi_state owner and possibly acquire the lock if we futex_lock_pi()
2449 * owner. futex_unlock_pi()
2537 * userspace. This ensures the rt_mutex maintains an owner when it has waiters;
2648 * Got the lock. We might not be the anticipated owner if we futex_wait_requeue_pi()
2651 if (q.pi_state && (q.pi_state->owner != current)) { futex_wait_requeue_pi()
2674 * Fixup the pi_state owner and possibly acquire the lock if we futex_wait_requeue_pi()
/linux-4.1.27/sound/aoa/core/
H A Dcore.c28 if (!try_module_get(c->owner)) attach_codec_to_fabric()
35 module_put(c->owner); attach_codec_to_fabric()
50 module_put(c->owner); attach_codec_to_fabric()
81 module_put(codec->owner); aoa_codec_unregister()
101 err = aoa_alsa_init(new_fabric->name, new_fabric->owner, dev); aoa_fabric_register()
147 module_put(codec->owner); aoa_fabric_unlink_codec()
/linux-4.1.27/sound/soc/au1x/
H A Ddb1200.c60 .owner = THIS_MODULE,
76 .owner = THIS_MODULE,
83 .owner = THIS_MODULE,
120 .owner = THIS_MODULE,
139 .owner = THIS_MODULE,
158 .owner = THIS_MODULE,
H A Ddb1000.c32 .owner = THIS_MODULE,
/linux-4.1.27/arch/arm64/include/asm/
H A Dspinlock_types.h28 u16 owner; member in struct:__anon314
30 u16 owner;
H A Dspinlock.h50 * No: spin on the owner. Send a local event to avoid missing an arch_spin_lock()
61 : "Q" (lock->owner), "I" (1 << TICKET_SHIFT) arch_spin_lock()
90 : "=Q" (lock->owner) arch_spin_unlock()
91 : "r" (lock->owner + 1) arch_spin_unlock()
97 return lock.owner == lock.next; arch_spin_value_unlocked()
108 return (lockval.next - lockval.owner) > 1; arch_spin_is_contended()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv04.h8 int owner; member in struct:nv04_devinit_priv
/linux-4.1.27/include/linux/lockd/
H A Dshare.h19 struct xdr_netobj s_owner; /* owner handle */
/linux-4.1.27/drivers/net/phy/
H A Drealtek.c76 .driver = { .owner = THIS_MODULE,},
87 .driver = { .owner = THIS_MODULE,},
100 .driver = { .owner = THIS_MODULE,},
H A Dsmsc.c159 .driver = { .owner = THIS_MODULE, }
182 .driver = { .owner = THIS_MODULE, }
205 .driver = { .owner = THIS_MODULE, }
227 .driver = { .owner = THIS_MODULE, }
250 .driver = { .owner = THIS_MODULE, }
H A Dvitesse.c237 .driver = { .owner = THIS_MODULE,},
249 .driver = { .owner = THIS_MODULE,},
261 .driver = { .owner = THIS_MODULE,},
273 .driver = { .owner = THIS_MODULE,},
285 .driver = { .owner = THIS_MODULE,},
298 .driver = { .owner = THIS_MODULE,},
311 .driver = { .owner = THIS_MODULE,},
H A Ddavicom.c159 .driver = { .owner = THIS_MODULE,},
171 .driver = { .owner = THIS_MODULE,},
182 .driver = { .owner = THIS_MODULE,},
H A Dbroadcom.c524 .driver = { .owner = THIS_MODULE },
537 .driver = { .owner = THIS_MODULE },
550 .driver = { .owner = THIS_MODULE },
563 .driver = { .owner = THIS_MODULE },
576 .driver = { .owner = THIS_MODULE },
589 .driver = { .owner = THIS_MODULE },
602 .driver = { .owner = THIS_MODULE },
615 .driver = { .owner = THIS_MODULE },
628 .driver = { .owner = THIS_MODULE },
641 .driver = { .owner = THIS_MODULE },
654 .driver = { .owner = THIS_MODULE },
667 .driver = { .owner = THIS_MODULE },
H A Dcicada.c117 .driver = { .owner = THIS_MODULE,},
129 .driver = { .owner = THIS_MODULE,},
H A Dste10Xp.c98 .driver = {.owner = THIS_MODULE,}
112 .driver = {.owner = THIS_MODULE,}
H A Dbcm63xx.c87 .driver = { .owner = THIS_MODULE },
100 .driver = { .owner = THIS_MODULE },
H A Dmicrel.c594 .driver = { .owner = THIS_MODULE,},
611 .driver = { .owner = THIS_MODULE,},
628 .driver = { .owner = THIS_MODULE,},
645 .driver = { .owner = THIS_MODULE,},
662 .driver = { .owner = THIS_MODULE,},
679 .driver = { .owner = THIS_MODULE,},
695 .driver = { .owner = THIS_MODULE,},
711 .driver = { .owner = THIS_MODULE,},
725 .driver = { .owner = THIS_MODULE,},
742 .driver = { .owner = THIS_MODULE, },
757 .driver = { .owner = THIS_MODULE, },
769 .driver = { .owner = THIS_MODULE, },
781 .driver = { .owner = THIS_MODULE, },
/linux-4.1.27/drivers/target/
H A Dtarget_core_hba.c71 " %p\n", sub_api->name, sub_api->owner); transport_subsystem_register()
96 if (s->owner && !try_module_get(s->owner)) core_get_backend()
141 module_put(hba->transport->owner); core_alloc_hba()
162 module_put(hba->transport->owner); core_delete_hba()
/linux-4.1.27/arch/x86/pci/
H A Dxen.c523 struct xen_device_domain_owner *owner; find_device() local
525 list_for_each_entry(owner, &dev_domain_list, list) { find_device()
526 if (owner->dev == dev) find_device()
527 return owner; find_device()
534 struct xen_device_domain_owner *owner; xen_find_device_domain_owner() local
538 owner = find_device(dev); xen_find_device_domain_owner()
539 if (owner) xen_find_device_domain_owner()
540 domain = owner->domain; xen_find_device_domain_owner()
548 struct xen_device_domain_owner *owner; xen_register_device_domain_owner() local
550 owner = kzalloc(sizeof(struct xen_device_domain_owner), GFP_KERNEL); xen_register_device_domain_owner()
551 if (!owner) xen_register_device_domain_owner()
557 kfree(owner); xen_register_device_domain_owner()
560 owner->domain = domain; xen_register_device_domain_owner()
561 owner->dev = dev; xen_register_device_domain_owner()
562 list_add_tail(&owner->list, &dev_domain_list); xen_register_device_domain_owner()
570 struct xen_device_domain_owner *owner; xen_unregister_device_domain_owner() local
573 owner = find_device(dev); xen_unregister_device_domain_owner()
574 if (!owner) { xen_unregister_device_domain_owner()
578 list_del(&owner->list); xen_unregister_device_domain_owner()
580 kfree(owner); xen_unregister_device_domain_owner()
/linux-4.1.27/drivers/pinctrl/
H A Dpinmux.c78 * @owner: a representation of the owner of this pin; typically the device
84 int pin, const char *owner, pin_request()
100 pin, desc->name, owner); pin_request()
107 desc->name, desc->gpio_owner, owner); pin_request()
111 desc->gpio_owner = owner; pin_request()
113 if (desc->mux_usecount && strcmp(desc->mux_owner, owner)) { pin_request()
116 desc->name, desc->mux_owner, owner); pin_request()
124 desc->mux_owner = owner; pin_request()
128 if (!try_module_get(pctldev->owner)) { pin_request()
150 module_put(pctldev->owner); pin_request()
166 pin, owner, status); pin_request()
178 * This function returns a pointer to the previous owner. This is used
179 * for callers that dynamically allocate an owner name so it can be freed
187 const char *owner; pin_free() local
217 owner = desc->gpio_owner; pin_free()
220 owner = desc->mux_owner; pin_free()
225 module_put(pctldev->owner); pin_free()
227 return owner; pin_free()
240 const char *owner; pinmux_request_gpio() local
244 owner = kasprintf(GFP_KERNEL, "%s:%d", range->name, gpio); pinmux_request_gpio()
245 if (!owner) pinmux_request_gpio()
248 ret = pin_request(pctldev, pin, owner, range); pinmux_request_gpio()
250 kfree(owner); pinmux_request_gpio()
264 const char *owner; pinmux_free_gpio() local
266 owner = pin_free(pctldev, pin, range); pinmux_free_gpio()
267 kfree(owner); pinmux_free_gpio()
83 pin_request(struct pinctrl_dev *pctldev, int pin, const char *owner, struct pinctrl_gpio_range *gpio_range) pin_request() argument
/linux-4.1.27/drivers/ide/
H A Dide-scan-pci.c25 * @module: owner module of the driver
40 driver->driver.owner = module; __ide_pci_register_driver()
102 if (__pci_register_driver(d, d->driver.owner, ide_scan_pcibus()
H A Dide-disk_proc.c60 .owner = THIS_MODULE,
81 .owner = THIS_MODULE,
122 .owner = THIS_MODULE,
140 .owner = THIS_MODULE,
H A Dide-floppy_proc.c22 .owner = THIS_MODULE,
/linux-4.1.27/net/bridge/netfilter/
H A Debtable_filter.c78 .owner = THIS_MODULE,
85 .owner = THIS_MODULE,
92 .owner = THIS_MODULE,
H A Debtable_nat.c78 .owner = THIS_MODULE,
85 .owner = THIS_MODULE,
92 .owner = THIS_MODULE,
/linux-4.1.27/net/nfc/
H A Daf_nfc.c42 if (proto_tab[proto] && try_module_get(proto_tab[proto]->owner)) { nfc_sock_create()
44 module_put(proto_tab[proto]->owner); nfc_sock_create()
52 .owner = THIS_MODULE,
/linux-4.1.27/drivers/dma/
H A Dmic_x100_dma.h51 * bits 1, 3, 5, 7, 9, 11, 13, 15 - owner bits for channels 0 to 7
95 * @owner: owner of this channel
114 enum mic_dma_chan_owner owner; member in struct:mic_dma_chan
217 dcr = (dcr & ~(0x1 << (chan_num * 2))) | (ch->owner << (chan_num * 2)); mic_dma_chan_set_owner()
243 if (MIC_DMA_CHAN_MIC == ch->owner) { mic_dma_chan_set_desc_ring()
259 if (MIC_DMA_CHAN_MIC == ch->owner) mic_dma_chan_mask_intr()
270 if (MIC_DMA_CHAN_MIC == ch->owner) mic_dma_chan_unmask_intr()
279 if (MIC_DMA_CHAN_MIC == ch->owner) { mic_dma_ack_interrupt()
H A Dmic_x100_dma.c418 if (MIC_DMA_CHAN_MIC == ch->owner) mic_dma_chan_setup()
516 enum mic_dma_chan_owner owner) mic_dma_init()
527 ch->owner = owner; mic_dma_init()
570 enum mic_dma_chan_owner owner) mic_dma_register_dma_device()
581 if (MIC_DMA_CHAN_HOST == owner) mic_dma_register_dma_device()
608 enum mic_dma_chan_owner owner) mic_dma_dev_reg()
622 if (MIC_DMA_CHAN_HOST == owner) { mic_dma_dev_reg()
629 ret = mic_dma_init(mic_dma_dev, owner); mic_dma_dev_reg()
632 ret = mic_dma_register_dma_device(mic_dma_dev, owner); mic_dma_dev_reg()
696 .owner = THIS_MODULE,
709 enum mic_dma_chan_owner owner; mic_dma_driver_probe() local
712 owner = MIC_DMA_CHAN_MIC; mic_dma_driver_probe()
714 owner = MIC_DMA_CHAN_HOST; mic_dma_driver_probe()
716 mic_dma_dev = mic_dma_dev_reg(mbdev, owner); mic_dma_driver_probe()
747 .driver.owner = THIS_MODULE,
515 mic_dma_init(struct mic_dma_device *mic_dma_dev, enum mic_dma_chan_owner owner) mic_dma_init() argument
569 mic_dma_register_dma_device(struct mic_dma_device *mic_dma_dev, enum mic_dma_chan_owner owner) mic_dma_register_dma_device() argument
607 mic_dma_dev_reg(struct mbus_device *mbdev, enum mic_dma_chan_owner owner) mic_dma_dev_reg() argument
/linux-4.1.27/drivers/uwb/
H A Dumc-drv.c16 umc_drv->driver.owner = module; __umc_driver_register()
H A Duwb-debug.c206 .owner = THIS_MODULE,
218 char owner[UWB_ADDR_STRSIZE], target[UWB_ADDR_STRSIZE]; reservations_print() local
221 uwb_dev_addr_print(owner, sizeof(owner), &rsv->owner->dev_addr); reservations_print()
224 is_owner = &rc->uwb_dev == rsv->owner; reservations_print()
233 owner, target, uwb_rsv_state_str(rsv->state)); reservations_print()
254 .owner = THIS_MODULE,
278 .owner = THIS_MODULE,
/linux-4.1.27/include/uapi/linux/
H A Ddlm_plock.h41 __u64 owner; member in struct:dlm_plock_info
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dspu_syscalls.c43 if (calls && !try_module_get(calls->owner)) spufs_calls_get()
55 module_put(spufs_calls->owner); spufs_calls_put()
174 BUG_ON(spufs_calls->owner != calls->owner); unregister_spu_syscalls()
/linux-4.1.27/arch/arm/mach-imx/
H A Dcpuidle-imx5.c22 .owner = THIS_MODULE,
H A Dcpuidle-imx6sl.c34 .owner = THIS_MODULE,
H A Dcpuidle-imx6q.c47 .owner = THIS_MODULE,
/linux-4.1.27/arch/alpha/include/asm/
H A Dgct.h12 gct6_handle owner; member in struct:__gct6_node
/linux-4.1.27/net/ipv4/netfilter/
H A Diptable_nat.c73 .owner = THIS_MODULE,
81 .owner = THIS_MODULE,
89 .owner = THIS_MODULE,
97 .owner = THIS_MODULE,
H A Dnf_tables_arp.c32 .owner = THIS_MODULE,
73 .owner = THIS_MODULE,
H A Dnf_defrag_ipv4.c97 .owner = THIS_MODULE,
104 .owner = THIS_MODULE,
H A Dnf_tables_ipv4.c50 .owner = THIS_MODULE,
94 .owner = THIS_MODULE,
/linux-4.1.27/net/ipv6/netfilter/
H A Dip6table_nat.c75 .owner = THIS_MODULE,
83 .owner = THIS_MODULE,
91 .owner = THIS_MODULE,
99 .owner = THIS_MODULE,
H A Dnf_defrag_ipv6_hooks.c88 .owner = THIS_MODULE,
95 .owner = THIS_MODULE,
H A Dnf_tables_ipv6.c49 .owner = THIS_MODULE,
93 .owner = THIS_MODULE,
H A Dnf_conntrack_l3proto_ipv6.c190 .owner = THIS_MODULE,
197 .owner = THIS_MODULE,
204 .owner = THIS_MODULE,
211 .owner = THIS_MODULE,
218 .owner = THIS_MODULE,
225 .owner = THIS_MODULE,
342 .owner = THIS_MODULE,
/linux-4.1.27/net/9p/
H A Dmod.c118 try_module_get(t->owner)) { v9fs_get_trans_by_name()
140 if (t->def && try_module_get(t->owner)) { v9fs_get_default_trans()
147 if (try_module_get(t->owner)) { v9fs_get_default_trans()
165 module_put(m->owner); v9fs_put_trans()
/linux-4.1.27/sound/soc/codecs/
H A Dad193x-spi.c39 .owner = THIS_MODULE,
H A Dadav801.c42 .owner = THIS_MODULE,
H A Dadav803.c39 .owner = THIS_MODULE,
H A Dssm2602-spi.c38 .owner = THIS_MODULE,
H A Dadau1761-i2c.c50 .owner = THIS_MODULE,
H A Dadau1781-i2c.c48 .owner = THIS_MODULE,
H A Dadau1977-i2c.c49 .owner = THIS_MODULE,
H A Dcs42l51-i2c.c48 .owner = THIS_MODULE,
H A Dcs42xx8-i2c.c52 .owner = THIS_MODULE,
H A Dssm2602-i2c.c55 .owner = THIS_MODULE,
H A Dtlv320aic23-spi.c46 .owner = THIS_MODULE,
H A Dwm8804-i2c.c52 .owner = THIS_MODULE,
H A Dwm8804-spi.c45 .owner = THIS_MODULE,
/linux-4.1.27/drivers/iommu/
H A Dexynos-iommu.c484 struct exynos_iommu_owner *owner = dev->archdata.iommu; __exynos_sysmmu_enable() local
489 spin_lock_irqsave(&owner->lock, flags); __exynos_sysmmu_enable()
491 data = dev_get_drvdata(owner->sysmmu); __exynos_sysmmu_enable()
497 spin_unlock_irqrestore(&owner->lock, flags); __exynos_sysmmu_enable()
513 struct exynos_iommu_owner *owner = dev->archdata.iommu; exynos_sysmmu_disable() local
518 spin_lock_irqsave(&owner->lock, flags); exynos_sysmmu_disable()
520 data = dev_get_drvdata(owner->sysmmu); exynos_sysmmu_disable()
526 spin_unlock_irqrestore(&owner->lock, flags); exynos_sysmmu_disable()
542 struct exynos_iommu_owner *owner = dev->archdata.iommu; sysmmu_tlb_invalidate_flpdcache() local
543 struct sysmmu_drvdata *data = dev_get_drvdata(owner->sysmmu); sysmmu_tlb_invalidate_flpdcache()
560 struct exynos_iommu_owner *owner = dev->archdata.iommu; sysmmu_tlb_invalidate_entry() local
564 data = dev_get_drvdata(owner->sysmmu); sysmmu_tlb_invalidate_entry()
602 struct exynos_iommu_owner *owner = dev->archdata.iommu; exynos_sysmmu_tlb_invalidate() local
606 data = dev_get_drvdata(owner->sysmmu); exynos_sysmmu_tlb_invalidate()
759 struct exynos_iommu_owner *owner; exynos_iommu_domain_free() local
767 list_for_each_entry(owner, &priv->clients, client) { exynos_iommu_domain_free()
768 while (!exynos_sysmmu_disable(owner->dev)) exynos_iommu_domain_free()
790 struct exynos_iommu_owner *owner = dev->archdata.iommu; exynos_iommu_attach_device() local
800 list_add_tail(&owner->client, &priv->clients); exynos_iommu_attach_device()
801 owner->domain = domain; exynos_iommu_attach_device()
821 struct exynos_iommu_owner *owner; exynos_iommu_detach_device() local
828 list_for_each_entry(owner, &priv->clients, client) { exynos_iommu_detach_device()
829 if (owner == dev->archdata.iommu) { exynos_iommu_detach_device()
831 list_del_init(&owner->client); exynos_iommu_detach_device()
832 owner->domain = NULL; exynos_iommu_detach_device()
840 if (owner == dev->archdata.iommu) exynos_iommu_detach_device()
887 struct exynos_iommu_owner *owner; alloc_lv2entry() local
890 list_for_each_entry(owner, &priv->clients, client) alloc_lv2entry()
892 owner->dev, iova); alloc_lv2entry()
927 struct exynos_iommu_owner *owner; lv1set_section() local
932 list_for_each_entry(owner, &priv->clients, client) lv1set_section()
933 sysmmu_tlb_invalidate_flpdcache(owner->dev, iova); lv1set_section()
1038 struct exynos_iommu_owner *owner; exynos_iommu_tlb_invalidate_entry() local
1043 list_for_each_entry(owner, &priv->clients, client) exynos_iommu_tlb_invalidate_entry()
1044 sysmmu_tlb_invalidate_entry(owner->dev, iova, size); exynos_iommu_tlb_invalidate_entry()
/linux-4.1.27/arch/mips/jazz/
H A Djazzdma.c55 pgtbl[i].owner = VDMA_PAGE_EMPTY; vdma_pgtbl_init()
118 while (pgtbl[first].owner != VDMA_PAGE_EMPTY && vdma_alloc()
126 while (pgtbl[last].owner == VDMA_PAGE_EMPTY vdma_alloc()
143 pgtbl[i].owner = laddr; vdma_alloc()
165 printk("%08x ", pgtbl[i].owner); vdma_alloc()
187 if (pgtbl[i].owner != laddr) { vdma_free()
194 while (i < VDMA_PGTBL_ENTRIES && pgtbl[i].owner == laddr) { vdma_free()
195 pgtbl[i].owner = VDMA_PAGE_EMPTY; vdma_free()
243 if (pgtbl[first].owner != laddr) { vdma_remap()
246 return -EPERM; /* not owner */ vdma_remap()
271 printk("%08x ", pgtbl[i].owner); vdma_remap()
/linux-4.1.27/net/tipc/
H A Dlink.c134 if (l->owner->active_links[0] != l) tipc_parallel_link()
135 return l->owner->active_links[0]; tipc_parallel_link()
136 return l->owner->active_links[1]; tipc_parallel_link()
151 return (l_ptr->owner->active_links[0] == l_ptr) || tipc_link_is_active()
152 (l_ptr->owner->active_links[1] == l_ptr); tipc_link_is_active()
164 tipc_node_lock(l_ptr->owner); link_timeout()
205 tipc_node_unlock(l_ptr->owner); link_timeout()
263 l_ptr->owner = n_ptr; tipc_link_create()
310 tipc_node_detach_link(l->owner, l); tipc_link_delete()
392 l->owner->inputq = &l->inputq; link_prepare_wakeup()
393 l->owner->action_flags |= TIPC_MSG_EVT; link_prepare_wakeup()
433 struct tipc_node *owner = l_ptr->owner; tipc_link_reset() local
449 tipc_node_link_down(l_ptr->owner, l_ptr); tipc_link_reset()
450 tipc_bearer_remove_dest(owner->net, l_ptr->bearer_id, l_ptr->addr); tipc_link_reset()
452 if (was_active_link && tipc_node_is_up(l_ptr->owner) && (pl != l_ptr)) { tipc_link_reset()
464 if (!owner->inputq) tipc_link_reset()
465 owner->inputq = &l_ptr->inputq; tipc_link_reset()
466 skb_queue_splice_init(&l_ptr->wakeupq, owner->inputq); tipc_link_reset()
467 if (!skb_queue_empty(owner->inputq)) tipc_link_reset()
468 owner->action_flags |= TIPC_MSG_EVT; tipc_link_reset()
498 struct tipc_node *node = link->owner; link_activate()
537 if (tipc_bclink_acks_missing(l_ptr->owner)) { link_state_event()
590 if (tipc_bclink_acks_missing(l_ptr->owner)) { link_state_event()
622 other = l_ptr->owner->active_links[0]; link_state_event()
630 if (l_ptr->owner->working_links == 1) link_state_event()
660 other = l_ptr->owner->active_links[0]; link_state_event()
668 if (l_ptr->owner->working_links == 1) link_state_event()
708 uint bc_last_in = link->owner->bclink.last_in; __tipc_link_xmit()
765 return __tipc_link_xmit(link->owner->net, link, &head); __tipc_link_xmit_skb()
847 msg_set_last_bcast(msg, link->owner->bclink.acked); tipc_link_sync_xmit()
889 msg_set_bcast_ack(msg, link->owner->bclink.last_in); tipc_link_push_packets()
892 tipc_bearer_send(link->owner->net, link->bearer_id, tipc_link_push_packets()
921 struct net *net = l_ptr->owner->net; link_retransmit_failure()
982 msg_set_bcast_ack(msg, l_ptr->owner->bclink.last_in); tipc_link_retransmit()
983 tipc_bearer_send(l_ptr->owner->net, l_ptr->bearer_id, skb, tipc_link_retransmit()
1176 struct tipc_node *node = link->owner; tipc_data_input()
1217 struct tipc_node *node = link->owner; tipc_link_input()
1353 if ((tipc_node_blocked(l_ptr->owner)) && (msg_typ != RESET_MSG)) tipc_link_proto_xmit()
1359 msg_set_bcast_ack(msg, l_ptr->owner->bclink.last_in); tipc_link_proto_xmit()
1360 msg_set_last_bcast(msg, tipc_bclink_get_last_sent(l_ptr->owner->net)); tipc_link_proto_xmit()
1395 r_flag = (l_ptr->owner->working_links > tipc_link_is_up(l_ptr)); tipc_link_proto_xmit()
1408 tipc_bearer_send(l_ptr->owner->net, l_ptr->bearer_id, buf, tipc_link_proto_xmit()
1448 l_ptr->owner->action_flags |= TIPC_WAIT_OWN_LINKS_DOWN; tipc_link_proto_rcv()
1469 if (!tipc_node_is_up(l_ptr->owner)) { tipc_link_proto_rcv()
1470 l_ptr->owner->bclink.last_sent = tipc_link_proto_rcv()
1471 l_ptr->owner->bclink.last_in = tipc_link_proto_rcv()
1473 l_ptr->owner->bclink.oos_state = 0; tipc_link_proto_rcv()
1515 if (l_ptr->owner->bclink.recv_permitted) tipc_link_proto_rcv()
1516 tipc_bclink_update_link_state(l_ptr->owner, tipc_link_proto_rcv()
1547 tunnel = l_ptr->owner->active_links[selector & 1]; tipc_link_tunnel_xmit()
1573 struct tipc_link *tunnel = l_ptr->owner->active_links[0]; tipc_link_failover_send_queue()
1602 split_bundles = (l_ptr->owner->active_links[0] != tipc_link_failover_send_queue()
1603 l_ptr->owner->active_links[1]); tipc_link_failover_send_queue()
1657 msg_set_bcast_ack(msg, link->owner->bclink.last_in); skb_queue_walk()
1700 pl = link->owner->links[bearer_id]; tipc_link_failover_rcv()
1761 /* tipc_link_find_owner - locate owner node of link by link's name
1812 struct tipc_net *tn = net_generic(l_ptr->owner->net, tipc_net_id); link_print()
/linux-4.1.27/drivers/mtd/maps/
H A Dsolutionengine.c65 flash_mtd->owner = THIS_MODULE; init_soleng_maps()
69 eprom_mtd->owner = THIS_MODULE; init_soleng_maps()
/linux-4.1.27/drivers/cpuidle/
H A Dgovernor.c56 module_put(cpuidle_curr_governor->owner); cpuidle_switch_governor()
62 if (!try_module_get(cpuidle_curr_governor->owner)) cpuidle_switch_governor()
H A Dcpuidle-clps711x.c32 .owner = THIS_MODULE,
H A Dcpuidle-exynos.c81 .owner = THIS_MODULE,
98 .owner = THIS_MODULE,
/linux-4.1.27/include/media/
H A Dv4l2-clk.h38 struct module *owner; member in struct:v4l2_clk_ops
59 unsigned long rate, struct module *owner);
/linux-4.1.27/fs/btrfs/
H A Dlocking.c37 * no lock is required. The lock owner may change if btrfs_set_lock_blocking_rw()
39 * from us. If we have the write lock, we are the owner btrfs_set_lock_blocking_rw()
69 * no lock is required. The lock owner may change if btrfs_clear_lock_blocking_rw()
71 * from us. If we have the write lock, we are the owner btrfs_clear_lock_blocking_rw()
200 * is needed as long as we are the lock owner. btrfs_tree_read_unlock()
202 * field only matters to the lock owner. btrfs_tree_read_unlock()
222 * is needed as long as we are the lock owner. btrfs_tree_read_unlock_blocking()
224 * field only matters to the lock owner. btrfs_tree_read_unlock_blocking()
/linux-4.1.27/net/netfilter/
H A Dnf_tables_inet.c36 .owner = THIS_MODULE,
73 .owner = THIS_MODULE,
H A Dnf_sockopt.c69 if (!try_module_get(ops->owner)) nf_sockopt_find()
81 module_put(ops->owner); nf_sockopt_find()
107 module_put(ops->owner); nf_sockopt()
148 module_put(ops->owner); compat_nf_sockopt()
H A Dxt_owner.c73 .name = "owner",
97 MODULE_DESCRIPTION("Xtables: socket owner matching");
/linux-4.1.27/security/smack/
H A Dsmack_netfilter.c60 .owner = THIS_MODULE,
68 .owner = THIS_MODULE,
/linux-4.1.27/sound/pci/hda/
H A Dhda_bind.c69 struct module *owner = dev->driver->owner; hda_codec_driver_probe() local
82 if (!try_module_get(owner)) { hda_codec_driver_probe()
108 module_put(owner); hda_codec_driver_probe()
122 module_put(dev->driver->owner); hda_codec_driver_remove()
135 struct module *owner) __hda_codec_driver_register()
138 drv->core.driver.owner = owner; __hda_codec_driver_register()
134 __hda_codec_driver_register(struct hda_codec_driver *drv, const char *name, struct module *owner) __hda_codec_driver_register() argument
/linux-4.1.27/fs/lockd/
H A Dclntproc.c84 static struct nlm_lockowner *__nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) __nlm_find_lockowner() argument
88 if (lockowner->owner != owner) __nlm_find_lockowner()
95 static struct nlm_lockowner *nlm_find_lockowner(struct nlm_host *host, fl_owner_t owner) nlm_find_lockowner() argument
100 res = __nlm_find_lockowner(host, owner); nlm_find_lockowner()
105 res = __nlm_find_lockowner(host, owner); nlm_find_lockowner()
109 new->owner = owner; nlm_find_lockowner()
135 (unsigned int)fl->fl_u.nfs_fl.owner->pid, nlmclnt_setlockargs()
137 lock->svid = fl->fl_u.nfs_fl.owner->pid; nlmclnt_setlockargs()
165 if (!fl->fl_u.nfs_fl.owner) { nlmclnt_proc()
447 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); nlmclnt_locks_copy_lock()
449 new->fl_u.nfs_fl.owner = nlm_get_lockowner(fl->fl_u.nfs_fl.owner); nlmclnt_locks_copy_lock()
450 list_add_tail(&new->fl_u.nfs_fl.list, &fl->fl_u.nfs_fl.owner->host->h_granted); nlmclnt_locks_copy_lock()
451 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); nlmclnt_locks_copy_lock()
456 spin_lock(&fl->fl_u.nfs_fl.owner->host->h_lock); nlmclnt_locks_release_private()
458 spin_unlock(&fl->fl_u.nfs_fl.owner->host->h_lock); nlmclnt_locks_release_private()
459 nlm_put_lockowner(fl->fl_u.nfs_fl.owner); nlmclnt_locks_release_private()
470 fl->fl_u.nfs_fl.owner = nlm_find_lockowner(host, fl->fl_owner); nlmclnt_locks_init_private()
/linux-4.1.27/include/linux/phy/
H A Dphy.h31 * @owner: the module owner containing the ops
38 struct module *owner; member in struct:phy_ops
74 * @owner: the module owner having of_xlate
80 struct module *owner; member in struct:phy_provider
148 struct module *owner, struct phy * (*of_xlate)(struct device *dev,
151 struct module *owner, struct phy * (*of_xlate)(struct device *dev,
306 struct device *dev, struct module *owner, struct phy * (*of_xlate)( __of_phy_provider_register()
313 *dev, struct module *owner, struct phy * (*of_xlate)(struct device *dev, __devm_of_phy_provider_register()
305 __of_phy_provider_register( struct device *dev, struct module *owner, struct phy * (*of_xlate)( struct device *dev, struct of_phandle_args *args)) __of_phy_provider_register() argument
312 __devm_of_phy_provider_register(struct device *dev, struct module *owner, struct phy * (*of_xlate)(struct device *dev, struct of_phandle_args *args)) __devm_of_phy_provider_register() argument
/linux-4.1.27/arch/arm/kernel/
H A Diwmmxt.S91 ldr r1, [r3] @ get current Concan owner
109 beq concan_load @ no owner, skip save
205 ldr r1, [r3] @ get current Concan owner
206 teq r1, #0 @ any current owner?
208 teq r0, #0 @ any owner?
221 str r0, [r3] @ no more current owner
257 ldr r3, [r3] @ get current Concan owner
295 ldr r3, [r3] @ get current Concan owner
334 ldr r2, [r2] @ get current Concan owner
361 ldr r1, [r3] @ get current Concan owner
/linux-4.1.27/fs/ceph/
H A Dlocks.c19 * Set the most significant bit, so that MDS knows the 'owner' secure_addr()
20 * is sufficient to identify the owner of lock. (old code uses secure_addr()
21 * both 'owner' and 'pid') secure_addr()
43 u64 owner; ceph_lock_message() local
61 owner = secure_addr(fl->fl_owner); ceph_lock_message()
63 dout("ceph_lock_message: rule: %d, op: %d, owner: %llx, pid: %llu, " ceph_lock_message()
65 (int)operation, owner, (u64)fl->fl_pid, fl->fl_start, length, ceph_lock_message()
70 req->r_args.filelock_change.owner = cpu_to_le64(owner); ceph_lock_message()
363 cephlock->owner = cpu_to_le64(secure_addr(lock->fl_owner)); lock_to_ceph_filelock()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Ddvbsky.c345 if (!try_module_get(client->dev.driver->owner)) { dvbsky_s960_attach()
466 if (!try_module_get(client_tuner->dev.driver->owner)) { dvbsky_s960c_attach()
487 if (!try_module_get(client_ci->dev.driver->owner)) { dvbsky_s960c_attach()
510 module_put(client_tuner->dev.driver->owner); dvbsky_s960c_attach()
546 if (!try_module_get(client_demod->dev.driver->owner)) dvbsky_t680c_attach()
562 if (!try_module_get(client_tuner->dev.driver->owner)) dvbsky_t680c_attach()
581 if (!try_module_get(client_ci->dev.driver->owner)) dvbsky_t680c_attach()
591 module_put(client_tuner->dev.driver->owner); dvbsky_t680c_attach()
595 module_put(client_demod->dev.driver->owner); dvbsky_t680c_attach()
629 if (!try_module_get(client_demod->dev.driver->owner)) dvbsky_t330_attach()
645 if (!try_module_get(client_tuner->dev.driver->owner)) dvbsky_t330_attach()
654 module_put(client_demod->dev.driver->owner); dvbsky_t330_attach()
701 module_put(client->dev.driver->owner); dvbsky_exit()
707 module_put(client->dev.driver->owner); dvbsky_exit()
713 module_put(client->dev.driver->owner); dvbsky_exit()
721 .owner = THIS_MODULE,
748 .owner = THIS_MODULE,
775 .owner = THIS_MODULE,
802 .owner = THIS_MODULE,
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dos-area.c178 int owner; member in struct:os_area_db_id
183 .owner = OS_AREA_DB_OWNER_NONE,
188 .owner = OS_AREA_DB_OWNER_ANY,
193 .owner = OS_AREA_DB_OWNER_LINUX,
198 .owner = OS_AREA_DB_OWNER_LINUX,
407 uint8_t owner:5; member in struct:db_index
456 if (i->match_id.owner != OS_AREA_DB_OWNER_ANY db_for_each_64()
457 && i->match_id.owner != (int)i->idx->owner) db_for_each_64()
473 i.idx->owner, i.idx->key, db_delete_64()
476 i.idx->owner = 0; db_delete_64()
489 id->owner, id->key, (unsigned long long)value); db_set_64()
491 if (!id->owner || id->owner == OS_AREA_DB_OWNER_ANY db_set_64()
494 __LINE__, id->owner, id->key); db_set_64()
504 i.idx->owner, i.idx->key, db_set_64()
507 i.idx->owner = id->owner; db_set_64()
512 i.idx->owner, i.idx->key, db_set_64()
/linux-4.1.27/arch/powerpc/lib/
H A Drheap.c140 blk->owner = NULL; get_slot()
361 blk->owner = NULL; rh_attach_region()
442 unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) rh_alloc_align() argument
506 newblk->owner = owner; rh_alloc_align()
517 unsigned long rh_alloc(rh_info_t * info, int size, const char *owner) rh_alloc() argument
519 return rh_alloc_align(info, size, info->alignment, owner); rh_alloc()
527 unsigned long rh_alloc_fixed(rh_info_t * info, unsigned long start, int size, const char *owner) rh_alloc_fixed() argument
569 blk->owner = owner; rh_alloc_fixed()
599 newblk1->owner = owner; rh_alloc_fixed()
669 stats->owner = blk->owner; list_for_each()
679 int rh_set_owner(rh_info_t * info, unsigned long start, const char *owner) rh_set_owner() argument
697 blk->owner = owner; rh_set_owner()
735 st[i].size, st[i].owner != NULL ? st[i].owner : ""); rh_dump()
/linux-4.1.27/drivers/pci/hotplug/
H A Dpci_hotplug_core.c71 if (!try_module_get(ops->owner)) \
77 module_put(ops->owner); \
110 if (!try_module_get(slot->ops->owner)) { power_write_file()
129 module_put(slot->ops->owner); power_write_file()
167 if (!try_module_get(ops->owner)) { attention_write_file()
173 module_put(ops->owner); attention_write_file()
233 if (!try_module_get(slot->ops->owner)) { test_write_file()
239 module_put(slot->ops->owner); test_write_file()
415 * @owner: caller module owner
425 struct module *owner, const char *mod_name) __pci_hp_register()
439 slot->ops->owner = owner; __pci_hp_register()
423 __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *bus, int devnr, const char *name, struct module *owner, const char *mod_name) __pci_hp_register() argument
/linux-4.1.27/kernel/irq/
H A Dirqdesc.c75 struct module *owner) desc_set_defaults()
91 desc->owner = owner; desc_set_defaults()
145 static struct irq_desc *alloc_desc(int irq, int node, struct module *owner) alloc_desc() argument
164 desc_set_defaults(irq, desc, node, owner); alloc_desc()
197 struct module *owner) alloc_descs()
203 desc = alloc_desc(start + i, node, owner); alloc_descs()
307 struct module *owner) alloc_descs()
314 desc->owner = owner; alloc_descs()
426 * @owner: Owning module (can be NULL)
432 struct module *owner) __irq_alloc_descs()
468 return alloc_descs(start, cnt, node, owner); __irq_alloc_descs()
74 desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, struct module *owner) desc_set_defaults() argument
196 alloc_descs(unsigned int start, unsigned int cnt, int node, struct module *owner) alloc_descs() argument
306 alloc_descs(unsigned int start, unsigned int cnt, int node, struct module *owner) alloc_descs() argument
431 __irq_alloc_descs(int irq, unsigned int from, unsigned int cnt, int node, struct module *owner) __irq_alloc_descs() argument
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_base.c312 if (!try_module_get(ops->owner)) { // protect this function appldata_generic_handler()
320 module_put(ops->owner); appldata_generic_handler()
329 module_put(ops->owner); appldata_generic_handler()
337 module_put(ops->owner); appldata_generic_handler()
344 if (!try_module_get(ops->owner)) { appldata_generic_handler()
346 module_put(ops->owner); appldata_generic_handler()
357 module_put(ops->owner); appldata_generic_handler()
368 module_put(ops->owner); appldata_generic_handler()
374 module_put(ops->owner); appldata_generic_handler()
H A Dappldata.h39 struct module *owner; /* THIS_MODULE */ member in struct:appldata_ops
/linux-4.1.27/drivers/net/ppp/
H A Dpppox.c118 !try_module_get(pppox_protos[protocol]->owner)) pppox_create()
123 module_put(pppox_protos[protocol]->owner); pppox_create()
131 .owner = THIS_MODULE,
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-common.c117 /* the owner is the same as the i2c_client's driver owner */ v4l2_i2c_subdev_init()
118 sd->owner = client->dev.driver->owner; v4l2_i2c_subdev_init()
160 if (!try_module_get(client->dev.driver->owner)) v4l2_i2c_new_subdev_board()
169 module_put(client->dev.driver->owner); v4l2_i2c_new_subdev_board()
251 /* the owner is the same as the spi_device's driver owner */ v4l2_spi_subdev_init()
252 sd->owner = spi->dev.driver->owner; v4l2_spi_subdev_init()
278 if (!try_module_get(spi->dev.driver->owner)) v4l2_spi_new_subdev()
289 module_put(spi->dev.driver->owner); v4l2_spi_new_subdev()
H A Dv4l2-device.c168 sd->owner == v4l2_dev->dev->driver->owner; v4l2_device_register_subdev()
170 if (!sd->owner_v4l2_dev && !try_module_get(sd->owner)) v4l2_device_register_subdev()
205 module_put(sd->owner); v4l2_device_register_subdev()
244 sd->owner); v4l2_device_register_subdev_nodes()
294 module_put(sd->owner); v4l2_device_unregister_subdev()
H A Dv4l2-clk.c100 ret = !try_module_get(clk->ops->owner); v4l2_clk_lock_driver()
113 module_put(clk->ops->owner); v4l2_clk_unlock_driver()
291 unsigned long rate, struct module *owner) __v4l2_clk_register_fixed()
301 priv->ops.owner = owner; __v4l2_clk_register_fixed()
290 __v4l2_clk_register_fixed(const char *dev_id, unsigned long rate, struct module *owner) __v4l2_clk_register_fixed() argument
/linux-4.1.27/drivers/net/irda/
H A Dsir_dongle.c100 if (!try_module_get(drv->owner)) { sirdev_get_dongle()
114 module_put(drv->owner); sirdev_get_dongle()
129 module_put(drv->owner);/* decrement driver's module refcount */ sirdev_put_dongle()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dspinlock.h17 * There is at most one owner of a spinlock. There are not different
22 * owner will soon give up the spinlock making it available to others. Use
88 * there is a write owner). These rwlocks are unfair to writers. Writers
/linux-4.1.27/net/sched/
H A Dsch_fifo.c107 .owner = THIS_MODULE,
122 .owner = THIS_MODULE,
137 .owner = THIS_MODULE,
H A Dsch_blackhole.c37 .owner = THIS_MODULE,
/linux-4.1.27/drivers/isdn/hisax/
H A Dhisax_if.h55 struct module *owner; member in struct:hisax_d_if
/linux-4.1.27/drivers/iio/accel/
H A Dst_accel_spi.c66 .owner = THIS_MODULE,
/linux-4.1.27/drivers/iio/gyro/
H A Dst_gyro_spi.c63 .owner = THIS_MODULE,
/linux-4.1.27/drivers/iio/magnetometer/
H A Dst_magn_spi.c60 .owner = THIS_MODULE,
/linux-4.1.27/drivers/iio/pressure/
H A Dst_pressure_spi.c59 .owner = THIS_MODULE,
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq_performance.c42 .owner = THIS_MODULE,
H A Dcpufreq_powersave.c42 .owner = THIS_MODULE,
/linux-4.1.27/arch/mips/include/asm/
H A Dclock.h24 struct module *owner; member in struct:clk
H A Dgio_device.h23 struct module *owner; member in struct:gio_driver
H A Djazzdma.h52 unsigned int owner; /* owner of this entry (0=free) */ member in struct:VDMA_PGTBL_ENTRY
/linux-4.1.27/drivers/tty/serial/
H A Dm32r_sio.h21 struct module *owner; member in struct:m32r_sio_probe
/linux-4.1.27/drivers/usb/serial/
H A Dio_tables.h100 .owner = THIS_MODULE,
132 .owner = THIS_MODULE,
164 .owner = THIS_MODULE,
196 .owner = THIS_MODULE,
/linux-4.1.27/arch/avr32/boards/merisc/
H A Dmerisc_sysfs.c49 .owner = THIS_MODULE,
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/
H A Ddma.h50 unsigned options, unsigned bandwidth, enum dma_owner owner);
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dcpuidle.c45 .owner = THIS_MODULE,
/linux-4.1.27/fs/autofs4/
H A Dinit.c24 .owner = THIS_MODULE,
/linux-4.1.27/net/ipv4/
H A Dtcp_scalable.c43 .owner = THIS_MODULE,
H A Dudplite.c41 .owner = THIS_MODULE,
79 .owner = THIS_MODULE,
/linux-4.1.27/sound/soc/sh/
H A Dsh7760-ac97.c31 .owner = THIS_MODULE,
/linux-4.1.27/include/keys/
H A Dasymmetric-parser.h22 struct module *owner; member in struct:asymmetric_key_parser
/linux-4.1.27/include/linux/fsl/bestcomm/
H A Dsram.h36 extern int bcom_sram_init(struct device_node *sram_node, char *owner);
/linux-4.1.27/include/linux/iio/
H A Dtrigger.h23 * @owner: used to monitor usage count of the trigger.
34 struct module *owner; member in struct:iio_trigger_ops
83 module_put(trig->ops->owner); iio_trigger_put()
90 __module_get(trig->ops->owner); iio_trigger_get()
/linux-4.1.27/sound/soc/samsung/
H A Dln2440sbc_alc650.c37 .owner = THIS_MODULE,
/linux-4.1.27/fs/ocfs2/dlm/
H A Ddlmconvert.c69 * local node is the owner of the lockres
265 u8 old_owner = res->owner; dlmconvert_remote()
294 "owner has already queued and sent ast to me. res %.*s, " dlmconvert_remote()
342 (old_owner != res->owner)) { dlmconvert_remote()
396 vec, veclen, res->owner, &status); dlm_send_remote_convert_request()
402 "message!\n", res->owner); dlm_send_remote_convert_request()
405 "message!\n", res->owner); dlm_send_remote_convert_request()
408 "message!\n", res->owner); dlm_send_remote_convert_request()
414 res->owner); dlm_send_remote_convert_request()
419 dlm_wait_for_node_death(dlm, res->owner, dlm_send_remote_convert_request()
423 "from convert message!\n", res->owner); dlm_send_remote_convert_request()
H A Ddlmunlock.c74 u8 owner);
108 u8 owner; dlmunlock_common() local
114 BUG_ON(res->owner != dlm->node_num); dlmunlock_common()
116 BUG_ON(res->owner == dlm->node_num); dlmunlock_common()
174 owner = res->owner; dlmunlock_common()
183 flags, owner); dlmunlock_common()
314 u8 owner) dlm_send_remote_unlock_request()
325 if (owner == dlm->node_num) { dlm_send_remote_unlock_request()
353 vec, veclen, owner, &status); dlm_send_remote_unlock_request()
361 "node %u\n", tmpret, DLM_UNLOCK_LOCK_MSG, dlm->key, owner); dlm_send_remote_unlock_request()
370 if (dlm_is_node_dead(dlm, owner)) dlm_send_remote_unlock_request()
458 if (res->owner != dlm->node_num) { dlm_unlock_lock_handler()
624 /* need to retry up here because owner may have changed */ dlmunlock()
628 is_master = (res->owner == dlm->node_num); dlmunlock()
309 dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, u8 owner) dlm_send_remote_unlock_request() argument
/linux-4.1.27/fs/dlm/
H A Dplock.c96 op->info.owner = (__u64) fl->fl_pid; do_unlock_close()
98 op->info.owner = (__u64)(long) fl->fl_owner; do_unlock_close()
134 op->info.owner = (__u64) fl->fl_pid; dlm_posix_lock()
141 op->info.owner = (__u64)(long) fl->fl_owner; dlm_posix_lock()
282 op->info.owner = (__u64) fl->fl_pid; dlm_posix_unlock()
284 op->info.owner = (__u64)(long) fl->fl_owner; dlm_posix_unlock()
343 op->info.owner = (__u64) fl->fl_pid; dlm_posix_get()
345 op->info.owner = (__u64)(long) fl->fl_owner; dlm_posix_get()
441 op->info.owner == info.owner) { dev_write()
484 .owner = THIS_MODULE,
/linux-4.1.27/drivers/isdn/hardware/eicon/
H A Dcapimain.c99 .owner = THIS_MODULE,
115 ctrl->owner = THIS_MODULE; diva_os_set_controller_struct()
/linux-4.1.27/drivers/md/
H A Ddm-cache-policy.c35 if (t && !try_module_get(t->owner)) { __get_policy_once()
76 module_put(t->owner); put_policy()
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-capture.c555 pr_debug("[vp%d] state: %#x, owner: %p, pid: %d\n", vp->id, s3c_camif_open()
556 vp->state, vp->owner, task_pid_nr(current)); s3c_camif_open()
587 pr_debug("[vp%d] state: %#x, owner: %p, pid: %d\n", vp->id, s3c_camif_close()
588 vp->state, vp->owner, task_pid_nr(current)); s3c_camif_close()
592 if (vp->owner == file->private_data) { s3c_camif_close()
595 vp->owner = NULL; s3c_camif_close()
615 if (vp->owner && vp->owner != file->private_data) s3c_camif_poll()
629 if (vp->owner && vp->owner != file->private_data) s3c_camif_mmap()
638 .owner = THIS_MODULE,
817 if (vp->owner == NULL) s3c_camif_vidioc_s_fmt()
818 vp->owner = priv; s3c_camif_vidioc_s_fmt()
867 if (vp->owner && vp->owner != priv) s3c_camif_streamon()
898 if (vp->owner && vp->owner != priv) s3c_camif_streamoff()
913 pr_debug("[vp%d] rb count: %d, owner: %p, priv: %p\n", s3c_camif_reqbufs()
914 vp->id, rb->count, vp->owner, priv); s3c_camif_reqbufs()
916 if (vp->owner && vp->owner != priv) s3c_camif_reqbufs()
922 vp->owner = NULL; s3c_camif_reqbufs()
935 if (vp->owner == NULL && rb->count > 0) s3c_camif_reqbufs()
936 vp->owner = priv; s3c_camif_reqbufs()
955 if (vp->owner && vp->owner != priv) s3c_camif_qbuf()
968 if (vp->owner && vp->owner != priv) s3c_camif_dqbuf()
980 if (vp->owner && vp->owner != priv) s3c_camif_create_bufs()
986 if (!ret && vp->owner == NULL) s3c_camif_create_bufs()
987 vp->owner = priv; s3c_camif_create_bufs()
/linux-4.1.27/drivers/s390/char/
H A Dtape_class.c69 tcd->char_device->owner = fops->owner; register_tape_dev()
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c110 res->vnic_idx, res->ctrl, !!res->owner); usnic_vnic_dump()
112 offset += printrow(res->owner, buf + offset, usnic_vnic_dump()
219 int cnt, void *owner) usnic_vnic_get_resources()
225 if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 1 || !owner) usnic_vnic_get_resources()
247 if (!res->owner) { usnic_vnic_get_resources()
249 res->owner = owner; usnic_vnic_get_resources()
273 res->owner = NULL; usnic_vnic_put_resources()
218 usnic_vnic_get_resources(struct usnic_vnic *vnic, enum usnic_vnic_res_type type, int cnt, void *owner) usnic_vnic_get_resources() argument
/linux-4.1.27/crypto/
H A Daf_alg.c35 .owner = THIS_MODULE,
53 if (try_module_get(node->type->owner)) alg_get_type()
78 type->ops->owner = THIS_MODULE; af_alg_register_type()
80 type->ops_nokey->owner = THIS_MODULE; af_alg_register_type()
119 module_put(type->owner); alg_do_release()
179 module_put(type->owner); alg_bind()
330 .owner = THIS_MODULE,
388 .owner = THIS_MODULE,
/linux-4.1.27/drivers/char/
H A Dscx200_gpio.c39 .owner = THIS_MODULE,
65 .owner = THIS_MODULE,
/linux-4.1.27/include/uapi/asm-generic/
H A Dstat.h28 unsigned int st_uid; /* User ID of the file's owner. */
53 unsigned int st_uid; /* User ID of the file's owner. */
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dcrunch-bits.S84 ldr r1, [r3] @ get current crunch owner
94 beq crunch_load @ no owner, skip save
220 ldr r1, [r3] @ get current crunch owner
221 teq r1, #0 @ any current owner?
223 teq r0, #0 @ any owner?
234 str r0, [r3] @ no more current owner
264 ldr r3, [r3] @ get current crunch owner
297 ldr r3, [r3] @ get current crunch owner
/linux-4.1.27/net/ipv6/
H A Dudplite.c37 .owner = THIS_MODULE,
98 .owner = THIS_MODULE,
/linux-4.1.27/arch/xtensa/kernel/
H A Dcoprocessor.S279 /* Retrieve previous owner. (a3 still holds CP number) */
285 beqz a4, 1f # skip 'save' if no previous owner
287 /* Disable coprocessor for previous owner. (a2 = 1 << CP number) */
295 * (a4 still holds previous owner (thread_info), a3 CP number)
314 /* Set new 'owner' (a0 points to the CP owner, a3 contains the CP nr) */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c169 * the owner parameter is slightly abused:
170 * 0 and 1 are treated as head values and so the set value is (owner * 3)
204 u8 owner = (select == 1) ? 3 : select; nv_wrvgaowner() local
211 nv_wrvgac(obj, 0, 0x44, owner); nv_wrvgaowner()
214 nv_wrvgac(obj, 0, 0x2e, owner); nv_wrvgaowner()
215 nv_wrvgac(obj, 0, 0x2e, owner); nv_wrvgaowner()
/linux-4.1.27/drivers/acpi/acpica/
H A Dutownerid.c55 * PARAMETERS: owner_id - Where the new owner ID is returned
59 * DESCRIPTION: Allocate a table or method owner ID. The owner ID is used to
89 * Find a free owner ID, cycle through all possible IDs on repeated acpi_ut_allocate_owner_id()
166 * DESCRIPTION: Release a table or method owner ID. Valid IDs are 1 - 255
206 /* Free the owner ID only if it is valid */ acpi_ut_release_owner_id()
/linux-4.1.27/drivers/pnp/pnpbios/
H A Dproc.c55 .owner = THIS_MODULE,
82 .owner = THIS_MODULE,
137 .owner = THIS_MODULE,
167 .owner = THIS_MODULE,
210 .owner = THIS_MODULE,
278 .owner = THIS_MODULE,
/linux-4.1.27/fs/
H A Dchar_dev.c258 cdev->owner = fops->owner; __register_chrdev()
324 struct module *owner = p->owner; cdev_get() local
327 if (owner && !try_module_get(owner)) cdev_get()
331 module_put(owner); cdev_get()
338 struct module *owner = p->owner; cdev_put() local
340 module_put(owner); cdev_put()
H A Dfcntl.c44 /* O_NOATIME can only be set by the owner or superuser */ setfl()
145 struct f_owner_ex owner; f_setown_ex() local
150 ret = copy_from_user(&owner, owner_p, sizeof(owner)); f_setown_ex()
154 switch (owner.type) { f_setown_ex()
172 pid = find_vpid(owner.pid); f_setown_ex()
173 if (owner.pid && !pid) f_setown_ex()
185 struct f_owner_ex owner; f_getown_ex() local
189 owner.pid = pid_vnr(filp->f_owner.pid); f_getown_ex()
192 owner.type = F_OWNER_TID; f_getown_ex()
196 owner.type = F_OWNER_PID; f_getown_ex()
200 owner.type = F_OWNER_PGRP; f_getown_ex()
211 ret = copy_to_user(owner_p, &owner, sizeof(owner)); f_getown_ex()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_debugfs.c92 .owner = THIS_MODULE,
134 .owner = THIS_MODULE,
160 .owner = THIS_MODULE,
187 .owner = THIS_MODULE,
279 .owner = THIS_MODULE,
368 .owner = THIS_MODULE,
432 .owner = THIS_MODULE,
/linux-4.1.27/drivers/rtc/
H A Dclass.c165 struct module *owner) rtc_device_register()
200 rtc->owner = owner; rtc_device_register()
306 * @owner: the module owner
318 struct module *owner) devm_rtc_device_register()
326 rtc = rtc_device_register(name, dev, ops, owner); devm_rtc_device_register()
163 rtc_device_register(const char *name, struct device *dev, const struct rtc_class_ops *ops, struct module *owner) rtc_device_register() argument
315 devm_rtc_device_register(struct device *dev, const char *name, const struct rtc_class_ops *ops, struct module *owner) devm_rtc_device_register() argument
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_usif.c304 u8 owner; usif_ioctl() local
314 owner = argv->v0.owner; usif_ioctl()
315 argv->v0.owner = NVDRM_OBJECT_USIF; usif_ioctl()
323 argv->v0.owner = NVIF_IOCTL_V0_OWNER_ANY; usif_ioctl()
354 argv->v0.owner = owner; usif_ioctl()
/linux-4.1.27/sound/soc/davinci/
H A Ddavinci-evm.c257 .owner = THIS_MODULE,
271 .owner = THIS_MODULE,
284 .owner = THIS_MODULE,
297 .owner = THIS_MODULE,
309 .owner = THIS_MODULE,
321 .owner = THIS_MODULE,
354 .owner = THIS_MODULE,
/linux-4.1.27/fs/nfsd/
H A Dnfs4acl.c190 unsigned short owner; member in struct:posix_acl_summary
216 pas->owner = pa->e_perm; FOREACH_ACL_ENTRY()
259 /* We could deny everything not granted by the owner: */ _posix_to_nfsv4_one()
260 deny = ~pas.owner; _posix_to_nfsv4_one()
457 struct posix_ace_state owner; member in struct:posix_acl_state
533 low_mode_from_nfs4(state->owner.allow, &pace->e_perm, flags); posix_state_to_acl()
644 allow_bits(&state->owner, mask); process_one_v4_ace()
646 deny_bits(&state->owner, mask); process_one_v4_ace()
656 deny_bits(&state->owner, mask); process_one_v4_ace()
665 deny_bits(&state->owner, mask); process_one_v4_ace()
678 deny_bits(&state->owner, mask); process_one_v4_ace()
687 allow_bits(&state->owner, mask); process_one_v4_ace()
694 deny_bits(&state->owner, mask); process_one_v4_ace()
/linux-4.1.27/net/irda/
H A Dirias_object.c240 int owner) irias_add_attrib()
249 attrib->value->owner = owner; irias_add_attrib()
313 int owner) irias_add_integer_attrib()
343 irias_add_attrib(obj, attrib, owner); irias_add_integer_attrib()
355 int len, int owner) irias_add_octseq_attrib()
386 irias_add_attrib(obj, attrib, owner); irias_add_octseq_attrib()
397 int owner) irias_add_string_attrib()
428 irias_add_attrib(obj, attrib, owner); irias_add_string_attrib()
239 irias_add_attrib(struct ias_object *obj, struct ias_attrib *attrib, int owner) irias_add_attrib() argument
312 irias_add_integer_attrib(struct ias_object *obj, char *name, int value, int owner) irias_add_integer_attrib() argument
354 irias_add_octseq_attrib(struct ias_object *obj, char *name, __u8 *octets, int len, int owner) irias_add_octseq_attrib() argument
396 irias_add_string_attrib(struct ias_object *obj, char *name, char *value, int owner) irias_add_string_attrib() argument
/linux-4.1.27/drivers/isdn/capi/
H A Dkcapi_proc.c122 .owner = THIS_MODULE,
130 .owner = THIS_MODULE,
232 .owner = THIS_MODULE,
240 .owner = THIS_MODULE,
291 .owner = THIS_MODULE,

Completed in 8565 milliseconds

1234567891011>>