Home
last modified time | relevance | path

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

123456789

/linux/drivers/nvdimm/
H A 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()
H A Dbus.c164 resource_size_t phys, cleared; member
183 (ctx->phys + ctx->cleared - 1) > ndr_end) in nvdimm_clear_badblocks_region()
187 badblocks_clear(&nd_region->bb, sector, ctx->cleared / 512); in nvdimm_clear_badblocks_region()
196 phys_addr_t phys, u64 cleared) in nvdimm_clear_badblocks_regions() argument
200 .cleared = cleared, in nvdimm_clear_badblocks_regions()
208 phys_addr_t phys, u64 cleared) in nvdimm_account_cleared_poison() argument
210 if (cleared > 0) in nvdimm_account_cleared_poison()
211 badrange_forget(&nvdimm_bus->badrange, phys, cleared); in nvdimm_account_cleared_poison()
213 if (cleared > 0 && cleared / 512) in nvdimm_account_cleared_poison()
214 nvdimm_clear_badblocks_regions(nvdimm_bus, phys, cleared); in nvdimm_account_cleared_poison()
[all …]
/linux/block/
H A Dbadblocks.c1079 int cleared = 0; in front_clear() local
1087 cleared = sectors; in front_clear()
1090 cleared = BB_LEN(p[prev]); in front_clear()
1098 cleared = BB_END(p[prev]) - s; in front_clear()
1108 return cleared; in front_clear()
1138 int len = 0, cleared = 0; in _badblocks_clear() local
1176 cleared++; in _badblocks_clear()
1195 cleared++; in _badblocks_clear()
1202 cleared++; in _badblocks_clear()
1220 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()
/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)
/linux/fs/btrfs/
H A Dsubpage.c247 unsigned int cleared = 0; in btrfs_subpage_end_and_test_lock() local
268 cleared++; in btrfs_subpage_end_and_test_lock()
270 ASSERT(atomic_read(&subpage->nr_locked) >= cleared); in btrfs_subpage_end_and_test_lock()
271 last = atomic_sub_and_test(cleared, &subpage->nr_locked); in btrfs_subpage_end_and_test_lock()
329 int cleared = 0; in btrfs_folio_end_lock_bitmap() local
346 cleared++; in btrfs_folio_end_lock_bitmap()
348 ASSERT(atomic_read(&subpage->nr_locked) >= cleared); in btrfs_folio_end_lock_bitmap()
349 last = atomic_sub_and_test(cleared, &subpage->nr_locked); in btrfs_folio_end_lock_bitmap()
/linux/drivers/char/
H A Dmem.c498 size_t cleared = 0; in read_zero() local
504 left = clear_user(buf + cleared, chunk); in read_zero()
506 cleared += (chunk - left); in read_zero()
507 if (!cleared) in read_zero()
511 cleared += chunk; in read_zero()
519 return cleared; in read_zero()
/linux/lib/
H A Dsbitmap.c70 if (!map->cleared) { in sbitmap_deferred_clear()
91 mask = xchg(&map->cleared, 0); in sbitmap_deferred_clear()
312 if (sb->map[i].word & ~sb->map[i].cleared) in sbitmap_any_bit_set()
330 weight += bitmap_weight(&word->cleared, word_depth); in __sbitmap_weight()
377 unsigned long cleared = READ_ONCE(sb->map[i].cleared); in sbitmap_bitmap_show() local
380 word &= ~cleared; in sbitmap_bitmap_show()
/linux/include/linux/
H A Dsbitmap.h38 unsigned long cleared ____cacheline_aligned_in_smp;
272 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
336 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
/linux/drivers/cpuidle/
H A Dcpuidle-psci.c129 bool cleared = false; in psci_idle_syscore_switch() local
146 if (!cleared) { in psci_idle_syscore_switch()
148 cleared = true; in psci_idle_syscore_switch()
/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/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/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/tools/testing/selftests/kvm/
H A Ddirty_log_test.c355 uint32_t count = 0, cleared; in dirty_ring_collect_dirty_pages() local
374 cleared = kvm_vm_reset_dirty_ring(vcpu->vm); in dirty_ring_collect_dirty_pages()
380 TEST_ASSERT(cleared == count, "Reset dirty pages (%u) mismatch " in dirty_ring_collect_dirty_pages()
381 "with collected (%u)", cleared, count); in dirty_ring_collect_dirty_pages()
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dpmc.txt40 and cleared on suspend, and restored on resume. This sleep controller
44 which will be ORed into PMCDR upon suspend, and cleared from PMCDR
/linux/Documentation/devicetree/bindings/watchdog/
H A Dmicrochip,pic32-wdt.txt4 WDT is not cleared periodically in software.
/linux/Documentation/devicetree/bindings/mfd/
H A Dmax77620.txt54 When FPS event cleared (set to LOW), regulators, GPIOs and 32KHz
99 event cleared (set to LOW) whether it
109 event get cleared.
/linux/drivers/net/ethernet/3com/
H A 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 …]
/linux/drivers/iio/pressure/
H A 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()
/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()

123456789