/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-vmxcopy.c | 30 #include <assert.h> 53 assert(fd >= 0); 57 assert(write(fd, buf, pgsize) == pgsize); 62 assert(a != MAP_FAILED);
|
/linux-master/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
H A D | isys_irq_private.h | 74 assert(isys_irqc_id < N_ISYS_IRQ_ID); 75 assert(reg_idx <= ISYS_IRQ_LEVEL_NO_REG_IDX); 91 assert(isys_irqc_id < N_ISYS_IRQ_ID); 92 assert(reg_idx <= ISYS_IRQ_LEVEL_NO_REG_IDX);
|
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | isys_stream2mmio_rmgr.c | 46 assert(stream2mmio < N_STREAM2MMIO_ID); 47 assert(sid); 75 assert(stream2mmio < N_STREAM2MMIO_ID); 76 assert(sid);
|
H A D | isys_dma_rmgr.c | 46 assert(dma_id < N_ISYS2401_DMA_ID); 47 assert(channel); 74 assert(dma_id < N_ISYS2401_DMA_ID); 75 assert(channel);
|
H A D | csi_rx_rmgr.c | 52 assert(backend < N_CSI_RX_BACKEND_ID); 53 assert((packet_type == CSI_MIPI_PACKET_TYPE_LONG) || 55 assert(entry); 100 assert(backend < N_CSI_RX_BACKEND_ID); 101 assert(entry); 102 assert((packet_type >= CSI_MIPI_PACKET_TYPE_LONG) ||
|
/linux-master/drivers/clk/qcom/ |
H A D | reset.c | 18 rcdev->ops->assert(rcdev, id); 26 unsigned long id, bool assert) 36 regmap_update_bits(rst->regmap, map->reg, mask, assert ? mask : 0); 56 .assert = qcom_reset_assert, 25 qcom_reset_set_assert(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument
|
/linux-master/tools/virtio/ |
H A D | virtio_test.c | 9 #include <assert.h> 59 assert(r == sizeof v); 81 assert(r >= 0); 84 assert(r >= 0); 87 assert(r >= 0); 89 assert(r >= 0); 92 assert(r >= 0); 95 assert(r >= 0); 107 assert(info->vq); 119 assert( [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 29 #include <assert.h> 169 assert(rv == 0); 177 assert(rv == 0); 182 assert(rv == 0); 189 assert(rv == 0); 199 assert(p != MAP_FAILED); 204 assert(rv == 0);
|
/linux-master/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 5 #include <assert.h> 221 assert(nsd <= queued); 255 assert(ret == 4); 257 assert(strncmp(buf2, "xmit", 4) == 0); 260 assert(ret == (ssize_t)sizeof(len)); 270 assert(strncmp(buf2, "huge", 4) == 0); 277 assert(ret == (ssize_t)sizeof(total)); 298 assert(ret == 4); 299 assert(strncmp(buf2, "shut", 4) == 0); 304 assert(re [all...] |
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 161 #include <assert.h> 366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); 385 assert(prev->num_after > 0); 386 assert(n1 < MASK_BITS); 387 assert(!(nodep->mask & (1 << n1))); 415 assert(s->num_set >= num_set || sparsebit_all_set(s)); 441 assert(nodep == nodep->parent->right); 463 assert(nodep == nodep->parent->right); 481 assert(nodep == nodep->parent->right); 504 assert(!(id [all...] |
/linux-master/tools/testing/memblock/tests/ |
H A D | common.h | 6 #include <assert.h> 34 * assert. 39 assert((_expected) == (_seen)); \ 47 * assert. 52 assert((_expected) != (_seen)); \ 60 * assert. 65 assert((_expected) < (_seen)); \ 73 * assert. 78 assert((_expected) <= (_seen)); \ 85 * assert [all...] |
/linux-master/lib/zstd/compress/ |
H A D | zstd_cwksp.h | 165 assert(ws->workspace <= ws->objectEnd); 166 assert(ws->objectEnd <= ws->tableEnd); 167 assert(ws->objectEnd <= ws->tableValidEnd); 168 assert(ws->tableEnd <= ws->allocStart); 169 assert(ws->tableValidEnd <= ws->allocStart); 170 assert(ws->allocStart <= ws->workspaceEnd); 178 assert((align & mask) == 0); 232 assert((alignBytes & alignBytesMask) == 0); 233 assert(bytes != ZSTD_CWKSP_ALIGNMENT_BYTES); 252 assert(allo [all...] |
/linux-master/drivers/reset/starfive/ |
H A D | reset-starfive-jh71x0.c | 21 void __iomem *assert; member in struct:jh71x0_reset 33 unsigned long id, bool assert) 38 void __iomem *reg_assert = data->assert + offset * sizeof(u32); 45 if (!assert) 51 if (assert) 101 .assert = jh71x0_reset_assert, 108 void __iomem *assert, void __iomem *status, 125 data->assert = assert; 32 jh71x0_reset_update(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 107 reset_starfive_jh71x0_register(struct device *dev, struct device_node *of_node, void __iomem *assert, void __iomem *status, const u32 *asserted, unsigned int nr_resets, struct module *owner) argument
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_metrics.c | 47 assert(histogram); 65 assert(histogram); 92 assert(l); 93 assert(*l); 94 assert(metrics); 107 assert(metrics);
|
H A D | sh_css_param_dvs.c | 175 assert(frame_res); 176 assert(dvs_offset); 192 assert(dvs_config_src); 242 assert(dvs_config_src); 243 assert(dvs_config_dst); 244 assert(dvs_config_src->xcoords_y); 245 assert(dvs_config_src->xcoords_uv); 246 assert(dvs_config_src->ycoords_y); 247 assert(dvs_config_src->ycoords_uv); 248 assert(dvs_config_sr [all...] |
H A D | ia_css_device_access.c | 20 #include <assert_support.h> /* for assert */ 27 assert(env); 53 assert(0); 80 assert(0);
|
/linux-master/samples/bpf/ |
H A D | test_lru_dist.c | 12 #include <assert.h> 106 assert(lru->map_fd != -1); 109 assert(lru->free_nodes); 155 assert(!bpf_map_update_elem(lru->map_fd, &key, &node, BPF_EXIST)); 158 assert(!bpf_map_update_elem(lru->map_fd, &key, &node, BPF_NOEXIST)); 175 assert(dist_fd != -1); 177 assert(fstat(dist_fd, &fst) == 0); 179 assert(b); 181 assert(read(dist_fd, b, fst.st_size) == fst.st_size); 190 assert(retkey [all...] |
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | stack_expansion_ldst.c | 10 #include <assert.h> 118 assert(search_proc_maps("[stack]", &low, &stack_high) == 0); 120 assert(consume_stack(stack_high - stack_used, stack_high, delta, type) == 0); 138 assert(waitpid(pid, &rc, 0) != -1); 144 assert(!WIFEXITED(rc)); 163 assert(test_one(DEFAULT_SIZE, delta, type) == 0); 165 assert(test_one(DEFAULT_SIZE, rlim_cur, type) == 0); 168 assert(test_one(DEFAULT_SIZE, rlim_cur + 1, type) != 0);
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sc/sc_1.0/ |
H A D | ia_css_sc.host.c | 60 assert(params); 78 assert(params);
|
/linux-master/tools/testing/scatterlist/linux/ |
H A D | mm.h | 4 #include <assert.h> 15 #define BUG_ON(x) assert(!(x)) 25 assert(0); \ 47 assert(0); 81 assert(0); 88 assert(0); 95 assert(0); 100 assert(0);
|
/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_binarydesc.c | 46 assert(pipe); 47 assert(descr); 89 assert(pipe); 90 assert(in_info); 116 assert(pipe); 117 assert(in_info); 172 assert(in_w != 0 && in_h != 0); 173 assert(out_w != 0 && out_h != 0); 210 assert(pipe); 211 assert(in_inf [all...] |
/linux-master/tools/testing/selftests/riscv/hwprobe/ |
H A D | which-cpus.c | 14 #include <assert.h> 67 assert(pairs); 72 assert(end != start && *end == '='); 75 assert(end != start && *end == '\0'); 79 assert(rc == 0); 92 assert(rc == 0); 107 assert(rc == 0 && pairs[0].key == RISCV_HWPROBE_KEY_BASE_BEHAVIOR && 112 assert(rc == 0 && pairs[0].key == RISCV_HWPROBE_KEY_IMA_EXT_0);
|
/linux-master/drivers/staging/fieldbus/anybuss/ |
H A D | anybuss-controller.h | 30 void (*reset)(struct device *dev, bool assert);
|
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | vmem.c | 152 assert(ISP_BAMEM_BASE[ID] != (hrt_address) - 1); 183 assert(ISP_BAMEM_BASE[ID] != (hrt_address) - 1); 202 assert(ID < N_ISP_ID); 203 assert((unsigned long)from % ISP_VEC_ALIGN == 0); 204 assert(elems % ISP_NWAY == 0); 220 assert(ID < N_ISP_ID); 221 assert((unsigned long)to % ISP_VEC_ALIGN == 0); 222 assert(elems % ISP_NWAY == 0); 241 assert(ID < N_ISP_ID); 242 assert((unsigne [all...] |
/linux-master/tools/testing/selftests/proc/ |
H A D | setns-dcache.c | 23 #include <assert.h> 124 assert(rv == strlen(S)); 125 assert(memcmp(buf, S, strlen(S)) == 0);
|