/linux/crypto/ |
A D | lzo-rle.c | 55 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in __lzorle_compress() local 58 err = lzorle1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzorle_compress() 63 *dlen = tmp_len; in __lzorle_compress() 86 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in __lzorle_decompress() local 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzorle_decompress() 93 *dlen = tmp_len; in __lzorle_decompress()
|
A D | lzo.c | 55 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in __lzo_compress() local 58 err = lzo1x_1_compress(src, slen, dst, &tmp_len, ctx); in __lzo_compress() 63 *dlen = tmp_len; in __lzo_compress() 86 size_t tmp_len = *dlen; /* size_t(ulong) <-> uint on 64 bit */ in __lzo_decompress() local 88 err = lzo1x_decompress_safe(src, slen, dst, &tmp_len); in __lzo_decompress() 93 *dlen = tmp_len; in __lzo_decompress()
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
A D | debug.c | 272 int tmp_len; in rtl_debugfs_set_write_reg() local 279 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_reg() 281 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_reg() 284 tmp[tmp_len] = '\0'; in rtl_debugfs_set_write_reg() 322 int tmp_len; in rtl_debugfs_set_write_h2c() local 330 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_h2c() 332 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_h2c() 335 tmp[tmp_len] = '\0'; in rtl_debugfs_set_write_h2c() 368 int tmp_len; in rtl_debugfs_set_write_rfreg() local 378 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtl_debugfs_set_write_rfreg() [all …]
|
/linux/arch/sparc/vdso/ |
A D | vdso2c.c | 161 off_t tmp_len; in map_input() local 168 tmp_len = lseek(fd, 0, SEEK_END); in map_input() 169 if (tmp_len == (off_t)-1) in map_input() 171 *len = (size_t)tmp_len; in map_input() 173 *addr = mmap(NULL, tmp_len, prot, MAP_PRIVATE, fd, 0); in map_input()
|
/linux/arch/x86/entry/vdso/ |
A D | vdso2c.c | 188 off_t tmp_len; in map_input() local 194 tmp_len = lseek(fd, 0, SEEK_END); in map_input() 195 if (tmp_len == (off_t)-1) in map_input() 197 *len = (size_t)tmp_len; in map_input() 199 *addr = mmap(NULL, tmp_len, prot, MAP_PRIVATE, fd, 0); in map_input()
|
/linux/tools/lib/perf/ |
A D | cpumap.c | 309 int tmp_len; in perf_cpu_map__merge() local 325 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge() 326 tmp_cpus = malloc(tmp_len * sizeof(int)); in perf_cpu_map__merge() 346 assert(k <= tmp_len); in perf_cpu_map__merge()
|
/linux/drivers/md/ |
A D | dm-unstripe.c | 41 sector_t tmp_len; in unstripe_ctr() local 91 tmp_len = ti->len; in unstripe_ctr() 92 if (sector_div(tmp_len, uc->chunk_size)) { in unstripe_ctr()
|
A D | dm-stripe.c | 88 sector_t width, tmp_len; in stripe_ctr() local 116 tmp_len = width; in stripe_ctr() 117 if (sector_div(tmp_len, chunk_size)) { in stripe_ctr()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl8712_recv.c | 977 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local 1020 tmp_len = pkt_len + drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe() 1021 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe() 1027 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe() 1029 alloc_sz = tmp_len; in recvbuf2recvframe() 1041 memcpy(pkt_copy->data, pbuf, tmp_len); in recvbuf2recvframe() 1047 recvframe_put(precvframe, tmp_len); in recvbuf2recvframe()
|
A D | rtl871x_cmd.c | 397 u32 tmp_len; in r8712_joinbss_cmd() local 399 tmp_len = r8712_restruct_wmm_ie(padapter, in r8712_joinbss_cmd() 404 if (psecnetwork->IELength != tmp_len) { in r8712_joinbss_cmd() 405 psecnetwork->IELength = tmp_len; in r8712_joinbss_cmd()
|
/linux/drivers/net/ethernet/tehuti/ |
A D | tehuti.c | 1196 int tmp_len, size; in bdx_rx_receive() local 1225 tmp_len = GET_RXD_BC(rxd_val1) << 3; in bdx_rx_receive() 1226 BDX_ASSERT(tmp_len <= 0); in bdx_rx_receive() 1227 size -= tmp_len; in bdx_rx_receive() 1231 f->m.rptr += tmp_len; in bdx_rx_receive() 1233 tmp_len = f->m.rptr - f->m.memsz; in bdx_rx_receive() 1234 if (unlikely(tmp_len >= 0)) { in bdx_rx_receive() 1235 f->m.rptr = tmp_len; in bdx_rx_receive() 1236 if (tmp_len > 0) { in bdx_rx_receive() 1238 f->m.rptr, tmp_len); in bdx_rx_receive() [all …]
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | debug.c | 159 int tmp_len; in rtw_debugfs_copy_from_user() local 166 tmp_len = (count > size - 1 ? size - 1 : count); in rtw_debugfs_copy_from_user() 168 if (!buffer || copy_from_user(tmp, buffer, tmp_len)) in rtw_debugfs_copy_from_user() 171 tmp[tmp_len] = '\0'; in rtw_debugfs_copy_from_user()
|
/linux/drivers/staging/rtl8723bs/core/ |
A D | rtw_cmd.c | 721 u32 tmp_len; in rtw_joinbss_cmd() local 779 …tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork-… in rtw_joinbss_cmd() 781 if (psecnetwork->ie_length != tmp_len) { in rtw_joinbss_cmd() 782 psecnetwork->ie_length = tmp_len; in rtw_joinbss_cmd() 790 …ptmp = rtw_get_ie(&pnetwork->network.ies[12], WLAN_EID_HT_CAPABILITY, &tmp_len, pnetwork->network.… in rtw_joinbss_cmd() 791 if (pregistrypriv->ht_enable && ptmp && tmp_len > 0) { in rtw_joinbss_cmd()
|
A D | rtw_ap.c | 64 uint offset, tmp_len, tim_ielen, tim_ie_offset, remainder_ielen; in update_BCNTIM() local 93 &tmp_len, in update_BCNTIM() 97 offset += tmp_len + 2; in update_BCNTIM() 101 WLAN_EID_SUPP_RATES, &tmp_len, in update_BCNTIM() 105 offset += tmp_len + 2; in update_BCNTIM()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_cmd.c | 549 u32 tmp_len; in rtw_joinbss_cmd() local 551 …tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.IEs[0], &psecnetwork->IEs[0], pnetwork-… in rtw_joinbss_cmd() 553 if (psecnetwork->IELength != tmp_len) { in rtw_joinbss_cmd() 554 psecnetwork->IELength = tmp_len; in rtw_joinbss_cmd()
|
A D | rtw_ap.c | 64 uint offset, tmp_len, tim_ielen, tim_ie_offset, remainder_ielen; in update_BCNTIM() local 84 …p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, _SUPPORTEDRATES_IE_, &tmp_len, (pnetwork_mlmeext->IELengt… in update_BCNTIM() 86 offset += tmp_len + 2; in update_BCNTIM()
|
/linux/drivers/net/ethernet/ibm/ |
A D | ibmvnic.c | 1717 int tmp_len = len; in create_hdr_descs() local 1722 while (tmp_len > 0) { in create_hdr_descs() 1723 cur = hdr_data + len - tmp_len; in create_hdr_descs() 1728 tmp = tmp_len > 29 ? 29 : tmp_len; in create_hdr_descs() 1734 tmp = tmp_len > 24 ? 24 : tmp_len; in create_hdr_descs() 1744 tmp_len -= tmp; in create_hdr_descs()
|
/linux/drivers/nfc/pn533/ |
A D | pn533.c | 2063 unsigned int skb_len = 0, tmp_len = 0; in pn533_build_response() local 2086 memcpy(skb->data + tmp_len, tmp->data, tmp->len); in pn533_build_response() 2087 tmp_len += tmp->len; in pn533_build_response()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_main.c | 3899 int tmp_len; in stmmac_tso_allocator() local 3901 tmp_len = total_len; in stmmac_tso_allocator() 3903 while (tmp_len > 0) { in stmmac_tso_allocator() 3915 curr_addr = des + (total_len - tmp_len); in stmmac_tso_allocator() 3921 buff_size = tmp_len >= TSO_MAX_BUFF_SIZE ? in stmmac_tso_allocator() 3922 TSO_MAX_BUFF_SIZE : tmp_len; in stmmac_tso_allocator() 3926 (last_segment) && (tmp_len <= TSO_MAX_BUFF_SIZE), in stmmac_tso_allocator() 3929 tmp_len -= TSO_MAX_BUFF_SIZE; in stmmac_tso_allocator()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v1.c | 231 u32 tmp_len = 0; in hns_roce_v1_post_send() local 236 tmp_len += wr->sg_list[i].length; in hns_roce_v1_post_send() 239 cpu_to_le32(le32_to_cpu(ctrl->msg_length) + tmp_len); in hns_roce_v1_post_send()
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | jit.c | 1602 swreg tmp = imm_a(nfp_prog), tmp_len = imm_b(nfp_prog); in adjust_head() local 1646 emit_alu(nfp_prog, tmp_len, in adjust_head() 1649 tmp_len, ALU_OP_SUB, reg_imm(ETH_HLEN)); in adjust_head()
|