Searched refs:mlen (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/scripts/
H A Dcleanfile62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
H A Dcleanpatch62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
/linux-master/include/uapi/scsi/
H A Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \
105 (hdr)->msglen = mlen; \
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.h39 .mlen = 16,\
47 .mlen = 16,\
55 .mlen = 32,\
63 .mlen = 32,\
72 .mlen = 24,\
80 .mlen = ESW_ZONE_ID_BITS,\
88 .mlen = ESW_ZONE_ID_BITS,\
/linux-master/drivers/staging/gdm724x/
H A Dnetlink_k.c33 u32 mlen; local
57 mlen = ND_NLMSG_R_LEN(nlh);
61 rcv_cb(dev, nlh->nlmsg_type, msg, mlen);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_meter.h10 .mlen = 8, \
/linux-master/lib/zstd/compress/
H A Dzstd_opt.c660 size_t mlen; local
663 mlen = ZSTD_count(ip, match, iLimit);
666 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart);
670 if (mlen >= mls /* == 3 > bestLength */) {
672 (U32)mlen);
673 bestLength = mlen;
677 matches[0].len = (U32)mlen;
679 if ( (mlen > sufficient_len) |
680 (ip+mlen == iLimit) ) { /* best possible length */
1016 return sol.litlen + sol.mlen;
1231 U32 mlen; local
1298 U32 const mlen = opt[storePos].mlen; local
[all...]
/linux-master/lib/
H A Ddigsig.c73 unsigned long mlen, mblen; local
121 mlen = DIV_ROUND_UP(mblen, 8);
123 if (mlen == 0) {
130 out1 = kzalloc(mlen, GFP_KERNEL);
149 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) {
160 len = mlen;
H A Dbch.c211 unsigned int i, mlen; local
234 mlen = (len < (4-m)) ? len : 4-m;
235 bch_encode_unaligned(bch, data, mlen, bch->ecc_buf);
236 data += mlen;
237 len -= mlen;
242 mlen = len/4;
243 data += 4*mlen;
244 len -= 4*mlen;
258 while (mlen--) {
/linux-master/crypto/
H A Dakcipher.c197 unsigned int mlen; local
202 mlen = max(data->slen, data->dlen);
204 mlen = data->slen + data->dlen;
206 len = sizeof(*req) + reqsize + mlen;
207 if (len < mlen)
222 sg_init_one(sg, buf, mlen);
/linux-master/fs/nfs/blocklayout/
H A Drpc_pipefs.c112 size_t mlen)
117 if (mlen != sizeof (struct bl_dev_msg))
120 if (copy_from_user(&nn->bl_mount_reply, src, mlen) != 0)
125 return mlen;
111 bl_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) argument
/linux-master/drivers/w1/
H A Dw1_netlink.c448 u16 mlen = node->msg->len; local
460 while (mlen && !err) {
461 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) {
477 mlen -= len;
504 u16 mlen = msg->len; local
507 while (mlen) {
508 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen)
520 mlen -= len;
/linux-master/drivers/isdn/mISDN/
H A Dl1oip_core.c450 int m, mlen; local
552 mlen = *buf++;
554 if (mlen == 0)
555 mlen = 256;
556 if (len < mlen + 3) {
559 __func__, mlen, len_start-len - 1, len_start);
562 if (len == mlen + 3) {
566 __func__, mlen, len_start-len + 1);
570 mlen = len - 2; /* single frame, subtract timebase */
595 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h246 int mlen; /* bits to rewrite/match */ member in struct:mlx5e_tc_attr_to_reg_mapping
254 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen)
255 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
/linux-master/arch/powerpc/crypto/
H A Dpoly1305-p10-glue.c21 asmlinkage void poly1305_p10le_4blocks(void *h, const u8 *m, u32 mlen);
22 asmlinkage void poly1305_64s(void *h, const u8 *m, u32 mlen, int highbit);
H A Dpoly1305-p10le_64.S49 # 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-master/net/sunrpc/
H A Dsvcauth_unix.c179 char *mesg, int mlen)
199 if (mesg[mlen-1] != '\n')
201 mesg[mlen-1] = 0;
208 len = qword_get(&mesg, buf, mlen);
234 len = qword_get(&mesg, buf, mlen);
488 char *mesg, int mlen)
500 if (mesg[mlen - 1] != '\n')
502 mesg[mlen-1] = 0;
178 ip_map_parse(struct cache_detail *cd, char *mesg, int mlen) argument
487 unix_gid_parse(struct cache_detail *cd, char *mesg, int mlen) argument
H A Drpc_pipe.c108 size_t mlen = min(msg->len - msg->copied, buflen); local
111 left = copy_to_user(dst, data, mlen);
112 if (left == mlen) {
117 mlen -= left;
118 msg->copied += mlen;
120 return mlen;
/linux-master/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c226 char *mesg, int mlen)
238 len = qword_get(&mesg, buf, mlen);
246 len = qword_get(&mesg, buf, mlen);
266 len = qword_get(&mesg, buf, mlen);
272 len = qword_get(&mesg, buf, mlen);
280 len = qword_get(&mesg, buf, mlen);
288 len = qword_get(&mesg, buf, mlen);
465 char *mesg, int mlen)
478 len = qword_get(&mesg, buf, mlen);
544 len = qword_get(&mesg, buf, mlen);
225 rsi_parse(struct cache_detail *cd, char *mesg, int mlen) argument
464 rsc_parse(struct cache_detail *cd, char *mesg, int mlen) argument
[all...]
/linux-master/lib/lz4/
H A Dlz4_decompress.c388 size_t const mlen = min(length, (size_t)(oend - op)); local
389 const BYTE * const matchEnd = match + mlen;
390 BYTE * const copyEnd = op + mlen;
397 LZ4_memcpy(op, match, mlen);
/linux-master/drivers/scsi/
H A Dscsi_devinfo.c421 size_t vmax, mmax, mlen; local
471 mlen = strnlen(devinfo->model, sizeof(devinfo->model));
472 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen))
/linux-master/net/tipc/
H A Dmsg.c206 int mlen, cpy, rem = dlen; local
229 mlen = msg_size(hdr);
230 cpy = min_t(size_t, rem, mss - mlen);
231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter))
233 msg_set_size(hdr, mlen + cpy);
/linux-master/drivers/crypto/starfive/
H A Djh7110-rsa.c174 int opsize, mlen, loop; local
195 mlen = starfive_rsa_get_nbit(de, loop - 1, key_sz);
211 if (mlen) {
/linux-master/fs/nfsd/
H A Dexport.c78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) argument
90 if (mesg[mlen - 1] != '\n')
92 mesg[mlen-1] = 0;
596 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) argument
605 if (mesg[mlen-1] != '\n')
607 mesg[mlen-1] = 0;
/linux-master/fs/nfs/
H A Dnfs4idmap.c665 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) argument
687 if (mlen != sizeof(im)) {
692 if (copy_from_user(&im, src, mlen) != 0) {
712 ret = mlen;

Completed in 257 milliseconds

12