Home
last modified time | relevance | path

Searched refs:WARN_ON (Results 1 – 25 of 1254) sorted by relevance

12345678910>>...51

/linux-3.4.99/include/linux/
Dgpio.h74 WARN_ON(1); in gpio_free()
82 WARN_ON(1); in gpio_free_array()
103 WARN_ON(1); in gpio_get_value()
110 WARN_ON(1); in gpio_set_value()
116 WARN_ON(1); in gpio_cansleep()
123 WARN_ON(1); in gpio_get_value_cansleep()
130 WARN_ON(1); in gpio_set_value_cansleep()
136 WARN_ON(1); in gpio_export()
144 WARN_ON(1); in gpio_export_link()
151 WARN_ON(1); in gpio_sysfs_set_active_low()
[all …]
/linux-3.4.99/drivers/base/
Ddma-buf.c80 if (WARN_ON(!priv || !ops in dma_buf_export()
168 if (WARN_ON(!dmabuf || !dmabuf->file)) in dma_buf_put()
191 if (WARN_ON(!dmabuf || !dev)) in dma_buf_attach()
229 if (WARN_ON(!dmabuf || !attach)) in dma_buf_detach()
260 if (WARN_ON(!attach || !attach->dmabuf)) in dma_buf_map_attachment()
282 if (WARN_ON(!attach || !attach->dmabuf || !sg_table)) in dma_buf_unmap_attachment()
308 if (WARN_ON(!dmabuf)) in dma_buf_begin_cpu_access()
333 WARN_ON(!dmabuf); in dma_buf_end_cpu_access()
351 WARN_ON(!dmabuf); in dma_buf_kmap_atomic()
368 WARN_ON(!dmabuf); in dma_buf_kunmap_atomic()
[all …]
Ddma-mapping.c42 WARN_ON(this->size != match->size || in dmam_match()
103 WARN_ON(devres_destroy(dev, dmam_coherent_release, dmam_match, in dmam_free_coherent()
162 WARN_ON(!devres_destroy(dev, dmam_noncoherent_release, dmam_match, in dmam_free_noncoherent()
216 WARN_ON(devres_destroy(dev, dmam_coherent_decl_release, NULL, NULL)); in dmam_release_declared_memory()
/linux-3.4.99/arch/arm/mach-vexpress/
Dplatsmp.c56 if (WARN_ON(!reg)) in vexpress_dt_find_scu()
65 if (WARN_ON(!vexpress_dt_cortex_a9_scu_base)) in vexpress_dt_find_scu()
75 WARN_ON(of_scan_flat_dt(vexpress_dt_find_scu, NULL)); in vexpress_dt_smp_map_io()
115 WARN_ON(1); in vexpress_dt_smp_init_cpus()
147 WARN_ON(1); in vexpress_dt_smp_prepare_cpus()
156 WARN_ON(1); in vexpress_dt_smp_init_cpus()
161 WARN_ON(1); in vexpress_dt_smp_prepare_cpus()
/linux-3.4.99/net/wireless/
Dcore.c259 WARN_ON(err); in cfg80211_switch_netns()
269 WARN_ON(err); in cfg80211_switch_netns()
333 WARN_ON(ops->add_key && (!ops->del_key || !ops->set_default_key)); in wiphy_new()
334 WARN_ON(ops->auth && (!ops->assoc || !ops->deauth || !ops->disassoc)); in wiphy_new()
335 WARN_ON(ops->connect && !ops->disconnect); in wiphy_new()
336 WARN_ON(ops->join_ibss && !ops->leave_ibss); in wiphy_new()
337 WARN_ON(ops->add_virtual_intf && !ops->del_virtual_intf); in wiphy_new()
338 WARN_ON(ops->add_station && !ops->del_station); in wiphy_new()
339 WARN_ON(ops->add_mpath && !ops->del_mpath); in wiphy_new()
340 WARN_ON(ops->join_mesh && !ops->leave_mesh); in wiphy_new()
[all …]
/linux-3.4.99/include/asm-generic/
Dbug.h84 #ifndef WARN_ON
85 #define WARN_ON(condition) ({ \ macro
119 #define WARN_ON(condition) ({ \ macro
132 #define WARN_TAINT(condition, taint, format...) WARN_ON(condition)
141 if (WARN_ON(!__warned)) \
193 # define WARN_ON_SMP(x) WARN_ON(x)
/linux-3.4.99/fs/btrfs/
Dlocking.c46 WARN_ON(atomic_read(&eb->spinning_writers) != 1); in btrfs_set_lock_blocking_rw()
55 WARN_ON(atomic_read(&eb->spinning_readers) == 0); in btrfs_set_lock_blocking_rw()
79 WARN_ON(atomic_read(&eb->spinning_writers)); in btrfs_clear_lock_blocking_rw()
180 WARN_ON(atomic_read(&eb->spinning_readers) == 0); in btrfs_tree_read_unlock()
201 WARN_ON(atomic_read(&eb->blocking_readers) == 0); in btrfs_tree_read_unlock_blocking()
229 WARN_ON(atomic_read(&eb->spinning_writers)); in btrfs_tree_lock()
248 WARN_ON(atomic_read(&eb->spinning_writers)); in btrfs_tree_unlock()
253 WARN_ON(atomic_read(&eb->spinning_writers) != 1); in btrfs_tree_unlock()
Ddelayed-ref.h166 WARN_ON(atomic_read(&ref->refs) == 0); in btrfs_put_delayed_ref()
168 WARN_ON(ref->in_tree); in btrfs_put_delayed_ref()
266 WARN_ON(btrfs_delayed_ref_is_head(node)); in btrfs_delayed_node_to_tree_ref()
273 WARN_ON(btrfs_delayed_ref_is_head(node)); in btrfs_delayed_node_to_data_ref()
280 WARN_ON(!btrfs_delayed_ref_is_head(node)); in btrfs_delayed_node_to_head()
/linux-3.4.99/drivers/bcma/
Dhost_soc.c66 WARN_ON(count & 1); in bcma_host_soc_block_read()
77 WARN_ON(count & 3); in bcma_host_soc_block_read()
86 WARN_ON(1); in bcma_host_soc_block_read()
110 WARN_ON(count & 1); in bcma_host_soc_block_write()
121 WARN_ON(count & 3); in bcma_host_soc_block_write()
130 WARN_ON(1); in bcma_host_soc_block_write()
Dhost_pci.c91 WARN_ON(count & 1); in bcma_host_pci_block_read()
95 WARN_ON(count & 3); in bcma_host_pci_block_read()
99 WARN_ON(1); in bcma_host_pci_block_read()
114 WARN_ON(count & 1); in bcma_host_pci_block_write()
118 WARN_ON(count & 3); in bcma_host_pci_block_write()
122 WARN_ON(1); in bcma_host_pci_block_write()
/linux-3.4.99/drivers/net/caif/
Dcaif_spi_slave.c104 WARN_ON(len != cfspi->tx_cpck_len); in cfspi_xfer()
112 WARN_ON(cfspi->tx_npck_len > SPI_DMA_BUF_LEN); in cfspi_xfer()
148 WARN_ON(ret); in cfspi_xfer()
205 WARN_ON(len != cfspi->rx_cpck_len); in cfspi_xfer()
218 WARN_ON(cfspi->rx_npck_len > SPI_DMA_BUF_LEN); in cfspi_xfer()
219 WARN_ON(cfspi->cmd > SPI_CMD_EOT); in cfspi_xfer()
/linux-3.4.99/arch/arm/mach-omap2/
Dpowerdomain-common.c65 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_onstate_mask()
85 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_retst_mask()
105 WARN_ON(1); /* should never happen */ in omap2_pwrdm_get_mem_bank_stst_mask()
Dserial.c158 if (WARN_ON(!uart)) in omap_serial_early_init()
220 if (WARN_ON(!bdata)) in omap_serial_init_port()
222 if (WARN_ON(bdata->id < 0)) in omap_serial_init_port()
224 if (WARN_ON(bdata->id >= num_uarts)) in omap_serial_init_port()
259 if (WARN_ON(!oh)) in omap_serial_init_port()
/linux-3.4.99/fs/fat/
Dfatent.c29 WARN_ON(entry < FAT_START_ENT || sbi->max_cluster <= entry); in fat12_ent_blocknr()
39 WARN_ON(entry < FAT_START_ENT || sbi->max_cluster <= entry); in fat_ent_blocknr()
48 WARN_ON(offset >= (bhs[0]->b_size - 1)); in fat12_ent_set_ptr()
52 WARN_ON(offset != (bhs[0]->b_size - 1)); in fat12_ent_set_ptr()
60 WARN_ON(offset & (2 - 1)); in fat16_ent_set_ptr()
66 WARN_ON(offset & (4 - 1)); in fat32_ent_set_ptr()
75 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat12_ent_bread()
107 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat_ent_bread()
141 WARN_ON((unsigned long)fatent->u.ent16_p & (2 - 1)); in fat16_ent_get()
150 WARN_ON((unsigned long)fatent->u.ent32_p & (4 - 1)); in fat32_ent_get()
[all …]
/linux-3.4.99/arch/powerpc/platforms/pseries/
Devent_sources.c48 WARN_ON(1); in request_event_sources_irqs()
69 WARN_ON(1); in request_event_sources_irqs()
81 WARN_ON(1); in request_event_sources_irqs()
/linux-3.4.99/kernel/irq/
Dirqdomain.c47 if (WARN_ON(!domain)) in irq_domain_alloc()
74 if (WARN_ON(hwirq < first_hwirq || hwirq >= first_hwirq + size)) in irq_domain_legacy_revmap()
118 if (WARN_ON(!irq_data || irq_data->domain)) { in irq_domain_add_legacy()
171 if (WARN_ON(!revmap)) in irq_domain_add_linear()
302 WARN_ON(domain->revmap_type != IRQ_DOMAIN_MAP_NOMAP); in irq_create_direct_mapping()
349 WARN_ON(1); in irq_create_mapping()
453 if (WARN_ON(domain == NULL)) in irq_dispose_mapping()
578 if (WARN_ON(domain->revmap_type != IRQ_DOMAIN_MAP_TREE)) in irq_radix_revmap_insert()
710 if (WARN_ON(intsize < 1)) in irq_domain_xlate_onecell()
729 if (WARN_ON(intsize < 2)) in irq_domain_xlate_twocell()
[all …]
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dbmi.c90 WARN_ON(1); in ath6kl_bmi_get_target_info()
129 WARN_ON(1); in ath6kl_bmi_read()
186 WARN_ON(1); in ath6kl_bmi_write()
190 if (WARN_ON(ar->bmi.max_data_size > sizeof(aligned_buf))) in ath6kl_bmi_write()
251 WARN_ON(1); in ath6kl_bmi_execute()
298 WARN_ON(1); in ath6kl_bmi_set_app_start()
334 WARN_ON(1); in ath6kl_bmi_reg_read()
377 WARN_ON(1); in ath6kl_bmi_reg_write()
419 WARN_ON(1); in ath6kl_bmi_lz_data()
468 WARN_ON(1); in ath6kl_bmi_lz_stream_start()
[all …]
/linux-3.4.99/arch/x86/mm/
Dioremap.c408 WARN_ON(1); in early_ioremap_init()
472 WARN_ON(1); in fixup_early_ioremap()
510 WARN_ON(system_state != SYSTEM_BOOTING); in __early_ioremap()
523 WARN_ON(1); in __early_ioremap()
536 WARN_ON(1); in __early_ioremap()
553 WARN_ON(1); in __early_ioremap()
608 WARN_ON(1); in early_iounmap()
615 WARN_ON(1); in early_iounmap()
627 WARN_ON(1); in early_iounmap()
/linux-3.4.99/include/net/netfilter/
Dnf_tproxy_core.h100 WARN_ON(1); in nf_tproxy_get_sock_v4()
124 WARN_ON(1); in nf_tproxy_get_sock_v4()
169 WARN_ON(1); in nf_tproxy_get_sock_v6()
193 WARN_ON(1); in nf_tproxy_get_sock_v6()
/linux-3.4.99/arch/arm/mach-s3c24xx/
Dmach-rx1950.c492 WARN_ON(gpio_request(S3C2410_GPB(0), "Backlight")); in rx1950_backlight_init()
780 WARN_ON(gpio_request(S3C2410_GPJ(1), "MMC power")); in rx1950_init_machine()
784 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
787 WARN_ON(gpio_request(S3C2410_GPC(i), "LCD power")); in rx1950_init_machine()
790 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
793 WARN_ON(gpio_request(S3C2410_GPD(i), "LCD power")); in rx1950_init_machine()
795 WARN_ON(gpio_request(S3C2410_GPB(1), "LCD power")); in rx1950_init_machine()
797 WARN_ON(gpio_request(S3C2410_GPA(3), "Red blink")); in rx1950_init_machine()
798 WARN_ON(gpio_request(S3C2410_GPA(4), "Green blink")); in rx1950_init_machine()
799 WARN_ON(gpio_request(S3C2410_GPJ(6), "LED blink")); in rx1950_init_machine()
/linux-3.4.99/drivers/hwspinlock/
Dhwspinlock_core.c278 WARN_ON(tmp != hwlock); in hwspin_lock_register_single()
386 WARN_ON(tmp != hwlock); in hwspin_lock_unregister()
429 WARN_ON(tmp != hwlock); in __hwspin_lock_request()
481 WARN_ON(ret > 1); in hwspin_lock_request()
522 WARN_ON(hwlock_to_id(hwlock) != id); in hwspin_lock_request_specific()
588 WARN_ON(tmp != hwlock); in hwspin_lock_free()
/linux-3.4.99/net/mac80211/
Dwork.c178 WARN_ON(1); in ieee80211_work_work()
250 if (WARN_ON(!wk->chan)) in ieee80211_add_work()
253 if (WARN_ON(!wk->sdata)) in ieee80211_add_work()
256 if (WARN_ON(!wk->done)) in ieee80211_add_work()
259 if (WARN_ON(!ieee80211_sdata_running(wk->sdata))) in ieee80211_add_work()
305 WARN_ON(1); in ieee80211_work_purge()
/linux-3.4.99/sound/core/
Dmemalloc.c91 if (WARN_ON(!size)) in snd_malloc_pages()
93 if (WARN_ON(!gfp_flags)) in snd_malloc_pages()
134 if (WARN_ON(!dma)) in snd_malloc_dev_pages()
185 if (WARN_ON(!size)) in snd_dma_alloc_pages()
187 if (WARN_ON(!dmab)) in snd_dma_alloc_pages()
301 if (WARN_ON(!dmab)) in snd_dma_get_reserved_buf()
336 if (WARN_ON(!dmab)) in snd_dma_reserve_buf()
/linux-3.4.99/arch/arm/mach-s3c64xx/
Dmach-smartq.c397 WARN_ON(smartq_lcd_setup_gpio()); in smartq_machine_init()
398 WARN_ON(smartq_power_off_init()); in smartq_machine_init()
399 WARN_ON(smartq_usb_host_init()); in smartq_machine_init()
400 WARN_ON(smartq_usb_otg_init()); in smartq_machine_init()
401 WARN_ON(smartq_wifi_init()); in smartq_machine_init()
/linux-3.4.99/arch/powerpc/mm/
Dpgtable_64.c172 WARN_ON(pa & ~PAGE_MASK); in __ioremap_at()
173 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __ioremap_at()
174 WARN_ON(size & ~PAGE_MASK); in __ioremap_at()
191 WARN_ON(((unsigned long)ea) & ~PAGE_MASK); in __iounmap_at()
192 WARN_ON(size & ~PAGE_MASK); in __iounmap_at()

12345678910>>...51