Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 63) sorted by relevance

123

/linux-4.19.296/drivers/media/dvb-frontends/
Dlgs8gxx.c305 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked() argument
318 *locked = ((t & 0x80) == 0x80) ? 1 : 0; in lgs8gxx_is_locked()
320 *locked = ((t & 0xC0) == 0xC0) ? 1 : 0; in lgs8gxx_is_locked()
325 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock() argument
341 *locked = (ret == 0) ? 1 : 0; in lgs8gxx_wait_ca_lock()
369 u8 *locked) in lgs8gxx_autolock_gi() argument
394 err = lgs8gxx_wait_ca_lock(priv, locked); in lgs8gxx_autolock_gi()
395 if (err || !(*locked)) in lgs8gxx_autolock_gi()
403 *locked = 0; in lgs8gxx_autolock_gi()
413 u8 locked = 0, tmp_gi; in lgs8gxx_auto_detect() local
[all …]
Datbm8830.c156 static int is_locked(struct atbm_state *priv, u8 *locked) in is_locked() argument
162 if (locked != NULL) in is_locked()
163 *locked = (status == 1); in is_locked()
270 u8 locked = 0; in atbm8830_set_fe() local
286 is_locked(priv, &locked); in atbm8830_set_fe()
287 if (locked != 0) { in atbm8830_set_fe()
338 u8 locked = 0; in atbm8830_read_status() local
344 is_locked(priv, &locked); in atbm8830_read_status()
345 if (locked) { in atbm8830_read_status()
Dlgdt3305.c826 int *locked) in lgdt3305_read_cr_lock_status() argument
832 *locked = 0; in lgdt3305_read_cr_lock_status()
842 *locked = 1; in lgdt3305_read_cr_lock_status()
864 *locked = 1; in lgdt3305_read_cr_lock_status()
871 lg_dbg("(%d) %s\n", *locked, cr_lock_state); in lgdt3305_read_cr_lock_status()
877 int *locked) in lgdt3305_read_fec_lock_status() argument
882 *locked = 0; in lgdt3305_read_fec_lock_status()
896 *locked = mpeg_lock && fec_lock && viterbi_lock; in lgdt3305_read_fec_lock_status()
898 lg_dbg("(%d) %s%s%s\n", *locked, in lgdt3305_read_fec_lock_status()
Dstv0900_core.c1514 int locked = FALSE; in stv0900_status() local
1523 locked = FALSE; in stv0900_status()
1526 locked = stv0900_get_bits(intp, LOCK_DEFINITIF) && in stv0900_status()
1531 locked = stv0900_get_bits(intp, LOCK_DEFINITIF) && in stv0900_status()
1537 dprintk("%s: locked = %d\n", __func__, locked); in stv0900_status()
1550 return locked; in stv0900_status()
1594 p_result.locked = FALSE; in stv0900_search()
1616 p_result.locked = intp->result[demod].locked; in stv0900_search()
1628 p_result.locked = FALSE; in stv0900_search()
1640 if ((p_result.locked == TRUE) && (error == STV0900_NO_ERROR)) { in stv0900_search()
[all …]
Dstv0367_priv.h182 int locked; member
/linux-4.19.296/drivers/misc/
Dvmw_balloon.c555 int locked, hv_status; in vmballoon_lock_page() local
561 locked = vmballoon_send_lock_page(b, page_to_pfn(page), &hv_status, in vmballoon_lock_page()
563 if (locked) { in vmballoon_lock_page()
566 if (locked == -EIO && in vmballoon_lock_page()
584 return locked; in vmballoon_lock_page()
599 int locked, i; in vmballoon_lock_batched_page() local
602 locked = vmballoon_send_batched_lock(b, num_pages, is_2m_pages, in vmballoon_lock_batched_page()
604 if (locked > 0) { in vmballoon_lock_batched_page()
621 locked = vmballoon_batch_get_status(b->batch_page, i); in vmballoon_lock_batched_page()
623 switch (locked) { in vmballoon_lock_batched_page()
[all …]
/linux-4.19.296/include/asm-generic/
Dqspinlock_types.h42 u8 locked; member
57 u8 locked; member
Dqspinlock.h101 smp_store_release(&lock->locked, 0); in queued_spin_unlock()
/linux-4.19.296/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()
/linux-4.19.296/fs/xfs/
Dxfs_trans_dquot.c505 bool locked; in xfs_trans_unreserve_and_mod_dquots() local
526 locked = false; in xfs_trans_unreserve_and_mod_dquots()
529 locked = true; in xfs_trans_unreserve_and_mod_dquots()
534 if (!locked) { in xfs_trans_unreserve_and_mod_dquots()
536 locked = true; in xfs_trans_unreserve_and_mod_dquots()
543 if (!locked) { in xfs_trans_unreserve_and_mod_dquots()
545 locked = true; in xfs_trans_unreserve_and_mod_dquots()
550 if (locked) in xfs_trans_unreserve_and_mod_dquots()
/linux-4.19.296/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 …]
/linux-4.19.296/virt/kvm/
Dasync_pf.c80 int locked = 1; in async_pf_execute() local
91 &locked); in async_pf_execute()
92 if (locked) in async_pf_execute()
/linux-4.19.296/fs/overlayfs/
Dutil.c632 bool locked = false; in ovl_inuse_trylock() local
637 locked = true; in ovl_inuse_trylock()
641 return locked; in ovl_inuse_trylock()
754 int ovl_nlink_start(struct dentry *dentry, bool *locked) in ovl_nlink_start() argument
804 *locked = true; in ovl_nlink_start()
809 void ovl_nlink_end(struct dentry *dentry, bool locked) in ovl_nlink_end() argument
811 if (locked) { in ovl_nlink_end()
Ddir.c686 bool locked = false; in ovl_link() local
707 err = ovl_nlink_start(old, &locked); in ovl_link()
720 ovl_nlink_end(old, locked); in ovl_link()
845 bool locked = false; in ovl_do_remove() local
866 err = ovl_nlink_start(dentry, &locked); in ovl_do_remove()
882 ovl_nlink_end(dentry, locked); in ovl_do_remove()
1046 bool locked = false; in ovl_rename() local
1113 err = ovl_nlink_start(new, &locked); in ovl_rename()
1248 ovl_nlink_end(new, locked); in ovl_rename()
/linux-4.19.296/include/linux/
Dosq_lock.h11 int locked; /* 1 if lock acquired */ member
Dbacking-dev.h372 cookie->locked = smp_load_acquire(&inode->i_state) & I_WB_SWITCH; in unlocked_inode_to_wb_begin()
374 if (unlikely(cookie->locked)) in unlocked_inode_to_wb_begin()
392 if (unlikely(cookie->locked)) in unlocked_inode_to_wb_end()
Dlru_cache.h208 unsigned long hits, misses, starving, locked, changed; member
Dbacking-dev-defs.h230 bool locked; member
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c443 int ret, locked, cr_lock, sync_lock, fec_lock; in mxl111sf_demod_read_status() local
447 ret = mxl1x1sf_demod_get_rs_lock_status(state, &locked); in mxl111sf_demod_read_status()
460 if (locked) in mxl111sf_demod_read_status()
469 if ((locked) && (cr_lock) && (sync_lock)) in mxl111sf_demod_read_status()
/linux-4.19.296/include/drm/
Ddrm_modeset_lock.h57 struct list_head locked; member
/linux-4.19.296/include/trace/events/
Djbd2.h246 __field( unsigned long, locked )
260 __entry->locked = stats->rs_locked;
275 jiffies_to_msecs(__entry->locked),
/linux-4.19.296/drivers/pci/
Daccess.c295 bool locked = true; in pci_cfg_access_trylock() local
299 locked = false; in pci_cfg_access_trylock()
304 return locked; in pci_cfg_access_trylock()
/linux-4.19.296/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()
423 ++lc->locked; in __lc_get()
/linux-4.19.296/fs/btrfs/
Dreada.c69 int locked; member
268 zone->locked = 0; in reada_find_zone()
585 peer->locked = lock; in reada_peer_zones_set_lock()
615 if (zone->locked) { in reada_pick_zone()
824 zone->locked); in dump_devs()
/linux-4.19.296/fs/proc/
Dtask_mmu.c430 bool compound, bool young, bool dirty, bool locked) in smaps_account() argument
457 if (locked) in smaps_account()
472 if (locked) in smaps_account()
480 if (locked) in smaps_account()
504 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pte_entry() local
547 smaps_account(mss, page, false, pte_young(*pte), pte_dirty(*pte), locked); in smaps_pte_entry()
556 bool locked = !!(vma->vm_flags & VM_LOCKED); in smaps_pmd_entry() local
571 smaps_account(mss, page, true, pmd_young(*pmd), pmd_dirty(*pmd), locked); in smaps_pmd_entry()

123