Home
last modified time | relevance | path

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

12

/Linux-v5.10/lib/zstd/
Dzstd_opt.h206 opt[pos].mlen = mlen_; \
441 U32 u, mlen, best_mlen, best_off, litLength; in ZSTD_compressBlock_opt_generic() local
453 mlen = (U32)ZSTD_count(ip + minMatch, ip + minMatch - repCur, iend) + minMatch; in ZSTD_compressBlock_opt_generic()
454 if (mlen > sufficient_len || mlen >= ZSTD_OPT_NUM) { in ZSTD_compressBlock_opt_generic()
455 best_mlen = mlen; in ZSTD_compressBlock_opt_generic()
463 price = ZSTD_getPrice(seqStorePtr, litlen, anchor, best_off, mlen - MINMATCH, ultra); in ZSTD_compressBlock_opt_generic()
464 if (mlen > last_pos || price < opt[mlen].price) in ZSTD_compressBlock_opt_generic()
465 SET_PRICE(mlen, mlen, i, litlen, price); /* note : macro modifies last_pos */ in ZSTD_compressBlock_opt_generic()
466 mlen--; in ZSTD_compressBlock_opt_generic()
467 } while (mlen >= minMatch); in ZSTD_compressBlock_opt_generic()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h36 .mlen = 2,\
44 .mlen = 2,\
52 .mlen = 4,\
60 .mlen = 4,\
68 .mlen = 4,\
76 .mlen = 1,\
84 .mlen = 1,\
87 #define REG_MAPPING_MLEN(reg) (mlx5e_tc_attr_to_reg_mappings[reg].mlen)
/Linux-v5.10/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-v5.10/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-v5.10/drivers/gpu/drm/i915/gt/shaders/clear_kernel/
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 };
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 };
/Linux-v5.10/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-v5.10/include/uapi/scsi/
Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
105 (hdr)->msglen = mlen; \
/Linux-v5.10/fs/nfs/blocklayout/
Drpc_pipefs.c113 size_t mlen) in bl_pipe_downcall() argument
118 if (mlen != sizeof (struct bl_dev_msg)) in bl_pipe_downcall()
121 if (copy_from_user(&nn->bl_mount_reply, src, mlen) != 0) in bl_pipe_downcall()
126 return mlen; in bl_pipe_downcall()
/Linux-v5.10/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-v5.10/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-v5.10/net/sunrpc/
Dsvcauth_unix.c177 char *mesg, int mlen) in ip_map_parse() argument
197 if (mesg[mlen-1] != '\n') in ip_map_parse()
199 mesg[mlen-1] = 0; in ip_map_parse()
206 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
232 len = qword_get(&mesg, buf, mlen); in ip_map_parse()
486 char *mesg, int mlen) in unix_gid_parse() argument
498 if (mesg[mlen - 1] != '\n') in unix_gid_parse()
500 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-v5.10/lib/lz4/
Dlz4_decompress.c380 size_t const mlen = min(length, (size_t)(oend - op)); in LZ4_decompress_generic() local
381 const BYTE * const matchEnd = match + mlen; in LZ4_decompress_generic()
382 BYTE * const copyEnd = op + mlen; in LZ4_decompress_generic()
389 LZ4_memcpy(op, match, mlen); in LZ4_decompress_generic()
/Linux-v5.10/drivers/net/ethernet/amd/
Dni65.h108 volatile unsigned short mlen; member
/Linux-v5.10/net/sunrpc/auth_gss/
Dsvcauth_gss.c200 char *mesg, int mlen) in rsi_parse() argument
212 len = qword_get(&mesg, buf, mlen); in rsi_parse()
220 len = qword_get(&mesg, buf, mlen); in rsi_parse()
240 len = qword_get(&mesg, buf, mlen); in rsi_parse()
246 len = qword_get(&mesg, buf, mlen); in rsi_parse()
254 len = qword_get(&mesg, buf, mlen); in rsi_parse()
262 len = qword_get(&mesg, buf, mlen); in rsi_parse()
439 char *mesg, int mlen) in rsc_parse() argument
452 len = qword_get(&mesg, buf, mlen); in rsc_parse()
518 len = qword_get(&mesg, buf, mlen); in rsc_parse()
[all …]
/Linux-v5.10/drivers/scsi/
Dscsi_devinfo.c417 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-v5.10/net/tipc/
Dmsg.c218 int mlen, cpy, rem = dlen; in tipc_msg_append() local
241 mlen = msg_size(hdr); in tipc_msg_append()
242 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
243 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append()
245 msg_set_size(hdr, mlen + cpy); in tipc_msg_append()
/Linux-v5.10/fs/nfs/
Dnfs4idmap.c667 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()
713 ret = mlen; in idmap_pipe_downcall()
/Linux-v5.10/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()
540 static int svc_export_parse(struct cache_detail *cd, char *mesg, int mlen) in svc_export_parse() argument
550 if (mesg[mlen-1] != '\n') in svc_export_parse()
552 mesg[mlen-1] = 0; in svc_export_parse()
/Linux-v5.10/drivers/net/can/usb/
Ducan.c1052 int mlen; in ucan_prepare_tx_urb() local
1078 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb()
1083 mlen = UCAN_OUT_HDR_SIZE + in ucan_prepare_tx_urb()
1087 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-v5.10/drivers/net/wireless/ath/ar5523/
Dar5523.c1518 int mlen = min(len, AR5523_MAX_FWBLOCK_SIZE); in ar5523_load_firmware() local
1520 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware()
1521 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware()
1534 memcpy(fwbuf, fw->data + offset, mlen); in ar5523_load_firmware()
1536 fwbuf, mlen, &foolen, in ar5523_load_firmware()
1554 len -= mlen; in ar5523_load_firmware()
1555 offset += mlen; in ar5523_load_firmware()
/Linux-v5.10/tools/perf/util/
Dstat-display.c263 unsigned mlen = config->metric_only_len; in print_metric_only() local
268 if (mlen < strlen(unit)) in print_metric_only()
269 mlen = strlen(unit) + 1; in print_metric_only()
272 mlen += strlen(color) + sizeof(PERF_COLOR_RESET) - 1; in print_metric_only()
275 fprintf(out, "%*s ", mlen, str); in print_metric_only()

12