Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/scripts/
A Dcleanfile62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
A Dcleanpatch62 my $mlen = 0;
69 $mlen = $pos if ($pos > $mlen);
76 $mlen = $pos if ($pos > $mlen);
77 return $mlen;
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_ct.h38 .mlen = 16,\
46 .mlen = 16,\
54 .mlen = 32,\
62 .mlen = 32,\
71 .mlen = 24,\
79 .mlen = ESW_ZONE_ID_BITS,\
87 .mlen = ESW_ZONE_ID_BITS,\
/linux-6.3-rc2/lib/zstd/compress/
A Dzstd_opt.c660 size_t mlen; in ZSTD_insertBtAndGetAllMatches() local
673 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches()
1016 return sol.litlen + sol.mlen; in ZSTD_totalLen()
1158 opt[cur].mlen = 0; in ZSTD_compressBlock_opt_generic()
1176 if (opt[cur].mlen != 0) { in ZSTD_compressBlock_opt_generic()
1231 U32 mlen; in ZSTD_compressBlock_opt_generic() local
1236 for (mlen = lastML; mlen >= startML; mlen--) { /* scan downward */ in ZSTD_compressBlock_opt_generic()
1244 opt[pos].mlen = mlen; in ZSTD_compressBlock_opt_generic()
1261 assert(opt[0].mlen == 0); in ZSTD_compressBlock_opt_generic()
1267 if (lastSequence.mlen != 0) { in ZSTD_compressBlock_opt_generic()
[all …]
/linux-6.3-rc2/lib/
A 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()
A Dbch.c245 unsigned int i, mlen; in bch_encode() local
268 mlen = (len < (4-m)) ? len : 4-m; in bch_encode()
269 bch_encode_unaligned(bch, data, mlen, bch->ecc_buf); in bch_encode()
270 data += mlen; in bch_encode()
271 len -= mlen; in bch_encode()
276 mlen = len/4; in bch_encode()
277 data += 4*mlen; in bch_encode()
278 len -= 4*mlen; in bch_encode()
292 while (mlen--) { in bch_encode()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/shaders/clear_kernel/
A 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 };
A 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-6.3-rc2/drivers/staging/gdm724x/
A 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-6.3-rc2/include/uapi/scsi/
A Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
105 (hdr)->msglen = mlen; \
/linux-6.3-rc2/fs/nfs/blocklayout/
A 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-6.3-rc2/drivers/w1/
A Dw1_netlink.c446 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-6.3-rc2/drivers/isdn/mISDN/
A 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()
596 buf += mlen; in l1oip_socket_parse()
[all …]
/linux-6.3-rc2/net/sunrpc/
A Dsvcauth_unix.c178 char *mesg, int mlen) in ip_map_parse() argument
198 if (mesg[mlen-1] != '\n') in ip_map_parse()
200 mesg[mlen-1] = 0; in ip_map_parse()
207 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
233 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
478 char *mesg, int mlen) in unix_gid_parse() argument
490 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
492 mesg[mlen-1] = 0; in unix_gid_parse()
A 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dpost_meter.h10 .mlen = 8, \
/linux-6.3-rc2/lib/lz4/
A 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-6.3-rc2/net/sunrpc/auth_gss/
A 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-6.3-rc2/net/tipc/
A 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-6.3-rc2/drivers/scsi/
A Dscsi_devinfo.c419 size_t vmax, mmax, mlen; in scsi_dev_info_list_find() local
469 mlen = strnlen(devinfo->model, sizeof(devinfo->model)); in scsi_dev_info_list_find()
470 if (mmax < mlen || memcmp(devinfo->model, mskip, mlen)) in scsi_dev_info_list_find()
/linux-6.3-rc2/fs/nfs/
A 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()
/linux-6.3-rc2/fs/nfsd/
A Dexport.c78 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
90 if (mesg[mlen - 1] != '\n') in expkey_parse()
92 mesg[mlen-1] = 0; in expkey_parse()
570 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
580 if (mesg[mlen-1] != '\n') in svc_export_parse()
582 mesg[mlen-1] = 0; in svc_export_parse()
/linux-6.3-rc2/drivers/net/can/usb/
A Ducan.c1054 int mlen; in ucan_prepare_tx_urb() local
1080 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb()
1085 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb()
1089 m->len = cpu_to_le16(mlen); in ucan_prepare_tx_urb()
1097 m, mlen, ucan_write_bulk_callback, context); in ucan_prepare_tx_urb()
/linux-6.3-rc2/drivers/net/wireless/ath/ar5523/
A Dar5523.c1528 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local
1530 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware()
1531 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware()
1544 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1546 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1564 len -= mlen; in ar5523_load_firmware()
1565 offset += mlen; in ar5523_load_firmware()

Completed in 74 milliseconds

12