Searched refs:BUG_ON (Results 326 - 350 of 2195) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/arm64/kernel/
H A Dproton-pack.c584 BUG_ON(nr_inst != 1); /* Branch -> NOP */
606 BUG_ON(nr_inst != 1); /* NOP -> HVC/SMC */
1080 BUG_ON(nr_inst != 1);
1091 BUG_ON(nr_inst != 1);
1105 BUG_ON(nr_inst != 1); /* MOV -> MOV */
1125 BUG_ON(nr_inst != 1); /* MOV -> MOV */
1148 BUG_ON(nr_inst != 2);
/linux-master/fs/bcachefs/
H A Dfs-io-buffered.c136 BUG_ON(folio_sector(folio) != bio_end_sector(bio));
138 BUG_ON(!bio_add_folio(bio, folio, folio_size(folio), 0));
286 BUG_ON(!bio_add_folio(&rbio->bio, folio, folio_size(folio), 0));
325 BUG_ON(!bio_add_folio(&rbio->bio, folio, folio_size(folio), 0));
436 BUG_ON(io->op.op.i_sectors_delta >= PAGE_SECTORS);
545 BUG_ON(ret);
573 BUG_ON(atomic_read(&s->write_count));
576 BUG_ON(folio_test_writeback(folio));
599 BUG_ON(!sectors);
615 BUG_ON(inod
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dmpic.c321 BUG_ON(rb->base == NULL);
330 BUG_ON(!DCR_MAP_OK(rb->dhost));
550 BUG_ON(mpic->fixups == NULL);
559 BUG_ON(cfgspace == NULL);
1173 BUG_ON(!(mpic->flags & MPIC_SECONDARY));
1329 BUG_ON(mpic->protected == NULL);
1355 BUG_ON(mpic->flags & MPIC_USES_DCR);
1442 BUG_ON(num_possible_cpus() > MPIC_MAX_CPUS);
1538 BUG_ON(isu_num >= MPIC_MAX_ISU);
1553 BUG_ON(mpi
[all...]
/linux-master/net/rds/
H A Dib_send.c234 BUG_ON(atomic_read(&ic->i_signaled_sends) < 0);
506 BUG_ON(off % RDS_FRAG_SIZE);
507 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header));
605 BUG_ON(adv_credits > 255);
740 BUG_ON(failed_wr != &first->s_wr);
757 BUG_ON(adv_credits);
834 BUG_ON(failed_wr != &send->s_atomic_wr.wr);
845 BUG_ON(failed_wr != &send->s_atomic_wr.wr);
990 BUG_ON(failed_wr != &first->s_rdma_wr.wr);
1001 BUG_ON(failed_w
[all...]
/linux-master/fs/ocfs2/dlm/
H A Ddlmmaster.c271 BUG_ON(mle->type != DLM_MLE_BLOCK &&
276 BUG_ON(!res);
282 BUG_ON(!name);
474 BUG_ON(!res->lockname.name);
505 BUG_ON(!hlist_unhashed(&res->hash_node));
506 BUG_ON(!list_empty(&res->granted));
507 BUG_ON(!list_empty(&res->converting));
508 BUG_ON(!list_empty(&res->blocked));
509 BUG_ON(!list_empty(&res->dirty));
510 BUG_ON(!list_empt
[all...]
H A Ddlmrecovery.c152 BUG_ON(item->dlm != dlm);
403 BUG_ON(dlm->reco.state & DLM_RECO_STATE_ACTIVE);
412 BUG_ON(!(dlm->reco.state & DLM_RECO_STATE_ACTIVE));
556 BUG_ON(ndata->state != DLM_RECO_NODE_DATA_INIT);
746 BUG_ON(num == dead_node);
833 BUG_ON(lr->dead_node != dlm->reco.dead_node);
1107 BUG_ON(mres->num_locks > DLM_MAX_MIGRATABLE_LOCKS);
1113 BUG_ON(total_locks > mres_total_locks);
1270 BUG_ON(!(flags & (DLM_MRES_RECOVERY|DLM_MRES_MIGRATION)));
1371 BUG_ON(!(mre
[all...]
H A Ddlmlock.c340 BUG_ON(!list_empty(&lock->list));
341 BUG_ON(!list_empty(&lock->ast_list));
342 BUG_ON(!list_empty(&lock->bast_list));
343 BUG_ON(lock->ast_pending);
344 BUG_ON(lock->bast_pending);
452 BUG_ON(!dlm);
/linux-master/kernel/dma/
H A Dmapping.c154 BUG_ON(!valid_dma_direction(dir));
176 BUG_ON(!valid_dma_direction(dir));
192 BUG_ON(!valid_dma_direction(dir));
289 BUG_ON(!valid_dma_direction(dir));
305 BUG_ON(!valid_dma_direction(dir));
325 BUG_ON(!valid_dma_direction(dir));
338 BUG_ON(!valid_dma_direction(dir));
352 BUG_ON(!valid_dma_direction(dir));
366 BUG_ON(!valid_dma_direction(dir));
380 BUG_ON(!valid_dma_directio
[all...]
/linux-master/drivers/block/xen-blkback/
H A Dblkback.c260 BUG_ON(persistent_gnt->handle ==
274 BUG_ON(gnttab_unmap_refs_sync(&unmap_data));
286 BUG_ON(!RB_EMPTY_ROOT(&ring->persistent_gnts));
287 BUG_ON(ring->persistent_gnt_c != 0);
318 BUG_ON(gnttab_unmap_refs_sync(&unmap_data));
327 BUG_ON(gnttab_unmap_refs_sync(&unmap_data));
368 BUG_ON(!list_empty(&ring->persistent_purge_list));
372 BUG_ON(persistent_gnt->handle ==
677 /* BUG_ON used to reproduce existing behaviour,
679 BUG_ON(resul
[all...]
/linux-master/net/ceph/
H A Dmessenger_v1.c47 BUG_ON(page_offset + length > PAGE_SIZE);
112 BUG_ON(con->v1.out_skip);
124 BUG_ON(con->v1.out_skip);
125 BUG_ON(index >= ARRAY_SIZE(con->v1.out_kvec));
144 BUG_ON(con->v1.out_kvec_bytes < skip);
145 BUG_ON(!con->v1.out_kvec_left);
439 BUG_ON(!con->v1.out_kvec_left);
593 BUG_ON(con->in_msg != NULL);
970 BUG_ON(!section);
973 BUG_ON(sectio
[all...]
/linux-master/drivers/xen/events/
H A Devents_base.c335 BUG_ON(info->type != IRQT_UNBOUND && info->type != type);
442 BUG_ON(info == NULL);
443 BUG_ON(info->type != IRQT_IPI);
450 BUG_ON(info == NULL);
451 BUG_ON(info->type != IRQT_VIRQ);
458 BUG_ON(info == NULL);
459 BUG_ON(info->type != IRQT_PIRQ);
508 BUG_ON(info->type != IRQT_PIRQ);
920 BUG_ON(info->type != IRQT_PIRQ);
1391 BUG_ON(re
[all...]
/linux-master/fs/ocfs2/
H A Ddlmglue.c300 BUG_ON(!ocfs2_is_inode_lock(lockres));
307 BUG_ON(lockres->l_type != OCFS2_LOCK_TYPE_DENTRY);
314 BUG_ON(lockres->l_type != OCFS2_LOCK_TYPE_QINFO);
393 BUG_ON(type >= OCFS2_NUM_LOCK_TYPES);
399 BUG_ON(len != (OCFS2_LOCK_ID_MAX_LEN - 1));
647 BUG_ON(len != (OCFS2_DENTRY_LOCK_INO_START - 1));
841 BUG_ON(!lockres);
858 BUG_ON(!lockres);
862 BUG_ON(!lockres->l_ex_holders);
866 BUG_ON(!lockre
[all...]
/linux-master/drivers/net/wireless/st/cw1200/
H A Dqueue.c40 BUG_ON(!queue->tx_locked_cnt);
85 BUG_ON(!gc_item);
294 BUG_ON(item->skb);
385 BUG_ON(queue_id != queue->queue_id);
456 BUG_ON(queue_id != queue->queue_id);
505 BUG_ON(queue_id != queue->queue_id);
/linux-master/lib/
H A Dgenalloc.c255 BUG_ON(bit < end_bit);
286 BUG_ON(in_nmi());
312 BUG_ON(remain);
495 BUG_ON(in_nmi());
505 BUG_ON(addr + size - 1 > chunk->end_addr);
508 BUG_ON(remain);
/linux-master/fs/ext4/
H A Dpage-io.c82 BUG_ON(list_empty(&io_end->list_vec));
153 BUG_ON(!list_empty(&io_end->list));
154 BUG_ON(io_end->flag & EXT4_IO_END_UNWRITTEN);
255 BUG_ON(!(io_end->flag & EXT4_IO_END_UNWRITTEN));
440 BUG_ON(!folio_test_locked(folio));
441 BUG_ON(folio_test_writeback(folio));
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmd.c58 BUG_ON(vmw_is_svga_v3(dev_priv));
296 BUG_ON(fifo_state->reserved_size != 0);
297 BUG_ON(fifo_state->dynamic_buffer != NULL);
435 BUG_ON((bytes & 3) != 0);
436 BUG_ON(bytes > fifo_state->reserved_size);
631 BUG_ON(bo->resource->mem_type != VMW_PL_MOB);
/linux-master/drivers/regulator/
H A Dhelpers.c395 BUG_ON(!rdev->desc->uV_step);
437 BUG_ON(!rdev->desc->n_linear_ranges);
485 BUG_ON(!rdev->desc->n_linear_ranges);
592 BUG_ON(!rdev->desc->n_linear_ranges);
643 BUG_ON(!desc->n_linear_ranges);
686 BUG_ON(!rdev->desc->volt_table);
/linux-master/drivers/md/bcache/
H A Dalloc.c140 BUG_ON(GC_MARK(b) && GC_MARK(b) != GC_MARK_RECLAIMABLE);
265 BUG_ON(ca->invalidate_needs_gc);
433 BUG_ON(ca->prio_buckets[iter] == (uint64_t) r);
437 BUG_ON(i == r);
439 BUG_ON(i == r);
444 BUG_ON(atomic_read(&b->pin) != 1);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_mcg.c205 BUG_ON(index < dev->limits.num_mgms);
285 BUG_ON(amgm_index_to_free < dev->limits.num_mgms);
304 BUG_ON(index < dev->limits.num_mgms);
/linux-master/drivers/misc/cb710/
H A Dcore.c150 BUG_ON(chip->slot[nr].irq_handler != NULL);
277 BUG_ON(atomic_read(&chip->slot_refs_count) != 0);
290 BUG_ON(atomic_read(&chip->slot_refs_count) != 0);
/linux-master/fs/ecryptfs/
H A Dmiscdev.c113 BUG_ON(!(daemon->flags & ECRYPTFS_DAEMON_MISCDEV_OPEN));
257 BUG_ON(!msg_ctx);
493 BUG_ON(atomic_read(&ecryptfs_num_miscdev_opens) != 0);
/linux-master/arch/powerpc/sysdev/xics/
H A Dxics-common.c53 BUG_ON(!np);
129 BUG_ON(!ipi);
134 BUG_ON(request_irq(ipi, icp_ops->ipi_action,
/linux-master/drivers/tty/serial/
H A Dmux.c90 BUG_ON(status != PDC_OK);
468 BUG_ON(status);
484 BUG_ON(i + port_count > port_cnt);
/linux-master/drivers/staging/most/i2c/
H A Di2c.c74 BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS);
128 BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS);
173 BUG_ON(ch_idx < 0 || ch_idx >= NUM_CHANNELS);
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_pgtable.c124 BUG_ON(rc2 && (rc2 != -ENOENT));
136 BUG_ON((rc < 0) && (rc != -ENOENT));
323 BUG_ON(psize == MMU_PAGE_16M);

Completed in 440 milliseconds

<<11121314151617181920>>