/linux-6.12.1/crypto/ |
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()
|
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-6.12.1/drivers/net/wireless/realtek/rtlwifi/ |
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 (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 (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 376 tmp_len = (count > sizeof(tmp) - 1 ? sizeof(tmp) - 1 : count); in rtl_debugfs_set_write_rfreg() [all …]
|
/linux-6.12.1/arch/sparc/vdso/ |
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-6.12.1/arch/x86/entry/vdso/ |
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-6.12.1/tools/lib/perf/ |
D | cpumap.c | 450 int tmp_len; in perf_cpu_map__merge() local 461 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other); in perf_cpu_map__merge() 462 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); in perf_cpu_map__merge() 482 assert(k <= tmp_len); in perf_cpu_map__merge() 494 int tmp_len; in perf_cpu_map__intersect() local 503 tmp_len = max(__perf_cpu_map__nr(orig), __perf_cpu_map__nr(other)); in perf_cpu_map__intersect() 504 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); in perf_cpu_map__intersect()
|
/linux-6.12.1/drivers/md/ |
D | dm-unstripe.c | 42 sector_t tmp_len; in unstripe_ctr() local 92 tmp_len = ti->len; in unstripe_ctr() 93 if (sector_div(tmp_len, uc->chunk_size)) { in unstripe_ctr()
|
D | dm-stripe.c | 91 sector_t width, tmp_len; in stripe_ctr() local 118 tmp_len = width; in stripe_ctr() 119 if (sector_div(tmp_len, chunk_size)) { in stripe_ctr()
|
/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep_vf/ |
D | octep_vf_mbox.c | 176 int data_len = 0, tmp_len = 0; in octep_vf_mbox_bulk_read() local 197 tmp_len = data_len; in octep_vf_mbox_bulk_read() 228 memcpy(data, mbox->mbox_data.recv_data, tmp_len); in octep_vf_mbox_bulk_read() 229 *size = tmp_len; in octep_vf_mbox_bulk_read()
|
/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl8712_recv.c | 973 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local 1016 tmp_len = pkt_len + drvinfo_sz + RXDESC_SIZE; in recvbuf2recvframe() 1017 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe() 1023 alloc_sz = max_t(u16, tmp_len, 1658); in recvbuf2recvframe() 1025 alloc_sz = tmp_len; in recvbuf2recvframe() 1037 memcpy(pkt_copy->data, pbuf, tmp_len); in recvbuf2recvframe() 1043 recvframe_put(precvframe, tmp_len); in recvbuf2recvframe()
|
D | rtl871x_cmd.c | 392 u32 tmp_len; in r8712_joinbss_cmd() local 394 tmp_len = r8712_restruct_wmm_ie(padapter, &pnetwork->network.IEs[0], in r8712_joinbss_cmd() 397 if (psecnetwork->IELength != tmp_len) { in r8712_joinbss_cmd() 398 psecnetwork->IELength = tmp_len; in r8712_joinbss_cmd()
|
/linux-6.12.1/drivers/net/ethernet/tehuti/ |
D | tn40.c | 288 int tmp_len, size, done = 0; in tn40_rx_receive() local 324 tmp_len = TN40_GET_RXD_BC(rxd_val1) << 3; in tn40_rx_receive() 326 size -= tmp_len; in tn40_rx_receive() 331 __func__, tmp_len); in tn40_rx_receive() 348 f->m.rptr += tmp_len; in tn40_rx_receive() 349 tmp_len = f->m.rptr - f->m.memsz; in tn40_rx_receive() 350 if (unlikely(tmp_len >= 0)) { in tn40_rx_receive() 351 f->m.rptr = tmp_len; in tn40_rx_receive() 352 if (tmp_len > 0) { in tn40_rx_receive() 358 f->m.rptr, tmp_len); in tn40_rx_receive() [all …]
|
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-6.12.1/drivers/platform/x86/hp/hp-bioscfg/ |
D | order-list-attributes.c | 142 int tmp_len = 0; in hp_populate_ordered_list_elements_from_package() local 260 ret = hp_convert_hexstr_to_str(str_value, value_len, &tmpstr, &tmp_len); in hp_populate_ordered_list_elements_from_package()
|
/linux-6.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_cmd.c | 687 u32 tmp_len; in rtw_joinbss_cmd() local 745 …tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork-… in rtw_joinbss_cmd() 747 if (psecnetwork->ie_length != tmp_len) { in rtw_joinbss_cmd() 748 psecnetwork->ie_length = tmp_len; in rtw_joinbss_cmd() 756 …ptmp = rtw_get_ie(&pnetwork->network.ies[12], WLAN_EID_HT_CAPABILITY, &tmp_len, pnetwork->network.… in rtw_joinbss_cmd() 757 if (pregistrypriv->ht_enable && ptmp && tmp_len > 0) { in rtw_joinbss_cmd()
|
D | rtw_ap.c | 63 uint offset, tmp_len, tim_ielen, tim_ie_offset, remainder_ielen; in update_BCNTIM() local 92 &tmp_len, in update_BCNTIM() 96 offset += tmp_len + 2; in update_BCNTIM() 100 WLAN_EID_SUPP_RATES, &tmp_len, in update_BCNTIM() 104 offset += tmp_len + 2; in update_BCNTIM()
|
/linux-6.12.1/sound/soc/codecs/aw88395/ |
D | aw88395_device.c | 1109 u32 tmp_len; in aw_dev_dsp_update_container() local 1118 tmp_len = len - i; in aw_dev_dsp_update_container() 1120 tmp_len = AW88395_MAX_RAM_WRITE_BYTE_SIZE; in aw_dev_dsp_update_container() 1123 &data[i], tmp_len); in aw_dev_dsp_update_container()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | debug.c | 233 int tmp_len; in rtw_debugfs_copy_from_user() local 240 tmp_len = (count > size - 1 ? size - 1 : count); in rtw_debugfs_copy_from_user() 242 if (copy_from_user(tmp, buffer, tmp_len)) in rtw_debugfs_copy_from_user() 245 tmp[tmp_len] = '\0'; in rtw_debugfs_copy_from_user()
|
/linux-6.12.1/sound/soc/codecs/ |
D | aw88399.c | 866 u32 tmp_len; in aw_dev_dsp_update_container() local 876 tmp_len = len - i; in aw_dev_dsp_update_container() 878 tmp_len = AW88399_MAX_RAM_WRITE_BYTE_SIZE; in aw_dev_dsp_update_container() 881 &data[i], tmp_len); in aw_dev_dsp_update_container()
|
/linux-6.12.1/drivers/net/ethernet/ibm/ |
D | ibmvnic.c | 2207 int tmp_len = len; in create_hdr_descs() local 2212 while (tmp_len > 0) { in create_hdr_descs() 2213 cur = hdr_data + len - tmp_len; in create_hdr_descs() 2218 tmp = tmp_len > 29 ? 29 : tmp_len; in create_hdr_descs() 2224 tmp = tmp_len > 24 ? 24 : tmp_len; in create_hdr_descs() 2234 tmp_len -= tmp; in create_hdr_descs()
|
/linux-6.12.1/drivers/nfc/pn533/ |
D | pn533.c | 2072 unsigned int skb_len = 0, tmp_len = 0; in pn533_build_response() local 2095 memcpy(skb->data + tmp_len, tmp->data, tmp->len); in pn533_build_response() 2096 tmp_len += tmp->len; in pn533_build_response()
|
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 4128 int tmp_len; in stmmac_tso_allocator() local 4130 tmp_len = total_len; in stmmac_tso_allocator() 4132 while (tmp_len > 0) { in stmmac_tso_allocator() 4144 curr_addr = des + (total_len - tmp_len); in stmmac_tso_allocator() 4150 buff_size = tmp_len >= TSO_MAX_BUFF_SIZE ? in stmmac_tso_allocator() 4151 TSO_MAX_BUFF_SIZE : tmp_len; in stmmac_tso_allocator() 4155 (last_segment) && (tmp_len <= TSO_MAX_BUFF_SIZE), in stmmac_tso_allocator() 4158 tmp_len -= TSO_MAX_BUFF_SIZE; in stmmac_tso_allocator()
|
/linux-6.12.1/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 1904 int i, ii, temp, tmp_len, len = 0; in hfcmulti_tx() local 2125 tmp_len = (*sp)->len; in hfcmulti_tx() 2129 len = tmp_len; in hfcmulti_tx() 2133 len = tmp_len; in hfcmulti_tx()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/bpf/ |
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()
|