| /linux/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) 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 D | namei.c | 828 __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 D | command_submission.c | 3244 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 D | super.c | 1375 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 D | data.c | 2972 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 D | checkpoint.c | 1532 bool need_lock = sbi->umount_lock_holder != current; in block_operations() local 1542 if (!need_lock) { in block_operations()
|
| H A D | file.c | 2536 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 D | f2fs.h | 1368 unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */ member 3858 bool readonly, bool need_lock);
|
| H A D | gc.c | 1540 .need_lock = LOCK_REQ, in move_data_page()
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas.h | 679 bool need_lock);
|
| H A D | hisi_sas_main.c | 240 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 D | s390.c | 2556 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 D | en_main.c | 6554 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 D | hclge_main.c | 6198 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()
|