Home
last modified time | relevance | path

Searched refs:down_write (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/Linux-v5.15/fs/nilfs2/
Dbmap.c146 down_write(&bmap->b_sem); in nilfs_bmap_insert()
244 down_write(&bmap->b_sem); in nilfs_bmap_delete()
296 down_write(&bmap->b_sem); in nilfs_bmap_truncate()
311 down_write(&bmap->b_sem); in nilfs_bmap_clear()
336 down_write(&bmap->b_sem); in nilfs_bmap_propagate()
381 down_write(&bmap->b_sem); in nilfs_bmap_assign()
411 down_write(&bmap->b_sem); in nilfs_bmap_mark()
431 down_write(&bmap->b_sem); in nilfs_bmap_test_and_clear_dirty()
543 down_write(&bmap->b_sem); in nilfs_bmap_write()
Dsuper.c92 down_write(&nilfs->ns_sem); in nilfs_set_error()
415 down_write(&nilfs->ns_segctor_sem); in nilfs_resize_fs()
430 down_write(&nilfs->ns_sem); in nilfs_resize_fs()
470 down_write(&nilfs->ns_sem); in nilfs_put_super()
493 down_write(&nilfs->ns_sem); in nilfs_sync_fs()
573 down_write(&nilfs->ns_sem); in nilfs_freeze()
586 down_write(&nilfs->ns_sem); in nilfs_unfreeze()
1084 down_write(&nilfs->ns_sem); in nilfs_fill_super()
1143 down_write(&nilfs->ns_sem); in nilfs_remount()
1174 down_write(&nilfs->ns_sem); in nilfs_remount()
/Linux-v5.15/fs/nfs/
Dio.c52 down_write(&inode->i_rwsem); in nfs_start_io_read()
80 down_write(&inode->i_rwsem); in nfs_start_io_write()
132 down_write(&inode->i_rwsem); in nfs_start_io_direct()
/Linux-v5.15/drivers/leds/
Dled-triggers.c60 down_write(&led_cdev->trigger_lock); in led_trigger_write()
240 down_write(&led_cdev->trigger_lock); in led_trigger_remove()
254 down_write(&led_cdev->trigger_lock); in led_trigger_set_default()
273 down_write(&triggers_list_lock); in led_trigger_rename_static()
291 down_write(&triggers_list_lock); in led_trigger_register()
308 down_write(&led_cdev->trigger_lock); in led_trigger_register()
331 down_write(&triggers_list_lock); in led_trigger_unregister()
338 down_write(&led_cdev->trigger_lock); in led_trigger_unregister()
/Linux-v5.15/fs/ceph/
Dio.c61 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-v5.15/drivers/staging/greybus/
Daudio_manager.c59 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-v5.15/include/linux/
Drwsem.h187 extern void down_write(struct rw_semaphore *sem);
247 # define down_write_nest_lock(sem, nest_lock) down_write(sem)
248 # define down_write_nested(sem, subclass) down_write(sem)
/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_cfg.c93 down_write(&dev_cfg_data->lock); in adf_cfg_del_all()
116 down_write(&dev_cfg_data->lock); in adf_cfg_dev_remove()
249 down_write(&cfg->lock); in adf_cfg_add_key_value_param()
281 down_write(&cfg->lock); in adf_cfg_section_add()
/Linux-v5.15/fs/ksmbd/mgmt/
Dshare_config.c56 down_write(&shares_table_lock); in __ksmbd_share_config_put()
172 down_write(&shares_table_lock); in share_config_request()
232 down_write(&shares_table_lock); in ksmbd_share_configs_cleanup()
/Linux-v5.15/fs/fscache/
Dcache.c50 down_write(&fscache_addremove_sem); in __fscache_lookup_cache_tag()
72 down_write(&fscache_addremove_sem); in __fscache_release_cache_tag()
251 down_write(&fscache_addremove_sem); in fscache_add_cache()
373 down_write(&fscache_addremove_sem); in fscache_withdraw_cache()
/Linux-v5.15/kernel/bpf/
Doffload.c105 down_write(&bpf_devs_lock); in bpf_prog_offload_init()
229 down_write(&bpf_devs_lock); in bpf_prog_offload_destroy()
382 down_write(&bpf_devs_lock); in bpf_map_offload_map_alloc()
425 down_write(&bpf_devs_lock); in bpf_map_offload_map_free()
610 down_write(&bpf_devs_lock); in bpf_offload_dev_netdev_register()
637 down_write(&bpf_devs_lock); in bpf_offload_dev_netdev_unregister()
678 down_write(&bpf_devs_lock); in bpf_offload_dev_create()
/Linux-v5.15/drivers/md/
Ddm-path-selector.c105 down_write(&_ps_lock); in dm_register_path_selector()
122 down_write(&_ps_lock); in dm_unregister_path_selector()
Ddm-target.c85 down_write(&_lock); in dm_register_target()
97 down_write(&_lock); in dm_unregister_target()
/Linux-v5.15/drivers/tty/
Dtty_ioctl.c114 down_write(&tty->termios_rwsem); in tty_unthrottle()
352 down_write(&tty->termios_rwsem); in tty_set_termios()
559 down_write(&tty->termios_rwsem); in set_sgttyb()
597 down_write(&tty->termios_rwsem); in set_tchars()
634 down_write(&tty->termios_rwsem); in set_ltchars()
663 down_write(&tty->termios_rwsem); in tty_change_softcar()
774 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
791 down_write(&real_tty->termios_rwsem); in tty_mode_ioctl()
/Linux-v5.15/fs/dlm/
Drecoverd.c35 down_write(&ls->ls_recv_active); in enable_locking()
286 down_write(&ls->ls_in_recovery); in dlm_recoverd()
310 down_write(&ls->ls_in_recovery); in dlm_recoverd()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Ddevcom.c161 down_write(&comp->sem); in mlx5_devcom_register_component()
176 down_write(&comp->sem); in mlx5_devcom_unregister_component()
193 down_write(&comp->sem); in mlx5_devcom_send_event()
/Linux-v5.15/drivers/nvme/target/
Dconfigfs.c504 down_write(&nvmet_ana_sem); in nvmet_ns_ana_grpid_store()
822 down_write(&nvmet_config_sem); in nvmet_port_subsys_allow_link()
854 down_write(&nvmet_config_sem); in nvmet_port_subsys_drop_link()
902 down_write(&nvmet_config_sem); in nvmet_allowed_hosts_allow_link()
932 down_write(&nvmet_config_sem); in nvmet_allowed_hosts_drop_link()
975 down_write(&nvmet_config_sem); in nvmet_subsys_attr_allow_any_host_store()
1049 down_write(&nvmet_config_sem); in nvmet_subsys_attr_version_store()
1110 down_write(&nvmet_config_sem); in nvmet_subsys_attr_serial_store()
1137 down_write(&nvmet_config_sem); in nvmet_subsys_attr_cntlid_min_store()
1167 down_write(&nvmet_config_sem); in nvmet_subsys_attr_cntlid_max_store()
[all …]
/Linux-v5.15/net/rds/
Dtransport.c54 down_write(&rds_trans_sem); in rds_trans_register()
70 down_write(&rds_trans_sem); in rds_trans_unregister()
/Linux-v5.15/fs/
Dsuper.c365 down_write(&s->s_umount); in deactivate_super()
389 down_write(&s->s_umount); in grab_super()
825 down_write(&sb->s_umount); in user_get_super()
881 down_write(&sb->s_umount); in reconfigure_super()
941 down_write(&sb->s_umount); in do_emergency_remount_callback()
977 down_write(&sb->s_umount); in do_thaw_all_callback()
1288 down_write(&s->s_umount); in get_tree_bdev()
1363 down_write(&s->s_umount); in mount_bdev()
1665 down_write(&sb->s_umount); in freeze_super()
1687 down_write(&sb->s_umount); in freeze_super()
[all …]
/Linux-v5.15/drivers/pci/
Dremove.c38 down_write(&pci_bus_sem); in pci_destroy_dev()
52 down_write(&pci_bus_sem); in pci_remove_bus()
/Linux-v5.15/tools/perf/util/
Dcomm.c33 down_write(&comm_str_lock); in comm_str__put()
101 down_write(&comm_str_lock); in comm_str__findnew()
Dthread.c94 down_write(&thread->namespaces_lock); in thread__delete()
102 down_write(&thread->comm_lock); in thread__delete()
202 down_write(&thread->namespaces_lock); in thread__set_namespaces()
269 down_write(&thread->comm_lock); in __thread__set_comm()
/Linux-v5.15/sound/core/
Dcontrol.c124 down_write(&card->controls_rwsem); in snd_ctl_release()
428 down_write(&card->controls_rwsem); in snd_ctl_add_replace()
523 down_write(&card->controls_rwsem); in snd_ctl_remove_id()
552 down_write(&card->controls_rwsem); in snd_ctl_remove_user_ctl()
593 down_write(&card->controls_rwsem); in snd_ctl_activate_id()
639 down_write(&card->controls_rwsem); in snd_ctl_rename_id()
1140 down_write(&card->controls_rwsem); in snd_ctl_elem_write()
1210 down_write(&card->controls_rwsem); in snd_ctl_elem_lock()
1238 down_write(&card->controls_rwsem); in snd_ctl_elem_unlock()
1532 down_write(&card->controls_rwsem); in snd_ctl_elem_add()
[all …]
/Linux-v5.15/crypto/
Dalgapi.c291 down_write(&crypto_alg_sem); in crypto_alg_tested()
422 down_write(&crypto_alg_sem); in crypto_register_alg()
452 down_write(&crypto_alg_sem); in crypto_unregister_alg()
501 down_write(&crypto_alg_sem); in crypto_register_template()
543 down_write(&crypto_alg_sem); in crypto_unregister_template()
614 down_write(&crypto_alg_sem); in crypto_register_instance()
658 down_write(&crypto_alg_sem); in crypto_unregister_instance()
686 down_write(&crypto_alg_sem); in crypto_grab_spawn()
709 down_write(&crypto_alg_sem); in crypto_drop_spawn()
/Linux-v5.15/drivers/net/wireguard/
Dcookie.c98 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()

12345678910>>...15