/openbmc/linux/fs/xfs/ |
H A D | xfs_trans_buf.c | 148 ASSERT(bip != NULL); in xfs_trans_get_buf_map() 160 ASSERT(!bp->b_error); in xfs_trans_get_buf_map() 184 ASSERT(bip != NULL); in xfs_trans_getsb() 409 ASSERT(bip != NULL); in xfs_trans_bhold() 430 ASSERT(bip != NULL); in xfs_trans_bhold_release() 451 ASSERT(bip != NULL); in xfs_trans_dirty_buf() 547 ASSERT(bip != NULL); in xfs_trans_binval() 601 ASSERT(bip != NULL); in xfs_trans_inode_buf() 626 ASSERT(bip != NULL); in xfs_trans_stale_inode_buf() 651 ASSERT(bip != NULL); in xfs_trans_inode_alloc_buf() [all …]
|
H A D | xfs_buf_item.c | 109 ASSERT(nbits > 0); in xfs_buf_item_size_segment() 321 ASSERT(first_bit >= 0); in xfs_buf_item_format_segment() 324 ASSERT(nbits > 0); in xfs_buf_item_format_segment() 351 ASSERT(bp->b_addr == NULL); in xfs_buf_item_format_segment() 516 ASSERT(bp->b_log_item == bip); in xfs_buf_item_unpin() 536 ASSERT(xfs_buf_islocked(bp)); in xfs_buf_item_unpin() 540 ASSERT(!bp->b_transp); in xfs_buf_item_unpin() 740 ASSERT(!stale || aborted); in xfs_buf_item_release() 842 ASSERT(bp->b_mount == mp); in xfs_buf_item_init() 845 ASSERT(!bp->b_transp); in xfs_buf_item_init() [all …]
|
H A D | xfs_qm.c | 221 ASSERT(mp->m_rootip); in xfs_qm_unmount_quotas() 332 ASSERT(ip->i_udquot); in xfs_qm_dqattach_locked() 340 ASSERT(ip->i_gdquot); in xfs_qm_dqattach_locked() 348 ASSERT(ip->i_pdquot); in xfs_qm_dqattach_locked() 719 ASSERT(qi != NULL); in xfs_qm_destroy_quotainfo() 917 ASSERT(blkcnt > 0); in xfs_qm_reset_dqcounts_all() 1703 ASSERT(O_udqpp); in xfs_qm_vop_dqalloc() 1732 ASSERT(ip->i_udquot); in xfs_qm_vop_dqalloc() 1737 ASSERT(O_gdqpp); in xfs_qm_vop_dqalloc() 1755 ASSERT(O_pdqpp); in xfs_qm_vop_dqalloc() [all …]
|
H A D | xfs_dquot_item_recover.c | 44 ASSERT(type); in xlog_recover_dquot_ra_pass2() 49 ASSERT(dq_f); in xlog_recover_dquot_ra_pass2() 50 ASSERT(dq_f->qlf_len == 1); in xlog_recover_dquot_ra_pass2() 97 ASSERT(type); in xlog_recover_dquot_commit_pass2() 112 ASSERT(dq_f); in xlog_recover_dquot_commit_pass2() 119 ASSERT(dq_f->qlf_len == 1); in xlog_recover_dquot_commit_pass2() 134 ASSERT(bp); in xlog_recover_dquot_commit_pass2() 169 ASSERT(dq_f->qlf_size == 2); in xlog_recover_dquot_commit_pass2() 170 ASSERT(bp->b_mount == mp); in xlog_recover_dquot_commit_pass2() 196 ASSERT(qoff_f); in xlog_recover_quotaoff_commit_pass1()
|
H A D | xfs_trans_dquot.c | 33 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_dqjoin() 34 ASSERT(dqp->q_logitem.qli_dquot == dqp); in xfs_trans_dqjoin() 57 ASSERT(XFS_DQ_IS_LOCKED(dqp)); in xfs_trans_log_dquot() 193 ASSERT(tp); in xfs_trans_mod_dquot() 194 ASSERT(XFS_IS_QUOTA_ON(tp->t_mountp)); in xfs_trans_mod_dquot() 207 ASSERT(qtrx); in xfs_trans_mod_dquot() 262 ASSERT(0); in xfs_trans_mod_dquot() 280 ASSERT(q[0].qt_dquot != NULL); in xfs_trans_dqlockedjoin() 285 ASSERT(XFS_QM_TRANS_MAXDQS == 2); in xfs_trans_dqlockedjoin() 345 ASSERT(tp->t_dqinfo); in xfs_trans_apply_dquot_deltas() [all …]
|
H A D | xfs_inode.c | 152 ASSERT(lock_flags != 0); in xfs_lock_flags_assert() 323 ASSERT((lock_flags & in xfs_ilock_demote() 378 ASSERT(0); in xfs_isilocked() 488 ASSERT(ips[i]); in xfs_lock_inodes() 517 ASSERT(i != 0); in xfs_lock_inodes() 819 ASSERT(ip != NULL); in xfs_init_new_inode() 844 ASSERT(ip->i_nblocks == 0); in xfs_init_new_inode() 881 ASSERT(0); in xfs_init_new_inode() 1047 ASSERT(error != -ENOSPC); in xfs_create() 1960 ASSERT(next_ip == NULL); in xfs_iunlink_reload_next() [all …]
|
/openbmc/linux/tools/testing/selftests/sync/ |
H A D | sync_fence.c | 38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_one_timeline_wait() 42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_one_timeline_wait() 46 ASSERT(ret == 0, "Failure waiting on fence until timeout\n"); in test_fence_one_timeline_wait() 50 ASSERT(ret == 0, "Failure advancing timeline\n"); in test_fence_one_timeline_wait() 54 ASSERT(ret == 0, "Failure waiting on fence until timeout\n"); in test_fence_one_timeline_wait() 58 ASSERT(ret == 0, "Failure signaling the fence\n"); in test_fence_one_timeline_wait() 62 ASSERT(ret > 0, "Failure waiting on fence\n"); in test_fence_one_timeline_wait() 66 ASSERT(ret == 0, "Failure going further\n"); in test_fence_one_timeline_wait() 68 ASSERT(ret > 0, "Failure waiting ahead\n"); in test_fence_one_timeline_wait() 89 ASSERT(valid, "Failure allocating fences\n"); in test_fence_one_timeline_merge() [all …]
|
H A D | sync_stress_consumer.c | 46 ASSERT(error == 0, "Error occurred on fence\n"); in busy_wait_on_fence() 74 ASSERT(valid, "Failure creating fence\n"); in mpsc_producer_thread() 82 ASSERT(sync_wait(fence, -1) > 0, in mpsc_producer_thread() 85 ASSERT(busy_wait_on_fence(fence) == 0, in mpsc_producer_thread() 97 ASSERT(sw_sync_timeline_inc(producer_timelines[id], 1) == 0, in mpsc_producer_thread() 126 ASSERT(valid, "Failure merging fences\n"); in mpcs_consumer_thread() 133 ASSERT(sync_wait(fence, -1) > 0, in mpcs_consumer_thread() 136 ASSERT(busy_wait_on_fence(fence) == 0, in mpcs_consumer_thread() 140 ASSERT(test_data_mpsc.counter == n * it, in mpcs_consumer_thread() 144 ASSERT(sw_sync_timeline_inc(consumer_timeline, 1) == 0, in mpcs_consumer_thread()
|
H A D | sync_wait.c | 50 ASSERT(valid, "Failure merging fence from various timelines\n"); in test_fence_multi_timeline_wait() 54 ASSERT(active == 3, "Fence signaled too early!\n"); in test_fence_multi_timeline_wait() 57 ASSERT(ret == 0, in test_fence_multi_timeline_wait() 63 ASSERT(active == 2 && signaled == 1, in test_fence_multi_timeline_wait() 69 ASSERT(active == 1 && signaled == 2, in test_fence_multi_timeline_wait() 75 ASSERT(active == 0 && signaled == 3, in test_fence_multi_timeline_wait() 80 ASSERT(ret > 0, "Failure waiting on signaled fence\n"); in test_fence_multi_timeline_wait()
|
H A D | sync_stress_parallelism.c | 51 ASSERT(valid, "Failure allocating fence\n"); in test_stress_two_threads_shared_timeline_thread() 55 ASSERT(ret > 0, "Problem occurred on prior thread\n"); in test_stress_two_threads_shared_timeline_thread() 61 ASSERT(test_data_two_threads.counter == i * 2 + thread_id, in test_stress_two_threads_shared_timeline_thread() 67 ASSERT(ret == 0, "Advancing timeline failed\n"); in test_stress_two_threads_shared_timeline_thread() 82 ASSERT(valid, "Failure allocating timeline\n"); in test_stress_two_threads_shared_timeline() 104 ASSERT(test_data_two_threads.counter == in test_stress_two_threads_shared_timeline()
|
H A D | sync_merge.c | 38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_merge_same_fence() 42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_merge_same_fence() 46 ASSERT(valid, "Failure merging fence\n"); in test_fence_merge_same_fence() 48 ASSERT(sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED) == 0, in test_fence_merge_same_fence() 52 ASSERT(sync_fence_count_with_status(merged, FENCE_STATUS_SIGNALED) == 1, in test_fence_merge_same_fence()
|
H A D | sync_alloc.c | 38 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_timeline() 50 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_fence() 54 ASSERT(valid, "Failure allocating fence\n"); in test_alloc_fence() 66 ASSERT(timeline > 0, "Failure allocating timeline\n"); in test_alloc_fence_negative() 69 ASSERT(fence < 0, "Success allocating negative fence\n"); in test_alloc_fence_negative()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | vmlinux.lds.S | 200 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, 341 ASSERT(SIZEOF(.data.rel.ro) == 0, "Unexpected RELRO detected!") 351 ASSERT(__hyp_idmap_text_end - __hyp_idmap_text_start <= PAGE_SIZE, 353 ASSERT(__idmap_text_end - (__idmap_text_start & ~(SZ_4K - 1)) <= SZ_4K, 356 ASSERT(__hibernate_exit_text_end - __hibernate_exit_text_start <= SZ_4K, 358 ASSERT(__hibernate_exit_text_start == swsusp_arch_suspend_exit, 371 ASSERT(_text == KIMAGE_VADDR, "HEAD is misaligned") 373 ASSERT(swapper_pg_dir - reserved_pg_dir == RESERVED_SWAPPER_OFFSET, 377 ASSERT(swapper_pg_dir - tramp_pg_dir == TRAMP_SWAPPER_OFFSET, 383 ASSERT(__relocate_new_kernel_end - __relocate_new_kernel_start <= SZ_4K, [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_trans_inode.c | 34 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ijoin() 39 ASSERT(iip->ili_lock_flags == 0); in xfs_trans_ijoin() 41 ASSERT(!xfs_iflags_test(ip, XFS_ISTALE)); in xfs_trans_ijoin() 62 ASSERT(tp); in xfs_trans_ichgtime() 63 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ichgtime() 92 ASSERT(iip); in xfs_trans_log_inode() 93 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_log_inode() 94 ASSERT(!xfs_iflags_test(ip, XFS_ISTALE)); in xfs_trans_log_inode()
|
H A D | xfs_dir2_sf.c | 96 ASSERT(ino <= XFS_MAXINUMBER); in xfs_dir2_sf_put_ino() 121 ASSERT(ino <= XFS_MAXINUMBER); in xfs_dir2_sf_put_parent_ino() 154 ASSERT(ftype < XFS_DIR3_FT_MAX); in xfs_dir2_sf_put_ftype() 334 ASSERT(error != -ENOSPC); in xfs_dir2_block_to_sf() 344 ASSERT(dp->i_df.if_bytes == 0); in xfs_dir2_block_to_sf() 440 ASSERT(pick == 2); in xfs_dir2_sf_addname() 701 ASSERT(offset + in xfs_dir2_sf_check() 823 ASSERT(dp != NULL); in xfs_dir2_sf_create() 824 ASSERT(dp->i_disk_size == 0); in xfs_dir2_sf_create() 1141 ASSERT(sfp->i8count != 0); in xfs_dir2_sf_replace() [all …]
|
H A D | xfs_btree_staging.c | 49 ASSERT(0); in xfs_btree_fakeroot_dup_cursor() 67 ASSERT(0); in xfs_btree_fakeroot_alloc_block() 80 ASSERT(0); in xfs_btree_fakeroot_free_block() 92 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_btree_fakeroot_init_ptr_from_cur() 121 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_btree_afakeroot_set_root() 140 ASSERT(cur->bc_tp == NULL); in xfs_btree_stage_afakeroot() 170 ASSERT(cur->bc_tp == NULL); in xfs_btree_commit_afakeroot() 221 ASSERT(cur->bc_tp == NULL); in xfs_btree_stage_ifakeroot() 253 ASSERT(cur->bc_tp == NULL); in xfs_btree_commit_ifakeroot() 382 ASSERT(*bpp == NULL); in xfs_btree_bload_prep_block() [all …]
|
H A D | xfs_bmap.c | 507 ASSERT(i == 0 || in xfs_bmap_validate_ret() 555 ASSERT(cur); in xfs_bmap_btree_to_extents() 962 ASSERT(0); in xfs_bmap_add_attrfork_local() 991 ASSERT(0); in xfs_bmap_set_attrforkoff() 1294 ASSERT(0); in xfs_bmap_last_before() 1915 ASSERT(0); in xfs_bmap_add_extent_delay_real() 2460 ASSERT(0); in xfs_bmap_add_extent_unwritten_real() 3340 ASSERT(0); in xfs_bmap_compute_alignments() 4929 ASSERT(!isrt); in xfs_bmap_del_extent_delay() 5538 ASSERT(0); in __xfs_bunmapi() [all …]
|
H A D | xfs_attr_leaf.c | 690 ASSERT(ifp->if_bytes == 0); in xfs_attr_shortform_create() 771 ASSERT(0); in xfs_attr_shortform_add() 862 ASSERT(dp->i_forkoff); in xfs_attr_sf_removename() 953 ASSERT(tmpbuffer != NULL); in xfs_attr_shortform_to_leaf() 965 ASSERT(blkno == 0); in xfs_attr_shortform_to_leaf() 994 ASSERT(error != -ENOSPC); in xfs_attr_shortform_to_leaf() 1743 ASSERT(ichdr2.count == 0); in xfs_attr3_leaf_rebalance() 1811 ASSERT(0); in xfs_attr3_leaf_rebalance() 2811 ASSERT(args->index >= 0); in xfs_attr3_leaf_clearflag() 2872 ASSERT(args->index >= 0); in xfs_attr3_leaf_setflag() [all …]
|
H A D | xfs_inode_fork.c | 206 ASSERT(ifp->if_broot != NULL); in xfs_iformat_btree() 435 ASSERT(new_max >= 0); in xfs_iroot_realloc() 505 ASSERT(new_size >= 0); in xfs_idata_realloc() 567 ASSERT(ifp->if_bytes > 0); in xfs_iextents_copy() 579 ASSERT(copied > 0); in xfs_iextents_copy() 580 ASSERT(copied <= ifp->if_bytes); in xfs_iextents_copy() 619 ASSERT(whichfork == XFS_ATTR_FORK); in xfs_iflush_fork() 628 ASSERT(ifp->if_u1.if_data != NULL); in xfs_iflush_fork() 637 ASSERT(ifp->if_nextents > 0); in xfs_iflush_fork() 646 ASSERT(ifp->if_broot != NULL); in xfs_iflush_fork() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | fixpt31_32.c | 54 ASSERT(divisor); in complete_integer_division_u64() 88 ASSERT(res_value <= LONG_MAX); in dc_fixpt_from_fraction() 110 ASSERT(res_value <= LLONG_MAX - summand); in dc_fixpt_from_fraction() 143 ASSERT(res.value <= LONG_MAX); in dc_fixpt_mul() 149 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res.value)); in dc_fixpt_mul() 188 ASSERT(res.value <= LONG_MAX); in dc_fixpt_sqr() 221 ASSERT(arg.value); in dc_fixpt_recip() 320 ASSERT(dc_fixpt_lt(arg, dc_fixpt_one)); in fixed31_32_exp_from_taylor_series() 362 ASSERT(m != 0); in dc_fixpt_exp() 364 ASSERT(dc_fixpt_lt( in dc_fixpt_exp() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | bw_fixed.c | 52 ASSERT(value < BW_FIXED_MAX_I32 && value > BW_FIXED_MIN_I32); in bw_int_to_fixed_nonconst() 69 ASSERT(denominator != 0); in bw_frc_to_fixed() 75 ASSERT(res_value <= BW_FIXED_MAX_I32); in bw_frc_to_fixed() 97 ASSERT(res_value <= MAX_I64 - summand); in bw_frc_to_fixed() 118 ASSERT(abs_i64(result.value) <= abs_i64(arg.value)); in bw_floor2() 160 ASSERT(res.value <= BW_FIXED_MAX_I32); in bw_mul() 166 ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); in bw_mul() 172 ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); in bw_mul() 181 ASSERT(tmp <= (uint64_t)(MAX_I64 - res.value)); in bw_mul()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 135 ASSERT(pte_row_height_linear >= 8); in dml32_rq_dlg_get_rq_reg() 144 ASSERT(p1_pte_row_height_linear >= 8); in dml32_rq_dlg_get_rq_reg() 273 ASSERT(ref_freq_to_pix_freq < 4.0); in dml32_rq_dlg_get_dlg_reg() 371 ASSERT(dst_y_per_vm_vblank < max_dst_y_per_vm_vblank); in dml32_rq_dlg_get_dlg_reg() 427 ASSERT(src->num_cursors <= 1); in dml32_rq_dlg_get_dlg_reg() 555 ASSERT(refcyc_per_req_delivery_pre_l < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 556 ASSERT(refcyc_per_req_delivery_l < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 558 ASSERT(refcyc_per_req_delivery_c < dml_pow(2, 13)); in dml32_rq_dlg_get_dlg_reg() 607 ASSERT(ttu_regs->qos_level_low_wm < dml_pow(2, 14)); in dml32_rq_dlg_get_dlg_reg() 608 ASSERT(ttu_regs->qos_level_high_wm < dml_pow(2, 14)); in dml32_rq_dlg_get_dlg_reg() [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | free-space-tree.c | 121 ASSERT(0); in search_free_space_info() 145 ASSERT(0); in btrfs_search_prev_slot() 150 ASSERT(0); in btrfs_search_prev_slot() 270 ASSERT(0); in convert_free_space_to_bitmaps() 298 ASSERT(0); in convert_free_space_to_bitmaps() 413 ASSERT(0); in convert_free_space_to_extents() 462 ASSERT(0); in convert_free_space_to_extents() 851 ASSERT(0); in remove_from_free_space_tree() 1044 ASSERT(0); in add_to_free_space_tree() 1550 ASSERT(0); in load_free_space_bitmaps() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vmlinux.lds.S | 233 ASSERT(SIZEOF(.data..percpu) < CONFIG_PHYSICAL_START, 466 ASSERT(SIZEOF(.got.plt) == 0 || 481 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!") 486 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!") 491 ASSERT(SIZEOF(.rel.dyn) == 0, "Unexpected run-time relocations (.rel) detected!") 496 ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!") 502 . = ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE), 516 . = ASSERT((fixed_percpu_data == 0), 521 . = ASSERT((retbleed_return_thunk & 0x3f) == 0, "retbleed_return_thunk not cacheline-aligned"); 525 . = ASSERT((srso_safe_ret & 0x3f) == 0, "srso_safe_ret not cacheline-aligned"); [all …]
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | vmlinux.lds.S | 89 ASSERT(SIZEOF(.got.plt) == 0 || 104 ASSERT(SIZEOF(.got) == 0, "Unexpected GOT entries detected!") 109 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!") 114 ASSERT(SIZEOF(.rel.dyn) == 0, "Unexpected run-time relocations (.rel) detected!") 119 ASSERT(SIZEOF(.rela.dyn) == 0, "Unexpected run-time relocations (.rela) detected!")
|