Home
last modified time | relevance | path

Searched refs:tmp_addr (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/samples/bpf/
A Dtest_probe_write_user_user.c14 struct sockaddr serv_addr, mapped_addr, tmp_addr; in main() local
25 tmp_addr_in = (struct sockaddr_in *)&tmp_addr; in main()
89 sockaddr_len = sizeof(tmp_addr); in main()
91 assert((serverconnfd = accept(serverfd, &tmp_addr, &sockaddr_len)) > 0); in main()
95 sockaddr_len = sizeof(tmp_addr); in main()
96 assert(getpeername(clientfd, &tmp_addr, &sockaddr_len) == 0); in main()
102 assert(memcmp(&serv_addr, &tmp_addr, sizeof(struct sockaddr_in)) == 0); in main()
/linux-6.3-rc2/net/ceph/
A Ddecode.c100 struct ceph_entity_addr tmp_addr; in ceph_decode_entity_addrvec() local
118 ret = ceph_decode_entity_addr(p, end, &tmp_addr); in ceph_decode_entity_addrvec()
122 dout("%s i %d addr %s\n", __func__, i, ceph_pr_addr(&tmp_addr)); in ceph_decode_entity_addrvec()
123 if (tmp_addr.type == my_type) { in ceph_decode_entity_addrvec()
130 memcpy(addr, &tmp_addr, sizeof(*addr)); in ceph_decode_entity_addrvec()
141 if (addr_cnt == 1 && !memchr_inv(&tmp_addr, 0, sizeof(tmp_addr))) in ceph_decode_entity_addrvec()
/linux-6.3-rc2/arch/sparc/kernel/
A Dadi_64.c256 unsigned long tmp_addr; in alloc_tag_store() local
259 tmp_addr = end_addr - (size*2*adi_blksize()) + 1; in alloc_tag_store()
263 if (tmp_addr > addr) { in alloc_tag_store()
265 tmp_addr = end_addr - (size*2*adi_blksize()) - 1; in alloc_tag_store()
270 if (tmp_addr > addr) in alloc_tag_store()
271 tmp_addr = 0; in alloc_tag_store()
273 if (tmp_addr < hole_start) { in alloc_tag_store()
277 tmp_addr = hole_start + 1; in alloc_tag_store()
279 addr = tmp_addr; in alloc_tag_store()
/linux-6.3-rc2/drivers/of/
A Dkexec.c130 unsigned long tmp_addr; in ima_get_kexec_buffer() local
139 ret = do_get_kexec_buffer(prop, len, &tmp_addr, &tmp_size); in ima_get_kexec_buffer()
151 start_pfn = PHYS_PFN(tmp_addr); in ima_get_kexec_buffer()
152 end_pfn = PHYS_PFN(tmp_addr + tmp_size - 1); in ima_get_kexec_buffer()
155 tmp_addr, tmp_size); in ima_get_kexec_buffer()
159 *addr = __va(tmp_addr); in ima_get_kexec_buffer()
/linux-6.3-rc2/drivers/s390/net/
A Dqeth_l3_main.c122 struct qeth_ipaddr *tmp_addr) in qeth_l3_delete_ip() argument
127 if (tmp_addr->type == QETH_IP_TYPE_RXIP) in qeth_l3_delete_ip()
129 else if (tmp_addr->type == QETH_IP_TYPE_VIPA) in qeth_l3_delete_ip()
134 if (tmp_addr->proto == QETH_PROT_IPV4) in qeth_l3_delete_ip()
164 if (tmp_addr->type == QETH_IP_TYPE_RXIP) in qeth_l3_add_ip()
166 else if (tmp_addr->type == QETH_IP_TYPE_VIPA) in qeth_l3_add_ip()
171 if (tmp_addr->proto == QETH_PROT_IPV4) in qeth_l3_add_ip()
180 if (tmp_addr->type != QETH_IP_TYPE_NORMAL) in qeth_l3_add_ip()
182 if (qeth_l3_addr_match_all(addr, tmp_addr)) { in qeth_l3_add_ip()
186 qeth_l3_ipaddr_to_string(tmp_addr->proto, (u8 *)&tmp_addr->u, in qeth_l3_add_ip()
[all …]
/linux-6.3-rc2/Documentation/sparc/
A Dadi.rst187 char *shmaddr, *tmp_addr, *end, *veraddr, *clraddr;
234 tmp_addr = shmaddr;
236 while (tmp_addr < end) {
240 : "r" (tmp_addr), "r" (version));
241 tmp_addr += adi_blksz;
248 tmp_addr = (void *) ((unsigned long)shmaddr << adi_nbits);
249 tmp_addr = (void *) ((unsigned long)tmp_addr >> adi_nbits);
251 | (unsigned long)tmp_addr);
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Dumc_v8_10.c198 uint64_t tmp_addr; in umc_v8_10_swizzle_mode_na_to_pa() local
203 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx); in umc_v8_10_swizzle_mode_na_to_pa()
204 *soc_pa = SWIZZLE_MODE_ADDR_HI(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa()
206 SWIZZLE_MODE_ADDR_LOW(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_xdp_noinline.c431 __u32 tmp_addr = 0; in send_icmp_reply() local
447 tmp_addr = iph->daddr; in send_icmp_reply()
449 iph->saddr = tmp_addr; in send_icmp_reply()
464 __be32 tmp_addr[4]; in send_icmp6_reply() local
477 memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); in send_icmp6_reply()
479 memcpy(ip6h->daddr.in6_u.u6_addr32, tmp_addr, 16); in send_icmp6_reply()
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dfsl_qe_udc.c350 unsigned long tmp_addr = 0; in qe_ep_bd_init() local
365 if (IS_ERR_VALUE(tmp_addr)) in qe_ep_bd_init()
368 out_be16(&epparam->rbase, (u16)tmp_addr); in qe_ep_bd_init()
369 out_be16(&epparam->tbase, (u16)(tmp_addr + in qe_ep_bd_init()
375 ep->rxbase = cpm_muram_addr(tmp_addr); in qe_ep_bd_init()
2338 unsigned long tmp_addr = 0; in qe_udc_config() local
2359 tmp_addr = cpm_muram_alloc((USB_MAX_ENDPOINTS * in qe_udc_config()
2362 if (IS_ERR_VALUE(tmp_addr)) in qe_udc_config()
2366 out_be16(&usbpram->epptr[i], (u16)tmp_addr); in qe_udc_config()
2367 udc->ep_param[i] = cpm_muram_addr(tmp_addr); in qe_udc_config()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbna.h31 u64 tmp_addr = \
33 (_bna_dma_addr)->msb = ((struct bna_dma_addr *)&tmp_addr)->msb; \
34 (_bna_dma_addr)->lsb = ((struct bna_dma_addr *)&tmp_addr)->lsb; \
/linux-6.3-rc2/drivers/net/bonding/
A Dbond_alb.c1243 char tmp_addr[MAX_ADDR_LEN]; in alb_set_mac_address() local
1251 bond_hw_addr_copy(tmp_addr, slave->dev->dev_addr, in alb_set_mac_address()
1257 dev_addr_set(slave->dev, tmp_addr); in alb_set_mac_address()
1273 bond_hw_addr_copy(tmp_addr, rollback_slave->dev->dev_addr, in alb_set_mac_address()
1277 dev_addr_set(rollback_slave->dev, tmp_addr); in alb_set_mac_address()
1756 u8 tmp_addr[MAX_ADDR_LEN]; in bond_alb_handle_active_change() local
1758 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change()
1768 dev_addr_set(new_slave->dev, tmp_addr); in bond_alb_handle_active_change()
/linux-6.3-rc2/drivers/media/platform/verisilicon/
A Dhantro_g2_vp9_dec.c794 dma_addr_t stream_base, tmp_addr; in config_source() local
803 tmp_addr = stream_base + headres_size; in config_source()
805 hantro_write_addr(ctx->dev, G2_STREAM_ADDR, (tmp_addr & ~0xf)); in config_source()
809 start_bit = (tmp_addr & 0xf) * 8; in config_source()
817 tmp_addr &= ~0xf; in config_source()
818 hantro_reg_write(ctx->dev, &g2_strm_start_offset, tmp_addr - stream_base); in config_source()
/linux-6.3-rc2/net/mac80211/
A Diface.c1915 u8 tmp_addr[ETH_ALEN]; in ieee80211_assign_perm_addr() local
2011 tmp_addr[5] = addr >> 0*8; in ieee80211_assign_perm_addr()
2012 tmp_addr[4] = addr >> 1*8; in ieee80211_assign_perm_addr()
2013 tmp_addr[3] = addr >> 2*8; in ieee80211_assign_perm_addr()
2014 tmp_addr[2] = addr >> 3*8; in ieee80211_assign_perm_addr()
2015 tmp_addr[1] = addr >> 4*8; in ieee80211_assign_perm_addr()
2016 tmp_addr[0] = addr >> 5*8; in ieee80211_assign_perm_addr()
2021 if (ether_addr_equal(tmp_addr, sdata->vif.addr)) { in ieee80211_assign_perm_addr()
2028 memcpy(perm_addr, tmp_addr, ETH_ALEN); in ieee80211_assign_perm_addr()
/linux-6.3-rc2/mm/
A Dpercpu.c1345 static struct pcpu_chunk * __init pcpu_alloc_first_chunk(unsigned long tmp_addr, in pcpu_alloc_first_chunk() argument
1354 aligned_addr = tmp_addr & PAGE_MASK; in pcpu_alloc_first_chunk()
1356 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk()
2592 unsigned long tmp_addr; in pcpu_setup_first_chunk() local
2745 tmp_addr = (unsigned long)base_addr + static_size; in pcpu_setup_first_chunk()
2747 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
2753 tmp_addr = (unsigned long)base_addr + static_size + in pcpu_setup_first_chunk()
2756 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_minidump.c1172 void *tmp_addr; in __qlcnic_fw_cmd_get_minidump_temp() local
1177 tmp_addr = dma_alloc_coherent(&adapter->pdev->dev, temp_size, in __qlcnic_fw_cmd_get_minidump_temp()
1179 if (!tmp_addr) in __qlcnic_fw_cmd_get_minidump_temp()
1192 tmp_buf = tmp_addr; in __qlcnic_fw_cmd_get_minidump_temp()
1201 dma_free_coherent(&adapter->pdev->dev, temp_size, tmp_addr, tmp_addr_t); in __qlcnic_fw_cmd_get_minidump_temp()
/linux-6.3-rc2/drivers/edac/
A Damd64_edac.c1732 u64 cc6_base, tmp_addr; in get_error_address() local
1758 tmp_addr = (addr & GENMASK_ULL(23, 12)) << __fls(intlv_en + 1); in get_error_address()
1761 tmp_addr |= (tmp & GENMASK_ULL(23, 21)) >> 9; in get_error_address()
1764 tmp_addr |= addr & GENMASK_ULL(11, 0); in get_error_address()
1766 return cc6_base | tmp_addr; in get_error_address()
2398 u32 swap_reg, swap_base, swap_limit, rgn_size, tmp_addr; in f1x_swap_interleaved_region() local
2414 tmp_addr = sys_addr >> 27; in f1x_swap_interleaved_region()
2417 (((tmp_addr >= swap_base) && in f1x_swap_interleaved_region()
2418 (tmp_addr <= swap_limit)) || in f1x_swap_interleaved_region()
2419 (tmp_addr < rgn_size))) in f1x_swap_interleaved_region()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_ct.c1052 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get() local
1055 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
1057 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get() local
1060 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
/linux-6.3-rc2/fs/nfsd/
A Dnfs4proc.c1381 struct sockaddr_storage tmp_addr; in nfsd4_interssc_connect() local
1392 (struct sockaddr *)&tmp_addr, in nfsd4_interssc_connect()
1393 sizeof(tmp_addr)); in nfsd4_interssc_connect()
1398 if (tmp_addr.ss_family == AF_INET6) { in nfsd4_interssc_connect()
1415 rpc_ntop((struct sockaddr *)&tmp_addr, ipaddr, len); in nfsd4_interssc_connect()
/linux-6.3-rc2/drivers/net/ethernet/ibm/ehea/
A Dehea_main.c464 u64 tmp_addr; in ehea_refill_rq_def() local
480 tmp_addr = ehea_map_vaddr(skb->data); in ehea_refill_rq_def()
481 if (tmp_addr == -1) { in ehea_refill_rq_def()
492 rwqe->sg_list[0].vaddr = tmp_addr; in ehea_refill_rq_def()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dmac.c893 u8 tmp_addr[6]; in ath12k_mac_monitor_vdev_create() local
926 ret = ath12k_wmi_vdev_create(ar, tmp_addr, &arg); in ath12k_mac_monitor_vdev_create()
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dmac.c1039 u8 tmp_addr[6] = {0}; in ath11k_mac_monitor_vdev_create() local
1070 ret = ath11k_wmi_vdev_create(ar, tmp_addr, &param); in ath11k_mac_monitor_vdev_create()

Completed in 83 milliseconds