Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 200 of 244) sorted by relevance

12

/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_lock.c67 bool locked = false; in __ttm_read_lock() local
77 locked = true; in __ttm_read_lock()
80 return locked; in __ttm_read_lock()
96 static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked) in __ttm_read_trylock() argument
100 *locked = false; in __ttm_read_trylock()
111 *locked = true; in __ttm_read_trylock()
123 bool locked; in ttm_read_trylock() local
127 (lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock()
129 wait_event(lock->queue, __ttm_read_trylock(lock, &locked)); in ttm_read_trylock()
132 BUG_ON(locked); in ttm_read_trylock()
[all …]
Dttm_bo.c1091 bool locked; in ttm_bo_init() local
1162 locked = ww_mutex_trylock(&bo->resv->lock); in ttm_bo_init()
1163 WARN_ON(!locked); in ttm_bo_init()
/linux-4.1.27/scripts/coccinelle/locks/
Ddouble_lock.cocci16 @locked@
41 position p1 != locked.p1;
42 position locked.p;
44 expression x <= locked.E1;
45 expression E,locked.E1;
64 expression x <= locked.E1;
65 expression locked.E1;
68 position locked.p,p1,p2;
Dcall_kern.cocci38 @locked exists@
73 @depends on locked && patch@
80 @depends on locked && !patch@
89 p1 << locked.p1;
90 p2 << locked.p2;
100 p1 << locked.p1;
101 p2 << locked.p2;
/linux-4.1.27/kernel/locking/
Dmcs_spinlock.h19 int locked; /* 1 if lock acquired */ member
66 node->locked = 0; in mcs_spin_lock()
84 arch_mcs_spin_lock_contended(&node->locked); in mcs_spin_lock()
108 arch_mcs_spin_unlock_contended(&next->locked); in mcs_spin_unlock()
Dosq_lock.c91 node->locked = 0; in osq_lock()
112 while (!READ_ONCE(node->locked)) { in osq_lock()
142 if (smp_load_acquire(&node->locked)) in osq_lock()
196 WRITE_ONCE(next->locked, 1); in osq_unlock()
202 WRITE_ONCE(next->locked, 1); in osq_unlock()
Dlockdep.c3926 int locked; in lockdep_free_key_range() local
3929 locked = graph_lock(); in lockdep_free_key_range()
3946 if (locked) in lockdep_free_key_range()
3971 int locked; in lockdep_reset_lock() local
3990 locked = graph_lock(); in lockdep_reset_lock()
4012 if (locked) in lockdep_reset_lock()
/linux-4.1.27/drivers/media/dvb-frontends/
Dlgs8gxx.c309 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked() argument
322 *locked = ((t & 0x80) == 0x80) ? 1 : 0; in lgs8gxx_is_locked()
324 *locked = ((t & 0xC0) == 0xC0) ? 1 : 0; in lgs8gxx_is_locked()
329 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock() argument
345 *locked = (ret == 0) ? 1 : 0; in lgs8gxx_wait_ca_lock()
373 u8 *locked) in lgs8gxx_autolock_gi() argument
398 err = lgs8gxx_wait_ca_lock(priv, locked); in lgs8gxx_autolock_gi()
399 if (err || !(*locked)) in lgs8gxx_autolock_gi()
407 *locked = 0; in lgs8gxx_autolock_gi()
417 u8 locked = 0, tmp_gi; in lgs8gxx_auto_detect() local
[all …]
Datbm8830.c160 static int is_locked(struct atbm_state *priv, u8 *locked) in is_locked() argument
166 if (locked != NULL) in is_locked()
167 *locked = (status == 1); in is_locked()
274 u8 locked = 0; in atbm8830_set_fe() local
290 is_locked(priv, &locked); in atbm8830_set_fe()
291 if (locked != 0) { in atbm8830_set_fe()
341 u8 locked = 0; in atbm8830_read_status() local
347 is_locked(priv, &locked); in atbm8830_read_status()
348 if (locked) { in atbm8830_read_status()
Dlgdt3305.c830 int *locked) in lgdt3305_read_cr_lock_status() argument
836 *locked = 0; in lgdt3305_read_cr_lock_status()
846 *locked = 1; in lgdt3305_read_cr_lock_status()
868 *locked = 1; in lgdt3305_read_cr_lock_status()
875 lg_dbg("(%d) %s\n", *locked, cr_lock_state); in lgdt3305_read_cr_lock_status()
881 int *locked) in lgdt3305_read_fec_lock_status() argument
886 *locked = 0; in lgdt3305_read_fec_lock_status()
900 *locked = mpeg_lock && fec_lock && viterbi_lock; in lgdt3305_read_fec_lock_status()
902 lg_dbg("(%d) %s%s%s\n", *locked, in lgdt3305_read_fec_lock_status()
Dstv0900_core.c1515 int locked = FALSE; in stv0900_status() local
1524 locked = FALSE; in stv0900_status()
1527 locked = stv0900_get_bits(intp, LOCK_DEFINITIF) && in stv0900_status()
1532 locked = stv0900_get_bits(intp, LOCK_DEFINITIF) && in stv0900_status()
1538 dprintk("%s: locked = %d\n", __func__, locked); in stv0900_status()
1551 return locked; in stv0900_status()
1595 p_result.locked = FALSE; in stv0900_search()
1617 p_result.locked = intp->result[demod].locked; in stv0900_search()
1629 p_result.locked = FALSE; in stv0900_search()
1641 if ((p_result.locked == TRUE) && (error == STV0900_NO_ERROR)) { in stv0900_search()
[all …]
Dstv0367_priv.h187 int locked; member
Dstv0900_sw.c1291 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1312 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1324 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1332 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1924 intp->result[demod].locked = FALSE; in stv0900_algo()
1994 intp->result[demod].locked = TRUE; in stv0900_algo()
2012 intp->result[demod].locked = FALSE; in stv0900_algo()
2020 intp->result[demod].locked = FALSE; in stv0900_algo()
Dstv0900_priv.h282 int locked;/* Transponder locked */ member
Dstv0367.c59 int locked; /* channel found */ member
2053 int locked = FALSE;
2055 locked = (stv0367_readbits(state, F367TER_LK));
2056 if (!locked)
2068 locked = (stv0367_readbits(state, F367TER_TPS_LOCK)) &&
2074 return locked;
3025 cab_state->locked = 1; in stv0367cab_algo()
/linux-4.1.27/scripts/rt-tester/
Dt2-l1-2rt-sameprio.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
66 W: locked: 1: 0
79 W: locked: 1: 0
85 W: locked: 0: 0
Dt3-l1-pi-signal.tst36 # locked lock nr (0-7)
58 W: locked: 0: 0
78 T: locked: 0: 0
84 # Wait until T1 has locked L0 and exit
85 W: locked: 1: 0
Dt3-l1-pi-1rt.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
76 W: locked: 2: 0
84 W: locked: 1: 0
Dt3-l1-pi-3rt.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
76 W: locked: 2: 0
83 W: locked: 1: 0
Dt3-l2-pi.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
76 W: locked: 2: 0
84 W: locked: 1: 0
Dt5-l4-pi-boost-deboost.tst36 # locked lock nr (0-7)
62 W: locked: 0: 0
66 W: locked: 1: 1
75 W: locked: 2: 2
85 W: locked: 3: 3
Dt4-l2-pi-deboost.tst36 # locked lock nr (0-7)
61 W: locked: 0: 0
65 W: locked: 1: 1
102 W: locked: 0: 1
106 W: locked: 2: 1
Dt3-l1-pi-2rt.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
77 W: locked: 2: 0
85 W: locked: 1: 0
Dt3-l1-pi-steal.tst36 # locked lock nr (0-7)
60 W: locked: 0: 0
80 W: locked: 2: 0
89 W: locked: 1: 0
Dt5-l4-pi-boost-deboost-setsched.tst36 # locked lock nr (0-7)
62 W: locked: 0: 0
66 W: locked: 1: 1
75 W: locked: 2: 2
85 W: locked: 3: 3
Dt2-l1-pi.tst36 # locked lock nr (0-7)
59 W: locked: 0: 0
68 W: locked: 1: 0
Dt2-l2-2rt-deadlock.tst36 # locked lock nr (0-7)
59 W: locked: 0: 0
63 W: locked: 1: 1
Dt2-l1-signal.tst36 # locked lock nr (0-7)
59 W: locked: 0: 0
/linux-4.1.27/mm/
Dmremap.c237 unsigned long new_len, unsigned long new_addr, bool *locked) in move_vma() argument
335 *locked = true; in move_vma()
370 unsigned long locked, lock_limit; in vma_to_resize() local
371 locked = mm->locked_vm << PAGE_SHIFT; in vma_to_resize()
373 locked += new_len - old_len; in vma_to_resize()
374 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in vma_to_resize()
392 unsigned long new_addr, unsigned long new_len, bool *locked) in mremap_to() argument
442 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked); in mremap_to()
480 bool locked = false; in SYSCALL_DEFINE5() local
506 &locked); in SYSCALL_DEFINE5()
[all …]
Dgup.c585 int *locked, bool notify_drop, in __get_user_pages_locked() argument
591 if (locked) { in __get_user_pages_locked()
595 BUG_ON(*locked != 1); in __get_user_pages_locked()
609 vmas, locked); in __get_user_pages_locked()
610 if (!locked) in __get_user_pages_locked()
615 if (!*locked) { in __get_user_pages_locked()
630 if (*locked) { in __get_user_pages_locked()
645 *locked = 1; in __get_user_pages_locked()
663 if (notify_drop && lock_dropped && *locked) { in __get_user_pages_locked()
669 *locked = 0; in __get_user_pages_locked()
[all …]
Dcompaction.c347 unsigned long flags, bool *locked, struct compact_control *cc) in compact_unlock_should_abort() argument
349 if (*locked) { in compact_unlock_should_abort()
351 *locked = false; in compact_unlock_should_abort()
408 bool locked = false; in isolate_freepages_block() local
425 &locked, cc)) in isolate_freepages_block()
444 if (!locked) { in isolate_freepages_block()
453 locked = compact_trylock_irqsave(&cc->zone->lock, in isolate_freepages_block()
455 if (!locked) in isolate_freepages_block()
507 if (locked) in isolate_freepages_block()
652 bool locked = false; in isolate_migratepages_block() local
[all …]
Dmlock.c609 unsigned long locked; in SYSCALL_DEFINE2() local
623 locked = len >> PAGE_SHIFT; in SYSCALL_DEFINE2()
627 locked += current->mm->locked_vm; in SYSCALL_DEFINE2()
630 if ((locked <= lock_limit) || capable(CAP_IPC_LOCK)) in SYSCALL_DEFINE2()
732 unsigned long lock_limit, locked; in user_shm_lock() local
735 locked = (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in user_shm_lock()
742 locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) in user_shm_lock()
745 user->locked_shm += locked; in user_shm_lock()
Dmmap.c1237 unsigned long locked, lock_limit; in mlock_future_check() local
1241 locked = len >> PAGE_SHIFT; in mlock_future_check()
1242 locked += mm->locked_vm; in mlock_future_check()
1245 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) in mlock_future_check()
2112 unsigned long locked; in acct_stack_growth() local
2114 locked = mm->locked_vm + grow; in acct_stack_growth()
2117 if (locked > limit && !capable(CAP_IPC_LOCK)) in acct_stack_growth()
/linux-4.1.27/sound/core/seq/
Dseq_queue.h43 unsigned int locked:1, /* timer is only accesibble by owner if set */ member
74 int snd_seq_queue_alloc(int client, int locked, unsigned int flags);
106 int snd_seq_queue_set_owner(int queueid, int client, int locked);
107 int snd_seq_queue_set_locked(int queueid, int client, int locked);
Dseq_queue.c109 static struct snd_seq_queue *queue_new(int owner, int locked) in queue_new() argument
135 q->locked = locked; in queue_new()
187 int snd_seq_queue_alloc(int client, int locked, unsigned int info_flags) in snd_seq_queue_alloc() argument
191 q = queue_new(client, locked); in snd_seq_queue_alloc()
369 return (q->owner == client) || (!q->locked && !q->klocked); in check_access()
419 int snd_seq_queue_set_owner(int queueid, int client, int locked) in snd_seq_queue_set_owner() argument
431 q->locked = locked ? 1 : 0; in snd_seq_queue_set_owner()
779 snd_iprintf(buffer, "lock status : %s\n", q->locked ? "Locked" : "Free"); in snd_seq_info_queues_read()
Dseq_clientmgr.c1539 result = snd_seq_queue_alloc(client->number, info.locked, info.flags); in snd_seq_ioctl_create_queue()
1548 info.locked = q->locked; in snd_seq_ioctl_create_queue()
1592 info.locked = q->locked; in snd_seq_ioctl_get_queue_info()
1617 if (snd_seq_queue_set_owner(info.queue, client->number, info.locked) < 0) in snd_seq_ioctl_set_queue_info()
1619 if (info.locked) in snd_seq_ioctl_set_queue_info()
1652 info.locked = q->locked; in snd_seq_ioctl_get_named_queue()
/linux-4.1.27/drivers/vme/
Dvme_bridge.h16 int locked; member
29 int locked; member
62 int locked; member
73 int locked; member
Dvme.c260 (slave_image->locked == 0)) { in vme_slave_request()
262 slave_image->locked = 1; in vme_slave_request()
287 slave_image->locked = 0; in vme_slave_request()
372 if (slave_image->locked == 0) in vme_slave_free()
375 slave_image->locked = 0; in vme_slave_free()
417 (master_image->locked == 0)) { in vme_master_request()
419 master_image->locked = 1; in vme_master_request()
446 master_image->locked = 0; in vme_master_request()
656 if (master_image->locked == 0) in vme_master_free()
659 master_image->locked = 0; in vme_master_free()
[all …]
/linux-4.1.27/drivers/mfd/
Dab3100-otp.c51 bool locked; member
83 otp->locked = (otpp & 0x80); in ab3100_otp_read()
103 seq_printf(s, "OTP is %s\n", otp->locked ? "LOCKED" : "UNLOCKED"); in ab3100_show_otp()
164 SHOW_AB3100_ATTR(locked)
174 __ATTR(locked, S_IRUGO, ab3100_otp_locked_show, NULL),
Dwm831x-core.c96 if (!wm831x->locked) in wm831x_reg_locked()
129 WARN_ON(wm831x->locked); in wm831x_reg_lock()
130 wm831x->locked = 1; in wm831x_reg_lock()
156 WARN_ON(!wm831x->locked); in wm831x_reg_unlock()
157 wm831x->locked = 0; in wm831x_reg_unlock()
1752 wm831x->locked = 1; in wm831x_device_init()
Ddb8500-prcmu.c1417 bool locked = plldsi_locked(); in request_plldsi() local
1419 for (i = 10; !locked && (i > 0); --i) { in request_plldsi()
1421 locked = plldsi_locked(); in request_plldsi()
1423 if (locked) { in request_plldsi()
/linux-4.1.27/drivers/tty/serial/
Dsunhv.c431 int locked = 1; in sunhv_console_write_paged() local
434 locked = spin_trylock_irqsave(&port->lock, flags); in sunhv_console_write_paged()
466 if (locked) in sunhv_console_write_paged()
486 int i, locked = 1; in sunhv_console_write_bychar() local
489 locked = spin_trylock_irqsave(&port->lock, flags); in sunhv_console_write_bychar()
493 locked = 0; in sunhv_console_write_bychar()
495 locked = spin_trylock(&port->lock); in sunhv_console_write_bychar()
505 if (locked) in sunhv_console_write_bychar()
Dmeson_uart.c450 int locked; in meson_serial_console_write() local
458 locked = 0; in meson_serial_console_write()
460 locked = spin_trylock(&port->lock); in meson_serial_console_write()
463 locked = 1; in meson_serial_console_write()
468 if (locked) in meson_serial_console_write()
Dbcm63xx_uart.c702 int locked; in bcm_console_write() local
709 locked = 0; in bcm_console_write()
711 locked = spin_trylock(&port->lock); in bcm_console_write()
714 locked = 1; in bcm_console_write()
723 if (locked) in bcm_console_write()
Dnwpserial.c74 int locked = 1; in nwpserial_console_write() local
77 locked = spin_trylock_irqsave(&up->port.lock, flags); in nwpserial_console_write()
94 if (locked) in nwpserial_console_write()
Dar933x_uart.c546 int locked = 1; in ar933x_uart_console_write() local
551 locked = 0; in ar933x_uart_console_write()
553 locked = spin_trylock(&up->port.lock); in ar933x_uart_console_write()
574 if (locked) in ar933x_uart_console_write()
Dlpc32xx_hs.c144 int locked = 1; in lpc32xx_hsuart_console_write() local
149 locked = 0; in lpc32xx_hsuart_console_write()
151 locked = spin_trylock(&up->port.lock); in lpc32xx_hsuart_console_write()
158 if (locked) in lpc32xx_hsuart_console_write()
Dsprd_serial.c543 int locked = 1; in sprd_console_write() local
547 locked = 0; in sprd_console_write()
549 locked = spin_trylock_irqsave(&port->lock, flags); in sprd_console_write()
558 if (locked) in sprd_console_write()
Dst-asc.c803 int locked = 1; in asc_console_write() local
808 locked = 0; /* asc_interrupt has already claimed the lock */ in asc_console_write()
810 locked = spin_trylock(&port->lock); in asc_console_write()
829 if (locked) in asc_console_write()
Ddigicolor-usart.c402 int locked = 1; in digicolor_uart_console_write() local
405 locked = spin_trylock_irqsave(&port->lock, flags); in digicolor_uart_console_write()
411 if (locked) in digicolor_uart_console_write()
Dxilinx_uartps.c424 int locked = 0; in cdns_uart_clk_notifier_cb() local
468 locked = 1; in cdns_uart_clk_notifier_cb()
475 if (!locked) in cdns_uart_clk_notifier_cb()
1109 int locked = 1; in cdns_uart_console_write() local
1112 locked = spin_trylock_irqsave(&port->lock, flags); in cdns_uart_console_write()
1136 if (locked) in cdns_uart_console_write()
Duartlite.c448 int locked = 1; in ulite_console_write() local
451 locked = spin_trylock_irqsave(&port->lock, flags); in ulite_console_write()
467 if (locked) in ulite_console_write()
Dpxa.c651 int locked = 1; in serial_pxa_console_write() local
656 locked = 0; in serial_pxa_console_write()
658 locked = spin_trylock(&up->port.lock); in serial_pxa_console_write()
677 if (locked) in serial_pxa_console_write()
Dsunsab.c865 int locked = 1; in sunsab_console_write() local
868 locked = spin_trylock_irqsave(&up->port.lock, flags); in sunsab_console_write()
875 if (locked) in sunsab_console_write()
Domap-serial.c1281 int locked = 1; in serial_omap_console_write() local
1287 locked = 0; in serial_omap_console_write()
1289 locked = spin_trylock(&up->port.lock); in serial_omap_console_write()
1319 if (locked) in serial_omap_console_write()
Dsunsu.c1309 int locked = 1; in sunsu_console_write() local
1312 locked = spin_trylock_irqsave(&up->port.lock, flags); in sunsu_console_write()
1331 if (locked) in sunsu_console_write()
Dimx.c1626 int locked = 1; in imx_console_write() local
1639 locked = 0; in imx_console_write()
1641 locked = spin_trylock_irqsave(&sport->port.lock, flags); in imx_console_write()
1670 if (locked) in imx_console_write()
Dsunzilog.c1206 int locked = 1; in sunzilog_console_write() local
1209 locked = spin_trylock_irqsave(&up->port.lock, flags); in sunzilog_console_write()
1216 if (locked) in sunzilog_console_write()
Damba-pl011.c1999 int locked = 1; in pl011_console_write() local
2005 locked = 0; in pl011_console_write()
2007 locked = spin_trylock(&uap->port.lock); in pl011_console_write()
2030 if (locked) in pl011_console_write()
Dsh-sci.c2367 int locked = 1; in serial_console_write() local
2371 locked = 0; in serial_console_write()
2373 locked = spin_trylock(&port->lock); in serial_console_write()
2391 if (locked) in serial_console_write()
/linux-4.1.27/fs/squashfs/
Dfile.c78 msblk->meta_index[i].locked == 0) { in locate_meta_index()
87 meta->locked = 1; in locate_meta_index()
125 msblk->meta_index[i].locked = 0; in empty_meta_index()
131 msblk->meta_index[msblk->next_meta_index].locked; i--) in empty_meta_index()
152 meta->locked = 1; in empty_meta_index()
164 meta->locked = 0; in release_meta_index()
Dsquashfs_fs.h230 unsigned short locked; member
/linux-4.1.27/tools/perf/util/
Dannotate.c174 ops->locked.ops = zalloc(sizeof(*ops->locked.ops)); in lock__parse()
175 if (ops->locked.ops == NULL) in lock__parse()
178 if (disasm_line__parse(ops->raw, &name, &ops->locked.ops->raw) < 0) in lock__parse()
181 ops->locked.ins = ins__find(name); in lock__parse()
184 if (ops->locked.ins == NULL) in lock__parse()
187 if (!ops->locked.ins->ops) in lock__parse()
190 if (ops->locked.ins->ops->parse && in lock__parse()
191 ops->locked.ins->ops->parse(ops->locked.ops) < 0) in lock__parse()
197 zfree(&ops->locked.ops); in lock__parse()
206 if (ops->locked.ins == NULL) in lock__scnprintf()
[all …]
Dannotate.h33 } locked; member
/linux-4.1.27/drivers/infiniband/core/
Dumem.c89 unsigned long locked; in ib_umem_get() local
168 locked = npages + current->mm->pinned_vm; in ib_umem_get()
171 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in ib_umem_get()
234 current->mm->pinned_vm = locked; in ib_umem_get()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_modeset_lock.c293 INIT_LIST_HEAD(&ctx->locked); in drm_modeset_acquire_init()
316 while (!list_empty(&ctx->locked)) { in drm_modeset_drop_locks()
319 lock = list_first_entry(&ctx->locked, in drm_modeset_drop_locks()
352 list_add(&lock->head, &ctx->locked); in modeset_lock()
/linux-4.1.27/fs/xfs/
Dxfs_trans_dquot.c511 bool locked; in xfs_trans_unreserve_and_mod_dquots() local
532 locked = false; in xfs_trans_unreserve_and_mod_dquots()
535 locked = true; in xfs_trans_unreserve_and_mod_dquots()
540 if (!locked) { in xfs_trans_unreserve_and_mod_dquots()
542 locked = true; in xfs_trans_unreserve_and_mod_dquots()
549 if (!locked) { in xfs_trans_unreserve_and_mod_dquots()
551 locked = true; in xfs_trans_unreserve_and_mod_dquots()
556 if (locked) in xfs_trans_unreserve_and_mod_dquots()
Dxfs_buf.c945 int locked; in xfs_buf_trylock() local
947 locked = down_trylock(&bp->b_sema) == 0; in xfs_buf_trylock()
948 if (locked) in xfs_buf_trylock()
952 return locked; in xfs_buf_trylock()
/linux-4.1.27/fs/reiserfs/
Dfix_node.c2369 struct buffer_head *locked; in wait_tb_buffers_until_unlocked() local
2377 locked = NULL; in wait_tb_buffers_until_unlocked()
2380 !locked && i > ILLEGAL_PATH_ELEMENT_OFFSET; i--) { in wait_tb_buffers_until_unlocked()
2401 locked = in wait_tb_buffers_until_unlocked()
2408 for (i = 0; !locked && i < MAX_HEIGHT && tb->insert_size[i]; in wait_tb_buffers_until_unlocked()
2419 locked = tb->L[i]; in wait_tb_buffers_until_unlocked()
2422 if (!locked && tb->FL[i]) { in wait_tb_buffers_until_unlocked()
2428 locked = tb->FL[i]; in wait_tb_buffers_until_unlocked()
2431 if (!locked && tb->CFL[i]) { in wait_tb_buffers_until_unlocked()
2437 locked = tb->CFL[i]; in wait_tb_buffers_until_unlocked()
[all …]
Dinode.c2900 bool locked = false; in reiserfs_write_end() local
2930 locked = true; in reiserfs_write_end()
2961 if (!locked) { in reiserfs_write_end()
2963 locked = true; in reiserfs_write_end()
2973 if (locked) in reiserfs_write_end()
2985 locked = false; in reiserfs_write_end()
/linux-4.1.27/net/netrom/
Dnr_route.c149 nr_neigh->locked = 0; in nr_add_node()
173 if (quality != 0 && ax25cmp(nr, ax25) == 0 && !nr_neigh->locked) in nr_add_node()
239 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node()
376 if (nr_neigh->count == 0 && !nr_neigh->locked) in nr_del_node()
418 nr_neigh->locked = 1; in nr_add_neigh()
431 nr_neigh->locked = 1; in nr_add_neigh()
467 nr_neigh->locked = 0; in nr_del_neigh()
502 if (nr_neigh->count == 0 && !nr_neigh->locked) in nr_dec_obs()
968 nr_neigh->locked, in nr_neigh_show()
/linux-4.1.27/drivers/tty/
Dtty_ldsem.c273 int locked = 0; in down_write_failed() local
302 if ((locked = writer_trylock(sem))) in down_write_failed()
306 if (!locked) in down_write_failed()
314 if (!locked) in down_write_failed()
Dtty_ioctl.c241 struct ktermios *locked) in unset_locked_termios() argument
247 if (!locked) { in unset_locked_termios()
252 NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); in unset_locked_termios()
253 NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); in unset_locked_termios()
254 NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); in unset_locked_termios()
255 NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); in unset_locked_termios()
256 termios->c_line = locked->c_line ? old->c_line : termios->c_line; in unset_locked_termios()
258 termios->c_cc[i] = locked->c_cc[i] ? in unset_locked_termios()
Dpty.c161 int locked = test_bit(TTY_PTY_LOCK, &tty->flags); in pty_get_lock() local
162 return put_user(locked, arg); in pty_get_lock()
/linux-4.1.27/arch/c6x/platforms/
Ddscr.c110 struct locked_reg locked[MAX_LOCKED_REGS]; member
124 if (dscr.locked[i].key && reg == dscr.locked[i].reg) in find_locked_reg()
125 return &dscr.locked[i]; in find_locked_reg()
411 r = &dscr.locked[i]; in dscr_parse_locked_regs()
/linux-4.1.27/sound/oss/dmasound/
Ddmasound_core.c456 if (sq->locked) { /* are we already set? - and not changeable */ in sq_setup()
462 sq->locked = 1 ; /* don't think we have a race prob. here _check_ */ in sq_setup()
578 if (write_sq.locked == 0) { in sq_write()
677 if (write_sq.locked == 0) { in sq_poll()
831 write_sq.locked = 0 ; in sq_reset_output()
941 if (write_sq.locked) in queues_are_quiescent()
958 if (sq->locked) { in set_queue_frags()
1016 if ( !write_sq.locked ) in sq_ioctl()
1129 if ( !write_sq.locked ) in sq_ioctl()
1332 write_sq.busy, write_sq.syncing, write_sq.locked, write_sq.xruns) ; in state_open()
Ddmasound.h218 int locked ; /* params cannot be modified when != 0 */ member
/linux-4.1.27/fs/jbd/
Dcommit.c188 int locked; in journal_submit_data_buffers() local
208 locked = 0; in journal_submit_data_buffers()
230 locked = 1; in journal_submit_data_buffers()
242 if (locked) in journal_submit_data_buffers()
248 if (locked && test_clear_buffer_dirty(bh)) { in journal_submit_data_buffers()
262 } else if (!locked && buffer_locked(bh)) { in journal_submit_data_buffers()
273 if (locked) in journal_submit_data_buffers()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dphy.c335 bool locked) in __e1000e_read_phy_reg_igp() argument
339 if (!locked) { in __e1000e_read_phy_reg_igp()
356 if (!locked) in __e1000e_read_phy_reg_igp()
402 bool locked) in __e1000e_write_phy_reg_igp() argument
406 if (!locked) { in __e1000e_write_phy_reg_igp()
422 if (!locked) in __e1000e_write_phy_reg_igp()
468 bool locked) in __e1000_read_kmrn_reg() argument
472 if (!locked) { in __e1000_read_kmrn_reg()
493 if (!locked) in __e1000_read_kmrn_reg()
541 bool locked) in __e1000_write_kmrn_reg() argument
[all …]
/linux-4.1.27/Documentation/mmc/
Dmmc-dev-parts.txt29 The boot partitions can also be locked read only until the next power on,
38 The boot partitions can also be locked permanently, but this feature is
/linux-4.1.27/Documentation/devicetree/bindings/clock/ti/
Dapll.txt7 (reference clock and bypass clock), with analog phase locked
10 modes (locked, low power stop etc.) APLL mostly behaves like
Ddpll.txt7 (reference clock and bypass clock), with digital phase locked
10 modes (locked, low power stop etc.) This binding has several
/linux-4.1.27/include/linux/
Dosq_lock.h10 int locked; /* 1 if lock acquired */ member
Dlru_cache.h208 unsigned long hits, misses, starving, locked, changed; member
Dbuffer_head.h119 BUFFER_FNS(Lock, locked)
Dpage-flags.h210 TESTPAGEFLAG(Locked, locked)
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c447 int ret, locked, cr_lock, sync_lock, fec_lock; in mxl111sf_demod_read_status() local
451 ret = mxl1x1sf_demod_get_rs_lock_status(state, &locked); in mxl111sf_demod_read_status()
464 if (locked) in mxl111sf_demod_read_status()
473 if ((locked) && (cr_lock) && (sync_lock)) in mxl111sf_demod_read_status()
/linux-4.1.27/drivers/vfio/
Dvfio_iommu_spapr_tce.c53 unsigned long locked, lock_limit, npages; in tce_iommu_enable() local
85 locked = current->mm->locked_vm + npages; in tce_iommu_enable()
87 if (locked > lock_limit && !capable(CAP_IPC_LOCK)) { in tce_iommu_enable()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dvvp_page.c475 int locked; in vvp_transient_page_is_vmlocked() local
477 locked = !mutex_trylock(&inode->i_mutex); in vvp_transient_page_is_vmlocked()
478 if (!locked) in vvp_transient_page_is_vmlocked()
480 return locked ? -EBUSY : -ENODATA; in vvp_transient_page_is_vmlocked()
Dvvp_dev.c422 seq_page_flag(seq, vmpage, locked, has_flags); in vvp_pgcache_page_show()
/linux-4.1.27/drivers/misc/
Dvmw_balloon.c415 int locked; in vmballoon_reserve_page() local
434 locked = vmballoon_send_lock_page(b, page_to_pfn(page), &hv_status); in vmballoon_reserve_page()
435 if (locked > 0) { in vmballoon_reserve_page()
453 } while (locked != 0); in vmballoon_reserve_page()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dvga.c142 bool locked = !nv_rdvgac(obj, 0, 0x1f); in nv_lockvgac() local
152 return locked; in nv_lockvgac()
/linux-4.1.27/Documentation/filesystems/
DLocking175 ->mount() returns ERR_PTR or the root dentry; its superblock should be locked
177 ->kill_sb() takes a write-locked superblock, does all shutdown work on it,
277 That is: after 2.5.12, pages which are under writeout are *not* locked. Note,
278 if the filesystem needs the page to be locked during writeout, that is ok, too,
306 not locked.
328 getting mapped back in and redirtied, it needs to be kept locked
390 bh is locked, but that's all warranties we have here. Currently only RAID1,
533 fault: yes can return with page locked
535 page_mkwrite: yes can return with page locked
545 locked. The VM will unlock the page.
[all …]
Dhfsplus.txt48 or locked. Use at your own risk.
Dmandatory-locking.txt108 mandatory locks, so reads and writes to locked files always block when they
122 2. If a process has locked a region of a file with a mandatory read lock, then
129 3. If a process has locked a region of a file with a mandatory write lock, all
Ddirectory-locking45 read, modified or removed by method will be locked by caller.
98 of its descendents is locked by cross-directory rename (otherwise we
Dporting73 same (i.e. parents and victim are locked, etc.).
176 I_NEW flag set and will still be locked. The filesystem then needs to finalize
218 * we know that parent had been locked (e.g. we are looking at
Dfuse.txt282 file to be locked forever.
422 get_user_pages(). The 'req->locked' flag indicates when the copy is
Dxfs-delayed-logging-design.txt169 running. For example, a transaction has object A locked and modified, but needs
180 transaction commit while the item is locked in the transaction. Instead of
188 rewriting can all be done while the object is locked during transaction commit,
314 minimise the time we hold the CIL locked while writing the checkpoint
570 still locked. This happens just after the items are formatted, though it could
726 independent of steps 8-9. An item can be locked in steps 1-6 or steps 8-9
Dhpfs.txt213 0.93 Fixed bug that locked up the machine when there were too many filenames
254 1.96 Added workaround for one bug in OS/2 (HPFS locked up, HPFS386 reported
Dexofs.txt165 would be locked, and so it would really be the same as
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_uiom.c106 unsigned long locked; in usnic_uiom_get_pages() local
133 locked = npages + current->mm->locked_vm; in usnic_uiom_get_pages()
136 if ((locked > lock_limit) && !capable(CAP_IPC_LOCK)) { in usnic_uiom_get_pages()
190 current->mm->locked_vm = locked; in usnic_uiom_get_pages()
/linux-4.1.27/include/drm/
Ddrm_modeset_lock.h56 struct list_head locked; member
/linux-4.1.27/include/trace/events/
Djbd2.h245 __field( unsigned long, locked )
259 __entry->locked = stats->rs_locked;
274 jiffies_to_msecs(__entry->locked),
/linux-4.1.27/Documentation/
Dlockup-watchdogs.txt12 will stay locked up. Alternatively, the kernel can be configured to
22 upon detection and the system will stay locked up unless the default
Dpercpu-rw-semaphore.txt22 The lock is locked for read with percpu_down_read, percpu_up_read and
Dhwspinlock.txt126 - unlock a previously-locked hwspinlock. Always succeed, and can be called
132 - unlock a previously-locked hwspinlock and enable local interrupts.
140 - unlock a previously-locked hwspinlock.
Dvgaarbiter.txt60 "locks" indicates what is locked by this card. If the card is
124 resources as locked. If the resources requested are "normal" (and not legacy)
Dvfio.txt82 but a couple version and extension query interfaces locked away.
306 locked pages accounting in real time.
321 VFIO_IOMMU_ENABLE - enables the container. The locked pages accounting
Dsysrq.txt7 regardless of whatever else it is doing, unless it is completely locked up.
154 sync(s) is great when your system is locked up, it allows you to sync your
Dpi-futex.txt80 means locked. (This is the same method as used by list-based robust
/linux-4.1.27/arch/arm/mach-omap1/
Dsram.S55 tst r4, #1 << 0 @ dpll rate locked?
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-bus-iio-frequency-ad952319 pllY is locked.
Dsysfs-class-mtd66 0x2000: MTD_POWERUP_LOCK - always locked after reset
/linux-4.1.27/Documentation/arm/
Dswp_emulation5 moving to the load-locked/store-conditional instructions LDREX and STREX.
/linux-4.1.27/sound/firewire/dice/
Ddice-proc.c111 u32 locked; in dice_proc_read() member
233 snd_iprintf(buffer, " locked: %u\n", buf.ext_sync.locked); in dice_proc_read()
/linux-4.1.27/lib/
Dlru_cache.c217 lc->locked = 0; in lc_reset()
252 lc->hits, lc->misses, lc->starving, lc->locked, lc->changed); in lc_seq_printf_stats()
425 ++lc->locked; in __lc_get()
/linux-4.1.27/fs/btrfs/
Dreada.c84 int locked; member
291 zone->locked = 0; in reada_find_zone()
598 peer->locked = lock; in reada_peer_zones_set_lock()
628 if (zone->locked) { in reada_pick_zone()
828 zone->locked); in dump_devs()
/linux-4.1.27/arch/c6x/boot/dts/
Dtms320c6455.dtsi86 ti,dscr-locked-regs = <0x40008 0x40004 0x0f0a0b00>;
Dtms320c6472.dtsi125 ti,dscr-locked-regs = <0x200 0x204 0x0a1e183a
/linux-4.1.27/drivers/scsi/
Dosst.h260 unsigned locked :1; /* The volume is locked */ member
264 unsigned locked :1; /* The volume is locked */ member
Dscsi_ioctl.c157 sdev->locked = (state == SCSI_REMOVAL_PREVENT); in scsi_set_medium_removal()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c117 bool locked = false; in ixgbe_setup_fc() local
143 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, &reg_bp); in ixgbe_setup_fc()
245 ret_val = hw->mac.ops.prot_autoc_write(hw, reg_bp, locked); in ixgbe_setup_fc()
2566 s32 prot_autoc_read_generic(struct ixgbe_hw *hw, bool *locked, u32 *reg_val) in prot_autoc_read_generic() argument
2568 *locked = false; in prot_autoc_read_generic()
2580 s32 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked) in prot_autoc_write_generic() argument
2665 bool locked = false; in ixgbe_blink_led_start_generic() local
2675 ret_val = hw->mac.ops.prot_autoc_read(hw, &locked, &autoc_reg); in ixgbe_blink_led_start_generic()
2682 ret_val = hw->mac.ops.prot_autoc_write(hw, autoc_reg, locked); in ixgbe_blink_led_start_generic()
2708 bool locked = false; in ixgbe_blink_led_stop_generic() local
[all …]
Dixgbe_82599.c199 static s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, in prot_autoc_read_82599() argument
204 *locked = false; in prot_autoc_read_82599()
212 *locked = true; in prot_autoc_read_82599()
229 static s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 autoc, bool locked) in prot_autoc_write_82599() argument
241 if (!locked && ixgbe_verify_lesm_fw_enabled_82599(hw)) { in prot_autoc_write_82599()
247 locked = true; in prot_autoc_write_82599()
257 if (locked) in prot_autoc_write_82599()
Dixgbe_common.h104 s32 prot_autoc_write_generic(struct ixgbe_hw *hw, u32 reg_val, bool locked);
/linux-4.1.27/include/uapi/mtd/
Dmtd-abi.h147 __u32 locked; member
/linux-4.1.27/drivers/pci/
Daccess.c534 bool locked = true; in pci_cfg_access_trylock() local
538 locked = false; in pci_cfg_access_trylock()
543 return locked; in pci_cfg_access_trylock()
/linux-4.1.27/sound/soc/fsl/
Dfsl_spdif.c118 u32 locked; in spdif_irq_dpll_lock() local
120 regmap_read(regmap, REG_SPDIF_SRPC, &locked); in spdif_irq_dpll_lock()
121 locked &= SRPC_DPLL_LOCKED; in spdif_irq_dpll_lock()
124 locked ? "locked" : "loss lock"); in spdif_irq_dpll_lock()
126 spdif_priv->dpll_locked = locked ? true : false; in spdif_irq_dpll_lock()
/linux-4.1.27/net/bluetooth/
Da2mp.c743 static struct l2cap_chan *a2mp_chan_open(struct l2cap_conn *conn, bool locked) in a2mp_chan_open() argument
782 if (locked) in a2mp_chan_open()
826 static struct amp_mgr *amp_mgr_create(struct l2cap_conn *conn, bool locked) in amp_mgr_create() argument
839 chan = a2mp_chan_open(conn, locked); in amp_mgr_create()
/linux-4.1.27/tools/perf/Documentation/
Dperf-report.txt127 symbol_daddr, dso_daddr, locked, tlb, mem, snoop, dcacheline.
132 - locked: whether the bus was locked at the time of sample
139 symbol_daddr, dso_daddr, snoop, tlb, locked, see '--mem-mode'.
/linux-4.1.27/Documentation/devicetree/bindings/c6x/
Ddscr.txt44 - ti,dscr-locked-regs
111 ti,dscr-locked-regs = <0x40008 0x40004 0x0f0a0b00>;
/linux-4.1.27/drivers/net/wireless/cw1200/
Dtxrx.c255 int idx, locked; in tx_policy_clean() local
261 locked = list_empty(&cache->free); in tx_policy_clean()
274 if (locked) in tx_policy_clean()
342 int usage, locked; in tx_policy_put() local
346 locked = list_empty(&cache->free); in tx_policy_put()
348 if (locked && !usage) { in tx_policy_put()
/linux-4.1.27/sound/core/
Dinit.c304 int locked; in snd_card_locked() local
307 locked = test_bit(card, snd_cards_lock); in snd_card_locked()
309 return locked; in snd_card_locked()
/linux-4.1.27/Documentation/locking/
Dww-mutex-design.txt28 to be locked, the caller would be assigned a unique reservation id/ticket,
32 younger task) unlocks all of the buffers that it has already locked, and then
224 no need to keep any object on a persistent list when it's not locked. We can
285 /* locked a new object, add it to the list */
Dmutex-design.txt29 0: locked, no waiters
30 negative: locked, with potential waiters
Dspinlocks.txt120 where an interrupt tries to lock an already locked variable. This is ok if
/linux-4.1.27/drivers/pinctrl/intel/
Dpinctrl-intel.c253 bool locked, acpi; in intel_pin_dbg_show() local
271 locked = intel_pad_locked(pctrl, pin); in intel_pin_dbg_show()
274 if (locked || acpi) { in intel_pin_dbg_show()
276 if (locked) { in intel_pin_dbg_show()
Dpinctrl-cherryview.c721 bool locked; in chv_pin_dbg_show() local
727 locked = chv_pad_locked(pctrl, offset); in chv_pin_dbg_show()
744 if (locked) in chv_pin_dbg_show()
/linux-4.1.27/fs/fuse/
Ddev.c485 if (req->locked) { in request_wait_answer()
492 wait_event(req->waitq, !req->locked); in request_wait_answer()
687 req->locked = 1; in lock_request()
702 req->locked = 0; in unlock_request()
1321 req->locked = 0; in fuse_dev_do_read()
1940 req->locked = 1; in fuse_dev_do_write()
1950 req->locked = 0; in fuse_dev_do_write()
2127 wait_event(req->waitq, !req->locked); in end_io_requests()
Dfuse_i.h317 unsigned locked:1; member
/linux-4.1.27/drivers/vhost/
Dvhost.h130 void vhost_dev_cleanup(struct vhost_dev *, bool locked);
/linux-4.1.27/include/net/
Dnetrom.h92 unsigned char locked; member
/linux-4.1.27/drivers/md/
Draid5.c2876 s->locked++; in schedule_reconstruction()
2884 if (!s->locked) in schedule_reconstruction()
2894 if (s->locked + conf->max_degraded == disks) in schedule_reconstruction()
2915 s->locked++; in schedule_reconstruction()
2918 if (!s->locked) in schedule_reconstruction()
2932 s->locked++; in schedule_reconstruction()
2940 s->locked++; in schedule_reconstruction()
2945 s->locked, s->ops_request); in schedule_reconstruction()
3410 s->locked++; in fetch_block()
3620 s->locked++; in handle_stripe_dirtying()
[all …]
Draid5.h261 int locked, uptodate, to_read, to_write, failed, written; member
/linux-4.1.27/drivers/mtd/onenand/
DKconfig48 The OTP block can be read, programmed and locked using the same
Donenand_base.c3208 otpinfo->locked = 0; in onenand_otp_walk()
3516 int syscfg, locked; in flexonenand_get_boundary() local
3531 locked = 0; in flexonenand_get_boundary()
3533 locked = 1; in flexonenand_get_boundary()
3540 this->boundary[die], locked ? "(Locked)" : "(Unlocked)"); in flexonenand_get_boundary()
/linux-4.1.27/sound/pci/hda/
Dhda_controller.c42 #define dsp_is_locked(dev) ((dev)->locked)
1382 if (azx_dev->running || azx_dev->locked) { in azx_load_dsp_prepare()
1389 azx_dev->locked = 1; in azx_load_dsp_prepare()
1423 azx_dev->locked = 0; in azx_load_dsp_prepare()
1448 if (!dmab->area || !azx_dev->locked) in azx_load_dsp_cleanup()
1466 azx_dev->locked = 0; in azx_load_dsp_cleanup()
Dhda_controller.h219 unsigned int locked:1; member
/linux-4.1.27/arch/frv/kernel/
Dsleep.S206 # locked in icache.
277 # unlock the icache which was locked before going to sleep
/linux-4.1.27/drivers/block/zram/
Dzram_drv.c589 bool locked = false; in zram_bvec_write() local
609 locked = true; in zram_bvec_write()
681 locked = false; in zram_bvec_write()
699 if (locked) in zram_bvec_write()
/linux-4.1.27/include/linux/mfd/wm831x/
Dcore.h401 unsigned int locked:1; member
/linux-4.1.27/Documentation/scheduler/
Dsched-arch.txt9 locked. This is usually not a problem unless switch_to may need to
/linux-4.1.27/net/atm/
Dlec.c826 struct lec_priv *locked; member
893 if (!state->locked) { in lec_priv_walk()
894 state->locked = priv; in lec_priv_walk()
899 state->locked = NULL; in lec_priv_walk()
903 return state->locked; in lec_priv_walk()
941 state->locked = NULL; in lec_seq_start()
954 spin_unlock_irqrestore(&state->locked->lec_arp_lock, in lec_seq_stop()
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Dnetwork_protocol.txt216 @start - start of the locked range.
217 @size - size of the locked range.
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dclient.c2233 static void __ptlrpc_free_req(struct ptlrpc_request *request, int locked) in __ptlrpc_free_req() argument
2249 if (!locked) in __ptlrpc_free_req()
2252 if (!locked) in __ptlrpc_free_req()
2280 sptlrpc_req_put_ctx(request, !locked); in __ptlrpc_free_req()
2288 static int __ptlrpc_req_finished(struct ptlrpc_request *request, int locked);
2306 static int __ptlrpc_req_finished(struct ptlrpc_request *request, int locked) in __ptlrpc_req_finished() argument
2322 __ptlrpc_free_req(request, locked); in __ptlrpc_req_finished()
/linux-4.1.27/arch/arm/mach-omap2/
Dsram243x.S73 ldr r10, [r11] @ get locked value
295 cmp r8, #2 @ locked?
Dsleep34xx.S304 bne exit_nonoff_modes @ Return if locked
317 b exit_nonoff_modes @ Return when locked
Dsram242x.S73 ldr r10, [r11] @ get locked value
295 cmp r8, #2 @ locked?
/linux-4.1.27/Documentation/vm/
Dpage_migration95 3. Prep the new page that we want to move to. It is locked
126 to sleeping on the locked new page.
Dunevictable-lru.txt175 Note that SHM_LOCK is not required to page in the locked pages if they're
433 locked across unmapping of the page, updating the page's address space entry
442 locked. This provides the first level of synchronization. Page migration
527 migration, with the argument page locked and isolated from the LRU. Separate
592 for a locked VMA, try_to_unmap_cluster() calls mlock_vma_page() to
593 mlock the page. This call is a no-op if the page is already locked,
Dksm.txt19 KSM's merged pages were originally locked into kernel memory, but can now
Dpagemap.txt71 page is being locked for exclusive access, eg. by undergoing read/write IO
/linux-4.1.27/drivers/clk/st/
Dclkgen-pll.c261 u32 locked = CLKGEN_READ(pll, locked_status); in clkgen_pll_is_locked() local
263 return !!locked; in clkgen_pll_is_locked()
/linux-4.1.27/fs/jffs2/
DREADME.Locking52 node belonging to the inode which was locked in the first place by the
105 has to be locked while walking the c->inocache_list hash buckets.
/linux-4.1.27/arch/mn10300/kernel/
Dmn10300-serial.c1583 int locked = 1; in mn10300_serial_console_write() local
1590 locked = 0; in mn10300_serial_console_write()
1592 locked = spin_trylock(&port->uart.lock); in mn10300_serial_console_write()
1653 if (locked) in mn10300_serial_console_write()
/linux-4.1.27/Documentation/ioctl/
Dcdrom.txt263 EBUSY other processes are accessing drive, or door is locked
282 EBUSY other processes are accessing drive, or door is locked
435 EBUSY Door is locked
792 all CD drives will be locked or unlocked together. This is
/linux-4.1.27/include/uapi/sound/
Dasequencer.h480 unsigned locked:1; /* timing queue locked for other queues */ member
/linux-4.1.27/Documentation/filesystems/nfs/
Dfault_injection.txt45 The NFS server keeps a list of what files are currently locked in the VFS.
/linux-4.1.27/Documentation/hwmon/
Dasc762128 PWM output. These two bytes are "read-locked" to guarantee that once a
29 high or low byte is read, the other byte is locked-in until after the
Djc4286 is likely that it has locked the registers, i.e., that the temperature limits
/linux-4.1.27/drivers/block/drbd/
Ddrbd_actlog.c295 bool locked = false; in drbd_al_begin_io_commit() local
302 (locked = lc_try_lock_for_transaction(device->act_log))); in drbd_al_begin_io_commit()
304 if (locked) { in drbd_al_begin_io_commit()
/linux-4.1.27/fs/
Deventpoll.c833 bool locked; member
841 call_nests + 1, arg->locked); in ep_poll_readyevents_proc()
854 arg.locked = wait && (wait->_qproc == ep_ptable_queue_proc); in ep_eventpoll_poll()
/linux-4.1.27/fs/ocfs2/
Dquota_local.c693 int locked = 0; in ocfs2_local_read_info() local
722 locked = 1; in ocfs2_local_read_info()
784 if (locked) in ocfs2_local_read_info()
/linux-4.1.27/drivers/vme/bridges/
Dvme_ca91cx42.c1691 master_image->locked = 0; in ca91cx42_probe()
1718 slave_image->locked = 0; in ca91cx42_probe()
1746 dma_ctrlr->locked = 0; in ca91cx42_probe()
1767 lm->locked = 0; in ca91cx42_probe()
Dvme_tsi148.c2446 tsi148_device->flush_image->locked = 1; in tsi148_probe()
2466 master_image->locked = 0; in tsi148_probe()
2496 slave_image->locked = 0; in tsi148_probe()
2521 dma_ctrlr->locked = 0; in tsi148_probe()
2544 lm->locked = 0; in tsi148_probe()
/linux-4.1.27/kernel/
Dfutex.c1999 static int fixup_owner(u32 __user *uaddr, struct futex_q *q, int locked) in fixup_owner() argument
2004 if (locked) { in fixup_owner()
2025 locked = 1; in fixup_owner()
2054 return ret ? ret : locked; in fixup_owner()
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_init.c368 qinfo.locked = 1; in alloc_seq_queue()
/linux-4.1.27/Documentation/RCU/
DlistRCU.txt26 system-call auditing support. For example, a reader-writer locked
161 However, if it did, reader-writer-locked code to do so might look as
/linux-4.1.27/drivers/dma/
Damba-pl08x.c154 bool locked; member
613 if (!ch->locked && !ch->serving) { in pl08x_get_phy_channel()
1983 ch->locked ? " LOCKED" : ""); in pl08x_debugfs_show()
2177 ch->locked = true; in pl08x_probe()
/linux-4.1.27/drivers/macintosh/
Dvia-pmu.c121 locked, enumerator
1274 while((pmu_state != idle && pmu_state != locked) || !req->complete) in pmu_wait_complete()
1542 pmu_state = locked; in pmu_sr_intr()
1650 if (pmu_state == locked) in pmu_unlock()
/linux-4.1.27/include/scsi/
Dscsi_device.h134 unsigned locked:1; /* Media removal disabled */ member
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dqoriq-clock.txt5 multiple phase locked loops (PLL) to create a variety of frequencies
Dclock-bindings.txt102 /* phase-locked-loop device, generates a higher frequency clock
/linux-4.1.27/Documentation/ide/
DChangeLog.ide-cd.1994-2004230 * - CD-ROM leaving door locked fix from Andries
250 * tray if it was locked prior to the reset.
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c755 int locked; in cl_lock_nr_mutexed() local
763 for (i = 0, locked = 0; i < ARRAY_SIZE(info->clt_counters); ++i) in cl_lock_nr_mutexed()
764 locked += info->clt_counters[i].ctc_nr_locks_locked; in cl_lock_nr_mutexed()
765 return locked; in cl_lock_nr_mutexed()
/linux-4.1.27/net/ipx/
Daf_ipx.c1765 bool locked = true; in ipx_recvmsg() local
1793 locked = false; in ipx_recvmsg()
1829 if (locked) in ipx_recvmsg()
/linux-4.1.27/drivers/mmc/card/
Dblock.c202 int locked = 0; in power_ro_lock_show() local
205 locked = 2; in power_ro_lock_show()
207 locked = 1; in power_ro_lock_show()
209 ret = snprintf(buf, PAGE_SIZE, "%d\n", locked); in power_ro_lock_show()
/linux-4.1.27/fs/ext4/
Dindirect.c690 goto locked; in ext4_ind_direct_IO()
702 locked: in ext4_ind_direct_IO()
/linux-4.1.27/arch/arm/mach-tegra/
Dsleep-tegra20.S168 ret lr @ locked
/linux-4.1.27/drivers/powercap/
Dintel_rapl.c1279 u64 locked; in rapl_detect_domains() local
1306 if (rapl_read_data_raw(rd, FW_LOCK, false, &locked)) { in rapl_detect_domains()
/linux-4.1.27/drivers/scsi/aacraid/
Daachba.c2750 fsa_dev_ptr[cid].locked = 1; in aac_scsi_cmd()
2752 fsa_dev_ptr[cid].locked = 0; in aac_scsi_cmd()
2872 qd.locked = fsa_dev_ptr[qd.cnum].locked; in query_disk()
2930 if (fsa_dev_ptr[dd.cnum].locked) in delete_disk()
Daacraid.h911 u8 locked; member
1858 u32 locked; member
/linux-4.1.27/Documentation/w1/
Dw1.netlink160 is found) is locked. If slave command is requested, then reset/select
/linux-4.1.27/fs/f2fs/
Ddata.c1516 bool locked = false; in f2fs_write_data_pages() local
1539 locked = true; in f2fs_write_data_pages()
1542 if (locked) in f2fs_write_data_pages()
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmdomain.c1295 int locked = 0, status = -EINVAL; in dlm_query_nodeinfo_handler() local
1311 locked = 1; in dlm_query_nodeinfo_handler()
1332 if (locked) in dlm_query_nodeinfo_handler()
/linux-4.1.27/drivers/mtd/chips/
Dcfi_cmdset_0002.c1479 otpinfo->locked = otplocked; in cfi_amdstd_otp_walk()
2534 int locked; member
2669 sect[sectors].locked = do_ppb_xxlock( in cfi_ppb_unlock()
2711 if (sect[i].locked) in cfi_ppb_unlock()
DKconfig166 Register is locked, it cannot be unlocked.
/linux-4.1.27/tools/lib/traceevent/
Devent-parse.h53 int locked; /* Do not free, even if ref_count is zero */ member
/linux-4.1.27/Documentation/driver-model/
Ddriver.txt147 The probe() entry is called in task context, with the bus's rwsem locked
/linux-4.1.27/drivers/mtd/devices/
Dmtd_dataflash.c451 info->locked = 1; in dataflash_get_otp_info()

12