/Linux-v4.19/lib/zstd/ |
D | zstd_opt.h | 206 opt[pos].mlen = mlen_; \ 441 U32 u, mlen, best_mlen, best_off, litLength; in ZSTD_compressBlock_opt_generic() local 453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic() 454 if (mlen > sufficient_len || mlen >= ZSTD_OPT_NUM) { in ZSTD_compressBlock_opt_generic() 455 best_mlen = mlen; in ZSTD_compressBlock_opt_generic() 463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic() 464 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic() 465 SET_PRICE(mlen, mlen, i, litlen, price); /* note : macro modifies last_pos */ in ZSTD_compressBlock_opt_generic() 466 mlen--; in ZSTD_compressBlock_opt_generic() 467 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic() [all …]
|
D | zstd_internal.h | 167 U32 mlen; member
|
/Linux-v4.19/scripts/ |
D | cleanfile | 62 my $mlen = 0; 69 $mlen = $pos if ($pos > $mlen); 76 $mlen = $pos if ($pos > $mlen); 77 return $mlen;
|
D | cleanpatch | 62 my $mlen = 0; 69 $mlen = $pos if ($pos > $mlen); 76 $mlen = $pos if ($pos > $mlen); 77 return $mlen;
|
/Linux-v4.19/lib/ |
D | digsig.c | 76 unsigned long mlen, mblen; in digsig_verify_rsa() local 124 mlen = DIV_ROUND_UP(mblen, 8); in digsig_verify_rsa() 126 if (mlen == 0) { in digsig_verify_rsa() 133 out1 = kzalloc(mlen, GFP_KERNEL); in digsig_verify_rsa() 152 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) { in digsig_verify_rsa() 163 len = mlen; in digsig_verify_rsa()
|
D | bch.c | 194 unsigned int i, mlen; in encode_bch() local 217 mlen = (len < (4-m)) ? len : 4-m; in encode_bch() 218 encode_bch_unaligned(bch, data, mlen, bch->ecc_buf); in encode_bch() 219 data += mlen; in encode_bch() 220 len -= mlen; in encode_bch() 225 mlen = len/4; in encode_bch() 226 data += 4*mlen; in encode_bch() 227 len -= 4*mlen; in encode_bch() 241 while (mlen--) { in encode_bch()
|
/Linux-v4.19/drivers/isdn/i4l/ |
D | isdn_v110.c | 325 EncodeMatrix(unsigned char *buf, int len, unsigned char *m, int mlen) in EncodeMatrix() argument 334 while ((i < len) && (line < mlen)) { /* while we still have input data */ in EncodeMatrix() 345 if (line >= mlen) { in EncodeMatrix() 353 if (line >= mlen) { in EncodeMatrix() 386 if ((line) && ((line + 10) < mlen)) in EncodeMatrix() 464 int mlen; in isdn_v110_encode() local 502 mlen = EncodeMatrix(skb->data, rlen, v110buf, size); in isdn_v110_encode() 508 for (i = 0; i < mlen; i++) { in isdn_v110_encode()
|
/Linux-v4.19/drivers/staging/gdm724x/ |
D | netlink_k.c | 33 u32 mlen; in netlink_rcv_cb() local 57 mlen = ND_NLMSG_R_LEN(nlh); in netlink_rcv_cb() 61 rcv_cb(dev, nlh->nlmsg_type, msg, mlen); in netlink_rcv_cb()
|
/Linux-v4.19/include/uapi/scsi/ |
D | scsi_netlink.h | 114 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument 120 (hdr)->msglen = mlen; \
|
/Linux-v4.19/fs/nfs/blocklayout/ |
D | rpc_pipefs.c | 113 size_t mlen) in bl_pipe_downcall() argument 118 if (mlen != sizeof (struct bl_dev_msg)) in bl_pipe_downcall() 121 if (copy_from_user(&nn->bl_mount_reply, src, mlen) != 0) in bl_pipe_downcall() 126 return mlen; in bl_pipe_downcall()
|
/Linux-v4.19/drivers/w1/ |
D | w1_netlink.c | 455 u16 mlen = node->msg->len; in w1_process_cb() local 467 while (mlen && !err) { in w1_process_cb() 468 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) { in w1_process_cb() 484 mlen -= len; in w1_process_cb() 511 u16 mlen = msg->len; in w1_list_count_cmds() local 514 while (mlen) { in w1_list_count_cmds() 515 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) in w1_list_count_cmds() 527 mlen -= len; in w1_list_count_cmds()
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | l1oip_core.c | 464 int m, mlen; in l1oip_socket_parse() local 566 mlen = *buf++; in l1oip_socket_parse() 568 if (mlen == 0) in l1oip_socket_parse() 569 mlen = 256; in l1oip_socket_parse() 570 if (len < mlen + 3) { in l1oip_socket_parse() 573 __func__, mlen, len_start-len - 1, len_start); in l1oip_socket_parse() 576 if (len == mlen + 3) { in l1oip_socket_parse() 580 __func__, mlen, len_start-len + 1); in l1oip_socket_parse() 584 mlen = len - 2; /* single frame, subtract timebase */ in l1oip_socket_parse() 609 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen); in l1oip_socket_parse() [all …]
|
/Linux-v4.19/net/sunrpc/ |
D | svcauth_unix.c | 164 char *mesg, int mlen) in ip_map_parse() argument 184 if (mesg[mlen-1] != '\n') in ip_map_parse() 186 mesg[mlen-1] = 0; in ip_map_parse() 193 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 219 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 476 char *mesg, int mlen) in unix_gid_parse() argument 488 if (mesg[mlen - 1] != '\n') in unix_gid_parse() 490 mesg[mlen-1] = 0; in unix_gid_parse()
|
D | rpc_pipe.c | 106 size_t mlen = min(msg->len - msg->copied, buflen); in rpc_pipe_generic_upcall() local 109 left = copy_to_user(dst, data, mlen); in rpc_pipe_generic_upcall() 110 if (left == mlen) { in rpc_pipe_generic_upcall() 115 mlen -= left; in rpc_pipe_generic_upcall() 116 msg->copied += mlen; in rpc_pipe_generic_upcall() 118 return mlen; in rpc_pipe_generic_upcall()
|
/Linux-v4.19/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 186 char *mesg, int mlen) in rsi_parse() argument 198 len = qword_get(&mesg, buf, mlen); in rsi_parse() 206 len = qword_get(&mesg, buf, mlen); in rsi_parse() 226 len = qword_get(&mesg, buf, mlen); in rsi_parse() 232 len = qword_get(&mesg, buf, mlen); in rsi_parse() 240 len = qword_get(&mesg, buf, mlen); in rsi_parse() 248 len = qword_get(&mesg, buf, mlen); in rsi_parse() 408 char *mesg, int mlen) in rsc_parse() argument 421 len = qword_get(&mesg, buf, mlen); in rsc_parse() 487 len = qword_get(&mesg, buf, mlen); in rsc_parse() [all …]
|
D | auth_gss.c | 711 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument 722 if (mlen > MSG_BUF_MAXSIZE) in gss_pipe_downcall() 725 buf = kmalloc(mlen, GFP_NOFS); in gss_pipe_downcall() 730 if (copy_from_user(buf, src, mlen)) in gss_pipe_downcall() 733 end = (const void *)((char *)buf + mlen); in gss_pipe_downcall() 769 err = mlen; in gss_pipe_downcall() 785 err = mlen; in gss_pipe_downcall()
|
/Linux-v4.19/drivers/net/ethernet/amd/ |
D | ni65.h | 108 volatile unsigned short mlen; member
|
D | ni65.c | 843 rmdp->mlen = 0; in ni65_lance_reinit() 1065 printk(KERN_ERR "%s: recv, packet too long: %d\n",dev->name,rmdp->mlen & 0x0fff); in ni65_recv_intr() 1084 else if( (len = (rmdp->mlen & 0x0fff) - 4) >= 60) in ni65_recv_intr() 1129 rmdp->mlen = 0; in ni65_recv_intr()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_devinfo.c | 413 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local 463 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find() 464 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen)) in scsi_dev_info_list_find()
|
/Linux-v4.19/fs/nfs/ |
D | nfs4idmap.c | 652 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in idmap_pipe_downcall() argument 670 if (mlen != sizeof(im)) { in idmap_pipe_downcall() 675 if (copy_from_user(&im, src, mlen) != 0) { in idmap_pipe_downcall() 696 ret = mlen; in idmap_pipe_downcall()
|
/Linux-v4.19/fs/nfsd/ |
D | export.c | 71 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument 83 if (mesg[mlen - 1] != '\n') in expkey_parse() 85 mesg[mlen-1] = 0; in expkey_parse() 511 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument 521 if (mesg[mlen-1] != '\n') in svc_export_parse() 523 mesg[mlen-1] = 0; in svc_export_parse()
|
D | nfs4recover.c | 715 cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in cld_pipe_downcall() argument 724 if (mlen != sizeof(*cmsg)) { in cld_pipe_downcall() 725 dprintk("%s: got %zu bytes, expected %zu\n", __func__, mlen, in cld_pipe_downcall() 754 if (copy_from_user(&cup->cu_msg, src, mlen) != 0) in cld_pipe_downcall() 758 return mlen; in cld_pipe_downcall()
|
/Linux-v4.19/drivers/net/can/usb/ |
D | ucan.c | 1056 int mlen; in ucan_prepare_tx_urb() local 1082 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb() 1087 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb() 1091 m->len = cpu_to_le16(mlen); in ucan_prepare_tx_urb() 1101 m, mlen, ucan_write_bulk_callback, context); in ucan_prepare_tx_urb()
|
/Linux-v4.19/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1517 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local 1519 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware() 1520 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware() 1533 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware() 1535 fwbuf, mlen, &foolen, in ar5523_load_firmware() 1553 len -= mlen; in ar5523_load_firmware() 1554 offset += mlen; in ar5523_load_firmware()
|
/Linux-v4.19/drivers/isdn/capi/ |
D | capi.c | 686 u16 mlen; in capi_write() local 699 mlen = CAPIMSG_LEN(skb->data); in capi_write() 701 if ((size_t)(mlen + CAPIMSG_DATALEN(skb->data)) != count) { in capi_write() 706 if (mlen != count) { in capi_write()
|