/linux/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 261 down_write(&iopt->iova_rwsem); in iopt_alloc_area_pages() 316 down_write(&area->iopt->iova_rwsem); in iopt_abort_area() 377 down_write(&iopt->iova_rwsem); in iopt_map_pages() 710 down_write(&iopt->iova_rwsem); in iopt_unmap_iova_range() 761 down_write(&iopt->iova_rwsem); in iopt_unmap_iova_range() 815 down_write(&iopt->iova_rwsem); in iopt_set_allow_iova() 872 down_write(&iopt->iova_rwsem); in iopt_remove_reserved_iova() 1076 down_write(&iopt->domains_rwsem); in iopt_table_add_domain() 1077 down_write(&iopt->iova_rwsem); in iopt_table_add_domain() 1187 down_write(&iopt->domains_rwsem); in iopt_table_remove_domain() [all …]
|
/linux/fs/nilfs2/ |
H A D | bmap.c | 148 down_write(&bmap->b_sem); 240 down_write(&bmap->b_sem); 290 down_write(&bmap->b_sem); 305 down_write(&bmap->b_sem); in nilfs_bmap_truncate() 328 down_write(&bmap->b_sem); 373 down_write(&bmap->b_sem); 401 down_write(&bmap->b_sem); 421 down_write(&bmap->b_sem); in nilfs_bmap_mark()
|
H A D | super.c | 92 down_write(&nilfs->ns_sem); in nilfs_set_error() 457 down_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs() 472 down_write(&nilfs->ns_sem); in nilfs_resize_fs() 512 down_write(&nilfs->ns_sem); in nilfs_put_super() 536 down_write(&nilfs->ns_sem); in nilfs_sync_fs() 595 down_write(&nilfs->ns_sem); in nilfs_unfreeze() 608 down_write(&nilfs->ns_sem); in nilfs_statfs() 1105 down_write(&nilfs->ns_sem); in nilfs_fill_super() 1154 down_write(&nilfs->ns_sem); in nilfs_reconfigure() 1187 down_write( in nilfs_reconfigure() [all...] |
/linux/fs/ceph/ |
H A D | io.c | 61 down_write(&inode->i_rwsem); in ceph_start_io_read() 89 down_write(&inode->i_rwsem); in ceph_start_io_write() 147 down_write(&inode->i_rwsem); in ceph_start_io_direct()
|
/linux/fs/smb/server/mgmt/ |
H A D | user_session.c | 181 down_write(&sessions_table_lock); in ksmbd_expire_session() 182 down_write(&conn->session_lock); in ksmbd_expire_session() 224 down_write(&sessions_table_lock); in ksmbd_sessions_deregister() 238 down_write(&conn->session_lock); in ksmbd_sessions_deregister() 340 down_write(&sessions_table_lock); in destroy_previous_session() 341 down_write(&conn->session_lock); in destroy_previous_session() 428 down_write(&sessions_table_lock); in __session_create()
|
/linux/lib/ |
H A D | codetag.c | 192 down_write(&cttype->mod_lock); in codetag_module_init() 230 down_write(&cttype->mod_lock); in codetag_needs_module_section() 255 down_write(&cttype->mod_lock); in codetag_alloc_module_section() 275 down_write(&cttype->mod_lock); in codetag_free_module_sections() 291 down_write(&cttype->mod_lock); in codetag_module_replaced() 327 down_write(&cttype->mod_lock); in codetag_unload_module()
|
/linux/include/linux/ |
H A D | rwsem.h | 223 extern void down_write(struct rw_semaphore *sem); 245 DEFINE_GUARD(rwsem_write, struct rw_semaphore *, down_write(_T), up_write(_T)) 290 # define down_write_nest_lock(sem, nest_lock) down_write(sem) 291 # define down_write_nested(sem, subclass) down_write(sem)
|
/linux/drivers/staging/greybus/ |
H A D | audio_manager.c | 59 down_write(&modules_rwsem); in gb_audio_manager_add() 71 down_write(&modules_rwsem); in gb_audio_manager_remove() 91 down_write(&modules_rwsem); in gb_audio_manager_remove_all()
|
/linux/tools/include/linux/ |
H A D | rwsem.h | 31 static inline int down_write(struct rw_semaphore *sem) in down_write() function 42 #define down_write_nested(sem, subclass) down_write(sem)
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cfg.c | 110 down_write(&dev_cfg_data->lock); in adf_cfg_del_all() 121 down_write(&dev_cfg_data->lock); in adf_cfg_del_all_except() 144 down_write(&dev_cfg_data->lock); in adf_cfg_dev_remove() 322 down_write(&cfg->lock); in adf_cfg_add_key_value_param() 365 down_write(&cfg->lock); in adf_cfg_section_add()
|
/linux/fs/kernfs/ |
H A D | dir.c | 386 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_link_sibling() 413 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in kernfs_unlink_sibling() 516 down_write(&root->kernfs_rwsem); in kernfs_drain() 778 down_write(&root->kernfs_rwsem); in kernfs_add_one() 800 down_write(&root->kernfs_iattr_rwsem); in kernfs_add_one() 1404 down_write(&root->kernfs_rwsem); in kernfs_activate() 1432 down_write(&root->kernfs_rwsem); in kernfs_show() 1498 down_write(&kernfs_root(kn)->kernfs_iattr_rwsem); in __kernfs_remove() 1528 down_write(&root->kernfs_rwsem); in kernfs_remove() 1620 down_write(&root->kernfs_rwsem); in kernfs_remove_self() [all …]
|
/linux/drivers/nvme/target/ |
H A D | configfs.c | 672 down_write(&nvmet_ana_sem); in nvmet_ns_ana_grpid_store() 708 down_write(&nvmet_config_sem); in nvmet_ns_enable_store() 1047 down_write(&nvmet_config_sem); in nvmet_port_subsys_allow_link() 1079 down_write(&nvmet_config_sem); in nvmet_port_subsys_drop_link() 1127 down_write(&nvmet_config_sem); in nvmet_allowed_hosts_allow_link() 1157 down_write(&nvmet_config_sem); in nvmet_allowed_hosts_drop_link() 1200 down_write(&nvmet_config_sem); in nvmet_subsys_attr_allow_any_host_store() 1274 down_write(&nvmet_config_sem); in nvmet_subsys_attr_version_store() 1335 down_write(&nvmet_config_sem); in nvmet_subsys_attr_serial_store() 1362 down_write(&nvmet_config_sem); in nvmet_subsys_attr_cntlid_min_store() [all …]
|
/linux/kernel/bpf/ |
H A D | offload.c | 261 down_write(&bpf_devs_lock); in bpf_prog_dev_bound_init() 283 down_write(&bpf_devs_lock); in bpf_prog_dev_bound_inherit() 387 down_write(&bpf_devs_lock); in bpf_prog_dev_bound_destroy() 533 down_write(&bpf_devs_lock); in bpf_map_offload_map_alloc() 567 down_write(&bpf_devs_lock); in bpf_map_offload_map_free() 764 down_write(&bpf_devs_lock); in bpf_offload_dev_netdev_register() 774 down_write(&bpf_devs_lock); in bpf_offload_dev_netdev_unregister() 816 down_write(&bpf_devs_lock); in bpf_dev_bound_netdev_unregister()
|
/linux/drivers/md/ |
H A D | dm-path-selector.c | 106 down_write(&_ps_lock); in dm_register_path_selector() 124 down_write(&_ps_lock); in dm_unregister_path_selector()
|
/linux/tools/perf/util/ |
H A D | dsos.c | 27 down_write(&dsos->lock); in dsos__purge() 175 down_write(&dsos->lock); in __dsos__find_by_longname_id() 239 down_write(&dsos->lock); in dsos__add() 353 down_write(&dsos->lock); in dsos__findnew_id() 434 down_write(&dsos->lock); in dsos__findnew_module_dso()
|
H A D | maps.c | 334 down_write(maps__lock(maps)); in maps__sort_by_address() 358 down_write(maps__lock(maps)); in maps__sort_by_name() 501 down_write(maps__lock(maps)); in maps__insert() 536 down_write(maps__lock(maps)); in maps__remove() 596 down_write(maps__lock(maps)); in maps__remove_maps() 934 down_write(maps__lock(maps)); in maps__fixup_overlap_and_insert() 947 down_write(maps__lock(dest)); in maps__copy_from() 1157 down_write(maps__lock(maps)); in maps__fixup_end() 1218 down_write(maps__lock(kmaps)); in maps__merge_in()
|
/linux/drivers/tty/ |
H A D | tty_ioctl.c | 103 down_write(&tty->termios_rwsem); in tty_unthrottle() 337 down_write(&tty->termios_rwsem); in tty_set_termios() 642 down_write(&tty->termios_rwsem); in set_sgttyb() 678 down_write(&tty->termios_rwsem); in set_tchars() 715 down_write(&tty->termios_rwsem); in set_ltchars() 747 down_write(&tty->termios_rwsem); in tty_change_softcar() 853 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl() 870 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | devcom.c | 159 down_write(&comp->sem); in devcom_alloc_comp_dev() 171 down_write(&comp->sem); in devcom_free_comp_dev() 279 down_write(&comp->sem); in mlx5_devcom_send_event() 402 down_write(&devcom->comp->sem); in mlx5_devcom_comp_lock()
|
/linux/drivers/usb/core/ |
H A D | file.c | 134 down_write(&minor_rwsem); in usb_register_dev() 186 down_write(&minor_rwsem); in usb_deregister_dev()
|
/linux/net/rds/ |
H A D | transport.c | 54 down_write(&rds_trans_sem); in rds_trans_register() 70 down_write(&rds_trans_sem); in rds_trans_unregister()
|
/linux/fs/afs/ |
H A D | server_list.c | 164 down_write(&volume->cell->vs_lock); in afs_attach_volume_to_servers() 192 down_write(&volume->cell->vs_lock); in afs_reattach_volume_to_servers() 242 down_write(&volume->cell->vs_lock); in afs_detach_volume_from_servers()
|
/linux/drivers/pci/ |
H A D | remove.c | 60 down_write(&pci_bus_sem); in pci_destroy_dev() 75 down_write(&pci_bus_sem); in pci_remove_bus()
|
/linux/drivers/net/wireguard/ |
H A D | cookie.c | 98 down_write(&checker->secret_lock); in make_cookie() 162 down_write(&peer->latest_cookie.lock); in wg_cookie_add_mac_to_packet() 223 down_write(&peer->latest_cookie.lock); in wg_cookie_message_consume()
|
H A D | noise.c | 49 down_write(&peer->handshake.lock); in wg_noise_precompute_static_static() 90 down_write(&handshake->lock); in wg_noise_handshake_clear() 530 down_write(&handshake->lock); in wg_noise_handshake_create_initiation() 643 down_write(&handshake->lock); in wg_noise_handshake_consume_initiation() 679 down_write(&handshake->lock); in wg_noise_handshake_create_response() 786 down_write(&handshake->lock); in wg_noise_handshake_consume_response() 822 down_write(&handshake->lock); in wg_noise_handshake_begin_session()
|
/linux/security/keys/ |
H A D | keyring.c | 1059 down_write(&keyring->sem); in keyring_restrict() 1060 down_write(&keyring_serialise_restrict_sem); in keyring_restrict() 1247 down_write(&keyring->sem); in __key_link_lock() 1276 down_write(&l_keyring->sem); in __key_move_lock() 1279 down_write(&u_keyring->sem); in __key_move_lock() 1480 down_write(&keyring->sem); in __key_unlink_lock() 1658 down_write(&keyring->sem); in keyring_clear() 1742 down_write(&keyring->sem); in keyring_gc() 1784 down_write(&keyring->sem); in keyring_restriction_gc()
|