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

12

/linux-4.4.14/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.c211 down_write(&leds_list_lock); led_classdev_register()
244 down_write(&led_cdev->trigger_lock); led_classdev_unregister()
258 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.4.14/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.c1020 down_write(&pmd->root_lock); dm_pool_create_thin()
1111 down_write(&pmd->root_lock); dm_pool_create_snap()
1154 down_write(&pmd->root_lock); dm_pool_delete_thin_device()
1168 down_write(&pmd->root_lock); dm_pool_set_metadata_transaction_id()
1271 down_write(&pmd->root_lock); dm_pool_reserve_metadata_snap()
1319 down_write(&pmd->root_lock); dm_pool_release_metadata_snap()
1365 down_write(&pmd->root_lock); dm_pool_open_thin_device()
1375 down_write(&td->pmd->root_lock); dm_pool_close_thin_device()
1520 down_write(&td->pmd->root_lock); dm_thin_insert_block()
1607 down_write(&td->pmd->root_lock); dm_thin_remove_block()
1620 down_write(&td->pmd->root_lock); dm_thin_remove_range()
1685 down_write(&pmd->root_lock); dm_pool_alloc_data_block()
1697 down_write(&pmd->root_lock); dm_pool_commit_metadata()
1726 down_write(&pmd->root_lock); dm_pool_abort_metadata()
1861 down_write(&pmd->root_lock); dm_pool_resize_data_dev()
1873 down_write(&pmd->root_lock); dm_pool_resize_metadata_dev()
1883 down_write(&pmd->root_lock); dm_pool_metadata_read_only()
1890 down_write(&pmd->root_lock); dm_pool_metadata_read_write()
1902 down_write(&pmd->root_lock); dm_pool_register_metadata_threshold()
1915 down_write(&pmd->root_lock); dm_pool_metadata_set_needs_check()
H A Ddm-snap.c538 down_write(&_origins_lock); register_snapshot()
575 down_write(&_origins_lock); reregister_snapshot()
587 down_write(&_origins_lock); unregister_snapshot()
913 down_write(&s->lock); remove_single_exception_chunk()
987 down_write(&s->lock); snapshot_merge_next_chunks()
1030 down_write(&s->lock); snapshot_merge_next_chunks()
1075 down_write(&s->lock); merge_callback()
1342 down_write(&snap_dest->lock); snapshot_dtr()
1462 down_write(&s->lock); pending_complete()
1470 down_write(&s->lock); pending_complete()
1477 down_write(&s->lock); pending_complete()
1701 down_write(&s->lock); snapshot_map()
1725 down_write(&s->lock); snapshot_map()
1816 down_write(&s->lock); snapshot_merge_map()
1939 down_write(&snap_src->lock); snapshot_resume()
1958 down_write(&s->lock); snapshot_resume()
2000 down_write(&snap->lock); snapshot_status()
2091 down_write(&snap->lock); list_for_each_entry()
2120 down_write(&snap->lock); list_for_each_entry()
2318 down_write(&_origins_lock); origin_resume()
2327 down_write(&_origins_lock); origin_postsuspend()
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.4.14/fs/fscache/
H A Dnetfs.c54 down_write(&fscache_addremove_sem); __fscache_register_netfs()
90 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.4.14/arch/x86/um/vdso/
H A Dvma.c64 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/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.c137 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
443 /* undo write bias from down_write operation, stop active locking */ rwsem_down_write_failed()
H A Dlocktorture.c467 down_write(&torture_rwsem); __acquires()
/linux-4.4.14/drivers/lightnvm/
H A Dcore.c52 down_write(&nvm_lock); nvm_register_target()
68 down_write(&nvm_lock); nvm_unregister_target()
125 down_write(&nvm_lock); nvm_register_mgr()
152 down_write(&nvm_lock); nvm_unregister_mgr()
342 down_write(&nvm_lock); nvm_register()
358 down_write(&nvm_lock); nvm_unregister()
394 down_write(&nvm_lock); nvm_create_target()
446 down_write(&nvm_lock); nvm_create_target()
485 down_write(&nvm_lock); __nvm_configure_create()
514 down_write(&nvm_lock); __nvm_configure_remove()
546 down_write(&nvm_lock); nvm_configure_show()
637 down_write(&nvm_lock); nvm_configure_get()
678 down_write(&nvm_lock); nvm_ioctl_info()
715 down_write(&nvm_lock); nvm_ioctl_get_devices()
/linux-4.4.14/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()
1052 down_write(&c->xattr_sem); do_jffs2_getxattr()
1111 down_write(&c->xattr_sem); do_jffs2_setxattr()
1175 down_write(&c->xattr_sem); do_jffs2_setxattr()
1219 down_write(&c->xattr_sem); jffs2_garbage_collect_xattr_datum()
1255 down_write(&c->xattr_sem); jffs2_garbage_collect_xattr_ref()
1291 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.4.14/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()
435 down_write(&nilfs->ns_segctor_sem); nilfs_resize_fs()
450 down_write(&nilfs->ns_sem); nilfs_resize_fs()
490 down_write(&nilfs->ns_sem); nilfs_put_super()
513 down_write(&nilfs->ns_sem); nilfs_sync_fs()
594 down_write(&nilfs->ns_sem); nilfs_freeze()
607 down_write(&nilfs->ns_sem); nilfs_unfreeze()
1109 down_write(&nilfs->ns_sem); nilfs_fill_super()
1169 down_write(&nilfs->ns_sem); nilfs_remount()
1201 down_write(&nilfs->ns_sem); nilfs_remount()
H A Dsufile.c183 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_updatev()
249 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_update()
284 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_alloc_range()
325 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_alloc()
536 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_segment_usage()
763 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_resize()
925 down_write(&NILFS_MDT(sufile)->mi_sem); nilfs_sufile_set_suinfo()
H A Dmdt.c628 down_write(&mi->mi_sem); nilfs_mdt_restore_from_shadow_map()
653 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.c336 down_write(&nilfs->ns_segctor_sem); nilfs_relax_pressure_in_lock()
367 down_write(&nilfs->ns_segctor_sem); nilfs_transaction_lock()
2378 down_write(&nilfs->ns_sem); nilfs_segctor_construct()
2745 down_write(&nilfs->ns_segctor_sem); nilfs_segctor_destroy()
2802 down_write(&nilfs->ns_segctor_sem); nilfs_detach_log_writer()
/linux-4.4.14/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.h113 down_write(&anon_vma->root->rwsem); anon_vma_lock_write()
/linux-4.4.14/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 Dprobe.c775 down_write(&pci_bus_sem); pci_add_new_bus()
1753 down_write(&pci_bus_sem); pci_device_add()
2180 down_write(&pci_bus_sem);
/linux-4.4.14/arch/um/include/asm/
H A Dmmu_context.h45 down_write(&new->mmap_sem); activate_mm()
/linux-4.4.14/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()
646 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()
564 down_write(&EXT4_I(inode)->xattr_sem); ext4_convert_inline_data_to_extent()
737 down_write(&EXT4_I(inode)->xattr_sem); ext4_write_inline_data_end()
768 down_write(&EXT4_I(inode)->xattr_sem); ext4_journalled_write_inline_data()
1259 down_write(&EXT4_I(dir)->xattr_sem); ext4_try_add_inline_entry()
1673 down_write(&EXT4_I(dir)->xattr_sem); ext4_delete_inline_entry()
1809 down_write(&EXT4_I(inode)->xattr_sem); ext4_destroy_inline_data()
1913 down_write(&EXT4_I(inode)->xattr_sem); ext4_inline_data_truncate()
1926 down_write(&EXT4_I(inode)->i_data_sem); ext4_inline_data_truncate()
2009 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.c50 down_write(&EXT4_I(inode)->i_data_sem); ext4_release_file()
H A Dxattr.c1107 down_write(&EXT4_I(inode)->xattr_sem); ext4_xattr_set_handle()
1270 down_write(&EXT4_I(inode)->xattr_sem); ext4_expand_extra_isize_ea()
/linux-4.4.14/arch/sh/kernel/vsyscall/
H A Dvsyscall.c67 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/crypto/
H A Dalgapi.c253 down_write(&crypto_alg_sem); crypto_alg_tested()
364 down_write(&crypto_alg_sem); crypto_register_alg()
395 down_write(&crypto_alg_sem); crypto_unregister_alg()
451 down_write(&crypto_alg_sem); crypto_register_template()
476 down_write(&crypto_alg_sem); crypto_unregister_template()
542 down_write(&crypto_alg_sem); crypto_register_instance()
575 down_write(&crypto_alg_sem); crypto_unregister_instance()
596 down_write(&crypto_alg_sem); crypto_init_spawn()
646 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.c309 down_write(&crypto_alg_sem); crypto_update_alg()
432 down_write(&crypto_alg_sem); crypto_add_alg()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Duser_pages.c136 down_write(&current->mm->mmap_sem); hfi1_get_user_pages()
148 down_write(&current->mm->mmap_sem); hfi1_release_user_pages()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.c193 down_write(&rds_ib_devices_lock); rds_ib_add_one()
256 down_write(&rds_ib_devices_lock); rds_ib_remove_one()
/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dadf_cfg.c161 down_write(&dev_cfg_data->lock); adf_cfg_del_all()
184 down_write(&dev_cfg_data->lock); adf_cfg_dev_remove()
317 down_write(&cfg->lock); adf_cfg_add_key_value_param()
349 down_write(&cfg->lock); adf_cfg_section_add()
/linux-4.4.14/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.4.14/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.c445 down_write(&umhelper_sem); __usermodehelper_set_disable_depth()
464 down_write(&umhelper_sem); __usermodehelper_disable()
H A Dsys.c1225 down_write(&uts_sem); SYSCALL_DEFINE2()
1276 down_write(&uts_sem); SYSCALL_DEFINE2()
1862 down_write(&mm->mmap_sem); prctl_set_mm_map()
1966 down_write(&mm->mmap_sem); prctl_set_mm()
2246 down_write(&me->mm->mmap_sem); SYSCALL_DEFINE5()
/linux-4.4.14/arch/hexagon/kernel/
H A Dvdso.c68 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_user_pages.c165 down_write(&current->mm->mmap_sem); ipath_get_user_pages()
176 down_write(&current->mm->mmap_sem); ipath_release_user_pages()
196 down_write(&work->mm->mmap_sem); user_pages_account()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/libcfs/
H A Dkernel_user_comm.c135 down_write(&kg_sem); libcfs_kkuc_group_add()
165 down_write(&kg_sem); libcfs_kkuc_group_rem()
232 down_write(&kg_sem); libcfs_kkuc_group_foreach()
H A Dmodule.c218 down_write(&ioctl_list_sem); libcfs_register_ioctl()
233 down_write(&ioctl_list_sem); libcfs_deregister_ioctl()
/linux-4.4.14/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.4.14/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()
H A Dmmu_context_iommu.c40 down_write(&mm->mmap_sem); mm_iommu_adjust_locked_vm()
/linux-4.4.14/drivers/tty/
H A Dtty_ioctl.c110 down_write(&tty->termios_rwsem); tty_throttle()
135 down_write(&tty->termios_rwsem); tty_unthrottle()
556 down_write(&tty->termios_rwsem); tty_set_termios()
709 down_write(&tty->termios_rwsem); set_termiox()
808 down_write(&tty->termios_rwsem); set_sgttyb()
846 down_write(&tty->termios_rwsem); set_tchars()
883 down_write(&tty->termios_rwsem); set_ltchars()
912 down_write(&tty->termios_rwsem); tty_change_softcar()
1023 down_write(&real_tty->termios_rwsem); tty_mode_ioctl()
1040 down_write(&real_tty->termios_rwsem); tty_mode_ioctl()
H A Dtty_ldisc.c425 down_write(&tty->termios_rwsem); tty_set_termios_ldisc()
610 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()
2495 down_write(&tty->termios_rwsem); n_tty_ioctl()
/linux-4.4.14/drivers/s390/block/
H A Ddcssblk.c102 * down_write(&dcssblk_devices_sem) and the
330 down_write(&dcssblk_devices_sem); dcssblk_shared_store()
435 down_write(&dcssblk_devices_sem); dcssblk_save_store()
633 down_write(&dcssblk_devices_sem); dcssblk_add_store()
736 down_write(&dcssblk_devices_sem); dcssblk_remove_store()
801 down_write(&dcssblk_devices_sem); dcssblk_release()
/linux-4.4.14/fs/f2fs/
H A Dnamei.c653 down_write(&F2FS_I(new_inode)->i_sem); f2fs_rename()
683 down_write(&F2FS_I(old_inode)->i_sem); f2fs_rename()
835 down_write(&F2FS_I(old_inode)->i_sem); f2fs_cross_rename()
843 down_write(&F2FS_I(old_dir)->i_sem); f2fs_cross_rename()
856 down_write(&F2FS_I(new_inode)->i_sem); f2fs_cross_rename()
864 down_write(&F2FS_I(new_dir)->i_sem); f2fs_cross_rename()
H A Dnode.c264 down_write(&nm_i->nat_tree_lock); cache_nat_entry()
279 down_write(&nm_i->nat_tree_lock); set_node_addr()
1845 down_write(&nm_i->nat_tree_lock); remove_nats_in_journal()
1924 down_write(&NM_I(sbi)->nat_tree_lock); __flush_nat_entry_set()
1940 down_write(&nm_i->nat_tree_lock); __flush_nat_entry_set()
1970 down_write(&nm_i->nat_tree_lock); flush_nat_entries()
2075 down_write(&nm_i->nat_tree_lock); destroy_node_manager()
H A Ddir.c598 down_write(&F2FS_I(inode)->i_sem); __f2fs_add_link()
641 down_write(&F2FS_I(inode)->i_sem); f2fs_do_tmpfile()
661 down_write(&F2FS_I(inode)->i_sem); f2fs_drop_nlink()
H A Dextent_cache.c61 down_write(&sbi->extent_tree_lock); __grab_extent_tree()
668 down_write(&sbi->extent_tree_lock); f2fs_destroy_extent_tree()
H A Dinline.c461 down_write(&F2FS_I(inode)->i_sem); f2fs_add_inline_entry()
H A Dxattr.c616 down_write(&F2FS_I(inode)->i_sem); f2fs_setxattr()
H A Ddata.c127 down_write(&io->io_rwsem); f2fs_submit_merged_bio()
177 down_write(&io->io_rwsem); f2fs_submit_page_mbio()
/linux-4.4.14/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 Ddevice.c266 down_write(&lists_rwsem); add_client_context()
369 down_write(&lists_rwsem); ib_register_device()
391 down_write(&lists_rwsem); ib_unregister_device()
411 down_write(&lists_rwsem); ib_unregister_device()
445 down_write(&lists_rwsem); ib_register_client()
471 down_write(&lists_rwsem); ib_unregister_client()
478 down_write(&lists_rwsem); ib_unregister_client()
499 down_write(&lists_rwsem); ib_unregister_client()
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.c193 down_write(&uobj->mutex); idr_write_uobj()
551 down_write(&uobj->mutex); ib_uverbs_alloc_pd()
787 down_write(&obj->uobject.mutex); ib_uverbs_open_xrcd()
980 down_write(&uobj->mutex); ib_uverbs_reg_mr()
1211 down_write(&uobj->mutex); ib_uverbs_alloc_mw()
1376 down_write(&obj->uobject.mutex); create_cq()
1778 down_write(&obj->uevent.uobject.mutex); create_qp()
2095 down_write(&obj->uevent.uobject.mutex); ib_uverbs_open_qp()
2835 down_write(&uobj->mutex); ib_uverbs_create_ah()
3139 down_write(&uobj->mutex); ib_uverbs_ex_create_flow()
3291 down_write(&obj->uevent.uobject.mutex); __uverbs_create_xsrq()
/linux-4.4.14/drivers/staging/unisys/visorinput/
H A Dvisorinput.c439 down_write(&devdata->lock_visor_dev); visorinput_remove()
534 down_write(&devdata->lock_visor_dev); visorinput_channel_interrupt()
634 down_write(&devdata->lock_visor_dev); visorinput_pause()
659 down_write(&devdata->lock_visor_dev); visorinput_resume()
/linux-4.4.14/drivers/i2c/
H A Di2c-boardinfo.c65 down_write(&__i2c_board_lock); i2c_register_board_info()
/linux-4.4.14/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.4.14/arch/tile/mm/
H A Delf.c131 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/arch/nios2/mm/
H A Dinit.c127 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dllog_cat.c75 down_write(&cathandle->lgh_lock); llog_cat_id2handle()
113 down_write(&cathandle->lgh_lock); llog_cat_id2handle()
/linux-4.4.14/drivers/acpi/
H A Dglue.c42 down_write(&bus_type_sem); register_acpi_bus_type()
57 down_write(&bus_type_sem); unregister_acpi_bus_type()
/linux-4.4.14/fs/
H A Dsuper.c331 down_write(&s->s_umount); deactivate_super()
355 down_write(&s->s_umount); __releases()
733 down_write(&sb->s_umount); do_remount_sb()
798 down_write(&sb->s_umount); do_emergency_remount()
1014 down_write(&s->s_umount); mount_bdev()
1281 down_write(&sb->s_umount); freeze_super()
1303 down_write(&sb->s_umount); freeze_super()
1348 down_write(&sb->s_umount); thaw_super()
H A Duserfaultfd.c445 down_write(&mm->mmap_sem); userfaultfd_release()
763 down_write(&mm->mmap_sem); userfaultfd_register()
905 down_write(&mm->mmap_sem); userfaultfd_unregister()
H A Dnamespace.c1356 down_write(&namespace_sem); namespace_lock()
1515 down_write(&sb->s_umount); do_umount()
2205 down_write(&sb->s_umount); do_remount()
2887 down_write(&s->s_umount); mount_subtree()
H A Dcoredump.c394 down_write(&mm->mmap_sem); coredump_wait()
H A Dexec.c265 down_write(&mm->mmap_sem); __bprm_mm_init()
698 down_write(&mm->mmap_sem); setup_arg_pages()
/linux-4.4.14/fs/udf/
H A Dfile.c131 down_write(&iinfo->i_data_sem); udf_file_write_iter()
227 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.4.14/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.4.14/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.4.14/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.4.14/arch/s390/mm/
H A Dpgtable.c154 down_write(&mm->mmap_sem); gmap_alloc()
217 down_write(&gmap->mm->mmap_sem); gmap_free()
348 down_write(&gmap->mm->mmap_sem); gmap_unmap_segment()
380 down_write(&gmap->mm->mmap_sem); gmap_map_segment()
1140 down_write(&mm->mmap_sem); s390_enable_sie()
1186 down_write(&mm->mmap_sem); s390_enable_skey()
1228 down_write(&mm->mmap_sem); s390_reset_cmma()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
H A Dlov_pool.c343 down_write(&op->op_rw_sem); lov_ost_pool_add()
368 down_write(&op->op_rw_sem); lov_ost_pool_remove()
389 down_write(&op->op_rw_sem); lov_ost_pool_free()
/linux-4.4.14/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.4.14/mm/
H A Dmlock.c625 down_write(&current->mm->mmap_sem); do_mlock()
668 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE2()
739 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE1()
755 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE0()
H A Dnommu.c283 down_write(&current->mm->mmap_sem); vmalloc_user()
691 down_write(&nommu_region_sem); put_nommu_region()
1290 down_write(&nommu_region_sem); do_mmap()
1555 down_write(&nommu_region_sem); split_vma()
1595 down_write(&nommu_region_sem); shrink_vma()
1680 down_write(&mm->mmap_sem); vm_munmap()
1769 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE5()
2030 down_write(&nommu_region_sem); nommu_shrink_inode_mappings()
H A Dmprotect.c378 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE3()
H A Dmadvise.c495 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE3()
H A Dmmu_notifier.c266 down_write(&mm->mmap_sem); do_mmu_notifier_register()
H A Dmremap.c501 down_write(&current->mm->mmap_sem); SYSCALL_DEFINE5()
H A Dutil.c296 down_write(&mm->mmap_sem); vm_mmap_pgoff()
/linux-4.4.14/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.c819 down_write(&key->sem); keyctl_chown_key()
925 down_write(&key->sem); keyctl_setperm_key()
/linux-4.4.14/kernel/sched/
H A Dauto_group.c214 down_write(&ag->lock); proc_sched_autogroup_set_nice()
/linux-4.4.14/fs/ocfs2/
H A Dmmap.c158 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_page_mkwrite()
H A Daops.c564 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_direct_IO_get_blocks()
854 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_direct_IO_write()
2319 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_write_begin()
H A Dfile.c481 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_truncate_file()
1088 down_write(&oi->ip_alloc_sem); ocfs2_extend_file()
1931 down_write(&OCFS2_I(inode)->ip_alloc_sem); __ocfs2_change_file_space()
H A Dmove_extents.c928 down_write(&OCFS2_I(inode)->ip_alloc_sem); ocfs2_move_extents()
/linux-4.4.14/arch/mips/kernel/
H A Dvdso.c107 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/drivers/hid/usbhid/
H A Dhid-quirks.c237 down_write(&dquirks_rwsem); usbhid_modify_dquirk()
273 down_write(&dquirks_rwsem); usbhid_remove_all_dquirks()
/linux-4.4.14/crypto/asymmetric_keys/
H A Dasymmetric_type.c383 down_write(&asymmetric_key_parsers_sem); register_asymmetric_key_parser()
411 down_write(&asymmetric_key_parsers_sem); unregister_asymmetric_key_parser()
/linux-4.4.14/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.4.14/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.4.14/drivers/cpufreq/
H A Dcpufreq.c844 down_write(&policy->rwsem); store()
1007 down_write(&policy->rwsem); cpufreq_add_policy_cpu()
1076 down_write(&policy->rwsem); cpufreq_policy_put_kobj()
1132 down_write(&policy->rwsem); cpufreq_online()
1154 down_write(&policy->rwsem); cpufreq_online()
1330 down_write(&policy->rwsem); cpufreq_offline_prepare()
1913 down_write(&policy->rwsem); cpufreq_driver_target()
2160 down_write(&policy->rwsem); cpufreq_set_policy()
2179 down_write(&policy->rwsem); cpufreq_set_policy()
2215 down_write(&policy->rwsem); cpufreq_update_policy()
/linux-4.4.14/drivers/block/zram/
H A Dzram_drv.c263 down_write(&zram->init_lock); mem_limit_store()
333 down_write(&zram->init_lock); max_comp_streams_store()
371 down_write(&zram->init_lock); comp_algorithm_store()
985 down_write(&zram->init_lock); zram_reset_device()
1049 down_write(&zram->init_lock); disksize_store()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_lib.c500 down_write(&cli->cl_sem); client_connect_import()
571 down_write(&cli->cl_sem); client_disconnect_export()
612 down_write(&cli->cl_sem); client_disconnect_export()
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/llite/
H A Dxattr_cache.c249 down_write(&lli->lli_xattrs_list_rwsem); ll_xattr_cache_destroy()
321 down_write(&lli->lli_xattrs_list_rwsem); ll_xattr_find_get_lock()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/sfc/
H A Def10_sriov.c478 down_write(&vf->efx->filter_sem); efx_ef10_sriov_set_vf_mac()
557 down_write(&vf->efx->filter_sem); efx_ef10_sriov_set_vf_vlan()
/linux-4.4.14/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.4.14/kernel/events/
H A Duprobes.c502 down_write(&uprobe->consumer_rwsem); consumer_add()
518 down_write(&uprobe->consumer_rwsem); consumer_del()
588 down_write(&uprobe->consumer_rwsem); prepare_uprobe()
802 down_write(&mm->mmap_sem); register_for_each_vma()
894 down_write(&uprobe->register_rwsem); uprobe_register()
928 down_write(&uprobe->register_rwsem); uprobe_apply()
953 down_write(&uprobe->register_rwsem); uprobe_unregister()
1132 down_write(&mm->mmap_sem); xol_add_vma()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c126 down_write(&cfs_tracefile_sem); cfs_tracefile_write_lock()
/linux-4.4.14/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.4.14/drivers/gpu/drm/radeon/
H A Dradeon_mn.c189 down_write(&mm->mmap_sem); radeon_mn_get()
/linux-4.4.14/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.4.14/arch/x86/entry/vdso/
H A Dvma.c111 down_write(&mm->mmap_sem); map_vdso()
/linux-4.4.14/fs/lockd/
H A Dclntlock.c246 down_write(&host->h_rwsem); reclaimer()
/linux-4.4.14/fs/cifs/
H A Dsmb2file.c139 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.4.14/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()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_mn.c190 down_write(&mm->mmap_sem); amdgpu_mn_get()
/linux-4.4.14/drivers/misc/mei/
H A Dclient.c112 down_write(&dev->me_clients_rwsem); mei_me_cl_del()
125 down_write(&dev->me_clients_rwsem); mei_me_cl_add()
276 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_by_uuid()
297 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_by_uuid_id()
314 down_write(&dev->me_clients_rwsem); mei_me_cl_rm_all()
/linux-4.4.14/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.4.14/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.4.14/drivers/sn/
H A Dioc3.c676 down_write(&ioc3_devices_rwsem); ioc3_probe()
793 down_write(&ioc3_devices_rwsem); ioc3_remove()
/linux-4.4.14/drivers/char/
H A Dapm-emulation.c339 down_write(&user_list_lock); apm_release()
376 down_write(&user_list_lock); apm_open()
/linux-4.4.14/fs/ncpfs/
H A Dioctl.c671 down_write(&server->auth_rwsem); __ncp_ioctl()
767 down_write(&server->auth_rwsem); __ncp_ioctl()
/linux-4.4.14/kernel/trace/
H A Dtrace_output.c676 down_write(&trace_event_sem); register_trace_event()
753 down_write(&trace_event_sem); unregister_trace_event()
H A Dtrace_events.c2306 down_write(&trace_event_sem); trace_event_enum_update()
2448 down_write(&trace_event_sem); trace_remove_event_call()
2492 down_write(&trace_event_sem); trace_module_remove_events()
2987 down_write(&trace_event_sem); event_trace_add_tracer()
3012 down_write(&trace_event_sem); early_event_add_tracer()
3038 down_write(&trace_event_sem); event_trace_del_tracer()
/linux-4.4.14/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.4.14/arch/ia64/mm/
H A Dinit.c123 down_write(&current->mm->mmap_sem); ia64_init_addr_space()
142 down_write(&current->mm->mmap_sem); ia64_init_addr_space()
/linux-4.4.14/drivers/usb/gadget/function/
H A Dstorage_common.c449 down_write(filesem); fsg_store_file()
/linux-4.4.14/drivers/md/bcache/
H A Dwriteback.c426 down_write(&dc->writeback_lock); bch_writeback_thread()
/linux-4.4.14/drivers/mtd/ubi/
H A Dfastmap.c874 down_write(&ubi->fm_protect); ubi_scan_fastmap()
1485 down_write(&ubi->fm_protect); ubi_update_fastmap()
1610 down_write(&ubi->work_sem); ubi_update_fastmap()
1611 down_write(&ubi->fm_eba_sem); ubi_update_fastmap()
/linux-4.4.14/drivers/iommu/
H A Ddmar.c340 down_write(&dmar_global_lock); dmar_pci_bus_notifier()
879 down_write(&dmar_global_lock); detect_intel_iommu()
1762 down_write(&dmar_global_lock); dmar_free_unused_resources()
1994 down_write(&dmar_global_lock); dmar_device_hotplug()
/linux-4.4.14/fs/fat/
H A Dfile.c444 down_write(&MSDOS_I(inode)->truncate_lock); fat_setattr()
/linux-4.4.14/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.4.14/kernel/time/
H A Dposix-clock.c236 down_write(&clk->rwsem); posix_clock_unregister()
/linux-4.4.14/arch/arm/kernel/
H A Dprocess.c423 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c92 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()
1213 down_write(&topology_lock); kfd_topology_remove_device()
/linux-4.4.14/drivers/misc/sgi-gru/
H A Dgrukservices.c160 down_write(&bs->bs_kgts_sema); gru_load_kernel_context()
311 down_write(&bs->bs_kgts_sema); gru_reserve_async_resources()
341 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.4.14/arch/x86/mm/
H A Dmpx.c52 down_write(&mm->mmap_sem); mpx_mmap()
356 down_write(&mm->mmap_sem); mpx_enable_management()
372 down_write(&mm->mmap_sem); mpx_disable_management()
/linux-4.4.14/drivers/staging/android/ion/
H A Dion.c782 down_write(&dev->lock); ion_client_create()
843 down_write(&dev->lock); ion_client_destroy()
1525 down_write(&dev->lock); ion_device_add_heap()
/linux-4.4.14/drivers/vfio/
H A Dvfio.c909 down_write(&container->group_lock); vfio_ioctl_set_iommu()
1125 down_write(&container->group_lock); __vfio_group_unset_container()
1203 down_write(&container->group_lock); vfio_group_set_container()
H A Dvfio_iommu_spapr_tce.c44 down_write(&current->mm->mmap_sem); try_increment_locked_vm()
68 down_write(&current->mm->mmap_sem); decrement_locked_vm()
/linux-4.4.14/fs/btrfs/
H A Dinode-map.c220 down_write(&root->fs_info->commit_root_sem); btrfs_return_ino()
/linux-4.4.14/drivers/staging/comedi/
H A Ddrivers.c209 down_write(&dev->attach_lock); comedi_device_detach()
719 down_write(&dev->attach_lock); comedi_device_postconfig()
/linux-4.4.14/fs/fuse/
H A Dinode.c1179 down_write(&fc->killsb); fuse_kill_sb_anon()
1209 down_write(&fc->killsb); fuse_kill_sb_blk()
/linux-4.4.14/net/bluetooth/hidp/
H A Dcore.c1097 down_write(&hidp_session_sem); hidp_session_probe()
1156 down_write(&hidp_session_sem); hidp_session_remove()
/linux-4.4.14/fs/ceph/
H A Dsnap.c247 down_write(&mdsc->snap_rwsem); ceph_cleanup_empty_realms()
868 down_write(&mdsc->snap_rwsem); ceph_handle_snap()
/linux-4.4.14/fs/ext2/
H A Dxattr.c390 down_write(&EXT2_I(inode)->xattr_sem); ext2_xattr_set()
759 down_write(&EXT2_I(inode)->xattr_sem); ext2_xattr_delete_inode()
/linux-4.4.14/fs/ocfs2/cluster/
H A Dheartbeat.c640 down_write(&o2hb_callback_sem); o2hb_run_event_list()
2364 down_write(&o2hb_callback_sem); o2hb_register_callback()
2399 down_write(&o2hb_callback_sem); o2hb_unregister_callback()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fifo.c480 down_write(&fifo_state->rwsem); vmw_local_fifo_commit()
/linux-4.4.14/arch/powerpc/kernel/
H A Dvdso.c198 down_write(&mm->mmap_sem); arch_setup_additional_pages()
/linux-4.4.14/sound/soc/codecs/
H A Dsigmadsp.c669 down_write(&card->controls_rwsem); sigmadsp_activate_ctrl()
/linux-4.4.14/drivers/xen/xenbus/
H A Dxenbus_xs.c773 down_write(&xs_state.watch_mutex); xs_suspend()
/linux-4.4.14/drivers/misc/mic/scif/
H A Dscif_rma.c284 down_write(&mm->mmap_sem); __scif_dec_pinned_vm_lock()
1386 down_write(&mm->mmap_sem); __scif_pin_pages()

Completed in 5858 milliseconds

12