Searched refs:need_lock (Results 1 - 12 of 12) sorted by relevance
/linux-master/mm/damon/ |
H A D | paddr.c | 41 bool need_lock; local 51 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); 52 if (need_lock && !folio_trylock(folio)) 57 if (need_lock) 123 bool need_lock; local 136 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); 137 if (need_lock && !folio_trylock(folio)) 142 if (need_lock)
|
/linux-master/mm/ |
H A D | page_idle.c | 99 bool need_lock; local 104 need_lock = !folio_test_anon(folio) || folio_test_ksm(folio); 105 if (need_lock && !folio_trylock(folio)) 110 if (need_lock)
|
/linux-master/drivers/media/usb/gspca/ |
H A D | sq905.c | 158 sq905_read_data(struct gspca_dev *gspca_dev, u8 *data, int size, int need_lock) argument 164 if (need_lock) 172 if (need_lock)
|
/linux-master/fs/f2fs/ |
H A D | data.c | 2637 fio->need_lock = LOCK_DONE; 2642 if (fio->need_lock == LOCK_REQ && !f2fs_trylock_op(fio->sbi)) 2682 if (fio->need_lock == LOCK_REQ) 2697 if (fio->need_lock == LOCK_RETRY) { 2702 fio->need_lock = LOCK_REQ; 2727 if (fio->need_lock == LOCK_REQ) 2761 .need_lock = compr_blocks ? LOCK_DONE : LOCK_RETRY, 2816 fio.need_lock = LOCK_DONE; 2843 fio.need_lock = LOCK_REQ;
|
H A D | gc.c | 1454 .need_lock = LOCK_REQ,
|
H A D | f2fs.h | 1211 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */ member in struct:f2fs_io_info
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | command_submission.c | 3246 struct hl_user_pending_interrupt *record, bool need_lock) 3252 if (need_lock) 3261 if (need_lock) 3277 bool need_lock = false; local 3301 need_lock = true; 3305 unregister_timestamp_node(hdev, req_offset_record, need_lock); 3307 if (need_lock) 3245 unregister_timestamp_node(struct hl_device *hdev, struct hl_user_pending_interrupt *record, bool need_lock) argument
|
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas.h | 659 bool need_lock);
|
H A D | hisi_sas_main.c | 208 struct hisi_sas_slot *slot, bool need_lock) 242 if (need_lock) { 1081 struct hisi_sas_slot *slot, bool need_lock) 1098 hisi_sas_slot_task_free(hisi_hba, task, slot, need_lock); 207 hisi_sas_slot_task_free(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot, bool need_lock) argument 1080 hisi_sas_do_release_task(struct hisi_hba *hisi_hba, struct sas_task *task, struct hisi_sas_slot *slot, bool need_lock) argument
|
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc.c | 270 const bool need_lock = rfld.reg == DISPC_CONTROL || rfld.reg == DISPC_CONFIG; local 273 if (need_lock) 278 if (need_lock)
|
/linux-master/arch/s390/kvm/ |
H A D | kvm-s390.c | 2612 const bool need_lock = (cmd->cmd != KVM_PV_ASYNC_CLEANUP_PERFORM); local 2617 if (need_lock) 2840 if (need_lock)
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 8371 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) argument 8376 if (need_lock) 8382 if (need_lock)
|
Completed in 344 milliseconds