| /linux/drivers/s390/crypto/ |
| A D | zcrypt_card.c | 76 zc->online = online; in online_store() 77 id = zc->card->id; in online_store() 139 struct zcrypt_card *zc; in zcrypt_card_alloc() local 142 if (!zc) in zcrypt_card_alloc() 146 kref_init(&zc->refcount); in zcrypt_card_alloc() 147 return zc; in zcrypt_card_alloc() 153 kfree(zc); in zcrypt_card_free() 166 kref_get(&zc->refcount); in zcrypt_card_get() 190 zc->online = 1; in zcrypt_card_register() 219 list_del_init(&zc->list); in zcrypt_card_unregister() [all …]
|
| A D | zcrypt_cex4.c | 437 struct zcrypt_card *zc; in zcrypt_cex4_card_probe() local 440 zc = zcrypt_card_alloc(); in zcrypt_cex4_card_probe() 441 if (!zc) in zcrypt_cex4_card_probe() 443 zc->card = ac; in zcrypt_cex4_card_probe() 470 zc->max_exp_bit_length = in zcrypt_cex4_card_probe() 474 zc->max_exp_bit_length = in zcrypt_cex4_card_probe() 535 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() 538 zc->online = 1; in zcrypt_cex4_card_probe() 542 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() 551 zcrypt_card_free(zc); in zcrypt_cex4_card_probe() [all …]
|
| A D | zcrypt_cex2a.c | 85 struct zcrypt_card *zc; in zcrypt_cex2a_card_probe() local 88 zc = zcrypt_card_alloc(); in zcrypt_cex2a_card_probe() 89 if (!zc) in zcrypt_cex2a_card_probe() 91 zc->card = ac; in zcrypt_cex2a_card_probe() 99 zc->type_string = "CEX2A"; in zcrypt_cex2a_card_probe() 111 zc->type_string = "CEX3A"; in zcrypt_cex2a_card_probe() 114 zcrypt_card_free(zc); in zcrypt_cex2a_card_probe() 117 zc->online = 1; in zcrypt_cex2a_card_probe() 119 rc = zcrypt_card_register(zc); in zcrypt_cex2a_card_probe() 121 zcrypt_card_free(zc); in zcrypt_cex2a_card_probe() [all …]
|
| A D | zcrypt_cex2c.c | 257 struct zcrypt_card *zc; in zcrypt_cex2c_card_probe() local 260 zc = zcrypt_card_alloc(); in zcrypt_cex2c_card_probe() 261 if (!zc) in zcrypt_cex2c_card_probe() 263 zc->card = ac; in zcrypt_cex2c_card_probe() 268 zc->type_string = "CEX2C"; in zcrypt_cex2c_card_probe() 276 zc->type_string = "CEX3C"; in zcrypt_cex2c_card_probe() 283 zcrypt_card_free(zc); in zcrypt_cex2c_card_probe() 286 zc->online = 1; in zcrypt_cex2c_card_probe() 290 zcrypt_card_free(zc); in zcrypt_cex2c_card_probe() 299 zcrypt_card_free(zc); in zcrypt_cex2c_card_probe() [all …]
|
| A D | zcrypt_api.c | 674 if (!zc->online || !zc->card->config || in zcrypt_rsa_modexpo() 708 pref_zc = zc; in zcrypt_rsa_modexpo() 782 if (!zc->online || !zc->card->config || in zcrypt_rsa_crt() 816 pref_zc = zc; in zcrypt_rsa_crt() 895 if (!zc->online || !zc->card->config || in _zcrypt_send_cprb() 935 pref_zc = zc; in _zcrypt_send_cprb() 1066 if (!zc->online || !zc->card->config || in _zcrypt_send_ep11_cprb() 1107 pref_zc = zc; in _zcrypt_send_ep11_cprb() 1169 if (!zc->online || !zc->card->config || in zcrypt_rng() 1183 pref_zc = zc; in zcrypt_rng() [all …]
|
| A D | zcrypt_queue.c | 56 struct zcrypt_card *zc = zq->zcard; in online_store() local 64 if (online && !zc->online) in online_store() 168 struct zcrypt_card *zc; in zcrypt_queue_register() local 172 zc = dev_get_drvdata(&zq->queue->card->ap_dev.device); in zcrypt_queue_register() 173 zcrypt_card_get(zc); in zcrypt_queue_register() 174 zq->zcard = zc; in zcrypt_queue_register() 181 list_add_tail(&zq->list, &zc->zqueues); in zcrypt_queue_register() 203 zcrypt_card_put(zc); in zcrypt_queue_register() 216 struct zcrypt_card *zc; in zcrypt_queue_unregister() local 222 zc = zq->zcard; in zcrypt_queue_unregister() [all …]
|
| /linux/drivers/hid/ |
| A D | hid-zydacron.c | 50 struct zc_device *zc = hid_get_drvdata(hdev); in zc_input_mapping() local 51 zc->input_ep81 = hi->input; in zc_input_mapping() 104 zc->last_key[i] = 0; in zc_input_mapping() 112 struct zc_device *zc = hid_get_drvdata(hdev); in zc_raw_event() local 121 key = zc->last_key[index]; in zc_raw_event() 124 zc->last_key[index] = 0; in zc_raw_event() 153 zc->last_key[index] = key; in zc_raw_event() 167 struct zc_device *zc; in zc_probe() local 169 zc = devm_kzalloc(&hdev->dev, sizeof(*zc), GFP_KERNEL); in zc_probe() 170 if (zc == NULL) { in zc_probe() [all …]
|
| /linux/tools/testing/selftests/net/ |
| A D | tcp_mmap.c | 151 struct tcp_zerocopy_receive zc; in child_thread() local 188 socklen_t zc_len = sizeof(zc); in child_thread() 191 memset(&zc, 0, sizeof(zc)); in child_thread() 193 zc.length = chunk_size; in child_thread() 196 &zc, &zc_len); in child_thread() 200 if (zc.length) { in child_thread() 201 assert(zc.length <= chunk_size); in child_thread() 202 total_mmap += zc.length; in child_thread() 204 hash_zone(addr, zc.length); in child_thread() 209 total += zc.length; in child_thread() [all …]
|
| /linux/arch/mips/math-emu/ |
| A D | sp_maddf.c | 49 if (zc == IEEE754_CLASS_SNAN) in _sp_maddf() 55 if (zc == IEEE754_CLASS_QNAN) in _sp_maddf() 62 if (zc == IEEE754_CLASS_DNORM) in _sp_maddf() 82 if ((zc == IEEE754_CLASS_INF) && (zs != rs)) { in _sp_maddf() 102 if (zc == IEEE754_CLASS_INF) in _sp_maddf() 104 if (zc == IEEE754_CLASS_ZERO) { in _sp_maddf() 124 if (zc == IEEE754_CLASS_INF) in _sp_maddf() 130 if (zc == IEEE754_CLASS_INF) in _sp_maddf() 136 if (zc == IEEE754_CLASS_INF) in _sp_maddf() 171 if (zc == IEEE754_CLASS_ZERO) { in _sp_maddf()
|
| A D | dp_maddf.c | 81 if (zc == IEEE754_CLASS_SNAN) in _dp_maddf() 87 if (zc == IEEE754_CLASS_QNAN) in _dp_maddf() 94 if (zc == IEEE754_CLASS_DNORM) in _dp_maddf() 113 if ((zc == IEEE754_CLASS_INF) && (zs != rs)) { in _dp_maddf() 133 if (zc == IEEE754_CLASS_INF) in _dp_maddf() 135 if (zc == IEEE754_CLASS_ZERO) { in _dp_maddf() 155 if (zc == IEEE754_CLASS_INF) in _dp_maddf() 161 if (zc == IEEE754_CLASS_INF) in _dp_maddf() 167 if (zc == IEEE754_CLASS_INF) in _dp_maddf() 227 if (zc == IEEE754_CLASS_ZERO) { in _dp_maddf()
|
| A D | ieee754int.h | 52 unsigned int zm; int ze; int zs; int zc 80 #define EXPLODEZSP EXPLODESP(z, zc, zs, ze, zm) 90 u64 zm; int ze; int zs; int zc 118 #define EXPLODEZDP EXPLODEDP(z, zc, zs, ze, zm) 144 #define FLUSHZDP FLUSHDP(z, zc, zs, ze, zm) 147 #define FLUSHZSP FLUSHSP(z, zc, zs, ze, zm)
|
| /linux/lib/zstd/compress/ |
| A D | zstd_compress.c | 1569 zc->isFirstBlock = 1; in ZSTD_resetCCtx_internal() 1651 zc->dictID = 0; in ZSTD_resetCCtx_internal() 1716 zc->initialized = 1; in ZSTD_resetCCtx_internal() 2430 zc->blockState.nextCBlock->rep[i] = zc->blockState.prevCBlock->rep[i]; in ZSTD_buildSeqStore() 2432 if (zc->externSeqStore.pos < zc->externSeqStore.size) { in ZSTD_buildSeqStore() 2440 assert(zc->externSeqStore.pos <= zc->externSeqStore.size); in ZSTD_buildSeqStore() 2477 ZSTD_Sequence* outSeqs = &zc->seqCollector.seqStart[zc->seqCollector.seqIndex]; in ZSTD_copyBlockSequences() 2481 assert(zc->seqCollector.seqIndex + 1 < zc->seqCollector.maxSequences); in ZSTD_copyBlockSequences() 2608 zc->blockState.prevCBlock = zc->blockState.nextCBlock; in ZSTD_confirmRepcodesAndEntropyTables() 2641 &zc->blockState.prevCBlock->entropy, &zc->blockState.nextCBlock->entropy, in ZSTD_compressBlock_internal() [all …]
|
| A D | zstd_compress_superblock.c | 830 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock() argument 836 FORWARD_IF_ERROR(ZSTD_buildSuperBlockEntropy(&zc->seqStore, in ZSTD_compressSuperBlock() 837 &zc->blockState.prevCBlock->entropy, in ZSTD_compressSuperBlock() 838 &zc->blockState.nextCBlock->entropy, in ZSTD_compressSuperBlock() 839 &zc->appliedParams, in ZSTD_compressSuperBlock() 843 return ZSTD_compressSubBlock_multi(&zc->seqStore, in ZSTD_compressSuperBlock() 844 zc->blockState.prevCBlock, in ZSTD_compressSuperBlock() 845 zc->blockState.nextCBlock, in ZSTD_compressSuperBlock() 847 &zc->appliedParams, in ZSTD_compressSuperBlock() 850 zc->bmi2, lastBlock, in ZSTD_compressSuperBlock() [all …]
|
| A D | zstd_compress_superblock.h | 27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
|
| /linux/net/ipv4/ |
| A D | tcp.c | 1184 bool zc = false; in tcp_sendmsg_locked() local 1198 if (!zc) in tcp_sendmsg_locked() 1303 if (!zc) { in tcp_sendmsg_locked() 1851 zc->length = 0; in receive_fallback_to_copy() 1926 zc->copybuf_len = tcp_copy_straggler_data(zc, skb, copylen, &offset, in tcp_zc_handle_leftover() 2026 zc->msg_flags = 0; in tcp_zc_finalize_rx_tstamp() 2058 zc->msg_flags = 0; in tcp_zerocopy_receive() 2072 zc->length = 0; in tcp_zerocopy_receive() 2145 &seq, zc, in tcp_zerocopy_receive() 4173 len = sizeof(zc); in do_tcp_getsockopt() [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | sockopt_sk.c | 21 struct tcp_zerocopy_receive zc; in getsetsockopt() member 167 optlen = sizeof(buf.zc); in getsetsockopt() 176 buf.zc.address = 12345; /* rejected by BPF */ in getsetsockopt() 177 optlen = sizeof(buf.zc); in getsetsockopt()
|
| /linux/include/net/ |
| A D | xdp_sock.h | 30 bool zc; member 52 bool zc; member
|
| /linux/net/tls/ |
| A D | tls_sw.c | 1434 if (*zc && (out_iov || out_sg)) { in decrypt_internal() 1443 *zc = false; in decrypt_internal() 1541 *zc = false; in decrypt_internal() 1589 *zc = false; in decrypt_skb_update() 1603 *zc = false; in decrypt_skb_update() 1612 bool zc = true; in decrypt_skb() local 1653 bool zc, in process_rx_list() argument 1805 bool zc = false; in tls_sw_recvmsg() local 1840 zc = true; in tls_sw_recvmsg() 1892 if (!zc) { in tls_sw_recvmsg() [all …]
|
| /linux/net/xdp/ |
| A D | xsk.c | 608 return xs->zc ? xsk_zc_xmit(xs) : xsk_generic_xmit(sk); in __xsk_sendmsg() 667 if (xs->pool->cached_need_wakeup & XDP_WAKEUP_RX && xs->zc) in xsk_recvmsg() 688 if (xs->zc) in xsk_poll() 971 xs->zc = xs->umem->zc; in xsk_bind() 1225 if (xs->zc) in xsk_getsockopt()
|
| A D | xsk_buff_pool.c | 116 if (pool->umem->zc) { in xp_disable_drv_zc() 185 pool->umem->zc = true; in xp_assign_dev() 209 flags = umem->zc ? XDP_ZEROCOPY : XDP_COPY; in xp_assign_dev_shared()
|
| A D | xdp_umem.c | 59 umem->zc = false; in xdp_umem_release()
|
| A D | xsk_diag.c | 65 if (umem->zc) in xsk_diag_put_umem()
|
| /linux/drivers/scsi/ |
| A D | scsi_debug.c | 2684 enum sdebug_z_cond zc; in zbc_close_zone() local 2689 zc = zsp->z_cond; in zbc_close_zone() 2690 if (!(zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN)) in zbc_close_zone() 2727 zc = zsp->z_cond; in zbc_open_zone() 4509 zc = zsp->z_cond; in resp_open_zone() 4510 if (zc == ZC3_EXPLICIT_OPEN || zc == ZC5_FULL) in resp_open_zone() 4588 if (zc == ZC4_CLOSED || zc == ZC2_IMPLICIT_OPEN || in zbc_finish_zone() 4589 zc == ZC3_EXPLICIT_OPEN || (empty && zc == ZC1_EMPTY)) { in zbc_finish_zone() 4590 if (zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN) in zbc_finish_zone() 4665 zc = zsp->z_cond; in zbc_rwp_zone() [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| A D | cs35l34.txt | 41 - cirrus,gain-zc-disable: Boolean property. If set, the gain change will take
|
| A D | cs35l35.txt | 66 - cirrus,amp-gain-zc : Boolean to determine if to use Amplifier gain-change
|