| /linux/scripts/ |
| H A D | cleanfile | 62 my $mlen = 0; 69 $mlen = $pos if ($pos > $mlen); 76 $mlen = $pos if ($pos > $mlen); 77 return $mlen;
|
| H A D | cleanpatch | 62 my $mlen = 0; 69 $mlen = $pos if ($pos > $mlen); 76 $mlen = $pos if ($pos > $mlen); 77 return $mlen;
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_opt.c | 696 size_t mlen; in ZSTD_insertBtAndGetAllMatches() local 699 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches() 702 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches() 706 if (mlen >= mls /* == 3 > bestLength */) { in ZSTD_insertBtAndGetAllMatches() 708 (U32)mlen); in ZSTD_insertBtAndGetAllMatches() 709 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches() 713 matches[0].len = (U32)mlen; in ZSTD_insertBtAndGetAllMatches() 715 if ( (mlen > sufficient_len) | in ZSTD_insertBtAndGetAllMatches() 716 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches() 1144 opt[0].mlen = 0; /* there are only literals so far */ in ZSTD_compressBlock_opt_generic() [all …]
|
| /linux/drivers/firmware/samsung/ |
| H A D | exynos-acpm.c | 84 u32 mlen; member 150 unsigned int mlen; member 225 u32 i, val, mlen; in acpm_get_rx() local 241 mlen = achan->mlen; in acpm_get_rx() 246 addr = base + mlen * i; in acpm_get_rx() 428 if (!xfer->txd || xfer->txlen > achan->mlen || xfer->rxlen > achan->mlen) in acpm_do_xfer() 450 __iowrite32_copy(achan->tx.base + achan->mlen * tx_front, in acpm_do_xfer() 479 achan->mlen = readl(&chan_shmem->mlen); in acpm_chan_shmem_get_params() 493 achan->id, achan->poll_completion, achan->mlen, achan->qlen); in acpm_chan_shmem_get_params() 510 if (achan->mlen == 0) in acpm_achan_alloc_cmds() [all …]
|
| /linux/lib/ |
| H A D | digsig.c | 69 unsigned long mlen, mblen; in digsig_verify_rsa() local 117 mlen = DIV_ROUND_UP(mblen, 8); in digsig_verify_rsa() 119 if (mlen == 0) { in digsig_verify_rsa() 126 out1 = kzalloc(mlen, GFP_KERNEL); in digsig_verify_rsa() 145 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) { in digsig_verify_rsa() 156 len = mlen; in digsig_verify_rsa()
|
| H A D | bch.c | 211 unsigned int i, mlen; in bch_encode() local 234 mlen = (len < (4-m)) ? len : 4-m; in bch_encode() 235 bch_encode_unaligned(bch, data, mlen, bch->ecc_buf); in bch_encode() 236 data += mlen; in bch_encode() 237 len -= mlen; in bch_encode() 242 mlen = len/4; in bch_encode() 243 data += 4*mlen; in bch_encode() 244 len -= 4*mlen; in bch_encode() 258 while (mlen--) { in bch_encode()
|
| /linux/include/uapi/scsi/ |
| H A D | scsi_netlink.h | 99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument 105 (hdr)->msglen = mlen; \
|
| /linux/fs/nfs/blocklayout/ |
| H A D | rpc_pipefs.c | 112 size_t mlen) in bl_pipe_downcall() argument 117 if (mlen != sizeof (struct bl_dev_msg)) in bl_pipe_downcall() 120 if (copy_from_user(&nn->bl_mount_reply, src, mlen) != 0) in bl_pipe_downcall() 125 return mlen; in bl_pipe_downcall()
|
| /linux/drivers/w1/ |
| H A D | w1_netlink.c | 446 u16 mlen = node->msg->len; in w1_process_cb() local 458 while (mlen && !err) { in w1_process_cb() 459 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) { in w1_process_cb() 475 mlen -= len; in w1_process_cb() 502 u16 mlen = msg->len; in w1_list_count_cmds() local 505 while (mlen) { in w1_list_count_cmds() 506 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) in w1_list_count_cmds() 518 mlen -= len; in w1_list_count_cmds()
|
| /linux/lib/crypto/powerpc/ |
| H A D | poly1305.h | 13 asmlinkage void poly1305_p10le_4blocks(struct poly1305_block_state *state, const u8 *m, u32 mlen); 14 asmlinkage void poly1305_64s(struct poly1305_block_state *state, const u8 *m, u32 mlen, int highbit…
|
| H A D | poly1305-p10le_64.S | 49 # poly1305_p10le_4blocks( uint8_t *k, uint32_t mlen, uint8_t *m) 52 # r4 = mlen 522 # poly1305_p10le_4blocks( uint8_t *k, uint32_t mlen, uint8_t *m) 525 # r4 = mlen
|
| /linux/net/sunrpc/ |
| H A D | svcauth_unix.c | 179 char *mesg, int mlen) in ip_map_parse() argument 199 if (mesg[mlen-1] != '\n') in ip_map_parse() 201 mesg[mlen-1] = 0; in ip_map_parse() 208 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 234 len = qword_get(&mesg, buf, mlen); in ip_map_parse() 488 char *mesg, int mlen) in unix_gid_parse() argument 500 if (mesg[mlen - 1] != '\n') in unix_gid_parse() 502 mesg[mlen-1] = 0; in unix_gid_parse()
|
| H A D | rpc_pipe.c | 108 size_t mlen = min(msg->len - msg->copied, buflen); in rpc_pipe_generic_upcall() local 111 left = copy_to_user(dst, data, mlen); in rpc_pipe_generic_upcall() 112 if (left == mlen) { in rpc_pipe_generic_upcall() 117 mlen -= left; in rpc_pipe_generic_upcall() 118 msg->copied += mlen; in rpc_pipe_generic_upcall() 120 return mlen; in rpc_pipe_generic_upcall()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tc.h | 247 int mlen; /* bits to rewrite/match */ member 255 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen) 256 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | svcauth_gss.c | 226 char *mesg, int mlen) in rsi_parse() argument 238 len = qword_get(&mesg, buf, mlen); in rsi_parse() 246 len = qword_get(&mesg, buf, mlen); in rsi_parse() 266 len = qword_get(&mesg, buf, mlen); in rsi_parse() 272 len = qword_get(&mesg, buf, mlen); in rsi_parse() 280 len = qword_get(&mesg, buf, mlen); in rsi_parse() 288 len = qword_get(&mesg, buf, mlen); in rsi_parse() 465 char *mesg, int mlen) in rsc_parse() argument 478 len = qword_get(&mesg, buf, mlen); in rsc_parse() 544 len = qword_get(&mesg, buf, mlen); in rsc_parse() [all...] |
| H A D | auth_gss.c | 723 gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in gss_pipe_downcall() argument 734 if (mlen > MSG_BUF_MAXSIZE) in gss_pipe_downcall() 737 buf = kmalloc(mlen, GFP_KERNEL); in gss_pipe_downcall() 742 if (copy_from_user(buf, src, mlen)) in gss_pipe_downcall() 745 end = (const void *)((char *)buf + mlen); in gss_pipe_downcall() 781 err = mlen; in gss_pipe_downcall() 797 err = mlen; in gss_pipe_downcall()
|
| /linux/drivers/scsi/ |
| H A D | scsi_devinfo.c | 417 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local 467 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find() 468 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen)) in scsi_dev_info_list_find()
|
| /linux/net/tipc/ |
| H A D | msg.c | 210 int mlen, cpy, rem = dlen; in tipc_msg_append() local 233 mlen = msg_size(hdr); in tipc_msg_append() 234 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append() 235 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append() 237 msg_set_size(hdr, mlen + cpy); in tipc_msg_append()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | post_meter.h | 10 .mlen = 8, \
|
| /linux/fs/nfs/ |
| H A D | nfs4idmap.c | 652 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in idmap_pipe_downcall() argument 674 if (mlen != sizeof(im)) { in idmap_pipe_downcall() 679 if (copy_from_user(&im, src, mlen) != 0) { in idmap_pipe_downcall() 699 ret = mlen; in idmap_pipe_downcall()
|
| /linux/drivers/net/wireless/ath/ar5523/ |
| H A D | ar5523.c | 1533 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local 1535 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware() 1536 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware() 1549 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware() 1551 fwbuf, mlen, &foolen, in ar5523_load_firmware() 1569 len -= mlen; in ar5523_load_firmware() 1570 offset += mlen; in ar5523_load_firmware()
|
| /linux/drivers/input/touchscreen/ |
| H A D | iqs5xx.c | 193 u16 mlen = sizeof(reg) + len; in iqs5xx_write_burst() local 208 ret = i2c_master_send(client, mbuf, mlen); in iqs5xx_write_burst() 209 if (ret == mlen) in iqs5xx_write_burst()
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 170 int mlen; in starfive_hash_copy_hash() local 175 mlen = rctx->digsize / sizeof(u32); in starfive_hash_copy_hash() 178 for (count = 0; count < mlen; count++) in starfive_hash_copy_hash()
|
| /linux/drivers/isdn/capi/ |
| H A D | capi.c | 685 u16 mlen; in capi_write() local 701 mlen = CAPIMSG_LEN(skb->data); in capi_write() 704 (size_t)(mlen + CAPIMSG_DATALEN(skb->data)) != count) { in capi_write() 709 if (mlen != count) { in capi_write()
|
| /linux/tools/perf/util/ |
| H A D | stat-display.c | 602 unsigned mlen = config->metric_only_len; in print_metric_only() local 607 if (mlen < strlen(unit)) in print_metric_only() 608 mlen = strlen(unit) + 1; in print_metric_only() 611 mlen += strlen(color) + sizeof(PERF_COLOR_RESET) - 1; in print_metric_only() 614 fprintf(out, "%*s ", mlen, str); in print_metric_only()
|