Searched refs:assert (Results 301 - 325 of 502) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/util/
H A Dexpr.c3 #include <assert.h>
275 assert(0); /* Unreachable. */
390 assert(data->kind == EXPR_ID_DATA__REF_VALUE);
396 assert(data->kind == EXPR_ID_DATA__VALUE);
/linux-master/drivers/reset/
H A Dreset-gpio.c48 .assert = reset_gpio_assert,
H A Dreset-uniphier.c268 unsigned long id, int assert)
281 if (assert)
338 .assert = uniphier_reset_assert,
267 uniphier_reset_update(struct reset_controller_dev *rcdev, unsigned long id, int assert) argument
/linux-master/tools/testing/selftests/mm/
H A Duffd-common.h31 #include <assert.h>
H A Dthuge-gen.c24 #include <assert.h>
175 assert(g.gl_pathc <= NUM_PAGESIZES);
/linux-master/scripts/dtc/
H A Dlivetree.c67 assert(first->next == NULL);
121 assert(node->name == NULL);
260 assert(first->next_sibling == NULL);
373 assert(first->next == NULL);
437 assert(prop->val.len == sizeof(cell_t));
443 assert(prop->val.len / sizeof(cell_t) >= n);
543 assert(label && (strlen(label) > 0));
563 assert(generate_fixups);
920 assert(m->type == REF_PHANDLE);
H A Dfdtget.c12 #include <assert.h>
208 assert(property);
H A Dfdtput.c6 #include <assert.h>
238 assert(arg_count >= 2);
/linux-master/tools/testing/selftests/iommu/
H A Diommufd.c46 assert(!rc);
47 assert(buffer);
48 assert((uintptr_t)buffer % HUGEPAGE_SIZE == 0);
51 assert(vrc == buffer);
356 assert(!num_inv);
363 assert(!num_inv);
370 assert(!num_inv);
377 assert(!num_inv);
383 assert(!num_inv);
391 assert(!num_in
[all...]
H A Diommufd_utils.h11 #include <assert.h>
82 assert(cmd.id != 0);
113 assert(cmd.id != 0);
642 assert(cmd.out_data_type == IOMMU_HW_INFO_TYPE_SELFTEST);
648 assert(cmd.data_len == sizeof(struct iommu_test_hw_info));
659 assert(!*(ptr + idx));
666 assert(info->test_reg == IOMMU_HW_INFO_SELFTEST_REGVAL);
668 assert(!info->flags);
/linux-master/tools/testing/selftests/x86/
H A Dentry_from_vm86.c11 #include <assert.h>
273 assert((v86.regs.cs & 3) == 0); /* Looks like RPL = 0 */
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c62 assert((lut_size >= 2) && (lut_size <= block_size));
66 assert(lut_thr[i] <= lut_thr[i + 1]);
/linux-master/arch/mips/alchemy/
H A Dboard-mtx1.c194 static int mtx1_pci_idsel(unsigned int devsel, int assert) argument
202 if (assert && devsel != 0)
/linux-master/drivers/clk/mediatek/
H A Dreset.c90 .assert = mtk_reset_assert,
96 .assert = mtk_reset_assert_set_clr,
/linux-master/lib/zstd/common/
H A Dzstd_internal.h25 #include "debug.h" /* assert, DEBUGLOG, RAWLOG, g_debuglevel */
37 /* ---- static assert (debug) --- */
221 assert(diff >= WILDCOPY_VECLEN || diff <= -WILDCOPY_VECLEN);
355 assert(val != 0);
H A Dfse_decompress.c19 #include "debug.h" /* assert */
139 assert(tableSize % unroll == 0); /* FSE_MIN_TABLELOG is 5 */
148 assert(position == 0);
339 assert(NCountLength <= cSrcSize);
/linux-master/samples/bpf/
H A Dxdp_tx_iptunnel_user.c6 #include <assert.h>
67 assert(bpf_map_lookup_elem(rxcnt_map_fd, &proto,
/linux-master/tools/include/perf/
H A Darm_pmuv3.h9 #include <assert.h>
313 assert(0); \
/linux-master/scripts/kconfig/
H A Dlexer.l10 #include <assert.h>
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c158 assert(info);
166 assert(frame);
324 assert(info);
491 assert(frame);
515 assert(horizontal_decimation != 0 && vertical_decimation != 0);
/linux-master/tools/bpf/
H A Dbpf_exp.y30 #include <assert.h>
616 assert(labels);
618 assert(labels_jt);
620 assert(labels_jf);
622 assert(labels_k);
/linux-master/sound/pci/asihpi/
H A Dhpi6000.c606 phr->u.ax.assert.p1 =
608 phr->u.ax.assert.p2 = 0;
609 phr->u.ax.assert.count = 1; /* assert count */
610 phr->u.ax.assert.dsp_index = -1; /* "dsp index" */
611 strcpy(phr->u.ax.assert.sz_message, "PCI2040 error");
612 phr->u.ax.assert.dsp_msg_addr = 0;
1773 phr->u.ax.assert.dsp_index = 0; /* dsp 0 default */
1775 if (!phr->u.ax.assert.count) {
1776 /* no assert fro
[all...]
/linux-master/tools/testing/selftests/kvm/riscv/
H A Dget-reg-list.c183 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_CONFIG);
210 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_CORE);
323 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_CSR);
344 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_TIMER);
365 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_FP_F);
383 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_FP_D);
487 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_ISA_EXT);
550 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_SBI_EXT);
579 assert((id & KVM_REG_RISCV_TYPE_MASK) == KVM_REG_RISCV_SBI_STATE);
/linux-master/drivers/gpu/drm/tegra/
H A Dvic.c325 goto assert;
329 goto assert;
333 assert:
/linux-master/tools/testing/selftests/net/
H A Dtcp_mmap.c68 #include <assert.h>
232 assert(zc.length <= chunk_size);
245 assert(zc.recv_skip_hint <= chunk_size);

Completed in 226 milliseconds

<<11121314151617181920>>