/openbmc/linux/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 299 up_write(&iopt->iova_rwsem); in iopt_alloc_area_pages() 380 up_write(&iopt->iova_rwsem); in iopt_map_pages() 534 up_write(&iopt->iova_rwsem); in iopt_unmap_iova_range() 548 up_write(&iopt->iova_rwsem); in iopt_unmap_iova_range() 608 up_write(&iopt->iova_rwsem); in iopt_set_allow_iova() 655 up_write(&iopt->iova_rwsem); in iopt_remove_reserved_iova() 913 up_write(&iopt->iova_rwsem); in iopt_table_add_domain() 921 up_write(&iopt->iova_rwsem); in iopt_table_add_domain() 991 up_write(&iopt->iova_rwsem); in iopt_table_remove_domain() 1124 up_write(&iopt->iova_rwsem); in iopt_cut_iova() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_manager.c | 61 up_write(&modules_rwsem); in gb_audio_manager_add() 75 up_write(&modules_rwsem); in gb_audio_manager_remove() 80 up_write(&modules_rwsem); in gb_audio_manager_remove() 101 up_write(&modules_rwsem); in gb_audio_manager_remove_all()
|
/openbmc/linux/fs/nilfs2/ |
H A D | bmap.c | 156 up_write(&bmap->b_sem); in nilfs_bmap_insert() 254 up_write(&bmap->b_sem); in nilfs_bmap_delete() 306 up_write(&bmap->b_sem); in nilfs_bmap_truncate() 322 up_write(&bmap->b_sem); in nilfs_bmap_clear() 346 up_write(&bmap->b_sem); in nilfs_bmap_propagate() 391 up_write(&bmap->b_sem); in nilfs_bmap_assign() 421 up_write(&bmap->b_sem); in nilfs_bmap_mark() 442 up_write(&bmap->b_sem); in nilfs_bmap_test_and_clear_dirty() 557 up_write(&bmap->b_sem); in nilfs_bmap_write()
|
/openbmc/linux/drivers/leds/ |
H A D | led-triggers.c | 62 up_write(&led_cdev->trigger_lock); in led_trigger_write() 259 up_write(&led_cdev->trigger_lock); in led_trigger_remove() 280 up_write(&led_cdev->trigger_lock); in led_trigger_set_default() 301 up_write(&triggers_list_lock); in led_trigger_register() 307 up_write(&triggers_list_lock); in led_trigger_register() 319 up_write(&led_cdev->trigger_lock); in led_trigger_register() 337 up_write(&triggers_list_lock); in led_trigger_unregister() 345 up_write(&led_cdev->trigger_lock); in led_trigger_unregister()
|
/openbmc/linux/drivers/md/ |
H A D | dm-path-selector.c | 114 up_write(&_ps_lock); in dm_register_path_selector() 128 up_write(&_ps_lock); in dm_unregister_path_selector() 134 up_write(&_ps_lock); in dm_unregister_path_selector()
|
H A D | dm-ioctl.c | 298 up_write(&_hash_lock); in dm_hash_insert() 303 up_write(&_hash_lock); in dm_hash_insert() 363 up_write(&_hash_lock); in dm_hash_remove_all() 385 up_write(&_hash_lock); in dm_hash_remove_all() 458 up_write(&_hash_lock); in dm_hash_rename() 470 up_write(&_hash_lock); in dm_hash_rename() 483 up_write(&_hash_lock); in dm_hash_rename() 508 up_write(&_hash_lock); in dm_hash_rename() 668 up_write(&_hash_lock); in list_devices() 1012 up_write(&_hash_lock); in dev_remove() [all …]
|
H A D | dm-target.c | 95 up_write(&_lock); in dm_register_target() 111 up_write(&_lock); in dm_unregister_target()
|
/openbmc/linux/include/linux/ |
H A D | rwsem.h | 203 extern void up_write(struct rw_semaphore *sem); 206 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T)) 209 DEFINE_FREE(up_write, struct rw_semaphore *, if (_T) up_write(_T))
|
/openbmc/linux/fs/smb/server/mgmt/ |
H A D | user_session.c | 193 up_write(&conn->session_lock); in ksmbd_expire_session() 194 up_write(&sessions_table_lock); in ksmbd_expire_session() 254 up_write(&conn->session_lock); in ksmbd_sessions_deregister() 255 up_write(&sessions_table_lock); in ksmbd_sessions_deregister() 358 up_write(&conn->session_lock); in destroy_previous_session() 359 up_write(&sessions_table_lock); in destroy_previous_session() 423 up_write(&sessions_table_lock); in __session_create()
|
/openbmc/linux/drivers/usb/core/ |
H A D | file.c | 144 up_write(&minor_rwsem); in usb_register_dev() 158 up_write(&minor_rwsem); in usb_register_dev() 188 up_write(&minor_rwsem); in usb_deregister_dev()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | configfs.c | 518 up_write(&nvmet_ana_sem); in nvmet_ns_ana_grpid_store() 552 up_write(&nvmet_config_sem); in nvmet_ns_enable_store() 887 up_write(&nvmet_config_sem); in nvmet_port_subsys_allow_link() 891 up_write(&nvmet_config_sem); in nvmet_port_subsys_allow_link() 908 up_write(&nvmet_config_sem); in nvmet_port_subsys_drop_link() 918 up_write(&nvmet_config_sem); in nvmet_port_subsys_drop_link() 966 up_write(&nvmet_config_sem); in nvmet_allowed_hosts_allow_link() 969 up_write(&nvmet_config_sem); in nvmet_allowed_hosts_allow_link() 1663 up_write(&nvmet_ana_sem); in nvmet_ana_group_ana_state_store() 1685 up_write(&nvmet_ana_sem); in nvmet_ana_group_release() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | dev-replace.c | 443 up_write(&dev_replace->rwsem); in btrfs_run_dev_replace() 656 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start() 684 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start() 706 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start() 945 up_write(&dev_replace->rwsem); in btrfs_dev_replace_finishing() 979 up_write(&dev_replace->rwsem); in btrfs_dev_replace_finishing() 1090 up_write(&dev_replace->rwsem); in btrfs_dev_replace_cancel() 1095 up_write(&dev_replace->rwsem); in btrfs_dev_replace_cancel() 1126 up_write(&dev_replace->rwsem); in btrfs_dev_replace_cancel() 1178 up_write(&dev_replace->rwsem); in btrfs_dev_replace_suspend_for_unmount() [all …]
|
/openbmc/linux/drivers/s390/block/ |
H A D | dcssblk.c | 414 up_write(&dcssblk_devices_sem); in dcssblk_shared_store() 428 up_write(&dcssblk_devices_sem); in dcssblk_shared_store() 493 up_write(&dcssblk_devices_sem); in dcssblk_save_store() 496 up_write(&dcssblk_devices_sem); in dcssblk_save_store() 706 up_write(&dcssblk_devices_sem); in dcssblk_add_store() 723 up_write(&dcssblk_devices_sem); in dcssblk_add_store() 729 up_write(&dcssblk_devices_sem); in dcssblk_add_store() 778 up_write(&dcssblk_devices_sem); in dcssblk_remove_store() 785 up_write(&dcssblk_devices_sem); in dcssblk_remove_store() 796 up_write(&dcssblk_devices_sem); in dcssblk_remove_store() [all …]
|
/openbmc/linux/fs/kernfs/ |
H A D | dir.c | 497 up_write(&root->kernfs_rwsem); in kernfs_drain() 808 up_write(&root->kernfs_iattr_rwsem); in kernfs_add_one() 809 up_write(&root->kernfs_rwsem); in kernfs_add_one() 823 up_write(&root->kernfs_rwsem); in kernfs_add_one() 1409 up_write(&root->kernfs_rwsem); in kernfs_activate() 1444 up_write(&root->kernfs_rwsem); in kernfs_show() 1529 up_write(&root->kernfs_rwsem); in kernfs_remove() 1647 up_write(&root->kernfs_rwsem); in kernfs_remove_self() 1662 up_write(&root->kernfs_rwsem); in kernfs_remove_self() 1698 up_write(&root->kernfs_rwsem); in kernfs_remove_by_name_ns() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | offload.c | 256 up_write(&bpf_devs_lock); in bpf_prog_dev_bound_init() 285 up_write(&bpf_devs_lock); in bpf_prog_dev_bound_inherit() 391 up_write(&bpf_devs_lock); in bpf_prog_dev_bound_destroy() 543 up_write(&bpf_devs_lock); in bpf_map_offload_map_alloc() 549 up_write(&bpf_devs_lock); in bpf_map_offload_map_alloc() 563 up_write(&bpf_devs_lock); in bpf_map_offload_map_free() 759 up_write(&bpf_devs_lock); in bpf_offload_dev_netdev_register() 769 up_write(&bpf_devs_lock); in bpf_offload_dev_netdev_unregister() 813 up_write(&bpf_devs_lock); in bpf_dev_bound_netdev_unregister()
|
/openbmc/linux/fs/ntfs/ |
H A D | mft.c | 1340 up_write(&vol->lcnbmp_lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1348 up_write(&vol->lcnbmp_lock); in ntfs_mft_bitmap_extend_allocation_nolock() 1531 up_write(&vol->lcnbmp_lock); in ntfs_mft_bitmap_extend_allocation_nolock() 2283 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2331 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2352 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2372 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2510 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2743 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() 2749 up_write(&vol->mftbmp_lock); in ntfs_mft_record_alloc() [all …]
|
/openbmc/linux/sound/core/ |
H A D | control.c | 132 up_write(&card->controls_rwsem); in snd_ctl_release() 525 up_write(&card->controls_rwsem); in snd_ctl_add_replace() 623 up_write(&card->controls_rwsem); in snd_ctl_remove() 650 up_write(&card->controls_rwsem); in snd_ctl_remove_id() 689 up_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl() 738 up_write(&card->controls_rwsem); in snd_ctl_activate_id() 778 up_write(&card->controls_rwsem); in snd_ctl_rename_id() 804 up_write(&card->controls_rwsem); in snd_ctl_rename() 2164 up_write(&snd_ioctl_rwsem); in _snd_ctl_register_ioctl() 2211 up_write(&snd_ioctl_rwsem); in _snd_ctl_unregister_ioctl() [all …]
|
/openbmc/linux/fs/fscache/ |
H A D | cache.c | 121 up_write(&fscache_addremove_sem); in fscache_lookup_cache() 132 up_write(&fscache_addremove_sem); in fscache_lookup_cache() 196 up_write(&fscache_addremove_sem); in fscache_put_cache() 258 up_write(&fscache_addremove_sem); in fscache_add_cache()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cfg.c | 110 up_write(&dev_cfg_data->lock); in adf_cfg_del_all() 133 up_write(&dev_cfg_data->lock); in adf_cfg_dev_remove() 306 up_write(&cfg->lock); in adf_cfg_add_key_value_param() 338 up_write(&cfg->lock); in adf_cfg_section_add()
|
/openbmc/linux/crypto/ |
H A D | algapi.c | 435 up_write(&crypto_alg_sem); in crypto_alg_tested() 471 up_write(&crypto_alg_sem); in crypto_register_alg() 502 up_write(&crypto_alg_sem); in crypto_unregister_alg() 563 up_write(&crypto_alg_sem); in crypto_register_template() 605 up_write(&crypto_alg_sem); in crypto_unregister_template() 698 up_write(&crypto_alg_sem); in crypto_register_instance() 718 up_write(&crypto_alg_sem); in crypto_unregister_instance() 753 up_write(&crypto_alg_sem); in crypto_grab_spawn() 768 up_write(&crypto_alg_sem); in crypto_drop_spawn() 1087 up_write(&crypto_alg_sem); in crypto_start_tests()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 157 up_write(&comp->sem); in devcom_alloc_comp_dev() 169 up_write(&comp->sem); in devcom_free_comp_dev() 279 up_write(&comp->sem); in mlx5_devcom_send_event() 293 up_write(&comp->sem); in mlx5_devcom_send_event()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wil_crash_dump.c | 71 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump() 94 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump()
|
/openbmc/linux/net/rds/ |
H A D | transport.c | 64 up_write(&rds_trans_sem); in rds_trans_register() 75 up_write(&rds_trans_sem); in rds_trans_unregister()
|
/openbmc/linux/fs/ubifs/ |
H A D | commit.c | 112 up_write(&c->commit_sem); in do_commit() 146 up_write(&c->commit_sem); in do_commit() 214 up_write(&c->commit_sem); in do_commit() 257 up_write(&c->commit_sem); in run_bg_commit() 439 up_write(&c->commit_sem); in ubifs_run_commit() 450 up_write(&c->commit_sem); in ubifs_run_commit()
|
/openbmc/linux/tools/perf/util/ |
H A D | comm.c | 35 up_write(&comm_str_lock); in comm_str__put() 103 up_write(&comm_str_lock); in comm_str__findnew()
|