Home
last modified time | relevance | path

Searched refs:need_lock (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/mm/
Dpage_idle.c102 bool need_lock; in page_idle_clear_pte_refs() local
108 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()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dsq905.c158 sq905_read_data(struct gspca_dev *gspca_dev, u8 *data, int size, int need_lock) in sq905_read_data() argument
164 if (need_lock) in sq905_read_data()
172 if (need_lock) in sq905_read_data()
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c2681 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()
Dgc.c1364 .need_lock = LOCK_REQ, in move_data_page()
Df2fs.h1135 int need_lock; /* indicate we need to lock cp_rwsem */ member
Dsegment.c509 fio.need_lock = LOCK_DONE; in __f2fs_commit_inmem_pages()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c270 const bool need_lock = rfld.reg == DISPC_CONTROL || rfld.reg == DISPC_CONFIG; in mgr_fld_write() local
273 if (need_lock) in mgr_fld_write()
278 if (need_lock) in mgr_fld_write()
/kernel/linux/linux-5.10/fs/btrfs/
Ddisk-io.c243 bool need_lock = (current->journal_info == BTRFS_SEND_TRANS_STUB); in verify_parent_transid() local
251 if (need_lock) { in verify_parent_transid()
282 if (need_lock) in verify_parent_transid()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7393 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full() argument
7398 if (need_lock) in hclge_is_umv_space_full()
7404 if (need_lock) in hclge_is_umv_space_full()