Home
last modified time | relevance | path

Searched refs:read_lock (Results 1 – 25 of 53) sorted by relevance

123

/drivers/tty/
Dn_tty.c141 spin_lock_irqsave(&tty->read_lock, flags); in put_tty_queue()
143 spin_unlock_irqrestore(&tty->read_lock, flags); in put_tty_queue()
176 spin_lock_irqsave(&tty->read_lock, flags); in reset_buffer_flags()
178 spin_unlock_irqrestore(&tty->read_lock, flags); in reset_buffer_flags()
233 spin_lock_irqsave(&tty->read_lock, flags); in n_tty_chars_in_buffer()
241 spin_unlock_irqrestore(&tty->read_lock, flags); in n_tty_chars_in_buffer()
871 spin_lock_irqsave(&tty->read_lock, flags); in eraser()
875 spin_unlock_irqrestore(&tty->read_lock, flags); in eraser()
879 spin_lock_irqsave(&tty->read_lock, flags); in eraser()
883 spin_unlock_irqrestore(&tty->read_lock, flags); in eraser()
[all …]
Dtty_io.c606 read_lock(&tasklist_lock); in __tty_hangup()
847 read_lock(&tasklist_lock); in disassociate_ctty()
1770 read_lock(&tasklist_lock); in tty_release()
2327 read_lock(&tasklist_lock); in tiocsctty()
2837 read_lock(&tasklist_lock); in __do_SAK()
2951 spin_lock_init(&tty->read_lock); in initialize_tty_struct()
/drivers/of/
Dbase.c175 read_lock(&devtree_lock); in of_find_property()
201 read_lock(&devtree_lock); in of_find_all_nodes()
310 read_lock(&devtree_lock); in of_get_parent()
335 read_lock(&devtree_lock); in of_get_next_parent()
355 read_lock(&devtree_lock); in of_get_next_child()
377 read_lock(&devtree_lock); in of_find_node_by_path()
404 read_lock(&devtree_lock); in of_find_node_by_name()
433 read_lock(&devtree_lock); in of_find_node_by_type()
464 read_lock(&devtree_lock); in of_find_compatible_node()
497 read_lock(&devtree_lock); in of_find_node_with_property()
[all …]
/drivers/hwmon/
Dsht15.c161 struct mutex read_lock; member
441 mutex_lock(&data->read_lock); in sht15_update_status()
488 mutex_unlock(&data->read_lock); in sht15_update_status()
564 mutex_lock(&data->read_lock); in sht15_update_measurements()
579 mutex_unlock(&data->read_lock); in sht15_update_measurements()
689 mutex_lock(&data->read_lock); in sht15_store_heater()
697 mutex_unlock(&data->read_lock); in sht15_store_heater()
899 mutex_init(&data->read_lock); in sht15_probe()
1029 mutex_lock(&data->read_lock); in sht15_remove()
1031 mutex_unlock(&data->read_lock); in sht15_remove()
[all …]
/drivers/staging/iio/
Dindustrialio-event.c38 struct mutex read_lock; member
100 if (mutex_lock_interruptible(&ev_int->read_lock)) in iio_event_chrdev_read()
119 mutex_unlock(&ev_int->read_lock); in iio_event_chrdev_read()
382 mutex_init(&ev_int->read_lock); in iio_setup_ev_int()
444 mutex_destroy(&indio_dev->event_interface->read_lock); in iio_device_register_eventset()
457 mutex_destroy(&indio_dev->event_interface->read_lock); in iio_device_unregister_eventset()
/drivers/net/bonding/
Dbond_main.c772 read_lock(&bond->lock); in bond_resend_igmp_join_requests()
901 read_lock(&bond->lock); in bond_do_fail_over_mac()
945 read_lock(&bond->lock); in bond_do_fail_over_mac()
1128 read_lock(&bond->lock); in bond_change_active_slave()
1292 read_lock(&bond->lock); in bond_netpoll_cleanup()
1303 read_lock(&bond->lock); in bond_netpoll_setup()
1353 read_lock(&bond->lock); in bond_fix_features()
1390 read_lock(&bond->lock); in bond_compute_features()
1742 read_lock(&bond->lock); in bond_enslave()
2021 read_lock(&bond->lock); in bond_release()
[all …]
Dbond_alb.c1262 read_lock(&bond->curr_slave_lock); in bond_alb_xmit()
1382 read_lock(&bond->lock); in bond_alb_monitor()
1400 read_lock(&bond->curr_slave_lock); in bond_alb_monitor()
1414 read_lock(&bond->curr_slave_lock); in bond_alb_monitor()
1442 read_lock(&bond->lock); in bond_alb_monitor()
1456 read_lock(&bond->lock); in bond_alb_monitor()
1500 read_lock(&bond->lock); in bond_alb_init_slave()
1648 read_lock(&bond->lock); in bond_alb_handle_active_change()
1650 read_lock(&bond->lock); in bond_alb_handle_active_change()
1705 read_lock(&bond->lock); in bond_alb_set_mac_address()
Dbond_sysfs.c216 read_lock(&bond->lock); in bonding_show_slaves()
1049 read_lock(&bond->lock); in bonding_store_primary()
1132 read_lock(&bond->lock); in bonding_store_primary_reselect()
1198 read_lock(&bond->curr_slave_lock); in bonding_show_active_slave()
1222 read_lock(&bond->lock); in bonding_store_active_slave()
1305 read_lock(&bond->curr_slave_lock); in bonding_show_mii_status()
1436 read_lock(&bond->lock); in bonding_show_queue_id()
1497 read_lock(&bond->lock); in bonding_store_queue_id()
1576 read_lock(&bond->lock); in bonding_store_slaves_active()
Dbond_procfs.c19 read_lock(&bond->lock); in bond_info_seq_start()
62 read_lock(&bond->curr_slave_lock); in bond_info_show_master()
/drivers/md/
Ddm-region-hash.c331 read_lock(&rh->hash_lock); in __rh_find()
342 read_lock(&rh->hash_lock); in dm_rh_get_state()
413 read_lock(&rh->hash_lock); in dm_rh_mark_nosync()
506 read_lock(&rh->hash_lock); in rh_inc()
543 read_lock(&rh->hash_lock); in dm_rh_dec()
603 read_lock(&rh->hash_lock); in __rh_recovery_prepare()
693 read_lock(&rh->hash_lock); in dm_rh_delay()
/drivers/usb/class/
Dcdc-acm.c453 spin_lock_irqsave(&acm->read_lock, flags); in acm_read_bulk_callback()
456 spin_unlock_irqrestore(&acm->read_lock, flags); in acm_read_bulk_callback()
459 spin_unlock_irqrestore(&acm->read_lock, flags); in acm_read_bulk_callback()
573 spin_lock_irq(&acm->read_lock); in acm_port_activate()
576 spin_unlock_irq(&acm->read_lock); in acm_port_activate()
716 spin_lock_irq(&acm->read_lock); in acm_tty_throttle()
718 spin_unlock_irq(&acm->read_lock); in acm_tty_throttle()
726 spin_lock_irq(&acm->read_lock); in acm_tty_unthrottle()
730 spin_unlock_irq(&acm->read_lock); in acm_tty_unthrottle()
1206 spin_lock_init(&acm->read_lock); in acm_probe()
[all …]
Dcdc-acm.h99 spinlock_t read_lock; member
/drivers/parisc/
Dpdc_stable.c245 read_lock(&entry->rw_lock); in pdcspath_hwpath_read()
365 read_lock(&entry->rw_lock); in pdcspath_layer_read()
561 read_lock(&pathentry->rw_lock); in pdcs_auto_read()
608 read_lock(&pathentry->rw_lock); in pdcs_timer_read()
777 read_lock(&pathentry->rw_lock); in pdcs_auto_write()
1024 read_lock(&entry->rw_lock); in pdcs_unregister_pathentries()
/drivers/input/serio/
Dhp_sdc.c185 read_lock(&hp_sdc.rtq_lock); in hp_sdc_take()
238 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr()
250 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr()
257 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr()
266 read_lock(&hp_sdc.hook_lock); in hp_sdc_isr()
286 read_lock(&hp_sdc.hook_lock); in hp_sdc_nmisr()
/drivers/infiniband/hw/ehca/
Dehca_uverbs.c261 read_lock(&ehca_cq_idr_lock); in ehca_mmap()
282 read_lock(&ehca_qp_idr_lock); in ehca_mmap()
Dehca_irq.c211 read_lock(&ehca_qp_idr_lock); in qp_event_callback()
245 read_lock(&ehca_cq_idr_lock); in cq_event_callback()
523 read_lock(&ehca_cq_idr_lock); in process_eqe()
582 read_lock(&ehca_cq_idr_lock); in ehca_process_eq()
/drivers/leds/
Dled-triggers.c235 read_lock(&trigger->leddev_list_lock); in led_trigger_event()
255 read_lock(&trigger->leddev_list_lock); in led_trigger_blink()
/drivers/isdn/mISDN/
Dcore.c285 read_lock(&bp_lock); in get_all_Bprotocols()
297 read_lock(&bp_lock); in get_Bprotocol4mask()
/drivers/bluetooth/
Dbfusb.c202 read_lock(&data->lock); in bfusb_tx_complete()
353 read_lock(&data->lock); in bfusb_rx_complete()
535 read_lock(&data->lock); in bfusb_send_frame()
/drivers/gpu/drm/ttm/
Dttm_object.c224 read_lock(&tdev->object_lock); in ttm_base_object_lookup()
260 read_lock(&tfile->lock); in ttm_ref_object_add()
Dttm_bo_vm.c259 read_lock(&bdev->vm_lock); in ttm_bo_mmap()
327 read_lock(&bdev->vm_lock); in ttm_bo_io()
/drivers/staging/ramster/cluster/
Dnodemanager.c49 read_lock(&r2nm_single_cluster->cl_nodes_lock); in r2nm_get_node_by_num()
68 read_lock(&cluster->cl_nodes_lock); in r2nm_configured_node_map()
119 read_lock(&cluster->cl_nodes_lock); in r2nm_get_node_by_ip()
Dtcp.c605 read_lock(&sk->sk_callback_lock); in r2net_data_ready()
626 read_lock(&sk->sk_callback_lock); in r2net_state_change()
911 read_lock(&r2net_handler_lock); in r2net_handler_get()
2061 read_lock(&sk->sk_callback_lock); in r2net_listen_data_ready()
/drivers/atm/
Datmtcp.c170 read_lock(&vcc_sklist_lock); in atmtcp_v_ioctl()
300 read_lock(&vcc_sklist_lock); in atmtcp_c_send()
/drivers/scsi/
Discsi_tcp.c133 read_lock(&sk->sk_callback_lock); in iscsi_sw_tcp_data_ready()
167 read_lock(&sk->sk_callback_lock); in iscsi_sw_tcp_state_change()

123