Home
last modified time | relevance | path

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

12

/drivers/nvdimm/
Dclaim.c279 long cleared; in nsio_rw_bytes() local
282 cleared = nvdimm_clear_poison(&ndns->dev, in nsio_rw_bytes()
284 if (cleared < size) in nsio_rw_bytes()
286 if (cleared > 0 && cleared / 512) { in nsio_rw_bytes()
287 cleared /= 512; in nsio_rw_bytes()
288 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
Dpmem.c76 long cleared; in pmem_clear_poison() local
81 cleared = nvdimm_clear_poison(dev, pmem->phys_addr + offset, len); in pmem_clear_poison()
82 if (cleared < len) in pmem_clear_poison()
84 if (cleared > 0 && cleared / 512) { in pmem_clear_poison()
85 hwpoison_clear(pmem, pmem->phys_addr + offset, cleared); in pmem_clear_poison()
86 cleared /= 512; in pmem_clear_poison()
88 (unsigned long long) sector, cleared, in pmem_clear_poison()
89 cleared > 1 ? "s" : ""); in pmem_clear_poison()
90 badblocks_clear(&pmem->bb, sector, cleared); in pmem_clear_poison()
Dbus.c172 resource_size_t phys, cleared; member
191 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
195 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
204 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
208 .cleared = cleared, in nvdimm_clear_badblocks_regions()
216 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
218 if (cleared > 0) in nvdimm_account_cleared_poison()
219 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
221 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
222 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c272 unsigned int i, cleared = 0; in i40e_ptp_rx_hang() local
298 cleared++; in i40e_ptp_rx_hang()
310 if (cleared > 2) in i40e_ptp_rx_hang()
313 cleared); in i40e_ptp_rx_hang()
316 pf->rx_hwtstamp_cleared += cleared; in i40e_ptp_rx_hang()
/drivers/char/
Dmem.c732 size_t cleared = 0; in read_zero() local
738 left = clear_user(buf + cleared, chunk); in read_zero()
740 cleared += (chunk - left); in read_zero()
741 if (!cleared) in read_zero()
745 cleared += chunk; in read_zero()
753 return cleared; in read_zero()
/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.c909 evict_data.cleared = 0; in sdma_cache_evict()
912 return evict_data.cleared; in sdma_cache_evict()
1347 int pinned, cleared; in pin_system_pages() local
1359 cleared = sdma_cache_evict(pq, npages); in pin_system_pages()
1360 if (cleared >= npages) in pin_system_pages()
1679 evict_data->cleared += node->npages; in sdma_rb_evict()
1682 if (evict_data->cleared >= evict_data->target) in sdma_rb_evict()
Duser_sdma.h164 u32 cleared; /* count evicted so far */ member
/drivers/scsi/
Dst.h39 unsigned char cleared; /* internal buffer cleared after open? */ member
Dst.c1299 (STp->buffer)->cleared = 0; in st_open()
1584 if (is_read && STp->sili && !STbp->cleared) in setup_buffering()
3943 if (STbuffer->cleared) in enlarge_buffer()
3995 st_bp->cleared = 1; in clear_buffer()
/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/counter/
DKconfig23 A counter's respective error flag may be cleared by performing a write
/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
581 } else if (epd->cleared) { in repaper_fb_dirty()
603 epd->cleared = true; in repaper_fb_dirty()
/drivers/gpu/drm/radeon/
Dradeon_vm.c523 list_add(&bo_va->vm_status, &vm->cleared); in radeon_vm_bo_set_addr()
938 list_add(&bo_va->vm_status, &vm->cleared); in radeon_vm_bo_update()
1193 INIT_LIST_HEAD(&vm->cleared); in radeon_vm_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h78 bool cleared; member
/drivers/net/wireless/marvell/mwifiex/
DREADME119 int_counter = <interrupt count, cleared when interrupt handled>
130 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
Daic7xxx.seq174 * and SELDO will be cleared in that case.
1071 * Keep HHADDR cleared for future, 32bit addressed
1145 * HDMAEN cannot be cleared. The fix used here is to drain
1446 * instead of being killed by SCSIEN getting cleared.
/drivers/staging/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.c3784 bool cleared = false; in attempt_restore_of_faulty_devices() local
3838 cleared = true; in attempt_restore_of_faulty_devices()
3844 if (cleared) { in attempt_restore_of_faulty_devices()
/drivers/net/dsa/
Dlantiq_gswip.c363 u32 cleared) in gswip_switch_r_timeout() argument
368 (val & cleared) == 0, 20, 50000); in gswip_switch_r_timeout()

12