Searched refs:need_lock (Results 1 – 9 of 9) sorted by relevance
102 bool need_lock; in page_idle_clear_pte_refs() local108 need_lock = !PageAnon(page) || PageKsm(page); in page_idle_clear_pte_refs()109 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()114 if (need_lock) in page_idle_clear_pte_refs()
158 sq905_read_data(struct gspca_dev *gspca_dev, u8 *data, int size, int need_lock) in sq905_read_data() argument164 if (need_lock) in sq905_read_data()172 if (need_lock) in sq905_read_data()
2681 fio->need_lock = LOCK_DONE; in f2fs_do_write_data_page()2686 if (fio->need_lock == LOCK_REQ && !f2fs_trylock_op(fio->sbi)) in f2fs_do_write_data_page()2722 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()2737 if (fio->need_lock == LOCK_RETRY) { in f2fs_do_write_data_page()2742 fio->need_lock = LOCK_REQ; in f2fs_do_write_data_page()2770 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()2803 .need_lock = LOCK_RETRY, in f2fs_write_single_data_page()2860 fio.need_lock = LOCK_DONE; in f2fs_write_single_data_page()2886 fio.need_lock = LOCK_REQ; in f2fs_write_single_data_page()
1364 .need_lock = LOCK_REQ, in move_data_page()
1135 int need_lock; /* indicate we need to lock cp_rwsem */ member
509 fio.need_lock = LOCK_DONE; in __f2fs_commit_inmem_pages()
270 const bool need_lock = rfld.reg == DISPC_CONTROL || rfld.reg == DISPC_CONFIG; in mgr_fld_write() local273 if (need_lock) in mgr_fld_write()278 if (need_lock) in mgr_fld_write()
243 bool need_lock = (current->journal_info == BTRFS_SEND_TRANS_STUB); in verify_parent_transid() local251 if (need_lock) { in verify_parent_transid()282 if (need_lock) in verify_parent_transid()
7393 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full() argument7398 if (need_lock) in hclge_is_umv_space_full()7404 if (need_lock) in hclge_is_umv_space_full()