/linux-6.6.21/drivers/s390/crypto/ ! |
D | zcrypt_card.c | 42 struct zcrypt_card *zc = dev_get_drvdata(dev); in type_show() local 44 return sysfs_emit(buf, "%s\n", zc->type_string); in type_show() 53 struct zcrypt_card *zc = dev_get_drvdata(dev); in online_show() local 55 int online = ac->config && zc->online ? 1 : 0; in online_show() 64 struct zcrypt_card *zc = dev_get_drvdata(dev); in online_store() local 76 zc->online = online; in online_store() 77 id = zc->card->id; in online_store() 90 list_for_each_entry(zq, &zc->zqueues, list) in online_store() 94 list_for_each_entry(zq, &zc->zqueues, list) in online_store() 119 struct zcrypt_card *zc = dev_get_drvdata(dev); in load_show() local [all …]
|
D | zcrypt_cex4.c | 82 struct zcrypt_card *zc = dev_get_drvdata(dev); in cca_serialnr_show() local 89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 213 struct zcrypt_card *zc = dev_get_drvdata(dev); in ep11_api_ordinalnr_show() local 219 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show() 234 struct zcrypt_card *zc = dev_get_drvdata(dev); in ep11_fw_version_show() local 240 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show() 257 struct zcrypt_card *zc = dev_get_drvdata(dev); in ep11_serialnr_show() local 263 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show() 290 struct zcrypt_card *zc = dev_get_drvdata(dev); in ep11_card_op_modes_show() local 297 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show() [all …]
|
D | zcrypt_api.c | 575 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue() argument 584 atomic_add(weight, &zc->load); in zcrypt_pick_queue() 591 static inline void zcrypt_drop_queue(struct zcrypt_card *zc, in zcrypt_drop_queue() argument 597 atomic_sub(weight, &zc->load); in zcrypt_drop_queue() 604 static inline bool zcrypt_card_compare(struct zcrypt_card *zc, in zcrypt_card_compare() argument 611 weight += atomic_read(&zc->load); in zcrypt_card_compare() 614 return atomic64_read(&zc->card->total_request_count) < in zcrypt_card_compare() 641 struct zcrypt_card *zc, *pref_zc; in zcrypt_rsa_modexpo() local 673 for_each_zcrypt_card(zc) { in zcrypt_rsa_modexpo() 675 if (!zc->online || !zc->card->config || zc->card->chkstop || in zcrypt_rsa_modexpo() [all …]
|
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-6.6.21/drivers/hid/ ! |
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() 123 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 124 zc->last_key[index] = 0; in zc_raw_event() 152 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event() 153 zc->last_key[index] = key; in zc_raw_event() 167 struct zc_device *zc; in zc_probe() local [all …]
|
/linux-6.6.21/arch/mips/math-emu/ ! |
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()
|
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()
|
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-6.6.21/tools/testing/selftests/net/ ! |
D | tcp_mmap.c | 173 struct tcp_zerocopy_receive zc; in child_thread() local 219 socklen_t zc_len = sizeof(zc); in child_thread() 222 memset(&zc, 0, sizeof(zc)); in child_thread() 223 zc.address = (__u64)((unsigned long)addr); in child_thread() 224 zc.length = min(chunk_size, FILE_SZ - total); in child_thread() 227 &zc, &zc_len); in child_thread() 231 if (zc.length) { in child_thread() 232 assert(zc.length <= chunk_size); in child_thread() 234 EVP_DigestUpdate(ctx, addr, zc.length); in child_thread() 235 total_mmap += zc.length; in child_thread() [all …]
|
/linux-6.6.21/io_uring/ ! |
D | net.c | 224 struct io_sr_msg *zc = io_kiocb_to_cmd(req, struct io_sr_msg); in io_send_prep_async() local 228 if (!zc->addr || req_has_async_data(req)) in io_send_prep_async() 233 ret = move_addr_to_kernel(zc->addr, zc->addr_len, &io->addr); in io_send_prep_async() 982 struct io_sr_msg *zc = io_kiocb_to_cmd(req, struct io_sr_msg); in io_send_zc_cleanup() local 991 if (zc->notif) { in io_send_zc_cleanup() 992 io_notif_flush(zc->notif); in io_send_zc_cleanup() 993 zc->notif = NULL; in io_send_zc_cleanup() 1002 struct io_sr_msg *zc = io_kiocb_to_cmd(req, struct io_sr_msg); in io_send_zc_prep() local 1012 notif = zc->notif = io_alloc_notif(ctx); in io_send_zc_prep() 1020 zc->flags = READ_ONCE(sqe->ioprio); in io_send_zc_prep() [all …]
|
/linux-6.6.21/lib/zstd/compress/ ! |
D | zstd_compress.c | 1748 static size_t ZSTD_resetCCtx_internal(ZSTD_CCtx* zc, in ZSTD_resetCCtx_internal() argument 1755 ZSTD_cwksp* const ws = &zc->workspace; in ZSTD_resetCCtx_internal() 1760 zc->isFirstBlock = 1; in ZSTD_resetCCtx_internal() 1765 zc->appliedParams = *params; in ZSTD_resetCCtx_internal() 1766 params = &zc->appliedParams; in ZSTD_resetCCtx_internal() 1773 ZSTD_ldm_adjustParameters(&zc->appliedParams.ldmParams, ¶ms->cParams); in ZSTD_resetCCtx_internal() 1790 int const indexTooClose = ZSTD_indexTooCloseToMax(zc->blockState.matchState.window); in ZSTD_resetCCtx_internal() 1793 (indexTooClose || dictTooBig || !zc->initialized) ? ZSTDirp_reset : ZSTDirp_continue; in ZSTD_resetCCtx_internal() 1797 … ¶ms->cParams, ¶ms->ldmParams, zc->staticSize != 0, params->useRowMatchFinder, in ZSTD_resetCCtx_internal() 1803 if (!zc->staticSize) ZSTD_cwksp_bump_oversized_duration(ws, 0); in ZSTD_resetCCtx_internal() [all …]
|
D | zstd_compress_superblock.c | 551 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc, in ZSTD_compressSuperBlock() argument 557 FORWARD_IF_ERROR(ZSTD_buildBlockEntropyStats(&zc->seqStore, in ZSTD_compressSuperBlock() 558 &zc->blockState.prevCBlock->entropy, in ZSTD_compressSuperBlock() 559 &zc->blockState.nextCBlock->entropy, in ZSTD_compressSuperBlock() 560 &zc->appliedParams, in ZSTD_compressSuperBlock() 562 … zc->entropyWorkspace, ENTROPY_WORKSPACE_SIZE /* statically allocated in resetCCtx */), ""); in ZSTD_compressSuperBlock() 564 return ZSTD_compressSubBlock_multi(&zc->seqStore, in ZSTD_compressSuperBlock() 565 zc->blockState.prevCBlock, in ZSTD_compressSuperBlock() 566 zc->blockState.nextCBlock, in ZSTD_compressSuperBlock() 568 &zc->appliedParams, in ZSTD_compressSuperBlock() [all …]
|
D | zstd_compress_superblock.h | 27 size_t ZSTD_compressSuperBlock(ZSTD_CCtx* zc,
|
/linux-6.6.21/net/ipv4/ ! |
D | tcp.c | 1047 int zc = 0; in tcp_sendmsg_locked() local 1056 zc = MSG_ZEROCOPY; in tcp_sendmsg_locked() 1065 zc = MSG_ZEROCOPY; in tcp_sendmsg_locked() 1071 zc = MSG_SPLICE_PAGES; in tcp_sendmsg_locked() 1176 if (zc == 0) { in tcp_sendmsg_locked() 1221 } else if (zc == MSG_ZEROCOPY) { in tcp_sendmsg_locked() 1242 } else if (zc == MSG_SPLICE_PAGES) { in tcp_sendmsg_locked() 1818 struct tcp_zerocopy_receive *zc, in tcp_zerocopy_set_hint_for_skb() argument 1826 zc->recv_skip_hint = skb->len - offset; in tcp_zerocopy_set_hint_for_skb() 1842 zc->recv_skip_hint -= partial_frag_remainder; in tcp_zerocopy_set_hint_for_skb() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ ! |
D | sockopt_sk.c | 22 struct tcp_zerocopy_receive zc; in getsetsockopt() member 168 optlen = sizeof(buf.zc); in getsetsockopt() 177 buf.zc.address = 12345; /* Not page aligned. Rejected by tcp_zerocopy_receive() */ in getsetsockopt() 178 optlen = sizeof(buf.zc); in getsetsockopt()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ ! |
D | ice_xsk.h | 30 int ice_realloc_zc_buf(struct ice_vsi *vsi, bool zc); 76 bool __always_unused zc) in ice_realloc_zc_buf() argument
|
/linux-6.6.21/include/net/ ! |
D | xdp_sock.h | 33 bool zc; member 56 bool zc; member
|
/linux-6.6.21/Documentation/netlink/specs/ ! |
D | netdev.yaml | 66 name: xdp-zc-max-segs 86 - xdp-zc-max-segs
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ ! |
D | i40e_xsk.h | 35 int i40e_realloc_rx_bi_zc(struct i40e_vsi *vsi, bool zc);
|
/linux-6.6.21/net/xdp/ ! |
D | xsk.c | 850 if (xs->zc) in __xsk_sendmsg() 855 if (xs->zc && xsk_no_wakeup(sk)) in __xsk_sendmsg() 860 if (xs->zc) in __xsk_sendmsg() 899 if (xs->pool->cached_need_wakeup & XDP_WAKEUP_RX && xs->zc) in __xsk_recvmsg() 932 if (xs->zc) in xsk_poll() 1234 xs->zc = xs->umem->zc; in xsk_bind() 1489 if (xs->zc) in xsk_getsockopt()
|
D | xsk_buff_pool.c | 133 if (pool->umem->zc) { in xp_disable_drv_zc() 213 pool->umem->zc = true; in xp_assign_dev() 238 flags = umem->zc ? XDP_ZEROCOPY : XDP_COPY; in xp_assign_dev_shared()
|
/linux-6.6.21/net/tls/ ! |
D | tls_sw.c | 53 bool zc; 167 char content_type = darg->zc ? darg->tail : 0; in tls_padding_length() 1487 if (darg->zc && (out_iov || out_sg)) { in tls_decrypt_sg() 1496 darg->zc = false; in tls_decrypt_sg() 1651 if (unlikely(darg->zc && prot->version == TLS_1_3_VERSION && in tls_decrypt_sw() 1653 darg->zc = false; in tls_decrypt_sw() 1696 darg->zc &= !(prot->version == TLS_1_3_VERSION && in tls_decrypt_device() 1702 if (!darg->zc) { in tls_decrypt_device() 1747 struct tls_decrypt_arg darg = { .zc = true, }; in decrypt_skb() 2033 darg.zc = true; in tls_sw_recvmsg() [all …]
|
/linux-6.6.21/drivers/scsi/ ! |
D | scsi_debug.c | 2758 enum sdebug_z_cond zc; in zbc_close_zone() local 2763 zc = zsp->z_cond; in zbc_close_zone() 2764 if (!(zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN)) in zbc_close_zone() 2767 if (zc == ZC2_IMPLICIT_OPEN) in zbc_close_zone() 2796 enum sdebug_z_cond zc; in zbc_open_zone() local 2801 zc = zsp->z_cond; in zbc_open_zone() 2802 if ((explicit && zc == ZC3_EXPLICIT_OPEN) || in zbc_open_zone() 2803 (!explicit && zc == ZC2_IMPLICIT_OPEN)) in zbc_open_zone() 4621 enum sdebug_z_cond zc; in resp_open_zone() local 4668 zc = zsp->z_cond; in resp_open_zone() [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/sound/ ! |
D | cs35l34.txt | 41 - cirrus,gain-zc-disable: Boolean property. If set, the gain change will take
|
/linux-6.6.21/drivers/net/ethernet/engleder/ ! |
D | tsnep.h | 74 bool zc; member
|