Searched refs:need_lock (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/mm/damon/ |
D | paddr.c | 43 bool need_lock; in damon_folio_mkold() local 50 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_folio_mkold() 51 if (need_lock && !folio_trylock(folio)) in damon_folio_mkold() 56 if (need_lock) in damon_folio_mkold() 130 bool need_lock; in damon_folio_young() local 139 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in damon_folio_young() 140 if (need_lock && !folio_trylock(folio)) in damon_folio_young() 145 if (need_lock) in damon_folio_young()
|
/linux-6.12.1/mm/ |
D | page_idle.c | 99 bool need_lock; in page_idle_clear_pte_refs() local 104 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); in page_idle_clear_pte_refs() 105 if (need_lock && !folio_trylock(folio)) in page_idle_clear_pte_refs() 110 if (need_lock) in page_idle_clear_pte_refs()
|
/linux-6.12.1/drivers/media/usb/gspca/ |
D | sq905.c | 158 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()
|
/linux-6.12.1/fs/f2fs/ |
D | data.c | 2683 fio->need_lock = LOCK_DONE; in f2fs_do_write_data_page() 2688 if (fio->need_lock == LOCK_REQ && !f2fs_trylock_op(fio->sbi)) in f2fs_do_write_data_page() 2728 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page() 2742 if (fio->need_lock == LOCK_RETRY) { in f2fs_do_write_data_page() 2747 fio->need_lock = LOCK_REQ; in f2fs_do_write_data_page() 2774 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page() 2809 .need_lock = compr_blocks ? LOCK_DONE : LOCK_RETRY, in f2fs_write_single_data_page() 2864 fio.need_lock = LOCK_DONE; in f2fs_write_single_data_page() 2891 fio.need_lock = LOCK_REQ; in f2fs_write_single_data_page()
|
D | file.c | 2299 bool readonly, bool need_lock) in f2fs_do_shutdown() argument 2347 if (need_lock) in f2fs_do_shutdown() 2356 if (need_lock) in f2fs_do_shutdown()
|
D | f2fs.h | 1219 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */ member 3519 bool readonly, bool need_lock);
|
D | gc.c | 1492 .need_lock = LOCK_REQ, in move_data_page()
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | command_submission.c | 3246 struct hl_user_pending_interrupt *record, bool need_lock) in unregister_timestamp_node() argument 3252 if (need_lock) in unregister_timestamp_node() 3261 if (need_lock) in unregister_timestamp_node() 3277 bool need_lock = false; in ts_get_and_handle_kernel_record() local 3295 need_lock = true; in ts_get_and_handle_kernel_record() 3299 unregister_timestamp_node(hdev, req_offset_record, need_lock); in ts_get_and_handle_kernel_record() 3301 if (need_lock) in ts_get_and_handle_kernel_record()
|
/linux-6.12.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 208 struct hisi_sas_slot *slot, bool need_lock) in hisi_sas_slot_task_free() argument 242 if (need_lock) { in hisi_sas_slot_task_free() 1082 struct hisi_sas_slot *slot, bool need_lock) in hisi_sas_do_release_task() argument 1099 hisi_sas_slot_task_free(hisi_hba, task, slot, need_lock); in hisi_sas_do_release_task()
|
D | hisi_sas.h | 660 bool need_lock);
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 270 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()
|
/linux-6.12.1/arch/s390/kvm/ |
D | kvm-s390.c | 2622 const bool need_lock = (cmd->cmd != KVM_PV_ASYNC_CLEANUP_PERFORM); in kvm_s390_handle_pv() local 2627 if (need_lock) in kvm_s390_handle_pv() 2848 if (need_lock) in kvm_s390_handle_pv()
|
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 8447 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full() argument 8452 if (need_lock) in hclge_is_umv_space_full() 8458 if (need_lock) in hclge_is_umv_space_full()
|