Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/esas2r/
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_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_int.c715 spin_lock_irqsave(&a->mem_lock, flags); in esas2r_lun_event()
743 spin_unlock_irqrestore(&a->mem_lock, flags); in esas2r_lun_event()
/kernel/linux/linux-5.10/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.c134 spin_lock_init(&device->mem_lock); in dasd_alloc_device()
1246 spin_lock_irqsave(&device->mem_lock, flags); in dasd_smalloc_request()
1248 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_smalloc_request()
1289 spin_lock_irqsave(&device->mem_lock, flags); in dasd_fmalloc_request()
1291 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_fmalloc_request()
1320 spin_lock_irqsave(&device->mem_lock, flags); in dasd_sfree_request()
1322 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_sfree_request()
1331 spin_lock_irqsave(&device->mem_lock, flags); in dasd_ffree_request()
1333 spin_unlock_irqrestore(&device->mem_lock, flags); in dasd_ffree_request()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c1254 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_access_direct()
1272 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_access_direct()
1282 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_read_2M()
1284 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_read_2M()
1293 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_write_2M()
1295 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_camqm_write_2M()
1356 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_write_2M()
1400 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_write_2M()
1428 mutex_lock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_read_2M()
1458 mutex_unlock(&adapter->ahw->mem_lock); in qlcnic_pci_mem_read_2M()
/kernel/linux/linux-5.10/drivers/atm/
Dhorizon.c717 spin_lock_irqsave (&dev->mem_lock, flags); in hrz_open_rx()
719 spin_unlock_irqrestore (&dev->mem_lock, flags); in hrz_open_rx()
744 spin_lock_irqsave (&dev->mem_lock, flags); in hrz_open_rx()
751 spin_unlock_irqrestore (&dev->mem_lock, flags); in hrz_open_rx()
791 spin_lock_irqsave (&dev->mem_lock, flags); in hrz_close_rx()
793 spin_unlock_irqrestore (&dev->mem_lock, flags); in hrz_close_rx()
803 spin_lock_irqsave (&dev->mem_lock, flags); in hrz_close_rx()
815 spin_unlock_irqrestore (&dev->mem_lock, flags); in hrz_close_rx()
906 spin_unlock_irqrestore (&dev->mem_lock, flags); in hrz_close_rx()
1222 spin_lock (&dev->mem_lock); in rx_queue_entry_next()
[all …]
Dhorizon.h407 spinlock_t mem_lock; member
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dperf_event.h381 …__u64 mem_op : 5, mem_lvl : 14, mem_snoop : 5, mem_lock : 2, mem_dtlb : 7, mem_lvl_num : 4, mem_re… member
388 …__u64 mem_rsvd : 24, mem_snoopx : 2, mem_remote : 1, mem_lvl_num : 4, mem_dtlb : 7, mem_lock : 2, … member
/kernel/linux/linux-5.10/include/uapi/linux/
Dperf_event.h1121 mem_lock:2, /* lock instr */ member
1138 mem_lock:2, /* lock instr */ member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dperf_event.h1121 mem_lock:2, /* lock instr */ member
1138 mem_lock:2, /* lock instr */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dperf_event.h418 mem_lock:2, member
435 mem_lock:2, member
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Du_generic.h214 spinlock_t mem_lock; member
Df_generic.c248 spin_lock_irqsave(&ffs->mem_lock, flags); in generic_find_ep0_memory_area()
258 spin_unlock_irqrestore(&ffs->mem_lock, flags); in generic_find_ep0_memory_area()
920 spin_lock_irqsave(&ffs->mem_lock, flags); in ffs_ep0_mmap()
922 spin_unlock_irqrestore(&ffs->mem_lock, flags); in ffs_ep0_mmap()
1646 spin_lock_init(&ffs->mem_lock); in ffs_data_new()
/kernel/linux/linux-5.10/tools/perf/util/
Dmem-events.c300 mask = mem_info->data_src.mem_lock; in perf_mem__lck_scnprintf()
334 u64 lock = data_src->mem_lock; in c2c_decode_stats()
Dsort.c1132 data_src_l.mem_lock = PERF_MEM_LOCK_NA; in sort__locked_cmp()
1137 data_src_r.mem_lock = PERF_MEM_LOCK_NA; in sort__locked_cmp()
1139 return (int64_t)(data_src_r.mem_lock - data_src_l.mem_lock); in sort__locked_cmp()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()

12