Home
last modified time | relevance | path

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

/linux/arch/arm/mm/
H A Dfault-armv.c65 unsigned long pfn, bool need_lock) in adjust_pte() argument
102 if (need_lock) { in adjust_pte()
116 if (need_lock) in adjust_pte()
149 bool need_lock = IS_ENABLED(CONFIG_SPLIT_PTE_PTLOCKS); in make_coherent() local
166 need_lock = false; in make_coherent()
167 aliases += adjust_pte(mpnt, mpnt_addr, pfn, need_lock); in make_coherent()
/linux/drivers/media/usb/gspca/
H A 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()
/linux/drivers/accel/habanalabs/common/
H A Dcommand_submission.c3244 struct hl_user_pending_interrupt *record, bool need_lock) in unregister_timestamp_node() argument
3250 if (need_lock) in unregister_timestamp_node()
3259 if (need_lock) in unregister_timestamp_node()
3275 bool need_lock = false; in ts_get_and_handle_kernel_record() local
3293 need_lock = true; in ts_get_and_handle_kernel_record()
3297 unregister_timestamp_node(hdev, req_offset_record, need_lock); in ts_get_and_handle_kernel_record()
3299 if (need_lock) in ts_get_and_handle_kernel_record()
/linux/fs/f2fs/
H A Ddata.c2953 fio->need_lock = LOCK_DONE; in f2fs_do_write_data_page()
2962 if (fio->need_lock == LOCK_REQ && !f2fs_trylock_op(fio->sbi, &lc)) in f2fs_do_write_data_page()
3002 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()
3016 if (fio->need_lock == LOCK_RETRY) { in f2fs_do_write_data_page()
3021 fio->need_lock = LOCK_REQ; in f2fs_do_write_data_page()
3048 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()
3082 .need_lock = compr_blocks ? LOCK_DONE : LOCK_RETRY, in f2fs_write_single_data_page()
3139 fio.need_lock = LOCK_DONE; in f2fs_write_single_data_page()
3160 fio.need_lock = LOCK_REQ; in f2fs_write_single_data_page()
H A Dcheckpoint.c1430 bool need_lock = sbi->umount_lock_holder != current; in block_operations() local
1440 if (!need_lock) { in block_operations()
H A Dfile.c2437 bool readonly, bool need_lock) in f2fs_do_shutdown() argument
2488 if (need_lock) in f2fs_do_shutdown()
2497 if (need_lock) in f2fs_do_shutdown()
H A Df2fs.h1354 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */ member
3788 bool readonly, bool need_lock);
H A Dgc.c1509 .need_lock = LOCK_REQ, in move_data_page()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas.h679 bool need_lock);
H A Dhisi_sas_main.c240 struct hisi_sas_slot *slot, bool need_lock) in hisi_sas_slot_task_free() argument
274 if (need_lock) { in hisi_sas_slot_task_free()
1133 struct hisi_sas_slot *slot, bool need_lock) in hisi_sas_do_release_task() argument
1150 hisi_sas_slot_task_free(hisi_hba, task, slot, need_lock); in hisi_sas_do_release_task()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A 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()
/linux/arch/s390/kvm/
H A Dkvm-s390.c2496 const bool need_lock = (cmd->cmd != KVM_PV_ASYNC_CLEANUP_PERFORM); in kvm_s390_handle_pv() local
2501 if (need_lock) in kvm_s390_handle_pv()
2723 if (need_lock) in kvm_s390_handle_pv()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6395 const bool need_lock = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
6441 if (need_lock) { in mlx5e_attach_netdev()
6446 if (need_lock) { in mlx5e_attach_netdev()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8468 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full() argument
8473 if (need_lock) in hclge_is_umv_space_full()
8479 if (need_lock) in hclge_is_umv_space_full()