Home
last modified time | relevance | path

Searched refs:mlen (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
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-v6.6/scripts/
Dcleanfile62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
Dcleanpatch62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
/Linux-v6.6/lib/zstd/compress/
Dzstd_opt.c660 size_t mlen; in ZSTD_insertBtAndGetAllMatches() local
663 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
666 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
670 if (mlen >= mls /* == 3 > bestLength */) { in ZSTD_insertBtAndGetAllMatches()
672 (U32)mlen); in ZSTD_insertBtAndGetAllMatches()
673 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches()
677 matches[0].len = (U32)mlen; in ZSTD_insertBtAndGetAllMatches()
679 if ( (mlen > sufficient_len) | in ZSTD_insertBtAndGetAllMatches()
680 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches()
1016 return sol.litlen + sol.mlen; in ZSTD_totalLen()
[all …]
/Linux-v6.6/lib/
Ddigsig.c73 unsigned long mlen, mblen; in digsig_verify_rsa() local
121 mlen = DIV_ROUND_UP(mblen, 8); in digsig_verify_rsa()
123 if (mlen == 0) { in digsig_verify_rsa()
130 out1 = kzalloc(mlen, GFP_KERNEL); in digsig_verify_rsa()
149 if (mpi_get_nlimbs(res) * BYTES_PER_MPI_LIMB > mlen) { in digsig_verify_rsa()
160 len = mlen; in digsig_verify_rsa()
Dbch.c211 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-v6.6/crypto/
Dakcipher.c197 unsigned int mlen; in crypto_akcipher_sync_prep() local
202 mlen = max(data->slen, data->dlen); in crypto_akcipher_sync_prep()
204 mlen = data->slen + data->dlen; in crypto_akcipher_sync_prep()
206 len = sizeof(*req) + reqsize + mlen; in crypto_akcipher_sync_prep()
207 if (len < mlen) in crypto_akcipher_sync_prep()
222 sg_init_one(sg, buf, mlen); in crypto_akcipher_sync_prep()
/Linux-v6.6/drivers/gpu/drm/i915/gt/shaders/clear_kernel/
Dhsw.asm73 … render MsgDesc: media block read MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 1 { align1 1Q };
78 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 1 mlen 2 rlen 0 { align1 1Q };
106 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
109 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
119 thread_spawner MsgDesc: mlen 1 rlen 0 { align1 1Q EOT };
Divb.asm72 … render MsgDesc: media block read MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 1 { align1 1Q };
77 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 1 mlen 2 rlen 0 { align1 1Q };
104 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
107 … render MsgDesc: media block write MsgCtrl = 0x0 Surface = 0 mlen 9 rlen 0 { align1 1Q };
117 thread_spawner MsgDesc: mlen 1 rlen 0 { align1 1Q EOT };
/Linux-v6.6/drivers/staging/gdm724x/
Dnetlink_k.c33 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-v6.6/include/uapi/scsi/
Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
105 (hdr)->msglen = mlen; \
/Linux-v6.6/fs/nfs/blocklayout/
Drpc_pipefs.c112 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-v6.6/drivers/w1/
Dw1_netlink.c448 u16 mlen = node->msg->len; in w1_process_cb() local
460 while (mlen && !err) { in w1_process_cb()
461 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) { in w1_process_cb()
477 mlen -= len; in w1_process_cb()
504 u16 mlen = msg->len; in w1_list_count_cmds() local
507 while (mlen) { in w1_list_count_cmds()
508 if (cmd->len + sizeof(struct w1_netlink_cmd) > mlen) in w1_list_count_cmds()
520 mlen -= len; in w1_list_count_cmds()
/Linux-v6.6/drivers/isdn/mISDN/
Dl1oip_core.c450 int m, mlen; in l1oip_socket_parse() local
552 mlen = *buf++; in l1oip_socket_parse()
554 if (mlen == 0) in l1oip_socket_parse()
555 mlen = 256; in l1oip_socket_parse()
556 if (len < mlen + 3) { in l1oip_socket_parse()
559 __func__, mlen, len_start-len - 1, len_start); in l1oip_socket_parse()
562 if (len == mlen + 3) { in l1oip_socket_parse()
566 __func__, mlen, len_start-len + 1); in l1oip_socket_parse()
570 mlen = len - 2; /* single frame, subtract timebase */ in l1oip_socket_parse()
595 l1oip_socket_recv(hc, remotecodec, channel, timebase, buf, mlen); in l1oip_socket_parse()
[all …]
/Linux-v6.6/net/sunrpc/
Dsvcauth_unix.c179 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()
Drpc_pipe.c108 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-v6.6/arch/powerpc/crypto/
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);
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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h248 int mlen; /* bits to rewrite/match */ member
256 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen)
257 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
/Linux-v6.6/lib/lz4/
Dlz4_decompress.c388 size_t const mlen = min(length, (size_t)(oend - op)); in LZ4_decompress_generic() local
389 const BYTE * const matchEnd = match + mlen; in LZ4_decompress_generic()
390 BYTE * const copyEnd = op + mlen; in LZ4_decompress_generic()
397 LZ4_memcpy(op, match, mlen); in LZ4_decompress_generic()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_meter.h10 .mlen = 8, \
/Linux-v6.6/net/sunrpc/auth_gss/
Dsvcauth_gss.c226 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 …]
/Linux-v6.6/net/tipc/
Dmsg.c206 int mlen, cpy, rem = dlen; in tipc_msg_append() local
229 mlen = msg_size(hdr); in tipc_msg_append()
230 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append()
233 msg_set_size(hdr, mlen + cpy); in tipc_msg_append()
/Linux-v6.6/drivers/scsi/
Dscsi_devinfo.c421 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
471 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find()
472 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen)) in scsi_dev_info_list_find()
/Linux-v6.6/fs/nfs/
Dnfs4idmap.c665 idmap_pipe_downcall(struct file *filp, const char __user *src, size_t mlen) in idmap_pipe_downcall() argument
687 if (mlen != sizeof(im)) { in idmap_pipe_downcall()
692 if (copy_from_user(&im, src, mlen) != 0) { in idmap_pipe_downcall()
712 ret = mlen; in idmap_pipe_downcall()

12