Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h36 .mlen = 16,\
44 .mlen = 16,\
52 .mlen = 32,\
60 .mlen = 32,\
69 .mlen = 24,\
77 .mlen = ESW_ZONE_ID_BITS,\
85 .mlen = ESW_ZONE_ID_BITS,\
/Linux-v6.1/lib/zstd/compress/
Dzstd_opt.c625 size_t mlen; in ZSTD_insertBtAndGetAllMatches() local
628 mlen = ZSTD_count(ip, match, iLimit); in ZSTD_insertBtAndGetAllMatches()
631 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
635 if (mlen >= mls /* == 3 > bestLength */) { in ZSTD_insertBtAndGetAllMatches()
637 (U32)mlen); in ZSTD_insertBtAndGetAllMatches()
638 bestLength = mlen; in ZSTD_insertBtAndGetAllMatches()
642 matches[0].len = (U32)mlen; in ZSTD_insertBtAndGetAllMatches()
644 if ( (mlen > sufficient_len) | in ZSTD_insertBtAndGetAllMatches()
645 (ip+mlen == iLimit) ) { /* best possible length */ in ZSTD_insertBtAndGetAllMatches()
922 return sol.litlen + sol.mlen; in ZSTD_totalLen()
[all …]
/Linux-v6.1/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.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-v6.1/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.1/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.1/include/uapi/scsi/
Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
105 (hdr)->msglen = mlen; \
/Linux-v6.1/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.1/drivers/w1/
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-v6.1/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.1/net/sunrpc/
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()
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.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h242 int mlen; /* bits to rewrite/match */ member
250 #define MLX5_REG_MAPPING_MBITS(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].mlen)
251 #define MLX5_REG_MAPPING_MASK(reg_id) (GENMASK(mlx5e_tc_attr_to_reg_mappings[reg_id].mlen - 1, 0))
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_meter.h10 .mlen = 8, \
/Linux-v6.1/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.1/net/sunrpc/auth_gss/
Dsvcauth_gss.c202 char *mesg, int mlen) in rsi_parse() argument
214 len = qword_get(&mesg, buf, mlen); in rsi_parse()
222 len = qword_get(&mesg, buf, mlen); in rsi_parse()
242 len = qword_get(&mesg, buf, mlen); in rsi_parse()
248 len = qword_get(&mesg, buf, mlen); in rsi_parse()
256 len = qword_get(&mesg, buf, mlen); in rsi_parse()
264 len = qword_get(&mesg, buf, mlen); in rsi_parse()
441 char *mesg, int mlen) in rsc_parse() argument
454 len = qword_get(&mesg, buf, mlen); in rsc_parse()
520 len = qword_get(&mesg, buf, mlen); in rsc_parse()
[all …]
/Linux-v6.1/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.1/drivers/scsi/
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-v6.1/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()
/Linux-v6.1/fs/nfsd/
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-v6.1/drivers/net/can/usb/
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-v6.1/drivers/net/wireless/ath/ar5523/
Dar5523.c1521 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local
1523 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware()
1524 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware()
1537 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1539 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1557 len -= mlen; in ar5523_load_firmware()
1558 offset += mlen; in ar5523_load_firmware()

12