Home
last modified time | relevance | path

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

12

/drivers/nvdimm/
Dclaim.c280 long cleared; in nsio_rw_bytes() local
283 cleared = nvdimm_clear_poison(&ndns->dev, in nsio_rw_bytes()
285 if (cleared < size) in nsio_rw_bytes()
287 if (cleared > 0 && cleared / 512) { in nsio_rw_bytes()
288 cleared /= 512; in nsio_rw_bytes()
289 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
Dpmem.c77 long cleared; in pmem_clear_poison() local
82 cleared = nvdimm_clear_poison(dev, pmem->phys_addr + offset, len); in pmem_clear_poison()
83 if (cleared < len) in pmem_clear_poison()
85 if (cleared > 0 && cleared / 512) { in pmem_clear_poison()
86 hwpoison_clear(pmem, pmem->phys_addr + offset, cleared); in pmem_clear_poison()
87 cleared /= 512; in pmem_clear_poison()
89 (unsigned long long) sector, cleared, in pmem_clear_poison()
90 cleared > 1 ? "s" : ""); in pmem_clear_poison()
91 badblocks_clear(&pmem->bb, sector, cleared); in pmem_clear_poison()
Dbus.c170 resource_size_t phys, cleared; member
189 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
193 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
202 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
206 .cleared = cleared, in nvdimm_clear_badblocks_regions()
214 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
216 if (cleared > 0) in nvdimm_account_cleared_poison()
217 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
219 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
220 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
[all …]
/drivers/char/
Dmem.c506 size_t cleared = 0; in read_zero() local
512 left = clear_user(buf + cleared, chunk); in read_zero()
514 cleared += (chunk - left); in read_zero()
515 if (!cleared) in read_zero()
519 cleared += chunk; in read_zero()
527 return cleared; in read_zero()
/drivers/cpuidle/
Dcpuidle-psci.c145 bool cleared = false; in psci_idle_syscore_switch() local
162 if (!cleared) { in psci_idle_syscore_switch()
164 cleared = true; in psci_idle_syscore_switch()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c19 bool cleared; member
237 if (smmu_mn->cleared) { in arm_smmu_mm_release()
251 smmu_mn->cleared = true; in arm_smmu_mm_release()
334 if (!smmu_mn->cleared) { in arm_smmu_mmu_notifier_put()
/drivers/net/ethernet/3com/
Dtyphoon.c487 u32 cleared; in typhoon_process_response() local
490 cleared = le32_to_cpu(indexes->respCleared); in typhoon_process_response()
492 while (cleared != ready) { in typhoon_process_response()
493 resp = (struct resp_desc *)(base + cleared); in typhoon_process_response()
503 if (unlikely(cleared + len > RESPONSE_RING_SIZE)) { in typhoon_process_response()
504 wrap_len = cleared + len - RESPONSE_RING_SIZE; in typhoon_process_response()
505 len = RESPONSE_RING_SIZE - cleared; in typhoon_process_response()
530 typhoon_inc_resp_index(&cleared, count); in typhoon_process_response()
533 indexes->respCleared = cpu_to_le32(cleared); in typhoon_process_response()
1632 volatile __le32 * cleared, int budget) in typhoon_rx() argument
[all …]
/drivers/iio/pressure/
Dzpa2326.c519 int cleared = -1; in zpa2326_dequeue_pressure() local
559 cleared++; in zpa2326_dequeue_pressure()
562 if (cleared) in zpa2326_dequeue_pressure()
567 zpa2326_dbg(indio_dev, "cleared %d FIFO entries", cleared); in zpa2326_dequeue_pressure()
/drivers/infiniband/hw/hfi1/
Duser_sdma.c868 evict_data.cleared = 0; in sdma_cache_evict()
871 return evict_data.cleared; in sdma_cache_evict()
1306 int pinned, cleared; in pin_system_pages() local
1318 cleared = sdma_cache_evict(pq, npages); in pin_system_pages()
1319 if (cleared >= npages) in pin_system_pages()
1638 evict_data->cleared += node->npages; in sdma_rb_evict()
1641 if (evict_data->cleared >= evict_data->target) in sdma_rb_evict()
Duser_sdma.h123 u32 cleared; /* count evicted so far */ member
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c694 unsigned int i, cleared = 0; in i40e_ptp_rx_hang() local
720 cleared++; in i40e_ptp_rx_hang()
732 if (cleared > 2) in i40e_ptp_rx_hang()
735 cleared); in i40e_ptp_rx_hang()
738 pf->rx_hwtstamp_cleared += cleared; in i40e_ptp_rx_hang()
/drivers/scsi/
Dst.h38 unsigned char cleared; /* internal buffer cleared after open? */ member
/drivers/parport/
Dparport_ip32.c1069 unsigned int cleared; in parport_ip32_clear_epp_timeout() local
1072 cleared = 1; in parport_ip32_clear_epp_timeout()
1084 cleared = !(r & DSR_TIMEOUT); in parport_ip32_clear_epp_timeout()
1087 pr_trace(p, "(): %s", cleared ? "cleared" : "failed"); in parport_ip32_clear_epp_timeout()
1088 return cleared; in parport_ip32_clear_epp_timeout()
/drivers/block/drbd/
Ddrbd_bitmap.c487 int cleared = 0; in bm_clear_surplus() local
504 cleared = hweight_long(*bm & ~mask); in bm_clear_surplus()
512 cleared += hweight_long(*bm); in bm_clear_surplus()
516 return cleared; in bm_clear_surplus()
Ddrbd_actlog.c790 unsigned int cleared = 0; in update_sync_bits() local
812 cleared += update_rs_extent(device, BM_BIT_TO_EXT(sbnr), c, mode); in update_sync_bits()
823 if (cleared || rs_is_done) in update_sync_bits()
/drivers/gpu/drm/tiny/
Drepaper.c91 bool cleared; member
572 } else if (epd->cleared) { in repaper_fb_dirty()
594 epd->cleared = true; in repaper_fb_dirty()
/drivers/mtd/spi-nor/
DKconfig55 the flash either the block protection bits are cleared or a
/drivers/gpu/drm/radeon/
Dradeon_vm.c524 list_add(&bo_va->vm_status, &vm->cleared); in radeon_vm_bo_set_addr()
937 list_add(&bo_va->vm_status, &vm->cleared); in radeon_vm_bo_update()
1191 INIT_LIST_HEAD(&vm->cleared); in radeon_vm_init()
/drivers/counter/
DKconfig23 A counter's respective error flag may be cleared by performing a write
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h89 bool cleared; member
/drivers/net/wireless/marvell/mwifiex/
DREADME120 int_counter = <interrupt count, cleared when interrupt handled>
131 wakeup_tries = <wakeup device count, cleared when device awake>
/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c616 bool cleared = false; in iwl_clear_ucode_stations() local
629 cleared = true; in iwl_clear_ucode_stations()
634 if (!cleared) in iwl_clear_ucode_stations()
/drivers/scsi/aic7xxx/
Daic79xx.seq109 * ENSELO is cleared by a SELDO, so we must test for SELDO
574 * be cleared when the message is acted on.
1312 * busfree status was cleared at the
1509 * (SG_CACHE_AVAIL would have been cleared in
1657 * Ensure that any FIFO contents are cleared out and the
2196 * nonpackreq if we've cleared out the FIFOs and handled any
/drivers/comedi/
Dcomedi_fops.c167 bool cleared = false; in comedi_clear_board_dev() local
173 cleared = true; in comedi_clear_board_dev()
176 return cleared; in comedi_clear_board_dev()
/drivers/md/
Ddm-raid.c3814 bool cleared = false; in attempt_restore_of_faulty_devices() local
3868 cleared = true; in attempt_restore_of_faulty_devices()
3874 if (cleared) { in attempt_restore_of_faulty_devices()

12