Home
last modified time | relevance | path

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

12

/drivers/nvdimm/
Dpmem.c102 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len); in __pmem_clear_poison() local
104 if (cleared > 0) { in __pmem_clear_poison()
105 pmem_mkpage_present(pmem, offset, cleared); in __pmem_clear_poison()
108 return cleared; in __pmem_clear_poison()
114 long cleared = __pmem_clear_poison(pmem, offset, len); in pmem_clear_poison() local
116 if (cleared < 0) in pmem_clear_poison()
119 pmem_clear_bb(pmem, to_sect(pmem, offset), cleared >> SECTOR_SHIFT); in pmem_clear_poison()
120 if (cleared < len) in pmem_clear_poison()
333 long cleared; in pmem_recovery_write() local
351 cleared = __pmem_clear_poison(pmem, pmem_off, len); in pmem_recovery_write()
[all …]
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()
Dbus.c161 resource_size_t phys, cleared; member
180 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
184 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
193 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
197 .cleared = cleared, in nvdimm_clear_badblocks_regions()
205 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
207 if (cleared > 0) in nvdimm_account_cleared_poison()
208 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
210 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
211 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
[all …]
/drivers/infiniband/hw/hfi1/
Dpin_system.c59 evict_data.cleared = 0; in sdma_cache_evict()
62 return evict_data.cleared; in sdma_cache_evict()
119 int pinned, cleared; in pin_system_pages() local
131 cleared = sdma_cache_evict(pq, npages); in pin_system_pages()
132 if (cleared >= npages) in pin_system_pages()
459 evict_data->cleared += node->npages; in sdma_rb_evict()
462 if (evict_data->cleared >= evict_data->target) in sdma_rb_evict()
Duser_sdma.h118 u32 cleared; /* count evicted so far */ member
/drivers/char/
Dmem.c508 size_t cleared = 0; in read_zero() local
514 left = clear_user(buf + cleared, chunk); in read_zero()
516 cleared += (chunk - left); in read_zero()
517 if (!cleared) in read_zero()
521 cleared += chunk; in read_zero()
529 return cleared; in read_zero()
/drivers/cpuidle/
Dcpuidle-psci.c132 bool cleared = false; in psci_idle_syscore_switch() local
149 if (!cleared) { in psci_idle_syscore_switch()
151 cleared = true; in psci_idle_syscore_switch()
/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c19 bool cleared; member
241 if (smmu_mn->cleared) { in arm_smmu_mm_release()
255 smmu_mn->cleared = true; in arm_smmu_mm_release()
338 if (!smmu_mn->cleared) { in arm_smmu_mmu_notifier_put()
/drivers/net/ethernet/3com/
Dtyphoon.c482 u32 cleared; in typhoon_process_response() local
485 cleared = le32_to_cpu(indexes->respCleared); in typhoon_process_response()
487 while (cleared != ready) { in typhoon_process_response()
488 resp = (struct resp_desc *)(base + cleared); in typhoon_process_response()
498 if (unlikely(cleared + len > RESPONSE_RING_SIZE)) { in typhoon_process_response()
499 wrap_len = cleared + len - RESPONSE_RING_SIZE; in typhoon_process_response()
500 len = RESPONSE_RING_SIZE - cleared; in typhoon_process_response()
525 typhoon_inc_resp_index(&cleared, count); in typhoon_process_response()
528 indexes->respCleared = cpu_to_le32(cleared); in typhoon_process_response()
1629 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/net/ethernet/intel/i40e/
Di40e_ptp.c676 unsigned int i, cleared = 0; in i40e_ptp_rx_hang() local
702 cleared++; in i40e_ptp_rx_hang()
714 if (cleared > 2) in i40e_ptp_rx_hang()
717 cleared); in i40e_ptp_rx_hang()
720 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/gpu/drm/tiny/
Drepaper.c92 bool cleared; member
555 } else if (epd->cleared) { in repaper_fb_dirty()
577 epd->cleared = true; in repaper_fb_dirty()
/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.c791 unsigned int cleared = 0; in update_sync_bits() local
813 cleared += update_rs_extent(device, BM_BIT_TO_EXT(sbnr), c, mode); in update_sync_bits()
824 if (cleared || rs_is_done) in update_sync_bits()
/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/net/wireless/marvell/mwifiex/
DREADME120 int_counter = <interrupt count, cleared when interrupt handled>
131 wakeup_tries = <wakeup device count, cleared when device awake>
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h90 bool cleared; member
/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c611 bool cleared = false; in iwl_clear_ucode_stations() local
624 cleared = true; in iwl_clear_ucode_stations()
629 if (!cleared) in iwl_clear_ucode_stations()
/drivers/counter/
DKconfig40 A counter's respective error flag may be cleared by performing a write
/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.c166 bool cleared = false; in comedi_clear_board_dev() local
172 cleared = true; in comedi_clear_board_dev()
175 return cleared; in comedi_clear_board_dev()
/drivers/md/
Ddm-raid.c3807 bool cleared = false; in attempt_restore_of_faulty_devices() local
3861 cleared = true; in attempt_restore_of_faulty_devices()
3867 if (cleared) { in attempt_restore_of_faulty_devices()

12