Searched refs:down_write (Results 1 - 200 of 294) sorted by relevance

12

/linux-4.1.27/drivers/leds/
H A Dled-triggers.c64 down_write(&led_cdev->trigger_lock); led_trigger_store()
154 down_write(&led_cdev->trigger_lock); led_trigger_remove()
168 down_write(&led_cdev->trigger_lock); led_trigger_set_default()
183 down_write(&triggers_list_lock); led_trigger_rename_static()
201 down_write(&triggers_list_lock); led_trigger_register()
216 down_write(&led_cdev->trigger_lock); led_trigger_register()
236 down_write(&triggers_list_lock); led_trigger_unregister()
243 down_write(&led_cdev->trigger_lock); led_trigger_unregister()
H A Dled-class.c270 down_write(&leds_list_lock); led_classdev_register()
306 down_write(&led_cdev->trigger_lock); led_classdev_unregister()
320 down_write(&leds_list_lock); led_classdev_unregister()
H A Dleds-bd2802.c334 down_write(&led->rwsem); \
457 down_write(&led->rwsem); bd2802_store_adv_conf()
498 down_write(&led->rwsem); \
/linux-4.1.27/drivers/md/
H A Ddm-path-selector.c105 down_write(&_ps_lock); dm_register_path_selector()
122 down_write(&_ps_lock); dm_unregister_path_selector()
H A Ddm-target.c87 down_write(&_lock); dm_register_target()
99 down_write(&_lock); dm_unregister_target()
H A Ddm-thin-metadata.c1018 down_write(&pmd->root_lock); dm_pool_create_thin()
1109 down_write(&pmd->root_lock); dm_pool_create_snap()
1152 down_write(&pmd->root_lock); dm_pool_delete_thin_device()
1166 down_write(&pmd->root_lock); dm_pool_set_metadata_transaction_id()
1263 down_write(&pmd->root_lock); dm_pool_reserve_metadata_snap()
1309 down_write(&pmd->root_lock); dm_pool_release_metadata_snap()
1353 down_write(&pmd->root_lock); dm_pool_open_thin_device()
1363 down_write(&td->pmd->root_lock); dm_pool_close_thin_device()
1450 down_write(&td->pmd->root_lock); dm_thin_insert_block()
1478 down_write(&td->pmd->root_lock); dm_thin_remove_block()
1543 down_write(&pmd->root_lock); dm_pool_alloc_data_block()
1555 down_write(&pmd->root_lock); dm_pool_commit_metadata()
1584 down_write(&pmd->root_lock); dm_pool_abort_metadata()
1719 down_write(&pmd->root_lock); dm_pool_resize_data_dev()
1731 down_write(&pmd->root_lock); dm_pool_resize_metadata_dev()
1741 down_write(&pmd->root_lock); dm_pool_metadata_read_only()
1749 down_write(&pmd->root_lock); dm_pool_metadata_read_write()
1762 down_write(&pmd->root_lock); dm_pool_register_metadata_threshold()
1775 down_write(&pmd->root_lock); dm_pool_metadata_set_needs_check()
H A Ddm-snap.c531 down_write(&_origins_lock); register_snapshot()
568 down_write(&_origins_lock); reregister_snapshot()
580 down_write(&_origins_lock); unregister_snapshot()
906 down_write(&s->lock); remove_single_exception_chunk()
980 down_write(&s->lock); snapshot_merge_next_chunks()
1023 down_write(&s->lock); snapshot_merge_next_chunks()
1068 down_write(&s->lock); merge_callback()
1323 down_write(&snap_dest->lock); snapshot_dtr()
1443 down_write(&s->lock); pending_complete()
1451 down_write(&s->lock); pending_complete()
1458 down_write(&s->lock); pending_complete()
1683 down_write(&s->lock); snapshot_map()
1707 down_write(&s->lock); snapshot_map()
1794 down_write(&s->lock); snapshot_merge_map()
1917 down_write(&snap_src->lock); snapshot_resume()
1936 down_write(&s->lock); snapshot_resume()
1978 down_write(&snap->lock); snapshot_status()
2067 down_write(&snap->lock); list_for_each_entry()
2096 down_write(&snap->lock); list_for_each_entry()
2294 down_write(&_origins_lock); origin_resume()
2303 down_write(&_origins_lock); origin_postsuspend()
H A Ddm-cache-metadata.c857 down_write(&cmd->root_lock); dm_cache_resize()
894 down_write(&cmd->root_lock); dm_cache_discard_bitset_resize()
949 down_write(&cmd->root_lock); dm_cache_set_discard()
1023 down_write(&cmd->root_lock); dm_cache_remove_mapping()
1051 down_write(&cmd->root_lock); dm_cache_insert_mapping()
1237 down_write(&cmd->root_lock); dm_cache_set_dirty()
1255 down_write(&cmd->root_lock); dm_cache_metadata_set_stats()
1266 down_write(&cmd->root_lock); dm_cache_commit()
1379 down_write(&cmd->root_lock); dm_cache_write_hints()
H A Ddm-ioctl.c221 down_write(&_hash_lock); dm_hash_insert()
289 down_write(&_hash_lock); dm_hash_remove_all()
385 down_write(&_hash_lock); dm_hash_rename()
509 down_write(&_hash_lock); list_devices()
833 down_write(&_hash_lock); dev_remove()
1005 down_write(&_hash_lock); do_resume()
1320 down_write(&_hash_lock); table_load()
1362 down_write(&_hash_lock); table_clear()
/linux-4.1.27/arch/x86/um/vdso/
H A Dvma.c63 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/fs/fscache/
H A Dnetfs.c57 down_write(&fscache_addremove_sem); __fscache_register_netfs()
92 down_write(&fscache_addremove_sem); __fscache_unregister_netfs()
H A Dcache.c54 down_write(&fscache_addremove_sem); __fscache_lookup_cache_tag()
76 down_write(&fscache_addremove_sem); __fscache_release_cache_tag()
255 down_write(&fscache_addremove_sem); fscache_add_cache()
378 down_write(&fscache_addremove_sem); fscache_withdraw_cache()
/linux-4.1.27/kernel/locking/
H A Drwsem.c46 void __sched down_write(struct rw_semaphore *sem) down_write() function
55 EXPORT_SYMBOL(down_write); variable
H A Dpercpu-rwsem.c41 * R_W: down_write() comes after up_read(), the writer should see all
52 * reader inside the critical section. See the comments in down_write and
145 down_write(&brw->rw_sem); percpu_down_write()
H A Drwsem-xadd.c61 * Writers attempt to lock by adding ACTIVE_WRITE_BIAS in down_write and
429 /* undo write bias from down_write operation, stop active locking */ rwsem_down_write_failed()
H A Dlocktorture.c367 down_write(&torture_rwsem); __acquires()
/linux-4.1.27/fs/jffs2/
H A Dxattr.c89 /* must be called under down_write(xattr_sem) */ unload_xattr_datum()
104 /* must be called under down_write(xattr_sem) */ reclaim_xattr_datum()
134 /* must be called under down_write(xattr_sem) */ do_verify_xattr_datum()
206 /* must be called under down_write(xattr_sem) */ do_load_xattr_datum()
265 /* must be called under down_write(xattr_sem); load_xattr_datum()
286 /* must be called under down_write(xattr_sem) */ save_xattr_datum()
340 /* must be called under down_write(xattr_sem) */ create_xattr_datum()
406 /* must be called under down_write(xattr_sem) */ unrefer_xattr_datum()
508 /* must be called under down_write(xattr_sem) */ save_xattr_ref()
553 /* must be called under down_write(xattr_sem) */ create_xattr_ref()
578 /* must be called under down_write(xattr_sem) */ delete_xattr_ref()
605 down_write(&c->xattr_sem); jffs2_xattr_delete_inode()
620 down_write(&c->xattr_sem); jffs2_xattr_free_inode()
645 down_write(&c->xattr_sem); check_xattr_ref_inode()
988 down_write(&c->xattr_sem); jffs2_listxattr()
1051 down_write(&c->xattr_sem); do_jffs2_getxattr()
1110 down_write(&c->xattr_sem); do_jffs2_setxattr()
1174 down_write(&c->xattr_sem); do_jffs2_setxattr()
1218 down_write(&c->xattr_sem); jffs2_garbage_collect_xattr_datum()
1254 down_write(&c->xattr_sem); jffs2_garbage_collect_xattr_ref()
1290 down_write(&c->xattr_sem); jffs2_verify_xattr()
H A Dwbuf.c727 down_write(&c->wbuf_sem); jffs2_flush_wbuf_gc()
745 down_write(&c->wbuf_sem); jffs2_flush_wbuf_gc()
771 down_write(&c->wbuf_sem); jffs2_flush_wbuf_pad()
807 down_write(&c->wbuf_sem); jffs2_flash_writev()
/linux-4.1.27/fs/nilfs2/
H A Dbmap.c159 down_write(&bmap->b_sem); nilfs_bmap_insert()
257 down_write(&bmap->b_sem); nilfs_bmap_delete()
309 down_write(&bmap->b_sem); nilfs_bmap_truncate()
324 down_write(&bmap->b_sem); nilfs_bmap_clear()
349 down_write(&bmap->b_sem); nilfs_bmap_propagate()
394 down_write(&bmap->b_sem); nilfs_bmap_assign()
424 down_write(&bmap->b_sem); nilfs_bmap_mark()
444 down_write(&bmap->b_sem); nilfs_bmap_test_and_clear_dirty()
556 down_write(&bmap->b_sem); nilfs_bmap_write()
H A Dsuper.c83 down_write(&nilfs->ns_sem); nilfs_set_error()
432 down_write(&nilfs->ns_segctor_sem); nilfs_resize_fs()
447 down_write(&nilfs->ns_sem); nilfs_resize_fs()
487 down_write(&nilfs->ns_sem); nilfs_put_super()
510 down_write(&nilfs->ns_sem); nilfs_sync_fs()
591 down_write(&nilfs->ns_sem); nilfs_freeze()
604 down_write(&nilfs->ns_sem); nilfs_unfreeze()
1106 down_write(&nilfs->ns_sem); nilfs_fill_super()
1166 down_write(&nilfs->ns_sem); nilfs_remount()
1198 down_write(&nilfs->ns_sem); nilfs_remount()
H A Dsufile.c181 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_updatev()
247 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_update()
282 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_alloc_range()
323 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_alloc()
529 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_segment_usage()
756 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_resize()
918 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_suinfo()
H A Dmdt.c622 down_write(&mi->mi_sem); nilfs_mdt_restore_from_shadow_map()
647 down_write(&mi->mi_sem); nilfs_mdt_clear_shadow_map()
H A Dcpfile.c242 down_write(&NILFS_MDT(cpfile)->mi_sem); nilfs_cpfile_get_checkpoint()
343 down_write(&NILFS_MDT(cpfile)->mi_sem); nilfs_cpfile_delete_checkpoints()
640 down_write(&NILFS_MDT(cpfile)->mi_sem); nilfs_cpfile_set_snapshot()
758 down_write(&NILFS_MDT(cpfile)->mi_sem); nilfs_cpfile_clear_snapshot()
H A Dthe_nilfs.c326 down_write(&nilfs->ns_sem); load_nilfs()
579 down_write(&nilfs->ns_sem); init_nilfs()
H A Dsegment.c284 down_write(&nilfs->ns_segctor_sem); nilfs_relax_pressure_in_lock()
312 down_write(&nilfs->ns_segctor_sem); nilfs_transaction_lock()
2316 down_write(&nilfs->ns_sem); nilfs_segctor_construct()
2684 down_write(&nilfs->ns_segctor_sem); nilfs_segctor_destroy()
2741 down_write(&nilfs->ns_segctor_sem); nilfs_detach_log_writer()
/linux-4.1.27/include/linux/
H A Drwsem.h118 extern void down_write(struct rw_semaphore *sem);
174 # define down_write_nest_lock(sem, nest_lock) down_write(sem)
175 # define down_write_nested(sem, subclass) down_write(sem)
H A Drmap.h110 down_write(&anon_vma->root->rwsem); anon_vma_lock_write()
/linux-4.1.27/drivers/pci/
H A Dremove.c40 down_write(&pci_bus_sem); pci_destroy_dev()
52 down_write(&pci_bus_sem); pci_remove_bus()
H A Dslot.c256 down_write(&pci_bus_sem); pci_create_slot()
335 down_write(&pci_bus_sem); pci_destroy_slot()
H A Dprobe.c738 down_write(&pci_bus_sem); pci_add_new_bus()
1577 down_write(&pci_bus_sem); pci_device_add()
2017 down_write(&pci_bus_sem);
/linux-4.1.27/net/rds/
H A Dtransport.c47 down_write(&rds_trans_sem); rds_trans_register()
65 down_write(&rds_trans_sem); rds_trans_unregister()
H A Dib.c182 down_write(&rds_ib_devices_lock); rds_ib_add_one()
246 down_write(&rds_ib_devices_lock); rds_ib_remove_one()
/linux-4.1.27/arch/sh/kernel/vsyscall/
H A Dvsyscall.c67 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/arch/um/include/asm/
H A Dmmu_context.h45 down_write(&new->mmap_sem); activate_mm()
/linux-4.1.27/fs/ext4/
H A Dtruncate.h13 down_write(&EXT4_I(inode)->i_mmap_sem); ext4_truncate_failed_write()
H A Dmigrate.c43 down_write(&EXT4_I(inode)->i_data_sem); finish_range()
67 down_write((&EXT4_I(inode)->i_data_sem)); finish_range()
78 down_write((&EXT4_I(inode)->i_data_sem)); finish_range()
339 down_write(&EXT4_I(inode)->i_data_sem); ext4_ext_swap_inode_data()
649 down_write(&EXT4_I(inode)->i_data_sem); ext4_ind_migrate()
H A Dinline.c387 down_write(&EXT4_I(inode)->xattr_sem); ext4_prepare_inline_data()
565 down_write(&EXT4_I(inode)->xattr_sem); ext4_convert_inline_data_to_extent()
738 down_write(&EXT4_I(inode)->xattr_sem); ext4_write_inline_data_end()
769 down_write(&EXT4_I(inode)->xattr_sem); ext4_journalled_write_inline_data()
1263 down_write(&EXT4_I(dir)->xattr_sem); ext4_try_add_inline_entry()
1675 down_write(&EXT4_I(dir)->xattr_sem); ext4_delete_inline_entry()
1811 down_write(&EXT4_I(inode)->xattr_sem); ext4_destroy_inline_data()
1915 down_write(&EXT4_I(inode)->xattr_sem); ext4_inline_data_truncate()
1928 down_write(&EXT4_I(inode)->i_data_sem); ext4_inline_data_truncate()
2011 down_write(&EXT4_I(inode)->xattr_sem); ext4_convert_inline_data()
H A Dmove_extent.c62 down_write(&EXT4_I(first)->i_data_sem); ext4_double_down_write_data_sem()
65 down_write(&EXT4_I(second)->i_data_sem); ext4_double_down_write_data_sem()
H A Dfile.c49 down_write(&EXT4_I(inode)->i_data_sem); ext4_release_file()
H A Dinode.c172 down_write(&EXT4_I(inode)->i_data_sem); ext4_truncate_restart_trans()
585 down_write(&EXT4_I(inode)->i_data_sem); ext4_map_blocks()
2258 down_write(&EXT4_I(inode)->i_data_sem); mpage_map_and_submit_extent()
3649 down_write(&EXT4_I(inode)->i_mmap_sem); ext4_punch_hole()
3686 down_write(&EXT4_I(inode)->i_data_sem); ext4_punch_hole()
3836 down_write(&EXT4_I(inode)->i_data_sem); ext4_truncate()
4795 down_write(&EXT4_I(inode)->i_data_sem); ext4_setattr()
4833 down_write(&EXT4_I(inode)->i_mmap_sem); ext4_setattr()
H A Dxattr.c1108 down_write(&EXT4_I(inode)->xattr_sem); ext4_xattr_set_handle()
1271 down_write(&EXT4_I(inode)->xattr_sem); ext4_expand_extra_isize_ea()
/linux-4.1.27/crypto/
H A Dalgapi.c245 down_write(&crypto_alg_sem); crypto_alg_tested()
356 down_write(&crypto_alg_sem); crypto_register_alg()
387 down_write(&crypto_alg_sem); crypto_unregister_alg()
443 down_write(&crypto_alg_sem); crypto_register_template()
468 down_write(&crypto_alg_sem); crypto_unregister_template()
534 down_write(&crypto_alg_sem); crypto_register_instance()
567 down_write(&crypto_alg_sem); crypto_unregister_instance()
588 down_write(&crypto_alg_sem); crypto_init_spawn()
622 down_write(&crypto_alg_sem); crypto_drop_spawn()
H A Dapi.c141 down_write(&crypto_alg_sem); crypto_larval_add()
162 down_write(&crypto_alg_sem); crypto_larval_kill()
360 down_write(&crypto_alg_sem); crypto_shoot_alg()
H A Daf_alg.c67 down_write(&alg_types_sem); af_alg_register_type()
97 down_write(&alg_types_sem); af_alg_unregister_type()
H A Dcrypto_user.c287 down_write(&crypto_alg_sem); crypto_update_alg()
441 down_write(&crypto_alg_sem); crypto_add_alg()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c137 down_write(&current->mm->mmap_sem); qib_get_user_pages()
149 down_write(&current->mm->mmap_sem); qib_release_user_pages()
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c141 down_write(&ppriv->vlan_rwsem); ipoib_vlan_add()
187 down_write(&ppriv->vlan_rwsem); ipoib_vlan_delete()
H A Dipoib_netlink.c146 down_write(&ppriv->vlan_rwsem); ipoib_unregister_child_dev()
/linux-4.1.27/arch/x86/include/asm/
H A Drwsem.h105 asm volatile("# beginning down_write\n\t" __down_write_nested()
113 "# ending down_write" __down_write_nested()
/linux-4.1.27/arch/arm64/kernel/
H A Dvdso.c98 down_write(&mm->mmap_sem); aarch32_setup_vectors_page()
166 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/net/rxrpc/
H A Dar-security.c79 down_write(&rxrpc_security_sem); rxrpc_register_security()
111 down_write(&rxrpc_security_sem); rxrpc_unregister_security()
H A Dar-local.c149 down_write(&rxrpc_local_sem); rxrpc_lookup_local()
256 down_write(&rxrpc_local_sem); rxrpc_destroy_local()
H A Dar-output.c374 down_write(&trans->local->defrag_sem); rxrpc_send_packet()
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dadf_cfg.c161 down_write(&dev_cfg_data->lock); adf_cfg_del_all()
181 down_write(&dev_cfg_data->lock); adf_cfg_dev_remove()
314 down_write(&cfg->lock); adf_cfg_add_key_value_param()
346 down_write(&cfg->lock); adf_cfg_section_add()
/linux-4.1.27/arch/mips/kernel/
H A Dvdso.c92 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/arch/hexagon/kernel/
H A Dvdso.c68 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/fs/afs/
H A Dcell.c158 down_write(&afs_cells_sem); afs_cell_create()
190 down_write(&afs_proc_cells_sem); afs_cell_create()
408 down_write(&afs_proc_cells_sem); afs_cell_destroy()
433 down_write(&afs_cells_sem); afs_cell_purge()
H A Dvolume.c85 down_write(&params->cell->vl_sem); afs_volume_lookup()
188 down_write(&vlocation->cell->vl_sem); afs_put_volume()
328 down_write(&volume->server_sem); afs_volume_release_fileserver()
H A Dvlocation.c47 down_write(&vl->cell->vl_sem); afs_vlocation_access_vl_by_name()
105 down_write(&vl->cell->vl_sem); afs_vlocation_access_vl_by_id()
391 down_write(&cell->vl_sem); afs_vlocation_lookup()
/linux-4.1.27/kernel/
H A Dutsname_sysctl.c31 down_write(&uts_sem); get_uts()
H A Dnotifier.c221 * such times we must not call down_write(). blocking_notifier_chain_register()
226 down_write(&nh->rwsem); blocking_notifier_chain_register()
249 down_write(&nh->rwsem); blocking_notifier_chain_cond_register()
274 * such times we must not call down_write(). blocking_notifier_chain_unregister()
279 down_write(&nh->rwsem); blocking_notifier_chain_unregister()
H A Dtaskstats.c159 down_write(&listeners->sem); send_cpu_listeners()
307 down_write(&listeners->sem); for_each_cpu()
325 down_write(&listeners->sem); for_each_cpu()
H A Dkmod.c427 down_write(&umhelper_sem); __usermodehelper_set_disable_depth()
446 down_write(&umhelper_sem); __usermodehelper_disable()
H A Dsys.c1225 down_write(&uts_sem); SYSCALL_DEFINE2()
1276 down_write(&uts_sem); SYSCALL_DEFINE2()
1863 down_write(&mm->mmap_sem); prctl_set_mm_map()
1933 down_write(&mm->mmap_sem); prctl_set_mm()
2223 down_write(&me->mm->mmap_sem); SYSCALL_DEFINE5()
H A Dcgroup.c568 down_write(&css_set_rwsem); put_css_set()
824 down_write(&css_set_rwsem); find_css_set()
910 down_write(&css_set_rwsem); cgroup_destroy_root()
1288 down_write(&css_set_rwsem); for_each_subsys()
1565 down_write(&css_set_rwsem); cgroup_enable_task_cg_lists()
1713 down_write(&css_set_rwsem); cgroup_setup_root()
2093 down_write(&css_set_rwsem); list_for_each_entry_safe()
2248 down_write(&css_set_rwsem); cgroup_migrate()
2301 down_write(&css_set_rwsem);
2331 down_write(&css_set_rwsem);
5240 down_write(&css_set_rwsem); cgroup_post_fork()
5293 down_write(&css_set_rwsem); cgroup_exit()
H A Dfork.c398 down_write(&oldmm->mmap_sem); dup_mmap()
536 down_write(&oldmm->mmap_sem); dup_mmap()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dkernel_user_comm.c134 down_write(&kg_sem); libcfs_kkuc_group_add()
164 down_write(&kg_sem); libcfs_kkuc_group_rem()
231 down_write(&kg_sem); libcfs_kkuc_group_foreach()
H A Dmodule.c259 down_write(&ioctl_list_sem); libcfs_register_ioctl()
274 down_write(&ioctl_list_sem); libcfs_deregister_ioctl()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_user_pages.c166 down_write(&current->mm->mmap_sem); ipath_get_user_pages()
177 down_write(&current->mm->mmap_sem); ipath_release_user_pages()
197 down_write(&work->mm->mmap_sem); user_pages_account()
/linux-4.1.27/drivers/usb/core/
H A Dfile.c180 down_write(&minor_rwsem); usb_register_dev()
204 down_write(&minor_rwsem); usb_register_dev()
236 down_write(&minor_rwsem); usb_deregister_dev()
H A Dhcd-pci.c272 down_write(&companions_rwsem); usb_hcd_pci_probe()
351 down_write(&companions_rwsem); usb_hcd_pci_remove()
/linux-4.1.27/arch/powerpc/mm/
H A Dsubpage-prot.c102 down_write(&mm->mmap_sem); subpage_prot_clear()
215 down_write(&mm->mmap_sem); sys_subpage_prot()
255 down_write(&mm->mmap_sem); sys_subpage_prot()
/linux-4.1.27/fs/dlm/
H A Drecoverd.c37 down_write(&ls->ls_recv_active); enable_locking()
286 down_write(&ls->ls_in_recovery); dlm_recoverd()
298 down_write(&ls->ls_in_recovery); dlm_recoverd()
H A Ddlm_internal.h631 * should do down_write() on the in_recovery rw_semaphore. (doing down_write
636 * It sets this after it is done with down_write() on the in_recovery
H A Drecover.c897 down_write(&ls->ls_root_sem); dlm_create_root_list()
925 down_write(&ls->ls_root_sem); dlm_release_root_list()
H A Dmember.c613 down_write(&ls->ls_recv_active); dlm_ls_stop()
/linux-4.1.27/drivers/tty/
H A Dtty_ioctl.c104 down_write(&tty->termios_rwsem); tty_throttle()
129 down_write(&tty->termios_rwsem); tty_unthrottle()
553 down_write(&tty->termios_rwsem); tty_set_termios()
706 down_write(&tty->termios_rwsem); set_termiox()
805 down_write(&tty->termios_rwsem); set_sgttyb()
843 down_write(&tty->termios_rwsem); set_tchars()
880 down_write(&tty->termios_rwsem); set_ltchars()
909 down_write(&tty->termios_rwsem); tty_change_softcar()
1020 down_write(&real_tty->termios_rwsem); tty_mode_ioctl()
1037 down_write(&real_tty->termios_rwsem); tty_mode_ioctl()
H A Dtty_ldisc.c428 down_write(&tty->termios_rwsem); tty_set_termios_ldisc()
611 down_write(&tty->termios_rwsem); tty_reset_termios()
H A Dn_tty.c363 down_write(&tty->termios_rwsem); n_tty_flush_buffer()
388 down_write(&tty->termios_rwsem); n_tty_chars_in_buffer()
1126 down_write(&tty->termios_rwsem); isig()
2519 down_write(&tty->termios_rwsem); n_tty_ioctl()
/linux-4.1.27/drivers/s390/block/
H A Ddcssblk.c101 * down_write(&dcssblk_devices_sem) and the
329 down_write(&dcssblk_devices_sem); dcssblk_shared_store()
434 down_write(&dcssblk_devices_sem); dcssblk_save_store()
632 down_write(&dcssblk_devices_sem); dcssblk_add_store()
735 down_write(&dcssblk_devices_sem); dcssblk_remove_store()
800 down_write(&dcssblk_devices_sem); dcssblk_release()
/linux-4.1.27/fs/f2fs/
H A Dnamei.c500 down_write(&F2FS_I(new_inode)->i_sem); f2fs_rename()
530 down_write(&F2FS_I(old_inode)->i_sem); f2fs_rename()
653 down_write(&F2FS_I(old_inode)->i_sem); f2fs_cross_rename()
661 down_write(&F2FS_I(old_dir)->i_sem); f2fs_cross_rename()
674 down_write(&F2FS_I(new_inode)->i_sem); f2fs_cross_rename()
682 down_write(&F2FS_I(new_dir)->i_sem); f2fs_cross_rename()
H A Dnode.c261 down_write(&nm_i->nat_tree_lock); cache_nat_entry()
276 down_write(&nm_i->nat_tree_lock); set_node_addr()
331 down_write(&nm_i->nat_tree_lock); try_to_free_nats()
1792 down_write(&nm_i->nat_tree_lock); remove_nats_in_journal()
1871 down_write(&NM_I(sbi)->nat_tree_lock); __flush_nat_entry_set()
1887 down_write(&nm_i->nat_tree_lock); __flush_nat_entry_set()
1917 down_write(&nm_i->nat_tree_lock); flush_nat_entries()
2021 down_write(&nm_i->nat_tree_lock); destroy_node_manager()
H A Ddir.c564 down_write(&F2FS_I(inode)->i_sem); __f2fs_add_link()
603 down_write(&F2FS_I(inode)->i_sem); f2fs_do_tmpfile()
623 down_write(&F2FS_I(inode)->i_sem); f2fs_drop_nlink()
H A Ddata.c118 down_write(&io->io_rwsem); f2fs_submit_merged_bio()
168 down_write(&io->io_rwsem); f2fs_submit_page_mbio()
418 down_write(&sbi->extent_tree_lock); __grab_extent_tree()
811 down_write(&sbi->extent_tree_lock); f2fs_shrink_extent_tree()
849 down_write(&sbi->extent_tree_lock); f2fs_destroy_extent_tree()
H A Dinline.c421 down_write(&F2FS_I(inode)->i_sem); f2fs_add_inline_entry()
H A Dxattr.c612 down_write(&F2FS_I(inode)->i_sem); f2fs_setxattr()
/linux-4.1.27/drivers/infiniband/core/
H A Dumem.c166 down_write(&current->mm->mmap_sem); ib_umem_get()
249 down_write(&umem->mm->mmap_sem); ib_umem_account()
303 down_write(&mm->mmap_sem); ib_umem_release()
H A Dumem_odp.c103 down_write(&context->umem_rwsem); ib_ucontext_notifier_end_account()
292 down_write(&context->umem_rwsem); ib_umem_odp_get()
363 down_write(&context->umem_rwsem); ib_umem_odp_release()
H A Duverbs_cmd.c191 down_write(&uobj->mutex); idr_write_uobj()
554 down_write(&uobj->mutex); ib_uverbs_alloc_pd()
778 down_write(&obj->uobject.mutex); ib_uverbs_open_xrcd()
970 down_write(&uobj->mutex); ib_uverbs_reg_mr()
1198 down_write(&uobj->mutex); ib_uverbs_alloc_mw()
1363 down_write(&obj->uobject.mutex); ib_uverbs_create_cq()
1658 down_write(&obj->uevent.uobject.mutex); ib_uverbs_create_qp()
1845 down_write(&obj->uevent.uobject.mutex); ib_uverbs_open_qp()
2552 down_write(&uobj->mutex); ib_uverbs_create_ah()
2853 down_write(&uobj->mutex); ib_uverbs_ex_create_flow()
3003 down_write(&obj->uevent.uobject.mutex); __uverbs_create_xsrq()
/linux-4.1.27/drivers/i2c/
H A Di2c-boardinfo.c65 down_write(&__i2c_board_lock); i2c_register_board_info()
/linux-4.1.27/drivers/pci/hotplug/
H A Dcpci_hotplug_core.c124 down_write(&list_rwsem); disable_slot()
289 down_write(&list_rwsem); cpci_hp_register_bus()
313 down_write(&list_rwsem); cpci_hp_unregister_bus()
633 down_write(&list_rwsem); cleanup_slots()
/linux-4.1.27/arch/tile/mm/
H A Delf.c131 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/arch/nios2/mm/
H A Dinit.c127 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/drivers/acpi/
H A Dglue.c41 down_write(&bus_type_sem); register_acpi_bus_type()
56 down_write(&bus_type_sem); unregister_acpi_bus_type()
/linux-4.1.27/fs/
H A Dsuper.c316 down_write(&s->s_umount); deactivate_super()
340 down_write(&s->s_umount); __releases()
717 down_write(&sb->s_umount); do_remount_sb()
782 down_write(&sb->s_umount); do_emergency_remount()
998 down_write(&s->s_umount); mount_bdev()
1295 down_write(&sb->s_umount); freeze_super()
1323 down_write(&sb->s_umount); freeze_super()
1369 down_write(&sb->s_umount); thaw_super()
H A Dnamespace.c1345 down_write(&namespace_sem); namespace_lock()
1504 down_write(&sb->s_umount); do_umount()
2194 down_write(&sb->s_umount); do_remount()
2878 down_write(&s->s_umount); mount_subtree()
H A Dcoredump.c390 down_write(&mm->mmap_sem); coredump_wait()
H A Dexec.c259 down_write(&mm->mmap_sem); __bprm_mm_init()
692 down_write(&mm->mmap_sem); setup_arg_pages()
/linux-4.1.27/fs/udf/
H A Dfile.c131 down_write(&iinfo->i_data_sem); udf_file_write_iter()
229 down_write(&UDF_I(inode)->i_data_sem); udf_release_file()
H A Dinode.c175 down_write(&iinfo->i_data_sem); udf_write_failed()
297 down_write(&iinfo->i_data_sem); udf_expand_file_adinicb()
313 down_write(&iinfo->i_data_sem); udf_expand_file_adinicb()
438 down_write(&iinfo->i_data_sem); udf_get_block()
1219 down_write(&iinfo->i_data_sem); udf_setsize()
1226 down_write(&iinfo->i_data_sem); udf_setsize()
1242 down_write(&iinfo->i_data_sem); udf_setsize()
1256 down_write(&iinfo->i_data_sem); udf_setsize()
/linux-4.1.27/sound/core/
H A Dcontrol.c130 down_write(&card->controls_rwsem); snd_ctl_release()
376 down_write(&card->controls_rwsem); snd_ctl_add()
440 down_write(&card->controls_rwsem); snd_ctl_replace()
484 * the write lock - down_write(&card->controls_rwsem).
520 down_write(&card->controls_rwsem); snd_ctl_remove_id()
549 down_write(&card->controls_rwsem); snd_ctl_remove_user_ctl()
593 down_write(&card->controls_rwsem); snd_ctl_activate_id()
637 down_write(&card->controls_rwsem); snd_ctl_rename_id()
982 down_write(&card->controls_rwsem); snd_ctl_elem_lock()
1010 down_write(&card->controls_rwsem); snd_ctl_elem_unlock()
1336 down_write(&card->controls_rwsem); snd_ctl_elem_add()
1613 down_write(&snd_ioctl_rwsem); _snd_ctl_register_ioctl()
1654 down_write(&snd_ioctl_rwsem); list_for_each_entry()
1783 down_write(&card->controls_rwsem); snd_ctl_dev_free()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
H A Dllog_cat.c161 down_write(&cathandle->lgh_lock); llog_cat_id2handle()
199 down_write(&cathandle->lgh_lock); llog_cat_id2handle()
381 down_write(&cathandle->lgh_lock); llog_cat_declare_add_rec()
394 down_write(&cathandle->lgh_lock); llog_cat_declare_add_rec()
736 down_write(&cathandle->lgh_lock); llog_cat_cleanup()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dmmu.c106 down_write(&driver->sem);
118 down_write(&driver->sem); psb_mmu_flush()
145 down_write(&pd->driver->sem); psb_mmu_set_pd_context()
255 down_write(&driver->sem); psb_mmu_free_pagedir()
469 down_write(&driver->sem); psb_mmu_driver_init()
/linux-4.1.27/ipc/
H A Dshm.c276 down_write(&shm_ids(ns).rwsem); shm_close()
323 down_write(&shm_ids(ns).rwsem); shm_destroy_orphaned()
361 down_write(&shm_ids(ns).rwsem); exit_shm()
824 down_write(&shm_ids(ns).rwsem); shmctl_down()
1203 down_write(&current->mm->mmap_sem); do_shmat()
1227 down_write(&shm_ids(ns).rwsem); do_shmat()
1274 down_write(&mm->mmap_sem); SYSCALL_DEFINE1()
H A Dnamespace.c77 down_write(&ids->rwsem); free_ipcs()
H A Dutil.c284 down_write(&ids->rwsem); ipcget_new()
348 down_write(&ids->rwsem); ipcget_public()
/linux-4.1.27/arch/s390/mm/
H A Dpgtable.c190 down_write(&mm->mmap_sem); gmap_alloc()
253 down_write(&gmap->mm->mmap_sem); gmap_free()
384 down_write(&gmap->mm->mmap_sem); gmap_unmap_segment()
416 down_write(&gmap->mm->mmap_sem); gmap_map_segment()
1216 down_write(&mm->mmap_sem); s390_enable_sie()
1262 down_write(&mm->mmap_sem); s390_enable_skey()
1304 down_write(&mm->mmap_sem); s390_reset_cmma()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
H A Dlov_pool.c366 down_write(&op->op_rw_sem); lov_ost_pool_add()
391 down_write(&op->op_rw_sem); lov_ost_pool_remove()
412 down_write(&op->op_rw_sem); lov_ost_pool_free()
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c61 down_write(&umem->mm->mmap_sem); usnic_uiom_reg_account()
131 down_write(&current->mm->mmap_sem); usnic_uiom_get_pages()
457 down_write(&mm->mmap_sem); usnic_uiom_reg_release()
/linux-4.1.27/fs/ocfs2/
H A Dmmap.c158 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_page_mkwrite()
H A Dfile.c477 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_truncate_file()
1084 down_write(&oi->ip_alloc_sem); ocfs2_extend_file()
1917 down_write(&OCFS2_I(inode)->ip_alloc_sem); __ocfs2_change_file_space()
H A Dmove_extents.c930 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_move_extents()
H A Drefcounttree.c436 down_write(&tree->rf_sem); __ocfs2_lock_refcount_tree()
940 down_write(&oi->ip_xattr_sem); ocfs2_try_remove_refcount_tree()
941 down_write(&oi->ip_alloc_sem); ocfs2_try_remove_refcount_tree()
4294 down_write(&OCFS2_I(inode)->ip_xattr_sem); ocfs2_reflink()
4295 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_reflink()
/linux-4.1.27/kernel/sched/
H A Dauto_group.c216 down_write(&ag->lock); proc_sched_autogroup_set_nice()
/linux-4.1.27/mm/
H A Dmlock.c625 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE2()
650 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE2()
702 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE1()
718 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE0()
H A Dnommu.c299 down_write(&current->mm->mmap_sem); vmalloc_user()
715 down_write(&nommu_region_sem); put_nommu_region()
1331 down_write(&nommu_region_sem); do_mmap_pgoff()
1604 down_write(&nommu_region_sem); split_vma()
1646 down_write(&nommu_region_sem); shrink_vma()
1747 down_write(&mm->mmap_sem); vm_munmap()
1840 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE5()
2101 down_write(&nommu_region_sem); nommu_shrink_inode_mappings()
H A Dmmu_notifier.c249 down_write(&mm->mmap_sem); do_mmu_notifier_register()
H A Dmprotect.c366 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE3()
H A Dmadvise.c493 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE3()
H A Dmremap.c502 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE5()
H A Dutil.c296 down_write(&mm->mmap_sem); vm_mmap_pgoff()
H A Doom_kill.c472 down_write(&oom_sem); oom_killer_disable()
491 down_write(&oom_sem); oom_killer_enable()
H A Dmmap.c293 down_write(&mm->mmap_sem); SYSCALL_DEFINE1()
1252 * The caller must hold down_write(&current->mm->mmap_sem).
2608 down_write(&mm->mmap_sem); vm_munmap()
2651 down_write(&mm->mmap_sem); SYSCALL_DEFINE5()
2815 down_write(&mm->mmap_sem); vm_brk()
/linux-4.1.27/security/keys/
H A Dpersistent.c102 down_write(&ns->persistent_keyring_register_sem); key_get_persistent()
H A Dkey.c685 down_write(&key->sem); key_set_timeout()
728 down_write(&key->sem); __key_update()
955 down_write(&key->sem); key_update()
1079 down_write(&key_types_sem); register_key_type()
1109 down_write(&key_types_sem); unregister_key_type()
H A Dkeyring.c1088 down_write(&keyring->sem);
1097 down_write(&keyring_serialise_link_sem);
1270 down_write(&keyring->sem); key_unlink()
1308 down_write(&keyring->sem); keyring_clear()
1391 down_write(&keyring->sem); keyring_gc()
H A Dprocess_keys.c281 down_write(&tsk->cred->thread_keyring->sem); key_fsuid_changed()
295 down_write(&tsk->cred->thread_keyring->sem); key_fsgid_changed()
H A Dgc.c353 down_write(&key->sem); key_garbage_collector()
H A Dkeyctl.c825 down_write(&key->sem); keyctl_chown_key()
931 down_write(&key->sem); keyctl_setperm_key()
/linux-4.1.27/crypto/asymmetric_keys/
H A Dasymmetric_type.c364 down_write(&asymmetric_key_parsers_sem); register_asymmetric_key_parser()
392 down_write(&asymmetric_key_parsers_sem); unregister_asymmetric_key_parser()
/linux-4.1.27/drivers/hid/usbhid/
H A Dhid-quirks.c228 down_write(&dquirks_rwsem); usbhid_modify_dquirk()
264 down_write(&dquirks_rwsem); usbhid_remove_all_dquirks()
/linux-4.1.27/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c83 down_write(&current->mm->mmap_sem); tce_iommu_enable()
111 down_write(&current->mm->mmap_sem); tce_iommu_disable()
H A Dvfio.c861 down_write(&container->group_lock); vfio_ioctl_set_iommu()
1077 down_write(&container->group_lock); __vfio_group_unset_container()
1155 down_write(&container->group_lock); vfio_group_set_container()
/linux-4.1.27/arch/s390/kernel/
H A Dsysinfo.c308 down_write(&service_level_sem); register_service_level()
325 down_write(&service_level_sem); unregister_service_level()
H A Dvdso.c212 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/net/bluetooth/cmtp/
H A Dcore.c315 down_write(&cmtp_session_sem); cmtp_session()
349 down_write(&cmtp_session_sem); cmtp_add_connection()
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq.c799 down_write(&policy->rwsem); store()
976 down_write(&policy->rwsem); cpufreq_add_policy_cpu()
1094 down_write(&policy->rwsem); update_policy_cpu()
1169 down_write(&policy->rwsem);
1411 down_write(&policy->rwsem); __cpufreq_remove_dev_finish()
1976 down_write(&policy->rwsem); cpufreq_driver_target()
2213 down_write(&policy->rwsem); cpufreq_set_policy()
2224 down_write(&policy->rwsem); cpufreq_set_policy()
2258 down_write(&policy->rwsem); cpufreq_update_policy()
2508 down_write(&cpufreq_rwsem); cpufreq_unregister_driver()
/linux-4.1.27/drivers/block/zram/
H A Dzram_drv.c184 down_write(&zram->init_lock); mem_limit_store()
241 down_write(&zram->init_lock); max_comp_streams_store()
274 down_write(&zram->init_lock); comp_algorithm_store()
780 down_write(&zram->init_lock); zram_reset_device()
844 down_write(&zram->init_lock); disksize_store()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_lib.c502 down_write(&cli->cl_sem); client_connect_import()
573 down_write(&cli->cl_sem); client_disconnect_export()
614 down_write(&cli->cl_sem); client_disconnect_export()
/linux-4.1.27/drivers/pcmcia/
H A Dcs.c120 down_write(&pcmcia_socket_list_rwsem); pcmcia_register_socket()
197 down_write(&pcmcia_socket_list_rwsem); pcmcia_register_socket()
220 down_write(&pcmcia_socket_list_rwsem); pcmcia_unregister_socket()
/linux-4.1.27/sound/core/seq/
H A Dseq_ports.c495 down_write(&grp->list_mutex); check_and_subscribe_port()
543 down_write(&grp->list_mutex); delete_and_unsubscribe_port()
612 down_write(&src->list_mutex); snd_seq_port_disconnect()
/linux-4.1.27/drivers/net/irda/
H A Dirtty-sir.c126 down_write(&tty->termios_rwsem); irtty_change_speed()
283 down_write(&tty->termios_rwsem); irtty_stop_receiver()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dxattr_cache.c261 down_write(&lli->lli_xattrs_list_rwsem); ll_xattr_cache_destroy()
335 down_write(&lli->lli_xattrs_list_rwsem); ll_xattr_find_get_lock()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c605 down_write(&minfo->altout.lock); matroxfb_g450_connect()
622 down_write(&minfo->altout.lock); matroxfb_g450_shutdown()
H A Dmatroxfb_crtc2.c638 down_write(&minfo->crtc2.lock); matroxfb_dh_regit()
671 down_write(&minfo->crtc2.lock); matroxfb_dh_deregisterfb()
H A Dmatroxfb_maven.c1208 down_write(&minfo->altout.lock); maven_init_client()
1240 down_write(&minfo->altout.lock); maven_shutdown_client()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvbdev.c317 down_write(&minor_rwsem); dvb_register_device()
363 down_write(&minor_rwsem); dvb_unregister_device()
/linux-4.1.27/net/bluetooth/bnep/
H A Dcore.c524 down_write(&bnep_session_sem); bnep_session()
586 down_write(&bnep_session_sem); bnep_add_connection()
/linux-4.1.27/kernel/events/
H A Duprobes.c508 down_write(&uprobe->consumer_rwsem); consumer_add()
524 down_write(&uprobe->consumer_rwsem); consumer_del()
594 down_write(&uprobe->consumer_rwsem); prepare_uprobe()
808 down_write(&mm->mmap_sem); register_for_each_vma()
900 down_write(&uprobe->register_rwsem); uprobe_register()
934 down_write(&uprobe->register_rwsem); uprobe_apply()
959 down_write(&uprobe->register_rwsem); uprobe_unregister()
1137 down_write(&mm->mmap_sem); xol_add_vma()
/linux-4.1.27/drivers/xen/
H A Dprivcmd.c255 down_write(&mm->mmap_sem); privcmd_ioctl_mmap()
470 down_write(&mm->mmap_sem); privcmd_ioctl_mmap_batch()
/linux-4.1.27/drivers/misc/mei/
H A Dclient.c111 down_write(&dev->me_clients_rwsem); mei_me_cl_add()
262 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_by_uuid()
283 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_by_uuid_id()
300 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_all()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c129 down_write(&cfs_tracefile_sem); cfs_tracefile_write_lock()
/linux-4.1.27/drivers/input/misc/
H A Dyealink.c651 down_write(&sysfs_rwsema); store_line()
721 down_write(&sysfs_rwsema); set_icon()
763 down_write(&sysfs_rwsema); store_ringtone()
858 down_write(&sysfs_rwsema); usb_disconnect()
/linux-4.1.27/drivers/firewire/
H A Dcore-device.c668 down_write(&fw_device_rwsem); read_config_rom()
824 down_write(&fw_device_rwsem); fw_device_shutdown()
1041 down_write(&fw_device_rwsem); fw_device_init()
1107 down_write(&fw_device_rwsem); fw_device_init()
/linux-4.1.27/arch/x86/vdso/
H A Dvma.c111 down_write(&mm->mmap_sem); map_vdso()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_mn.c189 down_write(&mm->mmap_sem); radeon_mn_get()
/linux-4.1.27/fs/ntfs/
H A Dlcnalloc.h137 down_write(&vol->lcnbmp_lock); ntfs_cluster_free_from_rl()
H A Dlcnalloc.c181 down_write(&vol->lcnbmp_lock); ntfs_cluster_alloc()
876 down_write(&vol->lcnbmp_lock); __ntfs_cluster_free()
H A Dmft.c1305 down_write(&mftbmp_ni->runlist.lock); ntfs_mft_bitmap_extend_allocation_nolock()
1339 down_write(&vol->lcnbmp_lock); ntfs_mft_bitmap_extend_allocation_nolock()
1531 down_write(&vol->lcnbmp_lock); ntfs_mft_bitmap_extend_allocation_nolock()
1736 down_write(&mft_ni->runlist.lock); ntfs_mft_data_extend_allocation_nolock()
2278 down_write(&vol->mftbmp_lock); ntfs_mft_record_alloc()
2747 down_write(&vol->mftbmp_lock); ntfs_mft_record_alloc()
2874 down_write(&vol->mftbmp_lock); ntfs_extent_mft_record_free()
H A Dfile.c899 down_write(&ni->runlist.lock); ntfs_prepare_pages_for_non_resident_write()
981 down_write(&ni->runlist.lock); ntfs_prepare_pages_for_non_resident_write()
1289 down_write(&vol->lcnbmp_lock); ntfs_prepare_pages_for_non_resident_write()
/linux-4.1.27/fs/lockd/
H A Dclntlock.c246 down_write(&host->h_rwsem); reclaimer()
/linux-4.1.27/fs/cifs/
H A Dsmb2file.c120 down_write(&cinode->lock_sem); smb2_unlock_range()
H A Dfile.c295 down_write(&cinode->lock_sem); cifs_new_fileinfo()
421 down_write(&cifsi->lock_sem); cifsFileInfo_put()
930 down_write(&cinode->lock_sem); cifs_lock_add()
952 down_write(&cinode->lock_sem); cifs_lock_add_if()
974 down_write(&cinode->lock_sem); cifs_lock_add_if()
1027 down_write(&cinode->lock_sem); cifs_posix_lock_set()
1221 down_write(&cinode->lock_sem); cifs_push_locks()
1405 down_write(&cinode->lock_sem); cifs_unlock_range()
/linux-4.1.27/drivers/xen/xen-pciback/
H A Dpci_stub.c279 down_write(&pcistub_sem); pcistub_put_pci_dev()
727 down_write(&pcistub_sem); xen_pcibk_slot_reset()
785 down_write(&pcistub_sem); xen_pcibk_mmio_enabled()
843 down_write(&pcistub_sem); xen_pcibk_error_detected()
897 down_write(&pcistub_sem); xen_pcibk_error_resume()
/linux-4.1.27/drivers/net/wireless/prism54/
H A Disl_ioctl.c340 down_write(&priv->mib_sem); prism54_set_mode()
800 down_write(&priv->mib_sem); prism54_set_nick()
1336 down_write(&priv->mib_sem); prism54_set_auth()
1434 down_write(&priv->mib_sem); prism54_set_auth()
1461 down_write(&priv->mib_sem); prism54_get_auth()
1700 down_write(&priv->mib_sem); prism54_get_encodeext()
1917 down_write(&priv->mib_sem); prism54_set_policy()
2515 down_write(&priv->mib_sem); prism54_set_wpa()
2667 down_write(&priv->mib_sem); prism54_set_spy()
H A Doid_mgt.c451 down_write(&priv->mib_sem); mgt_set_request()
/linux-4.1.27/kernel/trace/
H A Dtrace_events.c1825 down_write(&trace_event_sem); trace_event_enum_update()
1967 down_write(&trace_event_sem); trace_remove_event_call()
2011 down_write(&trace_event_sem); trace_module_remove_events()
2503 down_write(&trace_event_sem); event_trace_add_tracer()
2528 down_write(&trace_event_sem); early_event_add_tracer()
2551 down_write(&trace_event_sem); event_trace_del_tracer()
H A Dtrace_output.c715 down_write(&trace_event_sem); register_ftrace_event()
792 down_write(&trace_event_sem); unregister_ftrace_event()
/linux-4.1.27/drivers/sn/
H A Dioc3.c676 down_write(&ioc3_devices_rwsem); ioc3_probe()
793 down_write(&ioc3_devices_rwsem); ioc3_remove()
/linux-4.1.27/drivers/staging/comedi/
H A Ddrivers.c163 down_write(&dev->attach_lock); comedi_device_detach()
623 down_write(&dev->attach_lock); comedi_device_postconfig()
/linux-4.1.27/drivers/char/
H A Dapm-emulation.c339 down_write(&user_list_lock); apm_release()
376 down_write(&user_list_lock); apm_open()
/linux-4.1.27/fs/ubifs/
H A Dcommit.c256 down_write(&c->commit_sem); run_bg_commit()
436 down_write(&c->commit_sem); ubifs_run_commit()
/linux-4.1.27/fs/ncpfs/
H A Dioctl.c669 down_write(&server->auth_rwsem); __ncp_ioctl()
765 down_write(&server->auth_rwsem); __ncp_ioctl()
/linux-4.1.27/arch/ia64/mm/
H A Dinit.c124 down_write(&current->mm->mmap_sem); ia64_init_addr_space()
143 down_write(&current->mm->mmap_sem); ia64_init_addr_space()
/linux-4.1.27/drivers/iommu/
H A Ddmar.c339 down_write(&dmar_global_lock); dmar_pci_bus_notifier()
878 down_write(&dmar_global_lock); detect_intel_iommu()
1750 down_write(&dmar_global_lock); dmar_free_unused_resources()
1982 down_write(&dmar_global_lock); dmar_device_hotplug()
/linux-4.1.27/drivers/md/bcache/
H A Dwriteback.c426 down_write(&dc->writeback_lock); bch_writeback_thread()
/linux-4.1.27/drivers/mtd/ubi/
H A Dfastmap.c867 down_write(&ubi->fm_protect); ubi_scan_fastmap()
1478 down_write(&ubi->fm_protect); ubi_update_fastmap()
1603 down_write(&ubi->work_sem); ubi_update_fastmap()
1604 down_write(&ubi->fm_eba_sem); ubi_update_fastmap()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c91 down_write(&thread->mm->mmap_sem); kfd_create_process()
H A Dkfd_topology.c1048 down_write(&topology_lock); kfd_topology_init()
1150 down_write(&topology_lock); kfd_topology_add_device()
1208 down_write(&topology_lock); kfd_topology_remove_device()
/linux-4.1.27/drivers/usb/gadget/function/
H A Dstorage_common.c449 down_write(filesem); fsg_store_file()
/linux-4.1.27/arch/arm/kernel/
H A Dprocess.c394 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/fs/fat/
H A Dfile.c443 down_write(&MSDOS_I(inode)->truncate_lock); fat_setattr()
/linux-4.1.27/fs/gfs2/
H A Dbmap.c126 down_write(&ip->i_rw_mutex); gfs2_unstuff_dinode()
386 down_write(&ip->i_rw_mutex); bmap_lock()
799 down_write(&ip->i_rw_mutex); do_strip()
1132 down_write(&ip->i_rw_mutex); trunc_end()
/linux-4.1.27/kernel/time/
H A Dposix-clock.c236 down_write(&clk->rwsem); posix_clock_unregister()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrukservices.c160 down_write(&bs->bs_kgts_sema); gru_load_kernel_context()
306 down_write(&bs->bs_kgts_sema); gru_reserve_async_resources()
336 down_write(&bs->bs_kgts_sema); gru_release_async_resources()
H A Dgrufile.c151 down_write(&current->mm->mmap_sem); gru_create_new_context()
/linux-4.1.27/arch/x86/mm/
H A Dmpx.c37 down_write(&mm->mmap_sem); mpx_mmap()
380 down_write(&mm->mmap_sem); mpx_enable_management()
396 down_write(&mm->mmap_sem); mpx_disable_management()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion.c780 down_write(&dev->lock); ion_client_create()
841 down_write(&dev->lock); ion_client_destroy()
1526 down_write(&dev->lock); ion_device_add_heap()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fifo.c468 down_write(&fifo_state->rwsem); vmw_fifo_commit()
/linux-4.1.27/fs/btrfs/
H A Dinode-map.c220 down_write(&root->fs_info->commit_root_sem); btrfs_return_ino()
/linux-4.1.27/fs/ceph/
H A Dsnap.c247 down_write(&mdsc->snap_rwsem); ceph_cleanup_empty_realms()
842 down_write(&mdsc->snap_rwsem); ceph_handle_snap()
/linux-4.1.27/fs/ext2/
H A Dxattr.c391 down_write(&EXT2_I(inode)->xattr_sem); ext2_xattr_set()
760 down_write(&EXT2_I(inode)->xattr_sem); ext2_xattr_delete_inode()
/linux-4.1.27/fs/fuse/
H A Dinode.c1123 down_write(&fc->killsb); fuse_kill_sb_anon()
1153 down_write(&fc->killsb); fuse_kill_sb_blk()
/linux-4.1.27/net/bluetooth/hidp/
H A Dcore.c1096 down_write(&hidp_session_sem); hidp_session_probe()
1155 down_write(&hidp_session_sem); hidp_session_remove()
/linux-4.1.27/fs/ocfs2/cluster/
H A Dheartbeat.c640 down_write(&o2hb_callback_sem); o2hb_run_event_list()
2516 down_write(&o2hb_callback_sem); o2hb_register_callback()
2551 down_write(&o2hb_callback_sem); o2hb_unregister_callback()
/linux-4.1.27/arch/x86/kernel/
H A Dvm86_32.c177 down_write(&mm->mmap_sem); mark_screen_rdonly()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvdso.c239 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.1.27/sound/soc/codecs/
H A Dsigmadsp.c669 down_write(&card->controls_rwsem); sigmadsp_activate_ctrl()
/linux-4.1.27/drivers/xen/xenbus/
H A Dxenbus_xs.c773 down_write(&xs_state.watch_mutex); xs_suspend()
/linux-4.1.27/fs/proc/
H A Dtask_mmu.c917 down_write(&mm->mmap_sem); clear_refs_write()
929 down_write(&mm->mmap_sem); clear_refs_write()

Completed in 5109 milliseconds

12