Home
last modified time | relevance | path

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

1234567

/linux/drivers/nvdimm/
H A Dpmem.c101 long cleared = nvdimm_clear_poison(to_dev(pmem), phys, len); in __pmem_clear_poison() local
103 if (cleared > 0) { in __pmem_clear_poison()
104 pmem_mkpage_present(pmem, offset, cleared); in __pmem_clear_poison()
107 return cleared; in __pmem_clear_poison()
113 long cleared = __pmem_clear_poison(pmem, offset, len); in pmem_clear_poison() local
115 if (cleared < 0) in pmem_clear_poison()
118 pmem_clear_bb(pmem, to_sect(pmem, offset), cleared >> SECTOR_SHIFT); in pmem_clear_poison()
119 if (cleared < len) in pmem_clear_poison()
347 long cleared; in pmem_recovery_write() local
365 cleared = __pmem_clear_poison(pmem, pmem_off, len); in pmem_recovery_write()
[all …]
H A Dclaim.c261 long cleared; in nsio_rw_bytes() local
264 cleared = nvdimm_clear_poison(&ndns->dev, in nsio_rw_bytes()
266 if (cleared < size) in nsio_rw_bytes()
268 if (cleared > 0 && cleared / 512) { in nsio_rw_bytes()
269 cleared /= 512; in nsio_rw_bytes()
270 badblocks_clear(&nsio->bb, sector, cleared); in nsio_rw_bytes()
H A 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 …]
/linux/block/
H A Dbadblocks.c994 int cleared = 0; in front_clear() local
1002 cleared = sectors; in front_clear()
1005 cleared = BB_LEN(p[prev]); in front_clear()
1013 cleared = BB_END(p[prev]) - s; in front_clear()
1023 return cleared; in front_clear()
1053 int len = 0, cleared = 0; in _badblocks_clear() local
1090 cleared++; in _badblocks_clear()
1109 cleared++; in _badblocks_clear()
1116 cleared++; in _badblocks_clear()
1134 cleared++; in _badblocks_clear()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A Duser_sdma.h118 u32 cleared; /* count evicted so far */ member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-platform-devices-occ-hwmon7 the file is empty. The data is cleared when it's been
9 from the first error is saved, until it's cleared upon read. The OCC hwmon driver, running on
H A Dsysfs-mce81 All corrected events are not cleared and kept in bank MSRs.
88 All reported corrected errors will be cleared silently.
H A Dsysfs-bus-acpi76 Bit [3] Set if the device is functioning properly (cleared
79 Bits [31:5] Reserved (must be cleared)
H A Dsysfs-bus-amba11 be cleared with an empty string (echo > driver_override).
H A Dsysfs-bus-vmbus11 may be cleared with an empty string (echo > driver_override).
H A Dsysfs-devices-platform-ACPI-TAD39 is explicitly cleared via the ac_status attribute.
83 cleared through this attribute.
/linux/lib/
H A Dsbitmap.c70 if (!map->cleared) { in sbitmap_deferred_clear()
91 mask = xchg(&map->cleared, 0); in sbitmap_deferred_clear()
346 if (sb->map[i].word & ~sb->map[i].cleared) in sbitmap_any_bit_set()
364 weight += bitmap_weight(&word->cleared, word_depth); in __sbitmap_weight()
411 unsigned long cleared = READ_ONCE(sb->map[i].cleared); in sbitmap_bitmap_show() local
414 word &= ~cleared; in sbitmap_bitmap_show()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-dv-timings.rst112 the bit is set (1) it is positive polarity and if is cleared (0),
267 will also be cleared. This is a read-only flag, applications must
272 set. This flag is cleared otherwise. It is also only valid for
274 formats the flag will be cleared by the driver.
279 generate such frequencies, then the flag will be cleared.
314 cleared by transmitters.
/linux/drivers/cpuidle/
H A Dcpuidle-psci.c155 bool cleared = false; in psci_idle_syscore_switch() local
172 if (!cleared) { in psci_idle_syscore_switch()
174 cleared = true; in psci_idle_syscore_switch()
/linux/Documentation/arch/parisc/
H A Ddebugging.rst39 happens when the Q bit is cleared is the CPU does not update the
44 instruction that cleared the Q bit, if you're not it points anywhere
/linux/Documentation/admin-guide/mm/
H A Dsoft-dirty.rst22 Internally, to do this tracking, the writable bit is cleared from PTEs
23 when the soft-dirty bit is cleared. So, after this, when the task tries to
H A Didle_page_tracking.rst69 their idle flag cleared in the interim.
101 section), and cleared automatically whenever a page is referenced as defined
104 When a page is marked idle, the Accessed bit must be cleared in all PTEs it is
109 cleared as a result of setting or updating a page's Idle flag, the Young flag
/linux/tools/testing/selftests/kvm/
H A Ddirty_log_test.c365 u32 count, cleared; in dirty_ring_collect_dirty_pages() local
372 cleared = kvm_vm_reset_dirty_ring(vcpu->vm); in dirty_ring_collect_dirty_pages()
378 TEST_ASSERT(cleared == count, "Reset dirty pages (%u) mismatch " in dirty_ring_collect_dirty_pages()
379 "with collected (%u)", cleared, count); in dirty_ring_collect_dirty_pages()
505 * Ensure both bitmaps are cleared, as a page can be written in vm_dirty_log_verify()
559 * If cleared, the value written can be any in vm_dirty_log_verify()
/linux/Documentation/scheduler/
H A Dsched-arch.rst30 be cleared until the running task has called schedule(). Idle
58 an interrupt sleep, it needs to be cleared then a memory
/linux/Documentation/arch/powerpc/
H A Ddawr-power9.rst83 cleared, all DAWR access should be cleared immediately and your
/linux/Documentation/filesystems/
H A Dautomount-support.rst66 The expiration flag is cleared by calls to mntput. This means that expiration
97 Again, the expiration flag is cleared every time anything other than umount()
/linux/Documentation/hwmon/
H A Dw83793.rst77 sure bit 0 is cleared in the 6 values. And then set the pwm1 value to
101 If the case open alarm triggers, it will stay in this state unless cleared
/linux/Documentation/arch/arm64/
H A Dcpu-hotplug.rst65 ``enabled`` bit cleared in the MADT GICC structures to indicate they can be
67 ``online capable`` bit cleared. The 'always on' GICR structure must be used
/linux/Documentation/scsi/
H A Dscsi_eh.rst271 is cleared.
294 - scmd is removed from eh_done_q and scmd->eh_entry is cleared
312 cleared by this action.
456 - shost->eh_cmd_q is cleared.
458 - Each scmd->eh_entry is cleared.

1234567