Home
last modified time | relevance | path

Searched refs:mem_lock (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/scsi/esas2r/
H A Desas2r_disc.c150 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_disc_start_waiting()
155 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_disc_start_waiting()
217 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_disc_check_complete()
219 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_disc_check_complete()
235 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_disc_check_complete()
237 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_disc_check_complete()
252 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_disc_check_complete()
254 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_disc_check_complete()
557 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_disc_block_dev_scan_cb()
572 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_disc_block_dev_scan_cb()
[all …]
H A Desas2r_targdb.c68 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_targ_db_remove_all()
70 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_targ_db_remove_all()
97 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_targ_db_report_changes()
101 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_targ_db_report_changes()
298 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_targ_db_get_tgt_cnt()
303 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_targ_db_get_tgt_cnt()
H A Desas2r_int.c716 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_lun_event()
744 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_lun_event()
H A Desas2r_ioctl.c539 spin_lock_irqsave(&a->mem_lock, flags); in csmi_ioctl_callback()
541 spin_unlock_irqrestore(&a->mem_lock, flags); in csmi_ioctl_callback()
/linux/drivers/s390/block/
H A Ddasd_erp.c39 spin_lock_irqsave(&device->mem_lock, flags); in dasd_alloc_erp_request()
42 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_alloc_erp_request()
72 spin_lock_irqsave(&device->mem_lock, flags); in dasd_free_erp_request()
74 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_free_erp_request()
H A Ddasd.c116 spin_lock_init(&device->mem_lock); in dasd_alloc_device()
1193 spin_lock_irqsave(&device->mem_lock, flags); in dasd_smalloc_request()
1195 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_smalloc_request()
1236 spin_lock_irqsave(&device->mem_lock, flags); in dasd_fmalloc_request()
1238 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_fmalloc_request()
1267 spin_lock_irqsave(&device->mem_lock, flags); in dasd_sfree_request()
1269 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_sfree_request()
1278 spin_lock_irqsave(&device->mem_lock, flags); in dasd_ffree_request()
1280 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_ffree_request()
H A Ddasd_int.h574 spinlock_t mem_lock; member
/linux/drivers/net/wireless/ath/wil6210/
H A Dwil_crash_dump.c65 down_write(&wil->mem_lock); in wil_fw_copy_crash_dump()
71 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump()
94 up_write(&wil->mem_lock); in wil_fw_copy_crash_dump()
H A Dpm.c187 rc = down_write_trylock(&wil->mem_lock); in wil_suspend_keep_radio_on()
197 up_write(&wil->mem_lock); in wil_suspend_keep_radio_on()
306 rc = down_write_trylock(&wil->mem_lock); in wil_suspend_radio_off()
316 up_write(&wil->mem_lock); in wil_suspend_radio_off()
H A Dmain.c181 if (!down_read_trylock(&wil->mem_lock)) in wil_mem_access_lock()
186 up_read(&wil->mem_lock); in wil_mem_access_lock()
195 up_read(&wil->mem_lock); in wil_mem_access_unlock()
720 init_rwsem(&wil->mem_lock); in wil_priv_init()
1657 down_write(&wil->mem_lock); in wil_reset()
1707 up_write(&wil->mem_lock); in wil_reset()
1743 up_write(&wil->mem_lock); in wil_reset()
1794 up_write(&wil->mem_lock); in wil_reset()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c1250 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_access_direct()
1268 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_access_direct()
1278 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_read_2M()
1280 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_read_2M()
1289 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_write_2M()
1291 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_write_2M()
1352 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_write_2M()
1396 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_write_2M()
1424 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_read_2M()
1454 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_read_2M()
H A Dqlcnic_minidump.c678 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_read_memory_test_agent()
708 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_read_memory_test_agent()
H A Dqlcnic_83xx_hw.c3099 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_ms_mem_write128()
3107 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_ms_mem_write128()
3130 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_ms_mem_write128()
3135 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_ms_mem_write128()
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c1374 spin_lock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_access_direct()
1404 spin_unlock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_access_direct()
1417 spin_lock(&adapter->ahw.mem_lock); in netxen_pci_camqm_read_2M()
1419 spin_unlock(&adapter->ahw.mem_lock); in netxen_pci_camqm_read_2M()
1428 spin_lock(&adapter->ahw.mem_lock); in netxen_pci_camqm_write_2M()
1430 spin_unlock(&adapter->ahw.mem_lock); in netxen_pci_camqm_write_2M()
1482 spin_lock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_write_128M()
1508 spin_unlock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_write_128M()
1560 spin_lock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_read_128M()
1589 spin_unlock(&adapter->ahw.mem_lock); in netxen_nic_pci_mem_read_128M()
[all …]
H A Dnetxen_nic.h580 spinlock_t mem_lock; member
/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c62 mem_lock:2, /* lock instr */ member
159 return kctx->data->data_src.mem_lock; in perf_get_sample()
/linux/tools/include/uapi/linux/
H A Dperf_event.h1292 mem_lock:2, /* lock instr */
1313 mem_lock:2, /* lock instr */
1283 mem_lock:2, /* lock instr */ global() member
1304 mem_lock:2, /* lock instr */ global() member
/linux/tools/perf/util/
H A Dbpf-filter.l112 mem_lock { return sample_part(PBF_TERM_DATA_SRC, 5); }
H A Dmem-events.c552 mask = mem_info__const_data_src(mem_info)->mem_lock; in perf_mem__lck_scnprintf()
615 u64 lock = data_src->mem_lock; in c2c_decode_stats()
H A Dsort.c1544 data_src_l.mem_lock = PERF_MEM_LOCK_NA; in hist_entry__snoop_snprintf()
1549 data_src_r.mem_lock = PERF_MEM_LOCK_NA; in hist_entry__snoop_snprintf()
1551 return (int64_t)(data_src_r.mem_lock - data_src_l.mem_lock);
/linux/drivers/net/wireless/ath/carl9170/
H A Dtx.c204 spin_lock_bh(&ar->mem_lock); in carl9170_alloc_dev_space()
206 spin_unlock_bh(&ar->mem_lock); in carl9170_alloc_dev_space()
256 spin_lock_bh(&ar->mem_lock); in carl9170_release_dev_space()
258 spin_unlock_bh(&ar->mem_lock); in carl9170_release_dev_space()
H A Ddebug.c219 spin_lock_bh(&ar->mem_lock); in carl9170_debugfs_mem_usage_read()
233 spin_unlock_bh(&ar->mem_lock); in carl9170_debugfs_mem_usage_read()
H A Dcarl9170.h415 spinlock_t mem_lock; member
/linux/drivers/media/dvb-frontends/
H A Ddib9000.c86 struct mutex mem_lock; /* to protect the memory accesses */ member
447 if (mutex_lock_interruptible(&state->platform.risc.mem_lock) < 0) { in dib9000_risc_mem_read()
453 mutex_unlock(&state->platform.risc.mem_lock); in dib9000_risc_mem_read()
463 if (mutex_lock_interruptible(&state->platform.risc.mem_lock) < 0) { in dib9000_risc_mem_write()
469 mutex_unlock(&state->platform.risc.mem_lock); in dib9000_risc_mem_write()
2498 mutex_init(&st->platform.risc.mem_lock); in dib9000_attach()
/linux/arch/x86/events/amd/
H A Dibs.c921 data_src->mem_lock = PERF_MEM_LOCK_NA; in perf_ibs_get_mem_lock()
924 data_src->mem_lock = PERF_MEM_LOCK_LOCKED; in perf_ibs_get_mem_lock()

12