Home
last modified time | relevance | path

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

12345678

/linux/drivers/nvdimm/
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()
/linux/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c86 u32 cleared; member
202 return pmt_crashlog_rc(crashlog, crashlog->info->status.cleared); in pmt_crashlog_cleared()
237 bool cleared = pmt_crashlog_cleared(crashlog); in clear_show() local
239 return sysfs_emit(buf, "%d\n", cleared); in clear_show()
458 .status.cleared = TYPE1_VER0_CLEAR,
473 .status.cleared = TYPE1_VER2_CLEARED,
/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).
/linux/drivers/char/
H A Dmem.c483 size_t cleared = 0; in read_zero() local
489 left = clear_user(buf + cleared, chunk); in read_zero()
491 cleared += (chunk - left); in read_zero()
492 if (!cleared) in read_zero()
496 cleared += chunk; in read_zero()
504 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()
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/drivers/android/binder/
H A Dnode.rs888 cleared: bool, field
963 cleared: false, in new()
984 if inner.cleared { in set_cleared()
988 inner.cleared = true; in set_cleared()
1008 inner.cleared in set_notification_done()
1021 if inner.cleared { in set_dead()
1081 inner.cleared && (!inner.dead || inner.notification_done) in do_work()
1120 if inner.cleared { in debug_print()
/linux/include/linux/
H A Dsbitmap.h36 * @cleared: word holding cleared bits
38 unsigned long cleared ____cacheline_aligned_in_smp;
41 * @swap_lock: serializes simultaneous updates of ->word and ->cleared
143 * @completion_cnt: Number of bits cleared passed to the
255 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
313 * sets the corresponding bit in the ->cleared mask instead. Paired with
319 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
325 * Pair of sbitmap_get, and this one applies both cleared bit and
370 * sbitmap_weight() - Return how many set and not cleared bit
[all...]
/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/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/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/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()

12345678