| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/libzfs_input_check/ |
| H A D | libzfs_input_check.c | 929 #define CHECK(expr) do { \ in validate_ioc_values() macro 963 CHECK(ZFS_IOC_BASE + 27 == ZFS_IOC_RECV); in validate_ioc_values() 964 CHECK(ZFS_IOC_BASE + 28 == ZFS_IOC_SEND); in validate_ioc_values() 969 CHECK(ZFS_IOC_BASE + 33 == ZFS_IOC_CLEAR); in validate_ioc_values() 978 CHECK(ZFS_IOC_BASE + 42 == ZFS_IOC_SHARE); in validate_ioc_values() 984 CHECK(ZFS_IOC_BASE + 48 == ZFS_IOC_HOLD); in validate_ioc_values() 990 CHECK(ZFS_IOC_BASE + 54 == ZFS_IOC_DIFF); in validate_ioc_values() 1002 CHECK(ZFS_IOC_BASE + 66 == ZFS_IOC_CLONE); in validate_ioc_values() 1012 CHECK(ZFS_IOC_BASE + 76 == ZFS_IOC_REMAP); in validate_ioc_values() 1019 CHECK(ZFS_IOC_BASE + 83 == ZFS_IOC_WAIT); in validate_ioc_values() [all …]
|
| /f-stack/dpdk/lib/librte_port/ |
| H A D | rte_swx_port_ethdev.c | 56 CHECK(params); in reader_create() 58 CHECK(params->dev_name); in reader_create() 60 CHECK(!status); in reader_create() 65 CHECK(params->burst_size); in reader_create() 69 CHECK(p); in reader_create() 74 CHECK(0); in reader_create() 188 CHECK(params); in writer_create() 190 CHECK(params->dev_name); in writer_create() 192 CHECK(!status); in writer_create() 201 CHECK(p); in writer_create() [all …]
|
| H A D | rte_swx_port_source_sink.c | 18 #define CHECK(condition) \ macro 76 CHECK(params); in source_create() 77 CHECK(params->pool); in source_create() 78 CHECK(params->file_name && params->file_name[0]); in source_create()
|
| /f-stack/freebsd/contrib/zstd/examples/ |
| H A D | streaming_memory_usage.c | 70 CHECK(cctxParams != NULL, "ZSTD_createCCtxParams() failed!"); in main() 85 CHECK(cctx != NULL, "ZSTD_createCCtx() failed!"); in main() 94 CHECK(remaining == 0, "Frame not flushed!"); in main() 99 CHECK(dctx != NULL, "ZSTD_createDCtx() failed!"); in main() 112 CHECK(remaining == 0, "Frame not complete!"); in main() 113 CHECK(outBuff.pos == sizeof(dataToCompress), "Bad decompression!"); in main() 121 CHECK(cstreamSize <= cstreamEstimatedSize, "Compression mem (%u) > estimated (%u)", in main() 123 CHECK(dstreamSize <= dstreamEstimatedSize, "Decompression mem (%u) > estimated (%u)", in main()
|
| H A D | dictionary_decompression.c | 25 CHECK(ddict != NULL, "ZSTD_createDDict() failed!"); in createDict_orDie() 41 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 42 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 52 CHECK(actualDictID == expectedDictID, in decompress() 63 CHECK(dctx != NULL, "ZSTD_createDCtx() failed!"); in decompress() 67 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress()
|
| H A D | streaming_compression_thread_pool.c | 47 CHECK(cctx != NULL, "ZSTD_createCCtx() failed!"); in compressFile_orDie() 51 CHECK(r == 0, "ZSTD_CCtx_refThreadPool failed!"); in compressFile_orDie() 95 CHECK(input.pos == input.size, in compressFile_orDie() 139 CHECK(pool_size != 0, "can't parse POOL_SIZE!"); in main() 142 CHECK(level != 0, "can't parse LEVEL!"); in main() 149 CHECK(pool != NULL, "ZSTD_createThreadPool() failed!"); in main()
|
| H A D | simple_decompression.c | 27 CHECK(rSize != ZSTD_CONTENTSIZE_ERROR, "%s: not compressed by zstd!", fname); in decompress() 28 CHECK(rSize != ZSTD_CONTENTSIZE_UNKNOWN, "%s: original size unknown!", fname); in decompress() 40 CHECK(dSize == rSize, "Impossible because zstd will check this condition!"); in decompress()
|
| H A D | common.h | 42 #define CHECK(cond, ...) \ macro 63 CHECK(!ZSTD_isError(err), "%s", ZSTD_getErrorName(err)); \ 183 CHECK(fileSize <= bufferSize, "File too large!"); in loadFile_orDie()
|
| H A D | dictionary_compression.c | 24 CHECK(cdict != NULL, "ZSTD_createCDict() failed!"); in createCDict_orDie() 44 CHECK(cctx != NULL, "ZSTD_createCCtx() failed!"); in compress()
|
| H A D | streaming_compression.c | 35 CHECK(cctx != NULL, "ZSTD_createCCtx() failed!"); in compressFile_orDie() 78 CHECK(input.pos == input.size, in compressFile_orDie()
|
| H A D | multiple_simple_compression.c | 53 CHECK(ress.cctx != NULL, "ZSTD_createCCtx() failed!"); in createResources_orDie() 104 CHECK(inFilenameLen + 5 <= outFilenameBufferLen, "File name too long!"); in main()
|
| H A D | multiple_streaming_compression.c | 39 CHECK(ress.cctx != NULL, "ZSTD_createCCtx() failed!"); in createResources_orDie() 87 CHECK(input.pos == input.size, in compressFile_orDie()
|
| H A D | streaming_decompression.c | 27 CHECK(dctx != NULL, "ZSTD_createDCtx() failed!"); in decompressFile_orDie()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_swx_pipeline.c | 1048 CHECK(p, EINVAL); in rte_swx_pipeline_struct_type_register() 1173 CHECK(p, EINVAL); in rte_swx_pipeline_port_in_type_register() 1219 CHECK(p, EINVAL); in rte_swx_pipeline_port_in_config() 1335 CHECK(p, EINVAL); in rte_swx_pipeline_port_out_type_register() 1381 CHECK(p, EINVAL); in rte_swx_pipeline_port_out_config() 1609 CHECK(p, EINVAL); in rte_swx_pipeline_extern_type_register() 1647 CHECK(p, EINVAL); in rte_swx_pipeline_extern_type_member_func_register() 1685 CHECK(p, EINVAL); in rte_swx_pipeline_extern_object_config() 1900 CHECK(p, EINVAL); in rte_swx_pipeline_extern_func_register() 2081 CHECK(p, EINVAL); in rte_swx_pipeline_packet_header_register() [all …]
|
| H A D | rte_swx_ctl.c | 154 CHECK(key_mask, ENOMEM); in table_params_get() 246 CHECK(entry, EINVAL); in table_entry_check() 273 CHECK(0, EINVAL); in table_entry_check() 889 CHECK(ctl, EINVAL); in rte_swx_ctl_pipeline_table_entry_add() 893 CHECK(table, EINVAL); in rte_swx_ctl_pipeline_table_entry_add() 1000 CHECK(ctl, EINVAL); in rte_swx_ctl_pipeline_table_entry_delete() 1004 CHECK(table, EINVAL); in rte_swx_ctl_pipeline_table_entry_delete() 1007 CHECK(entry, EINVAL); in rte_swx_ctl_pipeline_table_entry_delete() 1090 CHECK(ctl, EINVAL); in rte_swx_ctl_pipeline_table_default_entry_add() 1094 CHECK(table, EINVAL); in rte_swx_ctl_pipeline_table_default_entry_add() [all …]
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_swx_table_em.c | 385 CHECK(params, EINVAL); in __table_create() 387 CHECK(params->key_size, EINVAL); in __table_create() 389 CHECK(params->n_keys_max, EINVAL); in __table_create() 425 CHECK(memory, ENOMEM); in __table_create() 485 CHECK(t, EINVAL); in table_add() 486 CHECK(entry, EINVAL); in table_add() 487 CHECK(entry->key, EINVAL); in table_add() 537 CHECK(0, ENOSPC); in table_add() 547 CHECK(t, EINVAL); in table_del() 548 CHECK(entry, EINVAL); in table_del() [all …]
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | fileio.c | 125 #define CHECK(f) { size_t err; CHECK_V(err, f); } macro 964 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_compressionLevel, cLevel) ); in FIO_createCResources() 988 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_enableDedicatedDictSearch, 1) ); in FIO_createCResources() 992 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_nbWorkers, prefs->nbWorkers) ); in FIO_createCResources() 993 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_jobSize, prefs->blockSize) ); in FIO_createCResources() 998 CHECK( ZSTD_CCtx_setParameter(ress.cctx, ZSTD_c_rsyncable, prefs->rsyncable) ); in FIO_createCResources() 1306 CHECK(ZSTD_CCtx_setPledgedSrcSize(ress.cctx, fileSize)); in FIO_compressZstdFrame() 1309 CHECK( ZSTD_CCtx_setPledgedSrcSize(ress.cctx, prefs->streamSrcSize) ); in FIO_compressZstdFrame() 1893 CHECK( ZSTD_DCtx_setMaxWindowSize(ress.dctx, prefs->memLimit) ); in FIO_createDResources() 1906 CHECK( ZSTD_initDStream_usingDict(ress.dctx, dictBuffer, dictBufferSize) ); in FIO_createDResources() [all …]
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_l2tp.c | 1602 CHECK(seq->cwnd >= 1); in ng_l2tp_seq_check() 1603 CHECK(seq->cwnd <= seq->wmax); in ng_l2tp_seq_check() 1604 CHECK(seq->ssth >= 1); in ng_l2tp_seq_check() 1605 CHECK(seq->ssth <= seq->wmax); in ng_l2tp_seq_check() 1607 CHECK(seq->acks == 0); in ng_l2tp_seq_check() 1609 CHECK(seq->acks <= seq->cwnd); in ng_l2tp_seq_check() 1610 CHECK(self_unack >= 0); in ng_l2tp_seq_check() 1611 CHECK(peer_unack >= 0); in ng_l2tp_seq_check() 1616 CHECK(seq->xwin[i] != NULL); in ng_l2tp_seq_check() 1618 CHECK(seq->xwin[i] == NULL); in ng_l2tp_seq_check() [all …]
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | inflate.h | 47 CHECK, /* i: waiting for 32-bit check value */ enumerator
|
| H A D | inflate.c | 854 state->mode = CHECK; 1197 case CHECK: 1256 (state->mode < CHECK || flush != Z_FINISH)))
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | progtest.m4 | 23 dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
|