Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/scsi/esas2r/
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 …]
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()
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()
Desas2r_ioctl.c537 spin_lock_irqsave(&a->mem_lock, flags); in csmi_ioctl_callback()
539 spin_unlock_irqrestore(&a->mem_lock, flags); in csmi_ioctl_callback()
/linux-6.6.21/drivers/s390/block/
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()
Ddasd.c122 spin_lock_init(&device->mem_lock); in dasd_alloc_device()
1185 spin_lock_irqsave(&device->mem_lock, flags); in dasd_smalloc_request()
1187 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_smalloc_request()
1228 spin_lock_irqsave(&device->mem_lock, flags); in dasd_fmalloc_request()
1230 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_fmalloc_request()
1259 spin_lock_irqsave(&device->mem_lock, flags); in dasd_sfree_request()
1261 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_sfree_request()
1270 spin_lock_irqsave(&device->mem_lock, flags); in dasd_ffree_request()
1272 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_ffree_request()
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
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()
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()
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-6.6.21/tools/perf/util/bpf_skel/
Dsample_filter.bpf.c34 mem_lock:2, /* lock instr */ member
105 return kctx->data->data_src.mem_lock; in perf_get_sample()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
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()
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()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
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 …]
/linux-6.6.21/drivers/usb/host/
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 …]
/linux-6.6.21/include/uapi/linux/
Dperf_event.h1273 mem_lock:2, /* lock instr */ member
1294 mem_lock:2, /* lock instr */ member
/linux-6.6.21/tools/include/uapi/linux/
Dperf_event.h1273 mem_lock:2, /* lock instr */ member
1294 mem_lock:2, /* lock instr */ member
/linux-6.6.21/tools/perf/util/
Dbpf-filter.l94 mem_lock { return sample_part(PERF_SAMPLE_DATA_SRC, 5); }
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()
Dsort.c1400 data_src_l.mem_lock = PERF_MEM_LOCK_NA; in sort__locked_cmp()
1405 data_src_r.mem_lock = PERF_MEM_LOCK_NA; in sort__locked_cmp()
1407 return (int64_t)(data_src_r.mem_lock - data_src_l.mem_lock); in sort__locked_cmp()
/linux-6.6.21/drivers/vdpa/vdpa_user/
Dvduse_dev.c116 struct mutex mem_lock; member
999 mutex_lock(&dev->mem_lock); in vduse_dev_dereg_umem()
1021 mutex_unlock(&dev->mem_lock); in vduse_dev_dereg_umem()
1039 mutex_lock(&dev->mem_lock); in vduse_dev_reg_umem()
1089 mutex_unlock(&dev->mem_lock); in vduse_dev_reg_umem()
1594 mutex_init(&dev->mem_lock); in vduse_dev_create()
/linux-6.6.21/drivers/net/wireless/ath/carl9170/
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()
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()
Dcarl9170.h415 spinlock_t mem_lock; member
/linux-6.6.21/drivers/media/dvb-frontends/
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-6.6.21/arch/x86/events/amd/
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()

12