Home
last modified time | relevance | path

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

/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/fs/ntfs/
H A Dnamei.c828 __le16 *name, u8 name_len, bool need_lock) in ntfs_delete() argument
841 if (need_lock == true) { in ntfs_delete()
861 if (need_lock) { in ntfs_delete()
978 if (need_lock == true) { in ntfs_delete()
1001 if (need_lock) { in ntfs_delete()
/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/gfs2/
H A Dsuper.c1375 bool need_lock = gfs2_is_jdata(ip) && mapping->nrpages; in gfs2_truncate_inode_pages_final() local
1377 if (need_lock) in gfs2_truncate_inode_pages_final()
1380 if (need_lock) in gfs2_truncate_inode_pages_final()
/linux/fs/f2fs/
H A Ddata.c2972 fio->need_lock = LOCK_DONE; in f2fs_do_write_data_page()
2981 if (fio->need_lock == LOCK_REQ && !f2fs_trylock_op(fio->sbi, &lc)) in f2fs_do_write_data_page()
3017 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()
3028 if (fio->need_lock == LOCK_RETRY) { in f2fs_do_write_data_page()
3033 fio->need_lock = LOCK_REQ; in f2fs_do_write_data_page()
3056 if (fio->need_lock == LOCK_REQ) in f2fs_do_write_data_page()
3090 .need_lock = compr_blocks ? LOCK_DONE : LOCK_RETRY, in f2fs_write_single_data_page()
3147 fio.need_lock = LOCK_DONE; in f2fs_write_single_data_page()
3168 fio.need_lock = LOCK_REQ; in f2fs_write_single_data_page()
H A Dcheckpoint.c1532 bool need_lock = sbi->umount_lock_holder != current; in block_operations() local
1542 if (!need_lock) { in block_operations()
H A Dfile.c2536 bool readonly, bool need_lock) in f2fs_do_shutdown() argument
2587 if (need_lock) in f2fs_do_shutdown()
2596 if (need_lock) in f2fs_do_shutdown()
H A Df2fs.h1368 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */ member
3858 bool readonly, bool need_lock);
H A Dgc.c1540 .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/arch/s390/kvm/s390/
H A Ds390.c2556 const bool need_lock = (cmd->cmd != KVM_PV_ASYNC_CLEANUP_PERFORM); in kvm_s390_handle_pv() local
2561 if (need_lock) in kvm_s390_handle_pv()
2784 if (need_lock) in kvm_s390_handle_pv()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6554 const bool need_lock = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
6579 if (need_lock) { in mlx5e_attach_netdev()
6608 if (need_lock) { in mlx5e_attach_netdev()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c6198 static bool hclge_is_umv_space_full(struct hclge_vport *vport, bool need_lock) in hclge_is_umv_space_full() argument
6203 if (need_lock) in hclge_is_umv_space_full()
6209 if (need_lock) in hclge_is_umv_space_full()