Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/linux/drivers/s390/block/
H A Ddasd_erp.c44 spin_lock_irqsave(&device->mem_lock, flags); in dasd_alloc_erp_request()
47 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_alloc_erp_request()
77 spin_lock_irqsave(&device->mem_lock, flags); in dasd_free_erp_request()
79 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_free_erp_request()
H A Ddasd.c119 spin_lock_init(&device->mem_lock); in dasd_alloc_device()
1182 spin_lock_irqsave(&device->mem_lock, flags); in dasd_smalloc_request()
1184 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_smalloc_request()
1225 spin_lock_irqsave(&device->mem_lock, flags); in dasd_fmalloc_request()
1227 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_fmalloc_request()
1256 spin_lock_irqsave(&device->mem_lock, flags); in dasd_sfree_request()
1258 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_sfree_request()
1267 spin_lock_irqsave(&device->mem_lock, flags); in dasd_ffree_request()
1269 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_ffree_request()
/openbmc/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()
/openbmc/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()
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dsample_filter.bpf.c34 mem_lock:2, /* lock instr */ member
105 return kctx->data->data_src.mem_lock; in perf_get_sample()
/openbmc/qemu/tests/tcg/plugins/
H A Dinline.c59 static GMutex mem_lock; variable
221 g_mutex_lock(&mem_lock); in vcpu_mem_access()
223 g_mutex_unlock(&mem_lock); in vcpu_mem_access()
/openbmc/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 …]
/openbmc/linux/drivers/usb/host/
H A Doxu210hp-hcd.c412 spinlock_t mem_lock; member
919 spin_lock(&oxu->mem_lock); in oxu_buf_alloc()
947 spin_unlock(&oxu->mem_lock); in oxu_buf_alloc()
954 spin_unlock(&oxu->mem_lock); in oxu_buf_alloc()
963 spin_lock(&oxu->mem_lock); in oxu_buf_free()
972 spin_unlock(&oxu->mem_lock); in oxu_buf_free()
992 spin_lock(&oxu->mem_lock); in oxu_qtd_free()
997 spin_unlock(&oxu->mem_lock); in oxu_qtd_free()
1005 spin_lock(&oxu->mem_lock); in ehci_qtd_alloc()
1025 spin_unlock(&oxu->mem_lock); in ehci_qtd_alloc()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h1273 mem_lock:2, /* lock instr */ member
1294 mem_lock:2, /* lock instr */ member
/openbmc/linux/tools/include/uapi/linux/
H A Dperf_event.h1273 mem_lock:2, /* lock instr */ member
1294 mem_lock:2, /* lock instr */ member
/openbmc/linux/tools/perf/util/
H A Dbpf-filter.l94 mem_lock { return sample_part(PERF_SAMPLE_DATA_SRC, 5); }
H A Dmem-events.c477 mask = mem_info->data_src.mem_lock; in perf_mem__lck_scnprintf()
540 u64 lock = data_src->mem_lock; in c2c_decode_stats()
/openbmc/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c118 struct mutex mem_lock; member
1001 mutex_lock(&dev->mem_lock); in vduse_dev_dereg_umem()
1023 mutex_unlock(&dev->mem_lock); in vduse_dev_dereg_umem()
1041 mutex_lock(&dev->mem_lock); in vduse_dev_reg_umem()
1091 mutex_unlock(&dev->mem_lock); in vduse_dev_reg_umem()
1596 mutex_init(&dev->mem_lock); in vduse_dev_create()
/openbmc/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
/openbmc/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()
/openbmc/linux/arch/x86/events/amd/
H A Dibs.c918 data_src->mem_lock = PERF_MEM_LOCK_NA; in perf_ibs_get_mem_lock()
921 data_src->mem_lock = PERF_MEM_LOCK_LOCKED; in perf_ibs_get_mem_lock()
/openbmc/u-boot/cmd/
H A Dotp.c144 char mem_lock; member
2014 if (info_cb.pro_sts.mem_lock) { in otp_prog_image()
2880 if (info_cb.pro_sts.mem_lock) { in do_otppb()
3404 pro_sts->mem_lock = (otp_conf0 >> 31) & 0x1; in do_ast_otp()

12