/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | crc32.h | 12 * @total_len: Total length of data that was CRC32'd 16 static inline u32 crc32_posix_end(u32 crc, size_t total_len) argument 19 while (total_len != 0) { 20 u8 c = total_len & 0xff; 23 total_len >>= 8;
|
/linux-master/net/nfc/nci/ |
H A D | data.c | 97 int total_len = skb->len; local 105 pr_debug("conn_id 0x%x, total_len %d\n", conn_id, total_len); 115 while (total_len) { 117 min_t(int, total_len, conn_info->max_pkt_payload_len); 133 ((total_len == frag_len) ? 139 total_len -= frag_len; 141 pr_debug("frag_len %d, remaining total_len %d\n", 142 frag_len, total_len);
|
/linux-master/drivers/vfio/pci/pds/ |
H A D | cmds.h | 24 u32 total_len, bool read_seq);
|
/linux-master/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_dbgfs.c | 96 int total_len = 200 * (dbgfs->inst_count == 0 ? 1 : dbgfs->inst_count); local 99 char *buf = kmalloc(total_len, GFP_KERNEL); 105 mtk_vdec_dbgfs_get_help(buf, &used_len, total_len); 119 curr_len = snprintf(buf + used_len, total_len - used_len, 124 curr_len = snprintf(buf + used_len, total_len - used_len, 132 mtk_vdec_dbgfs_get_format_type(ctx, buf, &used_len, total_len);
|
/linux-master/fs/smb/server/ |
H A D | asn1.c | 103 int total_len = 4 + compute_asn_hdr_len_bytes(neg_result_len + local 107 buf = kmalloc(total_len, GFP_KERNEL); 130 *buflen = total_len; 140 int total_len = 4 + compute_asn_hdr_len_bytes(neg_result_len) * 2 + local 143 buf = kmalloc(total_len, GFP_KERNEL); 158 *buflen = total_len;
|
/linux-master/fs/smb/client/ |
H A D | smb2pdu.c | 501 unsigned int *total_len) 516 *total_len = parmsize + sizeof(struct smb2_hdr); 526 void **request_buf, unsigned int *total_len) 545 total_len); 558 void **request_buf, unsigned int *total_len) 567 total_len); 572 void **request_buf, unsigned int *total_len) 577 request_buf, total_len); 580 request_buf, total_len); 692 struct TCP_Server_Info *server, unsigned int *total_len) 498 fill_small_buf(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void *buf, unsigned int *total_len) argument 524 __smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 556 smb2_plain_req_init(__le16 smb2_command, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 570 smb2_ioctl_req_init(u32 opcode, struct cifs_tcon *tcon, struct TCP_Server_Info *server, void **request_buf, unsigned int *total_len) argument 691 assemble_neg_contexts(struct smb2_negotiate_req *req, struct TCP_Server_Info *server, unsigned int *total_len) argument 1055 unsigned int total_len; local 1456 unsigned int total_len; local 1948 unsigned int total_len; local 2031 unsigned int total_len; local 2167 unsigned int total_len; local 2822 unsigned int total_len; local 2994 unsigned int total_len; local 3284 unsigned int total_len; local 3549 unsigned int total_len; local 3738 unsigned int total_len; local 3946 unsigned int total_len; local 4231 unsigned int total_len; local 4278 unsigned int total_len; local 4393 smb2_new_read_req(void **buf, unsigned int *total_len, struct cifs_io_parms *io_parms, struct cifs_readdata *rdata, unsigned int remaining_bytes, int request_type) argument 4583 unsigned int total_len; local 4660 unsigned int total_len; local 4829 unsigned int total_len; local 4992 unsigned int total_len; local 5100 int total_len = 0; local 5237 unsigned int total_len; local 5472 unsigned int i, total_len; local 5637 unsigned int total_len; local 5728 unsigned int total_len; local 6002 unsigned int total_len; local 6087 unsigned int total_len; local [all...] |
/linux-master/drivers/net/wireless/ath/ath6kl/ |
H A D | trace.h | 121 TP_PROTO(unsigned int addr, int flags, unsigned int total_len, 124 TP_ARGS(addr, flags, total_len, entries, list), 131 __field(size_t, total_len) 133 __dynamic_array(u8, data, total_len) 144 __entry->total_len = total_len; 165 "%s addr 0x%x flags 0x%x entries %d total_len %zd\n", 170 __entry->total_len
|
/linux-master/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 35 u8 total_len = 0; local 42 total_len = usb_get_descriptor(udev, 0x5f, /* vendor specific */ 44 if (total_len > 5) { 46 total_len, desc); 48 if ((desc[0] != total_len) || /* descriptor length */ 52 (desc[4] != total_len - 2)) /* length after type */ 55 desc_end = desc + total_len;
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | mxl692.c | 251 u32 ix = 0, total_len = 0, addr = 0, chunk_len = 0, prevchunk_len = 0; local 258 total_len = buffer[ix + 1] << 16 | buffer[ix + 2] << 8 | buffer[ix + 3]; 259 total_len = (total_len + 3) & ~3; 264 while ((total_len > 0) && (status == 0)) { 266 chunk_len = (total_len < payload_max) ? total_len : payload_max; 286 total_len -= chunk_len; 303 int status = 0, total_len = 0; local 306 total_len 382 int status = 0, total_len = 0; local [all...] |
/linux-master/drivers/spi/ |
H A D | spi-cavium.c | 131 unsigned int total_len = 0; local 143 total_len += r; 147 msg->actual_length = total_len;
|
/linux-master/drivers/mtd/spi-nor/ |
H A D | otp.c | 308 size_t total_len, size_t *retlen, 323 total_len = min_t(size_t, total_len, spi_nor_otp_size(nor) - ofs); 325 if (!total_len) 333 ret = spi_nor_mtd_otp_range_is_locked(nor, ofs, total_len); 342 while (total_len) { 360 len = min_t(size_t, total_len, rlen - rofs); 374 total_len -= ret; 307 spi_nor_mtd_otp_read_write(struct mtd_info *mtd, loff_t ofs, size_t total_len, size_t *retlen, const u8 *buf, bool is_write) argument
|
/linux-master/lib/kunit/ |
H A D | string-stream-test.c | 176 size_t len, total_len; local 183 total_len = 0; 192 total_len += len; 198 KUNIT_EXPECT_EQ(test, strlen(concat_string), total_len); 232 size_t offset, total_len; local 244 total_len = 0; 248 total_len += sizeof(line) - offset; 254 KUNIT_EXPECT_EQ(test, strlen(concat_string), total_len);
|
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | wow.c | 89 int total_len = old->pkt_offset + old->pattern_len; local 139 if (total_len > ETH_HLEN) 141 else if (total_len > offsetof(struct ethhdr, h_proto)) 142 hdr_80211_end_offset = hdr_len + rfc_len + total_len - ETH_HLEN; 143 else if (total_len > ETH_ALEN) 144 hdr_80211_end_offset = total_len - ETH_ALEN + 147 hdr_80211_end_offset = total_len + 159 if (total_len > ETH_HLEN) { 163 total_len - ETH_HLEN); 166 total_len [all...] |
/linux-master/drivers/fsi/ |
H A D | fsi-core.c | 561 size_t total_len, read_len; local 570 for (total_len = 0; total_len < count; total_len += read_len) { 571 read_len = aligned_access_size(off, count - total_len); 573 rc = fsi_slave_read(slave, off, buf + total_len, read_len); 588 size_t total_len, write_len; local 597 for (total_len = 0; total_len < count; total_len 664 size_t total_len, read_len; local 700 size_t total_len, write_len; local [all...] |
/linux-master/net/atm/ |
H A D | common.h | 19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
|
/linux-master/include/linux/ |
H A D | xxhash.h | 161 uint64_t total_len; member in struct:xxh64_state
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2_format.h | 40 __be16 total_len; member in struct:mlxfw_mfa2_tlv_multi
|
/linux-master/drivers/dax/ |
H A D | kmem.c | 93 unsigned long total_len = 0; local 128 total_len += range_len(&range); 131 if (!total_len) { 147 rc = memory_group_register_static(numa_node, PFN_UP(total_len));
|
/linux-master/mm/ |
H A D | process_vm_access.c | 165 size_t total_len = iov_iter_count(iter); local 221 total_len -= iov_iter_count(iter); 226 if (total_len) 227 rc = total_len;
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_mux.c | 147 int total_len; local 165 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); 167 if (len - packet_size_sum < total_len) { 190 packet_size_sum += total_len; 350 int total_len; local 362 total_len = ALIGN(MUX_HEADER_SIZE + len, 4); 364 t = alloc_mux_tx(total_len); 379 total_len - MUX_HEADER_SIZE - len); 381 t->len = total_len; 389 total_len, [all...] |
/linux-master/kernel/ |
H A D | kallsyms_selftest.c | 107 u32 ratio, total_size, total_len = 0; local 109 kallsyms_on_each_symbol(stat_symbol_len, &total_len); 118 pos = total_len / kallsyms_num_syms; 150 ratio = (u32)div_u64(10000ULL * total_size, total_len); 152 kallsyms_num_syms, total_size, total_len, ratio / 100, ratio % 100);
|
/linux-master/drivers/net/ppp/ |
H A D | pppoe.c | 837 size_t total_len) 863 if (total_len > (dev->mtu + dev->hard_header_len)) 867 skb = sock_wmalloc(sk, hlen + sizeof(*ph) + total_len + 883 ph = skb_put(skb, total_len + sizeof(struct pppoe_hdr)); 886 error = memcpy_from_msg(start, m, total_len); 892 error = total_len; 894 po->pppoe_pa.remote, NULL, total_len); 898 ph->length = htons(total_len); 1004 size_t total_len, int flags) 1017 total_len 836 pppoe_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) argument 1003 pppoe_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len, int flags) argument [all...] |
/linux-master/include/uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 232 __u32 total_len; /* reserved */ member in struct:pvrdma_rq_wqe_hdr 240 __u32 total_len; /* reserved */ member in struct:pvrdma_sq_wqe_hdr
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mr.c | 271 u64 total_len = 0; local 331 total_len += current_block_len; 347 total_len += current_block_len; 349 total_len += (first_block_start & ((1ULL << block_shift) - 1ULL)); 352 total_len += (last_block_aligned_end - last_block_end); 354 if (total_len & ((1ULL << block_shift) - 1ULL)) 356 total_len, block_shift); 358 *num_of_mtts = total_len >> block_shift;
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_snd.c | 364 int fdr, fds, total_len; local 369 total_len = do_tx(); 373 do_rx(fds, total_len - sizeof(struct virtio_net_hdr), 376 do_rx(fdr, cfg_payload_len, tbuf + total_len - cfg_payload_len);
|