Searched refs:acquire (Results 1 - 200 of 509) sorted by relevance

123

/linux-4.1.27/include/linux/
H A Dww_mutex.h96 * ww_acquire_init - initialize a w/w acquire context
97 * @ctx: w/w acquire context to initialize
100 * Initializes an context to acquire multiple mutexes of the given w/w class.
112 * Nesting of acquire contexts for _different_ w/w classes is possible, subject
115 * An acquire context must be released with ww_acquire_fini by the same task
143 * ww_acquire_done - marks the end of the acquire phase
144 * @ctx: the acquire context
146 * Marks the end of the acquire phase, any further w/w mutex lock calls using
150 * code and clearly designated the acquire phase from actually using the locked
164 * ww_acquire_fini - releases a w/w acquire context
165 * @ctx: the acquire context to free
167 * Releases a w/w acquire context. This must be called _after_ all acquired w/w
195 * ww_mutex_lock - acquire the w/w mutex
197 * @ctx: w/w acquire context, or NULL to acquire only a single lock.
204 * for backing off by returning -EDEADLK (wound case). Trying to acquire the
210 * calling ww_mutex_lock_slow. Alternatively callers can opt to not acquire this
211 * lock and proceed with trying to acquire further w/w mutexes (e.g. when
219 * of the same w/w lock class as was used to initialize the acquire context.
233 * ww_mutex_lock_interruptible - acquire the w/w mutex, interruptible
235 * @ctx: w/w acquire context
242 * for backing off by returning -EDEADLK (wound case). Trying to acquire the
250 * not acquire this lock and proceed with trying to acquire further w/w mutexes
258 * of the same w/w lock class as was used to initialize the acquire context.
274 * @ctx: w/w acquire context
282 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
308 * @ctx: w/w acquire context
318 * Afterwards the caller may continue to (re)acquire the other w/w mutexes it
343 * ww_mutex_trylock - tries to acquire the w/w mutex without acquire context
346 * Trylocks a mutex without acquire context, so no deadlock detection is
H A Dblk-iopoll.h23 * that we were the first to acquire this iop for scheduling. If this iop
H A Ddcookies.h37 * get_dcookie - acquire a dcookie
H A Dspinlock_api_smp.h102 * not re-enabled during lock-acquire (which the preempt-spin-ops do):
116 * that interrupts are not re-enabled during lock-acquire: __raw_spin_lock_irqsave()
H A Dvgaarb.h77 * vga_get - acquire & locks VGA resources
80 * @rsrc: bit mask of resources to acquire and lock
135 * vga_tryget - try to acquire & lock legacy VGA resources
138 * @rsrc: bit mask of resources to acquire and lock
H A Dbit_spinlock.h22 * attempt to acquire the lock bit. bit_spin_lock()
H A Dlockdep.h275 * rwlocks, mutexes and rwsems) to pass init/acquire/release events
323 * 0: exclusive (write) acquire
324 * 1: read-acquire (no recursion allowed)
325 * 2: read-acquire with same-instance recursion allowed
454 * that interrupts are not re-enabled during lock-acquire:
H A Dmutex.h43 * - point-of-acquire tracking, symbolic lookup of function names
H A Drwsem.h143 * (which occurs if the same task tries to acquire the same
H A Drwlock_api_smp.h142 * not re-enabled during lock-acquire (which the preempt-spin-ops do):
H A Ddlm.h101 * Make an asynchronous request to acquire or convert a lock on a named
H A Dsrcu.h207 * one way to indirectly wait on an SRCU grace period is to acquire
/linux-4.1.27/kernel/locking/
H A Dsemaphore.c24 * The ->count variable represents how many more tasks can acquire this
43 * down - acquire the semaphore
46 * Acquires the semaphore. If no more tasks are allowed to acquire the
67 * down_interruptible - acquire the semaphore unless interrupted
70 * Attempts to acquire the semaphore. If no more tasks are allowed to
71 * acquire the semaphore, calling this function will put the task to sleep.
92 * down_killable - acquire the semaphore unless killed
95 * Attempts to acquire the semaphore. If no more tasks are allowed to
96 * acquire the semaphore, calling this function will put the task to sleep.
118 * down_trylock - try to acquire the semaphore, without waiting
121 * Try to acquire the semaphore atomically. Returns 0 if the semaphore has
146 * down_timeout - acquire the semaphore within a specified time
150 * Attempts to acquire the semaphore. If no more tasks are allowed to
151 * acquire the semaphore, calling this function will put the task to sleep.
H A Dmcs_spinlock.h8 * to acquire the lock spinning on a local variable.
54 * In order to acquire the lock, the caller should declare a local node and
74 * However, since this thread can immediately acquire the lock mcs_spin_lock()
89 * was used to acquire the lock.
H A Dqrwlock.c43 * queue_read_lock_slowpath - acquire read lock of a queue rwlock
90 * queue_write_lock_slowpath - acquire write lock of a queue rwlock
100 /* Try to acquire the lock directly if no reader is present */ queue_write_lock_slowpath()
H A Dmutex.c75 * mutex_lock - acquire the mutex
114 * If this WARN_ON triggers, you used ww_mutex_lock to acquire, ww_mutex_lock_acquired()
129 * acquire a different ww_mutex? Bad! ww_mutex_lock_acquired()
171 * and keep spinning, or it will acquire wait_lock, add itself ww_mutex_set_context_fastpath()
316 * acquire the mutex all at once, the spinners need to take a mutex_optimistic_spin()
349 /* Try to acquire the mutex if it is unlocked. */ mutex_optimistic_spin()
447 * ww_mutex_lock* functions (with or without an acquire context). It is
448 * forbidden to release the locks after releasing the acquire context.
532 * Once more, try to acquire the lock. Only try-lock the mutex if __mutex_lock_common()
551 * acquire the lock), to make sure that we get a wakeup once __mutex_lock_common()
724 * wakeup related duties to follow. This allows other tasks to acquire __mutex_unlock_common_slowpath()
778 * mutex_lock_interruptible - acquire the mutex, interruptible
889 * mutex_trylock - try to acquire the mutex, without waiting
892 * Try to acquire the mutex atomically. Returns 1 if the mutex
H A Drtmutex.c29 * NULL 0 lock is free (fast acquire possible)
35 * The fast atomic compare exchange based acquire and release is only
73 * We can speed up the acquire/release, if the architecture
108 * acquire(lock);
122 * acquire(lock);
389 * [1] lock(task->pi_lock); [R] acquire [P]
393 * [5] if (!try_lock(lock->wait_lock)) { [P] try to acquire [L]
403 * get_task_struct(task); [L] acquire [R]
404 * lock(task->pi_lock); [L] acquire [P]
749 * @task: The task which wants to acquire the lock
759 * Before testing whether we can acquire @lock, we set the try_to_take_rt_mutex()
797 * We can acquire the lock. Remove the waiter from the try_to_take_rt_mutex()
807 * If there are no other waiters, @task can acquire try_to_take_rt_mutex()
997 * acquire it in order to dequeue the waiter. wakeup_next_waiter()
1107 /* Try to acquire the lock: */ __rt_mutex_slowlock()
1176 /* Try to acquire the lock again: */ rt_mutex_slowlock()
1238 * try to acquire the lock. rt_mutex_slowtrylock()
1321 * The atomic acquire/release ops are compiled away, when either the
H A Drtmutex-debug.c112 printk("\n1) %s/%d is trying to acquire this lock:\n", debug_rt_mutex_print_deadlock()
H A Drwsem-xadd.c278 * Try to acquire write lock before the writer has been put on wait queue.
420 * Wait until we successfully acquire the write lock
438 * and block until we can acquire the sem. rwsem_down_write_failed()
466 /* wait until we successfully acquire the lock */ rwsem_down_write_failed()
H A Dpercpu-rwsem.c38 * The nontrivial part is that we should guarantee acquire/release semantics
H A Drwsem-spinlock.c76 * lock - it will have to acquire it when it runs. */ __rwsem_do_wake()
H A Dspinlock.c27 * not re-enabled during lock-acquire (which the preempt-spin-ops do):
H A Dspinlock_debug.c124 * specific lock code a chance to acquire the lock. We have already __spin_lock_debug()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_modeset_lock.c33 * to use ww_mutex and acquire-contexts to avoid deadlocks. But because
35 * of extra utility/tracking out of our acquire-ctx. This is provided
160 * drm_modeset_lock_crtc - lock crtc with hidden acquire ctx for a plane update
165 * primary or cursor plane) using a hidden acquire context. This is necessary so
167 * with the lock acquire context.
219 * drm_modeset_legacy_acquire_ctx - find acquire ctx for legacy ioctls
223 * locking, and store the acquire ctx in the corresponding crtc. All other
224 * legacy operations take all locks and use a global acquire context. This
243 * This drops the crtc lock acquire with drm_modeset_lock_crtc() and all other
284 * drm_modeset_acquire_init - initialize acquire context
285 * @ctx: the acquire context
298 * drm_modeset_acquire_fini - cleanup acquire context
299 * @ctx: the acquire context
309 * @ctx: the acquire context
311 * Drop all locks currently held against this acquire context.
384 * @ctx: the acquire context
398 * @ctx: the acquire context
411 * @ctx: acquire ctx
413 * If ctx is not NULL, then its ww acquire context is used and the
433 * @ctx: acquire ctx
H A Ddrm_atomic.c857 * function must acquire the connection mutex. This can potentially cause
959 * Note that this function can return -EDEADLK if the driver needed to acquire
1018 * Note that this function can return -EDEADLK if the driver needed to acquire
1049 * Note that this function can return -EDEADLK if the driver needed to acquire
H A Ddrm_agpsupport.c94 * \param dev DRM device that is to acquire AGP.
/linux-4.1.27/arch/tile/include/asm/
H A Dspinlock_32.h97 * arch_read_lock() - acquire a read lock.
102 * arch_write_lock() - acquire a write lock.
107 * arch_read_trylock() - try to acquire a read lock.
112 * arch_write_trylock() - try to acquire a write lock.
H A Dspinlock_64.h37 * i.e. the number that the next task to try to acquire the lock will get.
/linux-4.1.27/arch/metag/include/asm/
H A Dglobal_lock.h14 * No other hardware thread will be able to acquire the voluntary or exclusive
16 * may continue to execute as long as they aren't trying to acquire either of
39 * This immediately allows another hardware thread to acquire the voluntary or
86 * of them to acquire locks.
H A Dspinlock_lock1.h35 /* Returns 0 if failed to acquire lock */ arch_spin_trylock()
H A Dspinlock_lnkget.h44 /* Returns 0 if failed to acquire lock */ arch_spin_trylock()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Daux.c31 int ret = i2c->acquire(port, 0); nv_rdaux()
46 int ret = i2c->acquire(port, 0); nv_wraux()
67 ret = i2c->acquire(port, 0); aux_xfer()
H A Dbit.c189 ret = nvkm_i2c(port)->acquire(port, nsecs_to_jiffies(T_TIMEOUT)); i2c_bit_xfer()
H A Dbase.c48 return nvkm_i2c(port)->acquire(port, bit->timeout); nvkm_i2c_pre_xfer()
532 i2c->acquire = nvkm_i2c_acquire; nvkm_i2c_create_()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Das102_fe.h23 int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);
H A Ddibx000_common.c18 dprintk("could not acquire lock"); dibx000_write_word()
44 dprintk("could not acquire lock"); dibx000_read_word()
293 dprintk("could not acquire lock"); dibx000_i2c_gated_gpio67_xfer()
340 dprintk("could not acquire lock"); dibx000_i2c_gated_tuner_xfer()
437 dprintk("could not acquire lock"); dibx000_init_i2c_master()
H A Das102_fe.c402 static int as102_fe_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) as102_fe_ts_bus_ctrl() argument
406 return state->ops->stream_ctrl(state->priv, acquire, as102_fe_ts_bus_ctrl()
H A Dbcm3510_priv.h183 /* acquire */
448 u8 MODE_TYPE :4; /* acquire mode 0 */
H A Ddib0070.c90 dprintk("could not acquire lock"); dib0070_read_reg()
122 dprintk("could not acquire lock"); dib0070_write_reg()
H A Dcx22700.c342 cx22700_writereg (state, 0x00, 0x01); /* restart acquire */ cx22700_set_frontend()
H A Dlgdt3306a.c327 static int lgdt3306a_ts_bus_ctrl(struct dvb_frontend *fe, int acquire) lgdt3306a_ts_bus_ctrl() argument
331 dbg_info("acquire=%d\n", acquire); lgdt3306a_ts_bus_ctrl()
333 return lgdt3306a_mpeg_tristate(state, acquire ? 0 : 1); lgdt3306a_ts_bus_ctrl()
/linux-4.1.27/include/asm-generic/bitops/
H A Dlock.h9 * This operation is atomic and provides acquire barrier semantics.
/linux-4.1.27/include/asm-generic/
H A Dqrwlock.h61 * queue_read_trylock - try to acquire read lock of a queue rwlock
80 * queue_write_trylock - try to acquire write lock of a queue rwlock
96 * queue_read_lock - acquire read lock of a queue rwlock
112 * queue_write_lock - acquire write lock of a queue rwlock
H A Dmutex-xchg.h30 * We failed to acquire the lock, so mark it contended __mutex_fastpath_lock()
77 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
H A Dmutex-dec.h66 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
/linux-4.1.27/drivers/acpi/acpica/
H A Devglock.c194 * Note: The original implementation allowed multiple threads to "acquire" the
199 * allows only one thread to acquire the HW Global Lock at a time, and makes
213 * Only one thread can acquire the GL at a time, the global_lock_mutex acpi_ev_acquire_global_lock()
226 * here to properly handle the case where a single thread may acquire the acpi_ev_acquire_global_lock()
228 * handle is therefore updated on the first acquire from a given thread acpi_ev_acquire_global_lock()
249 /* Attempt to acquire the actual hardware lock */ acpi_ev_acquire_global_lock()
H A Dutmutex.c256 "Invalid acquire order: Thread %u owns [%s], wants [%s]", acpi_ut_acquire_mutex()
268 "Thread %u attempting to acquire Mutex [%s]\n", acpi_ut_acquire_mutex()
284 "Thread %u could not acquire Mutex [0x%X]", acpi_ut_acquire_mutex()
H A Dexutils.c95 "Could not acquire AML Interpreter mutex")); acpi_ex_enter_interpreter()
117 * 4) Method will be blocked to acquire the global lock
214 "Could not acquire Global Lock")); acpi_ex_acquire_global_lock()
H A Drsxface.c145 * specific bus. The caller must first acquire a handle for the
191 * specific device. The caller must first acquire a handle for ACPI_EXPORT_SYMBOL()
236 * for a specific device. The caller must first acquire a handle ACPI_EXPORT_SYMBOL()
278 * specific device. The caller must first acquire a handle for ACPI_EXPORT_SYMBOL()
323 * specific device. The caller must first acquire a handle for ACPI_EXPORT_SYMBOL()
H A Dexmutex.c240 "Cannot acquire Mutex [%4.4s], null thread info", acpi_ex_acquire_mutex()
251 "Cannot acquire Mutex [%4.4s], current SyncLevel is too large (%u)", acpi_ex_acquire_mutex()
455 * method to acquire a mutex, and a different method to release it, as long as
H A Dutlock.c156 * DESCRIPTION: Writer interfaces for reader/writer locks. Simply acquire or
H A Dtbxfload.c265 /* Must acquire the interpreter lock during this operation */ ACPI_EXPORT_SYMBOL_INIT()
356 /* Must acquire the interpreter lock during this operation */ ACPI_EXPORT_SYMBOL()
H A Ddsmethod.c341 * If this method is serialized, we need to acquire the method mutex. acpi_ds_begin_method_execution()
373 "Cannot acquire Mutex for method [%4.4s], current SyncLevel is too large (%u)", acpi_ds_begin_method_execution()
381 * Obtain the method mutex if necessary. Do not acquire mutex for a acpi_ds_begin_method_execution()
H A Devxface.c1045 * Note: Allows callers with the same thread ID to acquire the global lock ACPI_EXPORT_SYMBOL()
1047 * is identical to an AML mutex. On the first acquire, a new handle is ACPI_EXPORT_SYMBOL()
1048 * returned. On any subsequent calls to acquire by the same thread, the same ACPI_EXPORT_SYMBOL()
H A Dtbinstal.c191 "Could not acquire table length at %8.8X%8.8X", acpi_tb_install_fixed_table()
251 "Could not acquire table length at %8.8X%8.8X", acpi_tb_install_standard_table()
H A Ddsinit.c223 * We don't use acpi_walk_namespace since we do not want to acquire acpi_ds_initialize_objects()
H A Dnsdump.c667 acpi_os_printf("Could not acquire namespace mutex\n"); acpi_ns_dump_objects()
791 acpi_os_printf("Could not acquire namespace mutex\n"); acpi_ns_dump_object_paths()
H A Dhwxface.c287 * DESCRIPTION: ACPI bit_register read function. Does not acquire the HW lock. ACPI_EXPORT_SYMBOL()
H A Dnseval.c231 * Any namespace deletion must acquire both the namespace and acpi_ns_evaluate()
H A Dtbdata.c610 * Need to acquire the namespace writer lock to prevent interference acpi_tb_delete_namespace_by_owner()
/linux-4.1.27/arch/arm64/include/asm/
H A Dspinlock.h25 * The memory barriers are implicit with the load-acquire and store-release
118 * The memory barriers are implicit with the load-acquire and store-release
173 * The memory barriers are implicit with the load-acquire and store-release
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c224 struct vfpf_acquire_tlv *req = &bp->vf2pf_mbox->req.acquire; bnx2x_vfpf_acquire()
269 DP(BNX2X_MSG_SP, "attempting to acquire resources\n"); bnx2x_vfpf_acquire()
271 /* send acquire request */ bnx2x_vfpf_acquire()
280 /* copy acquire response from buffer to bp */ bnx2x_vfpf_acquire()
321 /* Determine reason of PF failure of acquire process */ bnx2x_vfpf_acquire()
352 /* Since acquire succeeded on the PF side, we need to send a bnx2x_vfpf_acquire()
1282 struct vfpf_acquire_tlv *acquire) bnx2x_vf_mbx_is_windows_vm()
1289 if (!acquire->bulletin_addr || bnx2x_vf_mbx_is_windows_vm()
1290 acquire->resc_request.num_mc_filters == 32 || bnx2x_vf_mbx_is_windows_vm()
1291 ((acquire->vfdev_info.vf_os & VF_OS_MASK) == bnx2x_vf_mbx_is_windows_vm()
1310 if (bnx2x_vf_mbx_is_windows_vm(bp, &mbx->msg->req.acquire)) bnx2x_vf_mbx_acquire_chk_dorq()
1320 struct vfpf_acquire_tlv *acquire = &mbx->msg->req.acquire; bnx2x_vf_mbx_acquire() local
1325 vf->abs_vfid, acquire->vfdev_info.vf_id, acquire->vfdev_info.vf_os, bnx2x_vf_mbx_acquire()
1326 acquire->resc_request.num_rxqs, acquire->resc_request.num_txqs, bnx2x_vf_mbx_acquire()
1327 acquire->resc_request.num_sbs, acquire->resc_request.num_mac_filters, bnx2x_vf_mbx_acquire()
1328 acquire->resc_request.num_vlan_filters, bnx2x_vf_mbx_acquire()
1329 acquire->resc_request.num_mc_filters); bnx2x_vf_mbx_acquire()
1338 "VF [%d] - Can't support acquire request due to doorbell mismatch. Please update VM driver\n", bnx2x_vf_mbx_acquire()
1346 if (bnx2x_vf_mbx_is_windows_vm(bp, &mbx->msg->req.acquire)) bnx2x_vf_mbx_acquire()
1347 vf->fp_hsi = acquire->vfdev_info.fp_hsi_ver; bnx2x_vf_mbx_acquire()
1349 vf->fp_hsi = max_t(u8, acquire->vfdev_info.fp_hsi_ver, bnx2x_vf_mbx_acquire()
1353 "VF [%d] - Can't support acquire request since VF requests a FW version which is too new [%02x > %02x]\n", bnx2x_vf_mbx_acquire()
1354 vf->abs_vfid, acquire->vfdev_info.fp_hsi_ver, bnx2x_vf_mbx_acquire()
1360 /* acquire the resources */ bnx2x_vf_mbx_acquire()
1361 rc = bnx2x_vf_acquire(bp, vf, &acquire->resc_request); bnx2x_vf_mbx_acquire()
1364 vf->bulletin_map = acquire->bulletin_addr; bnx2x_vf_mbx_acquire()
1365 if (acquire->vfdev_info.caps & VF_CAP_SUPPORT_EXT_BULLETIN) { bnx2x_vf_mbx_acquire()
1281 bnx2x_vf_mbx_is_windows_vm(struct bnx2x *bp, struct vfpf_acquire_tlv *acquire) bnx2x_vf_mbx_is_windows_vm() argument
H A Dbnx2x_vfpf.h165 /* acquire response tlv - carries the allocated resources */
183 * acquire request
361 struct vfpf_acquire_tlv acquire; member in union:vfpf_tlvs
/linux-4.1.27/fs/jffs2/
H A Dsymlink.c38 * We don't acquire the f->sem mutex here since the only data we jffs2_follow_link()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c34 err("could not acquire lock"); dib0700_get_version()
120 err("could not acquire lock"); dib0700_set_gpio()
141 err("could not acquire lock"); dib0700_set_usb_xfer_len()
230 err("could not acquire lock"); dib0700_i2c_xfer_new()
277 err("could not acquire lock"); dib0700_i2c_xfer_legacy()
373 err("could not acquire lock"); dib0700_set_clock()
405 err("could not acquire lock"); dib0700_set_i2c_speed()
612 err("could not acquire lock"); dib0700_change_protocol()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-memops.c26 * vb2_get_vma() - acquire and lock the virtual memory area
29 * This function attempts to acquire an area mapped in the userspace for
H A Dv4l2-device.c161 * The reason to acquire the module here is to avoid unloading v4l2_device_register_subdev()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Dchannel.h414 /* throttle until acquire successful */ spar_channel_client_acquire_os()
416 pr_info("%s Channel StateTransition INVALID! - acquire failed because OS client DISABLED\n", spar_channel_client_acquire_os()
437 pr_info("%s Channel OS client acquire now successful\n", spar_channel_client_acquire_os()
454 /* throttle until acquire successful */ spar_channel_client_acquire_os()
455 pr_info("%s Channel StateTransition INVALID! - acquire failed because OS client NOT ATTACHED (state=%s(%d))\n", spar_channel_client_acquire_os()
471 /* throttle until acquire successful */ spar_channel_client_acquire_os()
472 pr_info("%s Channel StateTransition failed - host OS acquire failed because boot BUSY\n", spar_channel_client_acquire_os()
482 pr_info("%s Channel OS client acquire now successful\n", id); spar_channel_client_acquire_os()
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Diop_fw_load.c85 /* acquire ownership of memory controller */ iop_fw_load_spu()
102 printk(KERN_ERR "Timeout waiting to acquire MC\n"); iop_fw_load_spu()
/linux-4.1.27/arch/m68k/atari/
H A Dstdma.c63 * stdma_try_lock - attempt to acquire ST DMA interrupt "lock"
143 * @handler: interrupt handler previously used to acquire lock.
/linux-4.1.27/include/drm/
H A Ddrm_modeset_lock.h33 * @ww_ctx: base acquire ctx
38 * Each thread competing for a set of locks must use one acquire
/linux-4.1.27/arch/x86/include/asm/
H A Dmutex_64.h109 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
H A Dmutex_32.h89 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmutex.h116 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
/linux-4.1.27/arch/ia64/include/asm/
H A Dmutex.h68 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting
H A Dbarrier.h82 * acquire vs release semantics but we can't discuss this stuff with
/linux-4.1.27/fs/gfs2/
H A Dlog.h19 * gfs2_log_lock - acquire the right to mess with the log manager
H A Dops_fstype.c405 fs_err(sdp, "can't acquire mount glock: %d\n", error); init_locking()
415 fs_err(sdp, "can't acquire live glock: %d\n", error); init_locking()
478 fs_err(sdp, "can't acquire superblock glock: %d\n", ret); init_sb()
702 fs_err(sdp, "can't acquire journal glock: %d\n", error); init_journal()
711 fs_err(sdp, "can't acquire journal inode glock: %d\n", init_journal()
H A Dglock.h58 * Don't wait to acquire the lock if it can't be granted immediately.
H A Dglock.c998 * gfs2_glock_nq - enqueue a struct gfs2_holder onto a glock (acquire a glock)
1117 * gfs2_glock_nq_num - acquire a glock based on lock number
1121 * @state: the state to acquire the glock in
1167 * nq_m_sync - synchonously acquire more than one glock in deadlock free order
1201 * gfs2_glock_nq_m - acquire multiple glocks
/linux-4.1.27/drivers/usb/host/
H A Dohci-nxp.c201 dev_err(&pdev->dev, "failed to acquire USB PLL\n"); ohci_hcd_nxp_probe()
221 dev_err(&pdev->dev, "failed to acquire USB DEV Clock\n"); ohci_hcd_nxp_probe()
235 dev_err(&pdev->dev, "failed to acquire USB DEV Clock\n"); ohci_hcd_nxp_probe()
H A Duhci-platform.c129 * do not acquire the spinlock before shutting down the controller.
H A Duhci-grlib.c168 * do not acquire the spinlock before shutting down the controller.
H A Duhci-pci.c154 * do not acquire the spinlock before shutting down the controller.
/linux-4.1.27/drivers/w1/masters/
H A Domap_hdq.c302 dev_dbg(hdq_data->dev, "Could not acquire mutex\n"); omap_hdq_break()
485 dev_dbg(hdq_data->dev, "Could not acquire mutex\n"); omap_w1_read_byte()
498 dev_dbg(hdq_data->dev, "Could not acquire mutex\n"); omap_w1_read_byte()
522 dev_dbg(hdq_data->dev, "Could not acquire mutex\n"); omap_w1_write_byte()
539 dev_dbg(hdq_data->dev, "Could not acquire mutex\n"); omap_w1_write_byte()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A De1000_i210.c132 * @mask: specifies which semaphore to acquire
178 * @mask: specifies which semaphore to acquire
220 if (!(hw->nvm.ops.acquire(hw))) { igb_read_nvm_srrd_i210()
320 if (!(hw->nvm.ops.acquire(hw))) { igb_write_nvm_srwr_i210()
562 if (!(hw->nvm.ops.acquire(hw))) { igb_validate_nvm_checksum_i210()
608 if (!(hw->nvm.ops.acquire(hw))) { igb_update_nvm_checksum_i210()
817 nvm->ops.acquire = igb_acquire_nvm_i210; igb_init_nvm_params_i210()
H A De1000_hw.h332 s32 (*acquire)(struct e1000_hw *); member in struct:e1000_phy_operations
350 s32 (*acquire)(struct e1000_hw *); member in struct:e1000_nvm_operations
H A De1000_nvm.c198 hw_dbg("Could not acquire NVM grant\n"); igb_acquire_nvm()
342 ret_val = nvm->ops.acquire(hw); igb_read_nvm_spi()
447 ret_val = nvm->ops.acquire(hw); igb_write_nvm_spi()
H A De1000_82575.c347 nvm->ops.acquire = igb_acquire_nvm_82575; igb_init_nvm_params_82575()
744 ret_val = hw->phy.ops.acquire(hw); igb_read_phy_reg_sgmii_82575()
776 ret_val = hw->phy.ops.acquire(hw); igb_write_phy_reg_sgmii_82575()
1117 * @mask: specifies which semaphore to acquire
1166 * @mask: specifies which semaphore to acquire
2128 ret_val = hw->phy.ops.acquire(hw); igb_read_phy_reg_82580()
2153 ret_val = hw->phy.ops.acquire(hw); igb_write_phy_reg_82580()
2864 .acquire = igb_acquire_phy_82575,
2872 .acquire = igb_acquire_nvm_82575,
H A De1000_phy.c406 if (!(hw->phy.ops.acquire)) igb_read_phy_reg_igp()
409 ret_val = hw->phy.ops.acquire(hw); igb_read_phy_reg_igp()
445 if (!(hw->phy.ops.acquire)) igb_write_phy_reg_igp()
448 ret_val = hw->phy.ops.acquire(hw); igb_write_phy_reg_igp()
2091 ret_val = phy->ops.acquire(hw); igb_phy_hw_reset()
2429 ret_val = hw->phy.ops.acquire(hw); igb_write_phy_reg_gs40g()
2459 ret_val = hw->phy.ops.acquire(hw); igb_read_phy_reg_gs40g()
/linux-4.1.27/tools/perf/
H A Dbuiltin-lock.c73 * UNINITIALIZED is required for detecting first event of acquire.
75 * that the first event for the locks are acquire,
95 * 1) acquire -> acquired -> release
96 * 2) acquire -> contended -> acquired -> release
97 * 3) acquire (with read or try) -> release
692 { "acquire", "acquired", "contended", "release" }; print_bad_events()
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dmixer_drv.c304 mxr_err(mdev, "resources acquire failed\n"); mxr_acquire_resources()
333 mxr_err(mdev, "failed to acquire layers\n"); mxr_acquire_layers()
433 /* acquire resources: regs, irqs, clocks, regulators */ mxr_probe()
H A Dsdo_drv.c377 /* acquire clocks */ sdo_probe()
412 /* acquire regulator */ sdo_probe()
H A Dsii9234_drv.c335 dev_err(dev, "failed to acquire regulator hdmi-en\n"); sii9234_probe()
342 dev_err(dev, "failed to acquire MHL_RST gpio\n"); sii9234_probe()
/linux-4.1.27/drivers/input/touchscreen/
H A Djornada720_ts.c133 dev_err(&pdev->dev, "HP7XX TS : Unable to acquire irq!\n"); jornada720_ts_probe()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Di2c.h69 int (*acquire)(struct nvkm_i2c_port *, unsigned long timeout); member in struct:nvkm_i2c
/linux-4.1.27/drivers/ata/
H A Dpata_isapnp.c68 /* acquire resources and fill host */ isapnp_init_one()
H A Dpata_ixp4xx_cf.c160 /* acquire resources and fill host */ ixp4xx_pata_probe()
H A Dpata_hpt3x3.c212 /* acquire resources and fill host */ hpt3x3_init_one()
H A Dpata_sil680.c363 /* Try to acquire MMIO resources and fallback to PIO if sil680_init_one()
H A Dacard-ahci.c419 /* acquire resources */ acard_ahci_init_one()
H A Dpdc_adma.c625 /* acquire resources and fill host */ adma_ata_init_one()
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h123 * the acquire/release and did a full fence all the time. Unfortunately
/linux-4.1.27/drivers/media/usb/as102/
H A Das102_drv.c263 static int as102_stream_ctrl(void *priv, int acquire, uint32_t elna_cfg) as102_stream_ctrl() argument
271 if (acquire) { as102_stream_ctrl()
/linux-4.1.27/arch/tile/lib/
H A Dspinlock_32.c124 * Spin doing arch_read_trylock() until we acquire the lock.
161 * it could be interrupted by code that could try to re-acquire it.
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dbase.c58 /* acquire data segment access */ nvkm_pmu_send()
97 /* acquire data segment access */ nvkm_pmu_recv()
H A Dmemx.c63 /* acquire data segment access */ nvkm_memx_init()
/linux-4.1.27/net/core/
H A Drequest_sock.c154 * e.g., in inet_csk_listen_stop() do we not need to acquire the lock.
163 * acquire a child's lock while holding listener's socket lock. A corner
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c110 printk(KERN_ERR "%s() acquire transition failed, ret = 0x%x\n", saa7164_dvb_acquire_port()
179 printk(KERN_ERR "%s() acquire transition failed, res = 0x%x\n", saa7164_dvb_start_port()
185 printk(KERN_ERR "%s() acquire/forced stop transition " saa7164_dvb_start_port()
H A Dsaa7164-encoder.c912 printk(KERN_ERR "%s() acquire transition failed, ret = 0x%x\n", saa7164_encoder_acquire_port()
1015 printk(KERN_ERR "%s() acquire transition failed, res = 0x%x\n", saa7164_encoder_start_streaming()
1021 printk(KERN_ERR "%s() acquire/forced stop transition " saa7164_encoder_start_streaming()
/linux-4.1.27/include/acpi/
H A Dacexcep.h245 "Internal error, attempt was made to acquire a mutex in improper order"),
249 "An attempt to release a mutex or Global Lock without a previous acquire"),
251 "Internal error, attempt was made to acquire a mutex twice"),
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dphy.c268 ret_val = hw->phy.ops.acquire(hw); e1000e_read_phy_reg_m88()
293 ret_val = hw->phy.ops.acquire(hw); e1000e_write_phy_reg_m88()
340 if (!hw->phy.ops.acquire) __e1000e_read_phy_reg_igp()
343 ret_val = hw->phy.ops.acquire(hw); __e1000e_read_phy_reg_igp()
407 if (!hw->phy.ops.acquire) __e1000e_write_phy_reg_igp()
410 ret_val = hw->phy.ops.acquire(hw); __e1000e_write_phy_reg_igp()
475 if (!hw->phy.ops.acquire) __e1000_read_kmrn_reg()
478 ret_val = hw->phy.ops.acquire(hw); __e1000_read_kmrn_reg()
548 if (!hw->phy.ops.acquire) __e1000_write_kmrn_reg()
551 ret_val = hw->phy.ops.acquire(hw); __e1000_write_kmrn_reg()
2119 ret_val = phy->ops.acquire(hw); e1000e_phy_hw_reset_generic()
2358 ret_val = hw->phy.ops.acquire(hw); e1000e_write_phy_reg_bm()
2416 ret_val = hw->phy.ops.acquire(hw); e1000e_read_phy_reg_bm()
2473 ret_val = hw->phy.ops.acquire(hw); e1000e_read_phy_reg_bm2()
2516 ret_val = hw->phy.ops.acquire(hw); e1000e_write_phy_reg_bm2()
2762 ret_val = hw->phy.ops.acquire(hw); __e1000_read_phy_reg_hv()
2869 ret_val = hw->phy.ops.acquire(hw); __e1000_write_phy_reg_hv()
H A Dich8lan.c234 hw->phy.ops.acquire(hw); e1000_phy_is_accessible_pchlan()
321 ret_val = hw->phy.ops.acquire(hw); e1000_init_phy_workarounds_pchlan()
835 ret_val = hw->phy.ops.acquire(hw); e1000_set_eee_pchlan()
921 ret_val = hw->phy.ops.acquire(hw); e1000_k1_workaround_lpt_lp()
1131 ret_val = hw->phy.ops.acquire(hw); e1000_enable_ulp_lpt_lp()
1263 ret_val = hw->phy.ops.acquire(hw); e1000_disable_ulp_lpt_lp()
1405 ret_val = hw->phy.ops.acquire(hw); e1000_check_for_copper_link_ich8lan()
1657 e_dbg("Failed to acquire the semaphore, FW or HW has it: FWSM=0x%8.8x EXTCNF_CTRL=0x%8.8x)\n", e1000_acquire_swflag_ich8lan()
2008 ret_val = hw->phy.ops.acquire(hw); e1000_sw_lcd_config_ich8lan()
2106 ret_val = hw->phy.ops.acquire(hw); e1000_k1_gig_workaround_hv()
2233 ret_val = hw->phy.ops.acquire(hw); e1000_oem_bits_config_ich8lan()
2348 ret_val = hw->phy.ops.acquire(hw); e1000_hv_phy_workarounds_ich8lan()
2366 ret_val = hw->phy.ops.acquire(hw); e1000_hv_phy_workarounds_ich8lan()
2394 ret_val = hw->phy.ops.acquire(hw); e1000_copy_rx_addrs_to_phy_ich8lan()
2607 ret_val = hw->phy.ops.acquire(hw); e1000_lv_phy_workarounds_ich8lan()
2779 ret_val = hw->phy.ops.acquire(hw); e1000_post_phy_reset_ich8lan()
3122 nvm->ops.acquire(hw); e1000_read_nvm_spt()
3213 nvm->ops.acquire(hw); e1000_read_nvm_ich8lan()
3604 nvm->ops.acquire(hw); e1000_write_nvm_ich8lan()
3642 nvm->ops.acquire(hw); e1000_update_nvm_checksum_spt()
3810 nvm->ops.acquire(hw); e1000_update_nvm_checksum_ich8lan()
4001 nvm->ops.acquire(hw); e1000e_write_protect_nvm_ich8lan()
5052 /* unable to acquire PCS lock */ e1000_kmrn_lock_loss_workaround_ich8lan()
5195 ret_val = hw->phy.ops.acquire(hw); e1000_suspend_workarounds_ich8lan()
5279 ret_val = hw->phy.ops.acquire(hw); e1000_suspend_workarounds_ich8lan()
5318 ret_val = hw->phy.ops.acquire(hw); e1000_resume_workarounds_pchlan()
5592 ret_val = hw->phy.ops.acquire(hw); e1000_clear_hw_cntrs_ich8lan()
5640 .acquire = e1000_acquire_swflag_ich8lan,
5654 .acquire = e1000_acquire_nvm_ich8lan,
5665 .acquire = e1000_acquire_nvm_ich8lan,
H A D80003es2lan.c194 * A wrapper to acquire access rights to the correct PHY.
286 * @mask: specifies which semaphore to acquire
331 * @mask: specifies which semaphore to acquire
1372 .acquire = e1000_acquire_phy_80003es2lan,
1390 .acquire = e1000_acquire_nvm_80003es2lan,
H A D82571.c91 phy->ops.acquire = e1000_get_hw_semaphore_82574; e1000_init_phy_params_82571()
196 nvm->ops.acquire = e1000_get_hw_semaphore_82574; e1000_init_nvm_params_82571()
459 /* If we have timedout 3 times on trying to acquire e1000_get_hw_semaphore_82571()
982 /* Must acquire the MDIO ownership before MAC reset. e1000_reset_hw_82571()
1899 .acquire = e1000_get_hw_semaphore_82571,
1917 .acquire = e1000_get_hw_semaphore_82571,
1935 .acquire = e1000_get_hw_semaphore_82571,
1953 .acquire = e1000_acquire_nvm_82571,
H A Dhw.h498 s32 (*acquire)(struct e1000_hw *); member in struct:e1000_phy_operations
524 s32 (*acquire)(struct e1000_hw *); member in struct:e1000_nvm_operations
H A Dnvm.c187 e_dbg("Could not acquire NVM grant\n"); e1000e_acquire_nvm()
371 ret_val = nvm->ops.acquire(hw); e1000e_write_nvm_spi()
/linux-4.1.27/drivers/hwspinlock/
H A Domap_hwspinlock.c48 /* attempt to acquire the lock by reading its value */ omap_hwspinlock_trylock()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-designware-core.h64 * @acquire_lock: function to acquire a hardware lock on the bus
H A Di2c-designware-core.c293 dev_err(dev->dev, "couldn't acquire bus ownership\n"); i2c_dw_init()
646 dev_err(dev->dev, "couldn't acquire bus ownership\n"); i2c_dw_xfer()
/linux-4.1.27/drivers/scsi/dpt/
H A Ddpti_ioctl.h74 /* Inform driver to re-acquire LCT information */
/linux-4.1.27/drivers/pwm/
H A Dpwm-ep93xx.c38 #include <mach/platform.h> /* for ep93xx_pwm_{acquire,release}_gpio() */
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlu_ref.h51 * Whenever foo_get() is called to acquire a reference on a foo, lu_ref_add()
H A Dlustre_quota.h167 * - qsd_op_adjust(): triggers pre-acquire/release if necessary.
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_agp.c162 NV_ERROR(drm, "unable to acquire AGP: %d\n", ret); nouveau_agp_init()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Doct_ilm.c181 WARN(1, "Could not acquire IRQ %d", irq); oct_ilm_module_init()
H A Docteon-irq.c2239 pr_err("ERROR: Couldn't acquire parent_irq for %s\n.", octeon_irq_init_cib()
2249 pr_err("ERROR: Couldn't acquire reg(0) %s\n.", ciu_node->name); octeon_irq_init_cib()
2257 pr_err("ERROR: Couldn't acquire reg(1) %s\n.", ciu_node->name); octeon_irq_init_cib()
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_dma.h36 |* all U.S. Government End Users acquire the source code with only *|
H A Dnv_local.h35 |* all U.S. Government End Users acquire the source code with only *|
H A Dnv_accel.c35 |* all U.S. Government End Users acquire the source code with only *|
/linux-4.1.27/fs/jfs/
H A Djfs_xtree.c634 * acquire a transaction lock on the leaf page; xtInsert()
723 * acquire a transaction lock on the leaf page; xtSplitUp()
790 * and acquire txLock as appropriate. xtSplitUp()
866 * and acquire txLock as appropriate. xtSplitUp()
889 * acquire a transaction lock on the parent page; xtSplitUp()
1021 * acquire a transaction lock on the new right page; xtSplitPage()
1027 * acquire a transaction lock on the split page xtSplitPage()
1058 * acquire a transaction lock on the new/right page; xtSplitPage()
1097 * acquire a transaction lock on the next page; xtSplitPage()
1265 * acquire a transaction lock on the new right page; xtSplitRoot()
1321 * acquire a transaction lock on the root page (in-memory inode); xtSplitRoot()
1402 * acquire a transaction lock on the leaf page; xtExtend()
1570 * acquire tlock of the leaf page containing original entry xtTailgate()
1743 * acquire tlock of the leaf page containing original entry xtUpdate()
2293 * acquire a transaction lock on the leaf page; xtAppend()
2378 * acquire a transaction lock on the leaf page; xtDelete()
2512 * acquire a transaction lock on the leaf page; xtDeleteUp()
2815 * 3. acquire maplock for the source extent to be freed; xtRelocate()
2817 * acquire a maplock saving the src relocated extent address; xtRelocate()
2848 * acquire tlck for the parent entry with XAD_NEW as entry xtRelocate()
3028 * acquire a transaction lock on the page; xtRelink()
3049 * acquire a transaction lock on the page; xtRelink()
3078 * acquire a transaction lock on the root xtInitRoot()
3286 /* (re)acquire tlock of the leaf page */ xtTruncate()
3495 /* (re)acquire tlock on the parent page */ xtTruncate()
H A Djfs_dtree.c886 * acquire a transaction lock on the leaf page dtInsert()
971 * acquire txLock as appropriate. dtSplitUp()
1244 * acquire txLock as appropriate. dtSplitUp()
1263 * acquire a transaction lock on the parent page dtSplitUp()
1382 * acquire a transaction lock on the new right page dtSplitPage()
1393 * acquire a transaction lock on the split page dtSplitPage()
1483 * acquire a transaction lock on the next page dtSplitPage()
1731 * acquire a transaction lock on the extended/leaf page dtExtendPage()
1837 * acquire a transaction lock on the parent/root page dtExtendPage()
1929 * acquire a transaction lock on the new right page dtSplitRoot()
2026 * acquire a transaction lock on the root page (in-memory inode) dtSplitRoot()
2166 * acquire a transaction lock on the leaf page dtDelete()
2272 * acquire a transaction lock on the page dtDeleteUp()
2348 * acquire a transaction lock on the page dtDeleteUp()
2386 * acquire a transaction lock on the page dtDeleteUp()
2592 * 3. acquire maplock for the source extent to be freed; dtRelocate()
2609 * acquire tlck for the parent entry covering the target dtpage; dtRelocate()
2767 * acquire a transaction lock on the next page dtRelink()
2796 * acquire a transaction lock on the prev page dtRelink()
2872 * acquire a transaction lock on the root dtInitRoot()
4550 * acquire a transaction lock on the leaf page of named entry dtModify()
/linux-4.1.27/drivers/pps/clients/
H A Dpps-gpio.c172 dev_err(&pdev->dev, "failed to acquire IRQ %d\n", data->irq); pps_gpio_probe()
/linux-4.1.27/include/linux/pinctrl/
H A Dpinmux.h27 * available for muxing. This is called by the core to acquire the pins
/linux-4.1.27/include/uapi/linux/
H A Dfutex.h87 * then does the lock acquire, and then adds itself to the
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dcontext.c117 * we don't acquire the state mutex interruptible, and we don't spu_forget()
/linux-4.1.27/arch/parisc/include/asm/
H A Dspinlock.h110 /* If write-locked, we fail to acquire the lock */ arch_read_trylock()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Dbif_slave_defs.h159 unsigned int acquire : 1; member in struct:__anon409
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
H A Dbif_slave_defs.h159 unsigned int acquire : 1; member in struct:__anon1276
/linux-4.1.27/include/linux/ceph/
H A Dauth.h10 * to acquire the necessary keys. These are used to generate an
/linux-4.1.27/drivers/mailbox/
H A Dpcc.c28 * * Client tries to acquire a channel lock.
38 * * Client tries to acquire channel lock.
/linux-4.1.27/drivers/i2c/muxes/
H A Di2c-mux-pca9541.c33 * Before each bus transaction, a master has to acquire bus ownership. After the
248 * Set extra long timeout to give it time to acquire it. pca9541_arbitrate()
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-dvb.c248 static int pvr2_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) pvr2_dvb_bus_ctrl() argument
253 (acquire ? (1 << PVR2_CVAL_INPUT_DTV) : 0)); pvr2_dvb_bus_ctrl()
/linux-4.1.27/drivers/spi/
H A Dspi-sun4i.c400 dev_err(&pdev->dev, "Unable to acquire AHB clock\n"); sun4i_spi_probe()
407 dev_err(&pdev->dev, "Unable to acquire module clock\n"); sun4i_spi_probe()
H A Dspi-sun6i.c399 dev_err(&pdev->dev, "Unable to acquire AHB clock\n"); sun6i_spi_probe()
406 dev_err(&pdev->dev, "Unable to acquire module clock\n"); sun6i_spi_probe()
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Db43legacy.h670 * You should always acquire both, wl->mutex and wl->irq_lock unless:
671 * - You don't need to acquire wl->irq_lock, if the interface is stopped.
672 * - You don't need to acquire wl->mutex in the IRQ handler, IRQ tasklet
/linux-4.1.27/fs/
H A Dmbcache.c46 * either a block or index hash chain lock, a thread can acquire an
47 * mc_cache_bg_lock, which in turn can also acquire mb_cache_spinlock.
723 /* The index hash chain is alredy acquire by caller. */ __mb_cache_entry_find()
H A Dsuper.c209 * In case that succeeds, it will acquire the s_umount alloc_super()
324 * grab_super - acquire an active reference
327 * Tries to acquire an active reference. grab_super() is used when we
357 * false if we cannot acquire s_umount or if we lose the race and
/linux-4.1.27/drivers/net/can/mscan/
H A Dmpc5xxx_can.c258 dev_err(&ofdev->dev, "cannot acquire or setup bitrate clock source\n"); mpc512x_can_get_clock()
263 dev_err(&ofdev->dev, "cannot acquire or setup register clock\n"); mpc512x_can_get_clock()
/linux-4.1.27/drivers/input/keyboard/
H A Dmatrix_keypad.c341 "Unable to acquire clustered interrupt\n"); matrix_keypad_init_gpio()
354 "Unable to acquire interrupt for GPIO line %i\n", matrix_keypad_init_gpio()
H A Dlocomokbd.c257 printk(KERN_ERR "locomokbd: Can't acquire access to io memory for keyboard\n"); locomokbd_probe()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_device.h209 dev_err(mdev->sdev->parent, "%s %d unable to acquire channel\n", mic_request_dma_chan()
/linux-4.1.27/drivers/sbus/char/
H A Ddisplay7seg.c194 printk(KERN_ERR PFX "Unable to acquire miscdevice minor %i\n", d7s_probe()
/linux-4.1.27/drivers/phy/
H A Dphy-rcar-gen2.c80 * Try to acquire exclusive access to PHY. The first driver calling rcar_gen2_phy_init()
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_crtc.c188 DRM_DEBUG("failed to acquire vblank counter\n"); exynos_drm_crtc_page_flip()
H A Dexynos_mixer.c869 /* acquire resources: regs, irqs, clocks */ mixer_initialize()
877 /* acquire vp resources: regs, irqs, clocks */ mixer_initialize()
985 DRM_DEBUG_KMS("failed to acquire vblank counter\n"); mixer_wait_for_vblank()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dmdfld_tmd_vid.c112 * acquire the mutex, it is important that the calling function
/linux-4.1.27/drivers/char/agp/
H A Dbackend.c64 * agp_backend_acquire - attempt to acquire an agp backend.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_agp.c138 DRM_ERROR("Unable to acquire AGP: %d\n", ret); radeon_agp_init()
/linux-4.1.27/drivers/thunderbolt/
H A Dtb.h112 * acquire the lock one more time). Used to drain
H A Dtb.c330 /* allow tb_handle_hotplug to acquire the lock */ thunderbolt_shutdown_and_free()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-spinlock.h93 * May take some time to acquire the lock even if it is available
/linux-4.1.27/arch/arm/mach-pxa/
H A Dam200epd.c244 /* the reason we do this adjustment is because we want to acquire am200_presetup_fb()
/linux-4.1.27/scripts/package/
H A DMakefile81 echo "Try setting KBUILD_PKG_ROOTCMD to a command to acquire"; \
/linux-4.1.27/kernel/
H A Dfutex.c781 * [1] Indicates that the kernel can acquire the futex atomically. We
985 * futex_lock_pi_atomic() - Atomic work required to acquire a pi aware futex
1398 * During futex_requeue, with requeue_pi=1, it is possible to acquire the
1439 * 0 - failed to acquire the lock atomically;
1500 * Requeue waiters on uaddr1 to uaddr2. In the requeue_pi case, try to acquire
1598 * Attempt to acquire uaddr2 and wake the top waiter. If we futex_requeue()
1704 * of requeue_pi if we couldn't acquire the lock atomically. futex_requeue()
1992 * acquire the lock. Must be called with the hb lock held.
2342 * Fixup the pi_state owner and possibly acquire the lock if we futex_lock_pi()
2674 * Fixup the pi_state owner and possibly acquire the lock if we futex_wait_requeue_pi()
/linux-4.1.27/ipc/
H A Dsem.c304 /* Complex operation - acquire a full lock */ sem_lock()
322 * a bit more difficult. Complex ops acquire the full lock sem_lock()
341 * We need a memory barrier with acquire semantics, sem_lock()
361 /* slow path: acquire the full lock */ sem_lock()
469 * * otherwise it must acquire the spinlock and check what's up.
474 * thread could race forward and try (and fail) to acquire sma->lock
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c525 * Context: Calling function should acquire ioc->sas_device_lock
551 * Context: Calling function should acquire ioc->sas_device_lock
576 * Context: This function will acquire ioc->sas_device_lock.
651 * Context: This function will acquire ioc->sas_device_lock.
692 * Context: This function will acquire ioc->sas_device_lock.
718 * Context: Calling function should acquire ioc->raid_device_lock
744 * Context: Calling function should acquire ioc->raid_device_lock
770 * Context: Calling function should acquire ioc->raid_device_lock
836 * Context: Calling function should acquire ioc->sas_device_lock
861 * Context: Calling function should acquire ioc->sas_node_lock.
887 * Context: This function will acquire ioc->sas_node_lock.
963 * Context: This function will acquire ioc->scsi_lookup_lock.
994 * Context: This function will acquire ioc->scsi_lookup_lock.
1028 * Context: This function will acquire ioc->scsi_lookup_lock.
2417 * Context: This function will acquire ioc->fw_event_lock.
2444 * Context: This function will acquire ioc->fw_event_lock.
7292 * Context: Calling function should acquire ioc->sas_node_lock.
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-dvb.c356 static int cx231xx_dvb_bus_ctrl(struct dvb_frontend *fe, int acquire) cx231xx_dvb_bus_ctrl() argument
360 if (acquire) cx231xx_dvb_bus_ctrl()
/linux-4.1.27/drivers/net/wireless/prism54/
H A Doid_mgt.c445 * it -> acquire write lock. mgt_set_request()
446 * Else we could acquire a read lock to be sure we don't bother the mgt_set_request()
/linux-4.1.27/drivers/edac/
H A Dedac_device.c361 * This operation is to acquire the list mutex lock
460 /* acquire the mutex before doing the workq setup */ edac_device_reset_delay_period()
/linux-4.1.27/arch/tile/mm/
H A Dpgtable.c470 * We only _try_ to acquire the mmap_sem semaphore; if we can't acquire it,
/linux-4.1.27/virt/kvm/
H A Deventfd.c257 * we could acquire the irqfds.lock since the item is irqfd_wakeup()
262 * other side is required to acquire wqh->lock, which we hold irqfd_wakeup()
/linux-4.1.27/drivers/isdn/sc/
H A Dinit.c260 pr_debug("Failed to acquire an IRQ line\n"); sc_init()
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet-rx.c467 panic("Could not acquire Ethernet IRQ %d\n", cvm_oct_rx_initialize()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_evict.c163 * acquire our locks and unpin the old scanouts. i915_gem_evict_something()
/linux-4.1.27/drivers/gpu/drm/imx/
H A Dipuv3-crtc.c118 dev_dbg(ipu_crtc->dev, "failed to acquire vblank counter\n"); ipu_page_flip()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_frontend.h307 int (*ts_bus_ctrl)(struct dvb_frontend* fe, int acquire);
/linux-4.1.27/lib/
H A Dklist.c22 * and initialized before an iteration. klist_next() is used to acquire the
/linux-4.1.27/include/acpi/platform/
H A Dacenv.h248 /* Global Lock acquire/release */
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c98 "NVM acquire type %d failed time_left=%llu ret=%d aq_err=%d\n", i40e_acquire_nvm()
120 "NVM acquire timed out, wait %llu ms before trying again. status=%d aq_err=%d\n", i40e_acquire_nvm()
294 * We cannot do it for the module-based model, as we did not acquire i40e_write_nvm_aq()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c702 * ixgbe_acquire_msix_vectors - acquire MSI-X vectors
705 * Attempts to acquire a suitable range of MSI-X vector interrupts. Will
706 * return a negative error code if unable to acquire MSI-X vectors for any
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c332 "Failed to acquire sem=%d lock held by=%d\n", qlcnic_pcie_sem_lock()
336 "Failed to acquire sem=%d lock", qlcnic_pcie_sem_lock()
340 "Failed to acquire sem=%d lock", sem); qlcnic_pcie_sem_lock()
/linux-4.1.27/drivers/misc/mei/
H A Dclient.c694 * mei_hbuf_acquire - try to acquire host buffer
858 /* run hbuf acquire last so we don't have to undo */ mei_cl_connect()
1226 cl_dbg(dev, cl, "Cannot acquire the host buffer: not sending.\n"); mei_cl_write()
/linux-4.1.27/drivers/usb/core/
H A Dusb.c606 * usb_lock_device_for_reset - cautiously acquire the lock for a usb device structure
610 * Attempts to acquire the device lock, but fails if the device is
634 /* If we can't acquire the lock after waiting one second, usb_lock_device_for_reset()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_scsih.c533 * Context: Calling function should acquire ioc->sas_device_lock
559 * Context: Calling function should acquire ioc->sas_device_lock
584 * Context: This function will acquire ioc->sas_device_lock.
608 * Context: This function will acquire ioc->sas_device_lock.
647 * Context: This function will acquire ioc->sas_device_lock.
672 * Context: Calling function should acquire ioc->raid_device_lock
698 * Context: Calling function should acquire ioc->raid_device_lock
724 * Context: Calling function should acquire ioc->raid_device_lock
790 * Context: Calling function should acquire ioc->sas_device_lock
815 * Context: Calling function should acquire ioc->sas_node_lock.
841 * Context: This function will acquire ioc->sas_node_lock.
917 * Context: This function will acquire ioc->scsi_lookup_lock.
948 * Context: This function will acquire ioc->scsi_lookup_lock.
982 * Context: This function will acquire ioc->scsi_lookup_lock.
2755 * Context: This function will acquire ioc->fw_event_lock.
2782 * Context: This function will acquire ioc->fw_event_lock.
7660 * Context: Calling function should acquire ioc->sas_node_lock.
/linux-4.1.27/kernel/sched/
H A Dsched.h554 * acquire operations must be ordered by ascending &runqueue.
1457 * If we observe the old cpu in task_rq_lock, the acquire of
1460 * If we observe the new cpu in task_rq_lock, the acquire will
/linux-4.1.27/mm/
H A Drmap.c97 * put_anon_vma() against the acquire barrier implied by anon_vma_free()
401 * needing to write-acquire the anon_vma->root->rwsem. unlink_anon_vmas()
1399 * SWAP_AGAIN - page mapped in mlocked vma -- couldn't acquire mmap sem
/linux-4.1.27/drivers/isdn/hysdn/
H A Dboardergo.c408 /* acquire the needed hardware ports and map dpram. If an error occurs a nonzero */
/linux-4.1.27/drivers/leds/
H A Dleds-lp55xx-common.c404 dev_err(dev, "could not acquire enable gpio (err=%d)\n", lp55xx_init_device()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttvp.h466 - must acquire s_lock before changing these
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-queue.c149 * We don't have to acquire multiple q locks here, because we are cx18_queue_get_mdl()
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-core.c221 v4l2_warn(v4l2_dev, "failed to acquire subdev %s\n", camif_register_sensor()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsunbmac.h320 /* We use this to acquire receive skb's that we can DMA directly into. */
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilegx.c1645 /* Try to acquire a completion entry. */ tile_net_equeue_try_reserve()
1649 /* Try to acquire an egress slot. */ tile_net_equeue_try_reserve()
1948 /* Try to acquire a completion entry and an egress slot. */ tile_net_tx_tso()
2046 /* Try to acquire a completion entry and an egress slot. */ tile_net_tx()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-eeprom-read.c392 IWL_ERR(trans, "Failed to acquire EEPROM semaphore.\n"); iwl_read_eeprom()
/linux-4.1.27/drivers/staging/fsl-mc/include/
H A Ddpbp.h299 * acquire/release operations on buffers
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlovsub_lock.c332 * as cancellation of a top-lock might acquire mutices lovsub_lock_delete_one()
/linux-4.1.27/arch/tile/kernel/
H A Dstack.c401 /* Try to acquire the mmap_sem as we pass into userspace. */ tile_show_stack()
/linux-4.1.27/arch/mips/include/asm/
H A Dbitops.h281 * This operation is atomic and implies acquire ordering semantics
/linux-4.1.27/drivers/hsi/controllers/
H A Domap_ssi.c381 dev_err(&pd->dev, "Could not acquire clock \"ssi_ssr_fck\": %li\n", ssi_add_controller()

Completed in 5884 milliseconds

123