Home
last modified time | relevance | path

Searched refs:WARN_ONCE (Results 1 – 25 of 63) sorted by relevance

123

/linux-4.19.296/lib/
Drefcount.c78 WARN_ONCE(new == UINT_MAX, "refcount_t: saturated; leaking memory.\n"); in refcount_add_not_zero_checked()
102 WARN_ONCE(!refcount_add_not_zero_checked(i, r), "refcount_t: addition on 0; use-after-free.\n"); in refcount_add_checked()
133 WARN_ONCE(new == UINT_MAX, "refcount_t: saturated; leaking memory.\n"); in refcount_inc_not_zero_checked()
153 WARN_ONCE(!refcount_inc_not_zero_checked(r), "refcount_t: increment on 0; use-after-free.\n"); in refcount_inc_checked()
187 WARN_ONCE(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_sub_and_test_checked()
228 WARN_ONCE(refcount_dec_and_test_checked(r), "refcount_t: decrement hit 0; leaking memory.\n"); in refcount_dec_checked()
280 WARN_ONCE(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_dec_not_one()
Dpercpu-refcount.c153 WARN_ONCE(atomic_long_read(&ref->count) <= 0, in percpu_ref_switch_to_atomic_rcu()
335 WARN_ONCE(ref->percpu_count_ptr & __PERCPU_REF_DEAD, in percpu_ref_kill_and_confirm()
Dstackdepot.c123 WARN_ONCE(1, "Stack depot reached limit capacity"); in depot_alloc_stack()
/linux-4.19.296/include/linux/
Dregmap.h1200 WARN_ONCE(1, "regmap API is disabled"); in regmap_write()
1207 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async()
1214 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write()
1221 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async()
1228 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write()
1235 WARN_ONCE(1, "regmap API is disabled"); in regmap_read()
1242 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read()
1249 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read()
1256 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_read()
1264 WARN_ONCE(1, "regmap API is disabled"); in regmap_update_bits_base()
[all …]
Dbvec.h75 if (WARN_ONCE(bytes > iter->bi_size, in bvec_iter_advance()
106 if (WARN_ONCE(iter->bi_idx == 0, in bvec_iter_rewind()
Dmmdebug.h54 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format)
Drtnetlink.h110 WARN_ONCE(!rtnl_is_locked(), \
Dlockdep.h600 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
606 WARN_ONCE(debug_locks && !current->lockdep_recursion && \
/linux-4.19.296/drivers/base/
Dsyscore.c59 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
69 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
97 WARN_ONCE(!irqs_disabled(), in syscore_resume()
105 WARN_ONCE(!irqs_disabled(), in syscore_resume()
/linux-4.19.296/include/net/
Dmac802154.h283 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_dst_pan()
336 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan()
342 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan()
/linux-4.19.296/include/asm-generic/
Dbug.h160 #define WARN_ONCE(condition, format...) ({ \ macro
207 #define WARN_ONCE(condition, format...) WARN(condition, format) macro
/linux-4.19.296/fs/reiserfs/
Dlock.c99 WARN_ONCE((sb_i->lock_depth > 0), "Unwanted recursive reiserfs lock!\n"); in reiserfs_lock_check_recursive()
/linux-4.19.296/fs/nfs_common/
Dgrace.c115 WARN_ONCE(!list_empty(grace_list), in grace_exit_net()
/linux-4.19.296/crypto/async_tx/
Dasync_xor.c215 WARN_ONCE(chan, "%s: no space for dma address conversion\n", in async_xor()
321 WARN_ONCE(device && src_cnt <= device->max_xor, in async_xor_val()
/linux-4.19.296/fs/lockd/
Dsvc.c696 WARN_ONCE(!list_empty(&ln->lockd_manager.list), in lockd_exit_net()
699 WARN_ONCE(!list_empty(&ln->nsm_handles), in lockd_exit_net()
702 WARN_ONCE(delayed_work_pending(&ln->grace_period_end), in lockd_exit_net()
/linux-4.19.296/drivers/lightnvm/
Dpblk-cache.c122 WARN_ONCE(gc_rq->secs_to_gc != valid_entries, in pblk_write_gc_to_cache()
Dpblk-read.c167 WARN_ONCE(j != rqd->nr_ppas, "pblk: corrupted random request\n"); in pblk_read_check_rand()
189 WARN_ONCE(bio->bi_status, "pblk: corrupted read bio\n"); in pblk_end_user_read()
331 WARN_ONCE(1, "pblk: malformed bio\n"); in pblk_setup_partial_read()
/linux-4.19.296/fs/notify/inotify/
Dinotify_user.c433 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr()
441 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p\n", in inotify_remove_from_idr()
452 WARN_ONCE(1, "%s: i_mark=%p i_mark->wd=%d i_mark->group=%p " in inotify_remove_from_idr()
/linux-4.19.296/fs/notify/
Dfdinfo.c54 WARN_ONCE(1, "Can't encode file handler for inotify: %d\n", ret); in show_mark_fhandle()
/linux-4.19.296/drivers/pci/
Dpci-driver.c582 WARN_ONCE(pci_dev->current_state != prev, in pci_legacy_suspend()
609 WARN_ONCE(pci_dev->current_state != prev, in pci_legacy_suspend_late()
777 WARN_ONCE(pci_dev->current_state != prev, in pci_pm_suspend()
825 WARN_ONCE(pci_dev->current_state != prev, in pci_pm_suspend_noirq()
1285 WARN_ONCE(pci_dev->current_state != prev, in pci_pm_runtime_suspend()
/linux-4.19.296/drivers/char/hw_random/
Dstm32-rng.c72 if (WARN_ONCE(sr & (RNG_SR_SEIS | RNG_SR_CEIS), in stm32_rng_read()
/linux-4.19.296/drivers/of/
Dproperty.c536 WARN_ONCE(!port_node, "%s(): endpoint %pOF has no parent node\n", in of_graph_parse_endpoint()
625 if (WARN_ONCE(!port, "%s(): endpoint %pOF has no parent node\n", in of_graph_get_next_endpoint()
/linux-4.19.296/drivers/bus/
Darm-cci.c396 if (WARN_ONCE(port < 0, "node %pOF ACE lite port look-up failure\n", in __cci_control_port_by_device()
/linux-4.19.296/fs/crypto/
Dkeyinfo.c196WARN_ONCE(1, "fscrypt: filesystem tried to load encryption info for inode %lu, which is not encryp… in select_encryption_mode()
/linux-4.19.296/fs/
Dmbcache.c265 if (!WARN_ONCE(cache->c_entry_count == 0, in mb_cache_entry_delete()

123