/linux-6.6.21/samples/bpf/ |
D | test_probe_write_user_user.c | 14 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.6.21/net/ceph/ |
D | decode.c | 100 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.6.21/arch/sparc/kernel/ |
D | adi_64.c | 256 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.6.21/drivers/of/ |
D | kexec.c | 130 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.6.21/drivers/s390/net/ |
D | qeth_l3_main.c | 122 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() 135 QETH_CARD_HEX(card, 4, &tmp_addr->u.a4.addr, 4); in qeth_l3_delete_ip() 137 QETH_CARD_HEX(card, 4, &tmp_addr->u.a6.addr, 8); in qeth_l3_delete_ip() 138 QETH_CARD_HEX(card, 4, ((char *)&tmp_addr->u.a6.addr) + 8, 8); in qeth_l3_delete_ip() 141 addr = qeth_l3_find_addr_by_ip(card, tmp_addr); in qeth_l3_delete_ip() 142 if (!addr || !qeth_l3_addr_match_all(addr, tmp_addr)) in qeth_l3_delete_ip() 158 static int qeth_l3_add_ip(struct qeth_card *card, struct qeth_ipaddr *tmp_addr) in qeth_l3_add_ip() argument [all …]
|
/linux-6.6.21/Documentation/arch/sparc/ |
D | adi.rst | 187 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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | umc_v8_10.c | 191 uint64_t tmp_addr; in umc_v8_10_swizzle_mode_na_to_pa() local 196 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx); in umc_v8_10_swizzle_mode_na_to_pa() 197 *soc_pa = SWIZZLE_MODE_ADDR_HI(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa() 199 SWIZZLE_MODE_ADDR_LOW(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa()
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 392 __u32 tmp_addr = 0; in send_icmp_reply() local 407 tmp_addr = iph->daddr; in send_icmp_reply() 409 iph->saddr = tmp_addr; in send_icmp_reply() 424 __be32 tmp_addr[4]; in send_icmp6_reply() local 437 memcpy(tmp_addr, ip6h->saddr.in6_u.u6_addr32, 16); in send_icmp6_reply() 439 memcpy(ip6h->daddr.in6_u.u6_addr32, tmp_addr, 16); in send_icmp6_reply()
|
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 350 unsigned long tmp_addr = 0; in qe_ep_bd_init() local 363 tmp_addr = cpm_muram_alloc(sizeof(struct qe_bd) * (bdring_len + in qe_ep_bd_init() 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() 376 ep->txbase = cpm_muram_addr(tmp_addr + (sizeof(struct qe_bd) in qe_ep_bd_init() 2340 unsigned long tmp_addr = 0; in qe_udc_config() local 2361 tmp_addr = cpm_muram_alloc((USB_MAX_ENDPOINTS * in qe_udc_config() 2364 if (IS_ERR_VALUE(tmp_addr)) in qe_udc_config() [all …]
|
/linux-6.6.21/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 31 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.6.21/drivers/net/bonding/ |
D | bond_alb.c | 1244 char tmp_addr[MAX_ADDR_LEN]; in alb_set_mac_address() local 1252 bond_hw_addr_copy(tmp_addr, slave->dev->dev_addr, in alb_set_mac_address() 1258 dev_addr_set(slave->dev, tmp_addr); in alb_set_mac_address() 1274 bond_hw_addr_copy(tmp_addr, rollback_slave->dev->dev_addr, in alb_set_mac_address() 1278 dev_addr_set(rollback_slave->dev, tmp_addr); in alb_set_mac_address() 1757 u8 tmp_addr[MAX_ADDR_LEN]; in bond_alb_handle_active_change() local 1759 bond_hw_addr_copy(tmp_addr, new_slave->dev->dev_addr, in bond_alb_handle_active_change() 1769 dev_addr_set(new_slave->dev, tmp_addr); in bond_alb_handle_active_change()
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | hantro_g2_vp9_dec.c | 794 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.6.21/net/mac80211/ |
D | iface.c | 1936 u8 tmp_addr[ETH_ALEN]; in ieee80211_assign_perm_addr() local 2032 tmp_addr[5] = addr >> 0*8; in ieee80211_assign_perm_addr() 2033 tmp_addr[4] = addr >> 1*8; in ieee80211_assign_perm_addr() 2034 tmp_addr[3] = addr >> 2*8; in ieee80211_assign_perm_addr() 2035 tmp_addr[2] = addr >> 3*8; in ieee80211_assign_perm_addr() 2036 tmp_addr[1] = addr >> 4*8; in ieee80211_assign_perm_addr() 2037 tmp_addr[0] = addr >> 5*8; in ieee80211_assign_perm_addr() 2042 if (ether_addr_equal(tmp_addr, sdata->vif.addr)) { in ieee80211_assign_perm_addr() 2049 memcpy(perm_addr, tmp_addr, ETH_ALEN); in ieee80211_assign_perm_addr()
|
/linux-6.6.21/mm/ |
D | percpu.c | 1345 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 2747 tmp_addr = (unsigned long)base_addr + static_size; in pcpu_setup_first_chunk() 2749 pcpu_reserved_chunk = pcpu_alloc_first_chunk(tmp_addr, in pcpu_setup_first_chunk() 2751 tmp_addr = (unsigned long)base_addr + static_size + ai->reserved_size; in pcpu_setup_first_chunk() 2752 pcpu_first_chunk = pcpu_alloc_first_chunk(tmp_addr, dyn_size); in pcpu_setup_first_chunk()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_minidump.c | 1172 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.6.21/drivers/edac/ |
D | amd64_edac.c | 1933 u64 cc6_base, tmp_addr; in get_error_address() local 1959 tmp_addr = (addr & GENMASK_ULL(23, 12)) << __fls(intlv_en + 1); in get_error_address() 1962 tmp_addr |= (tmp & GENMASK_ULL(23, 21)) >> 9; in get_error_address() 1965 tmp_addr |= addr & GENMASK_ULL(11, 0); in get_error_address() 1967 return cc6_base | tmp_addr; in get_error_address() 2521 u32 swap_reg, swap_base, swap_limit, rgn_size, tmp_addr; in f1x_swap_interleaved_region() local 2537 tmp_addr = sys_addr >> 27; in f1x_swap_interleaved_region() 2540 (((tmp_addr >= swap_base) && in f1x_swap_interleaved_region() 2541 (tmp_addr <= swap_limit)) || in f1x_swap_interleaved_region() 2542 (tmp_addr < rgn_size))) in f1x_swap_interleaved_region()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 1041 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get() local 1044 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get() 1046 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get() local 1049 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
|
/linux-6.6.21/fs/nfsd/ |
D | nfs4proc.c | 1414 struct sockaddr_storage tmp_addr; in nfsd4_interssc_connect() local 1425 (struct sockaddr *)&tmp_addr, in nfsd4_interssc_connect() 1426 sizeof(tmp_addr)); in nfsd4_interssc_connect() 1431 if (tmp_addr.ss_family == AF_INET6) { in nfsd4_interssc_connect() 1448 rpc_ntop((struct sockaddr *)&tmp_addr, ipaddr, len); in nfsd4_interssc_connect()
|
/linux-6.6.21/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 465 u64 tmp_addr; in ehea_refill_rq_def() local 481 tmp_addr = ehea_map_vaddr(skb->data); in ehea_refill_rq_def() 482 if (tmp_addr == -1) { in ehea_refill_rq_def() 493 rwqe->sg_list[0].vaddr = tmp_addr; in ehea_refill_rq_def()
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | mac.c | 918 u8 tmp_addr[6]; in ath12k_mac_monitor_vdev_create() local 951 ret = ath12k_wmi_vdev_create(ar, tmp_addr, &arg); in ath12k_mac_monitor_vdev_create()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | mac.c | 1042 u8 tmp_addr[6] = {0}; in ath11k_mac_monitor_vdev_create() local 1073 ret = ath11k_wmi_vdev_create(ar, tmp_addr, ¶m); in ath11k_mac_monitor_vdev_create()
|