/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_card.c | 42 struct zcrypt_card *zc = to_ap_card(dev)->private; in type_show() local 44 return scnprintf(buf, PAGE_SIZE, "%s\n", zc->type_string); in type_show() 54 struct zcrypt_card *zc = ac->private; in online_show() local 55 int online = ac->config && zc->online ? 1 : 0; in online_show() 65 struct zcrypt_card *zc = ac->private; in online_store() local 75 zc->online = online; in online_store() 76 id = zc->card->id; in online_store() 81 list_for_each_entry(zq, &zc->zqueues, list) in online_store() 93 struct zcrypt_card *zc = to_ap_card(dev)->private; in load_show() local 95 return scnprintf(buf, PAGE_SIZE, "%d\n", atomic_read(&zc->load)); in load_show() [all …]
|
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() 92 ac->private = zc; in zcrypt_cex2a_card_probe() 95 zc->min_mod_size = CEX2A_MIN_MOD_SIZE; in zcrypt_cex2a_card_probe() 96 zc->max_mod_size = CEX2A_MAX_MOD_SIZE; in zcrypt_cex2a_card_probe() 97 zc->speed_rating = CEX2A_SPEED_IDX; in zcrypt_cex2a_card_probe() 98 zc->max_exp_bit_length = CEX2A_MAX_MOD_SIZE; in zcrypt_cex2a_card_probe() 99 zc->type_string = "CEX2A"; in zcrypt_cex2a_card_probe() [all …]
|
D | zcrypt_cex4.c | 83 struct zcrypt_card *zc = ac->private; in cca_serialnr_show() local 88 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 195 struct zcrypt_card *zc = ac->private; in ep11_api_ordinalnr_show() local 199 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_api_ordinalnr_show() 216 struct zcrypt_card *zc = ac->private; in ep11_fw_version_show() local 220 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_fw_version_show() 239 struct zcrypt_card *zc = ac->private; in ep11_serialnr_show() local 243 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_serialnr_show() 273 struct zcrypt_card *zc = ac->private; in ep11_card_op_modes_show() local 277 ep11_get_card_info(ac->id, &ci, zc->online); in ep11_card_op_modes_show() [all …]
|
D | zcrypt_cex2c.c | 71 struct zcrypt_card *zc = ac->private; in cca_serialnr_show() local 76 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); in cca_serialnr_show() 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() 264 ac->private = zc; in zcrypt_cex2c_card_probe() 267 zc->user_space_type = ZCRYPT_CEX2C; in zcrypt_cex2c_card_probe() 268 zc->type_string = "CEX2C"; in zcrypt_cex2c_card_probe() 269 zc->speed_rating = CEX2C_SPEED_IDX; in zcrypt_cex2c_card_probe() [all …]
|
D | zcrypt_api.c | 571 static inline struct zcrypt_queue *zcrypt_pick_queue(struct zcrypt_card *zc, in zcrypt_pick_queue() argument 580 atomic_add(weight, &zc->load); in zcrypt_pick_queue() 587 static inline void zcrypt_drop_queue(struct zcrypt_card *zc, in zcrypt_drop_queue() argument 593 atomic_sub(weight, &zc->load); in zcrypt_drop_queue() 600 static inline bool zcrypt_card_compare(struct zcrypt_card *zc, in zcrypt_card_compare() argument 607 weight += atomic_read(&zc->load); in zcrypt_card_compare() 610 return atomic64_read(&zc->card->total_request_count) < in zcrypt_card_compare() 637 struct zcrypt_card *zc, *pref_zc; in zcrypt_rsa_modexpo() local 674 for_each_zcrypt_card(zc) { in zcrypt_rsa_modexpo() 676 if (!zc->online || !zc->card->config || 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() 163 struct zcrypt_card *zc; in zcrypt_queue_register() local 167 zc = zq->queue->card->private; in zcrypt_queue_register() 168 zcrypt_card_get(zc); in zcrypt_queue_register() 169 zq->zcard = zc; in zcrypt_queue_register() 175 list_add_tail(&zq->list, &zc->zqueues); in zcrypt_queue_register() 198 zcrypt_card_put(zc); in zcrypt_queue_register() 211 struct zcrypt_card *zc; in zcrypt_queue_unregister() local 216 zc = zq->zcard; in zcrypt_queue_unregister() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/lib/zstd/ |
D | compress.c | 242 static size_t ZSTD_resetCCtx_advanced(ZSTD_CCtx *zc, ZSTD_parameters params, U64 frameContentSize, … in ZSTD_resetCCtx_advanced() argument 245 if (ZSTD_equivalentParams(params, zc->params)) { in ZSTD_resetCCtx_advanced() 246 zc->flagStaticTables = 0; in ZSTD_resetCCtx_advanced() 247 zc->flagStaticHufTable = HUF_repeat_none; in ZSTD_resetCCtx_advanced() 248 return ZSTD_continueCCtx(zc, params, frameContentSize); in ZSTD_resetCCtx_advanced() 269 if (zc->workSpaceSize < neededSpace) { in ZSTD_resetCCtx_advanced() 270 ZSTD_free(zc->workSpace, zc->customMem); in ZSTD_resetCCtx_advanced() 271 zc->workSpace = ZSTD_malloc(neededSpace, zc->customMem); in ZSTD_resetCCtx_advanced() 272 if (zc->workSpace == NULL) in ZSTD_resetCCtx_advanced() 274 zc->workSpaceSize = neededSpace; in ZSTD_resetCCtx_advanced() [all …]
|
D | zstd_opt.h | 215 U32 ZSTD_insertAndFindFirstIndexHash3(ZSTD_CCtx *zc, const BYTE *ip) in ZSTD_insertAndFindFirstIndexHash3() argument 217 U32 *const hashTable3 = zc->hashTable3; in ZSTD_insertAndFindFirstIndexHash3() 218 U32 const hashLog3 = zc->hashLog3; in ZSTD_insertAndFindFirstIndexHash3() 219 const BYTE *const base = zc->base; in ZSTD_insertAndFindFirstIndexHash3() 220 U32 idx = zc->nextToUpdate3; in ZSTD_insertAndFindFirstIndexHash3() 221 const U32 target = zc->nextToUpdate3 = (U32)(ip - base); in ZSTD_insertAndFindFirstIndexHash3() 235 static U32 ZSTD_insertBtAndGetAllMatches(ZSTD_CCtx *zc, const BYTE *const ip, const BYTE *const iLi… in ZSTD_insertBtAndGetAllMatches() argument 238 const BYTE *const base = zc->base; in ZSTD_insertBtAndGetAllMatches() 240 const U32 hashLog = zc->params.cParams.hashLog; in ZSTD_insertBtAndGetAllMatches() 242 U32 *const hashTable = zc->hashTable; in ZSTD_insertBtAndGetAllMatches() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
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() 192 zc.address = (__u64)((unsigned long)addr); 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() [all …]
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp.c | 1198 bool zc = false; in tcp_sendmsg_locked() local 1211 zc = sk->sk_route_caps & NETIF_F_SG; in tcp_sendmsg_locked() 1212 if (!zc) in tcp_sendmsg_locked() 1319 if (skb_availroom(skb) > 0 && !zc) { in tcp_sendmsg_locked() 1325 } else if (!zc) { in tcp_sendmsg_locked() 1774 static int tcp_copy_straggler_data(struct tcp_zerocopy_receive *zc, in tcp_copy_straggler_data() argument 1778 unsigned long copy_address = (unsigned long)zc->copybuf_address; in tcp_copy_straggler_data() 1783 if (copy_address != zc->copybuf_address) in tcp_copy_straggler_data() 1793 zc->recv_skip_hint -= copylen; in tcp_copy_straggler_data() 1799 static int tcp_zerocopy_handle_leftover_data(struct tcp_zerocopy_receive *zc, in tcp_zerocopy_handle_leftover_data() argument [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | xdp_sock.h | 30 bool zc; member 52 bool zc; member
|
/kernel/linux/linux-5.10/net/tls/ |
D | tls_sw.c | 1413 int *chunk, bool *zc, bool async) in decrypt_internal() argument 1429 if (*zc && (out_iov || out_sg)) { in decrypt_internal() 1438 *zc = false; in decrypt_internal() 1530 *zc = false; in decrypt_internal() 1548 struct iov_iter *dest, int *chunk, bool *zc, in decrypt_skb_update() argument 1566 err = decrypt_internal(sk, skb, dest, NULL, chunk, zc, in decrypt_skb_update() 1578 *zc = false; in decrypt_skb_update() 1592 *zc = false; in decrypt_skb_update() 1601 bool zc = true; in decrypt_skb() local 1604 return decrypt_internal(sk, skb, NULL, sgout, &chunk, &zc, false); in decrypt_skb() [all …]
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xsk_buff_pool.c | 110 if (pool->umem->zc) { in xp_disable_drv_zc() 180 pool->umem->zc = true; in __xp_assign_dev() 210 flags = umem->zc ? XDP_ZEROCOPY : XDP_COPY; in xp_assign_dev_shared()
|
D | xsk.c | 477 return xs->zc ? xsk_zc_xmit(xs) : xsk_generic_xmit(sk); in __xsk_sendmsg() 510 if (xs->zc) in xsk_poll() 793 xs->zc = xs->umem->zc; in xsk_bind() 1047 if (xs->zc) in xsk_getsockopt()
|
D | xdp_umem.c | 59 umem->zc = false; in xdp_umem_release()
|
D | xsk_diag.c | 65 if (umem->zc) in xsk_diag_put_umem()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | scsi_debug.c | 2683 enum sdebug_z_cond zc; in zbc_close_zone() local 2688 zc = zsp->z_cond; in zbc_close_zone() 2689 if (!(zc == ZC2_IMPLICIT_OPEN || zc == ZC3_EXPLICIT_OPEN)) in zbc_close_zone() 2692 if (zc == ZC2_IMPLICIT_OPEN) in zbc_close_zone() 2721 enum sdebug_z_cond zc; in zbc_open_zone() local 2726 zc = zsp->z_cond; in zbc_open_zone() 2727 if ((explicit && zc == ZC3_EXPLICIT_OPEN) || in zbc_open_zone() 2728 (!explicit && zc == ZC2_IMPLICIT_OPEN)) in zbc_open_zone() 4440 enum sdebug_z_cond zc; in resp_open_zone() local 4488 zc = zsp->z_cond; in resp_open_zone() [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | cs35l34.txt | 41 - cirrus,gain-zc-disable: Boolean property. If set, the gain change will take
|
D | cs35l35.txt | 66 - cirrus,amp-gain-zc : Boolean to determine if to use Amplifier gain-change
|