/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/s390/net/ |
D | qeth_l3_main.c | 121 struct qeth_ipaddr *tmp_addr) in qeth_l3_delete_ip() argument 126 if (tmp_addr->type == QETH_IP_TYPE_RXIP) in qeth_l3_delete_ip() 128 else if (tmp_addr->type == QETH_IP_TYPE_VIPA) in qeth_l3_delete_ip() 133 if (tmp_addr->proto == QETH_PROT_IPV4) in qeth_l3_delete_ip() 134 QETH_CARD_HEX(card, 4, &tmp_addr->u.a4.addr, 4); in qeth_l3_delete_ip() 136 QETH_CARD_HEX(card, 4, &tmp_addr->u.a6.addr, 8); in qeth_l3_delete_ip() 137 QETH_CARD_HEX(card, 4, ((char *)&tmp_addr->u.a6.addr) + 8, 8); in qeth_l3_delete_ip() 140 addr = qeth_l3_find_addr_by_ip(card, tmp_addr); in qeth_l3_delete_ip() 141 if (!addr || !qeth_l3_addr_match_all(addr, tmp_addr)) in qeth_l3_delete_ip() 157 static int qeth_l3_add_ip(struct qeth_card *card, struct qeth_ipaddr *tmp_addr) in qeth_l3_add_ip() argument [all …]
|
/linux-6.1.9/Documentation/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.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | umc_v8_10.c | 188 uint64_t tmp_addr; in umc_v8_10_swizzle_mode_na_to_pa() local 193 tmp_addr = SWIZZLE_MODE_TMP_ADDR(na, channel_num, channel_idx); in umc_v8_10_swizzle_mode_na_to_pa() 194 *soc_pa = SWIZZLE_MODE_ADDR_HI(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa() 196 SWIZZLE_MODE_ADDR_LOW(tmp_addr, col_bit) | in umc_v8_10_swizzle_mode_na_to_pa()
|
/linux-6.1.9/drivers/gpu/drm/via/ |
D | via_dri1.c | 742 register uint32_t tmp, *tmp_addr; in investigate_hazard() local 820 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard() 821 *tmp_addr = (*tmp_addr & 0xFF000000) | (cmd & 0x00FFFFFF); in investigate_hazard() 827 tmp_addr = &cur_seq->t_addr[cur_seq->texture][tmp]; in investigate_hazard() 828 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF) << 24); in investigate_hazard() 829 tmp_addr++; in investigate_hazard() 830 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF00) << 16); in investigate_hazard() 831 tmp_addr++; in investigate_hazard() 832 *tmp_addr = (*tmp_addr & 0x00FFFFFF) | ((cmd & 0xFF0000) << 8); in investigate_hazard() 860 tmp_addr = &cur_seq->t_addr[cur_seq->texture][9]; in investigate_hazard() [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_xdp_noinline.c | 431 __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.1.9/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() 2339 unsigned long tmp_addr = 0; in qe_udc_config() local 2360 tmp_addr = cpm_muram_alloc((USB_MAX_ENDPOINTS * in qe_udc_config() 2363 if (IS_ERR_VALUE(tmp_addr)) in qe_udc_config() [all …]
|
/linux-6.1.9/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.1.9/drivers/net/bonding/ |
D | bond_alb.c | 1243 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.1.9/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.1.9/net/mac80211/ |
D | iface.c | 1965 u8 tmp_addr[ETH_ALEN]; in ieee80211_assign_perm_addr() local 2061 tmp_addr[5] = addr >> 0*8; in ieee80211_assign_perm_addr() 2062 tmp_addr[4] = addr >> 1*8; in ieee80211_assign_perm_addr() 2063 tmp_addr[3] = addr >> 2*8; in ieee80211_assign_perm_addr() 2064 tmp_addr[2] = addr >> 3*8; in ieee80211_assign_perm_addr() 2065 tmp_addr[1] = addr >> 4*8; in ieee80211_assign_perm_addr() 2066 tmp_addr[0] = addr >> 5*8; in ieee80211_assign_perm_addr() 2071 if (ether_addr_equal(tmp_addr, sdata->vif.addr)) { in ieee80211_assign_perm_addr() 2078 memcpy(perm_addr, tmp_addr, ETH_ALEN); in ieee80211_assign_perm_addr()
|
/linux-6.1.9/mm/ |
D | percpu.c | 1341 static struct pcpu_chunk * __init pcpu_alloc_first_chunk(unsigned long tmp_addr, in pcpu_alloc_first_chunk() argument 1350 aligned_addr = tmp_addr & PAGE_MASK; in pcpu_alloc_first_chunk() 1352 start_offset = tmp_addr - aligned_addr; in pcpu_alloc_first_chunk() 2600 unsigned long tmp_addr; in pcpu_setup_first_chunk() local 2753 tmp_addr = (unsigned long)base_addr + static_size; in pcpu_setup_first_chunk() 2755 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk() 2761 tmp_addr = (unsigned long)base_addr + static_size + in pcpu_setup_first_chunk() 2764 chunk = pcpu_alloc_first_chunk(tmp_addr, map_size); in pcpu_setup_first_chunk()
|
/linux-6.1.9/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.1.9/drivers/edac/ |
D | amd64_edac.c | 1779 u64 cc6_base, tmp_addr; in get_error_address() local 1805 tmp_addr = (addr & GENMASK_ULL(23, 12)) << __fls(intlv_en + 1); in get_error_address() 1808 tmp_addr |= (tmp & GENMASK_ULL(23, 21)) >> 9; in get_error_address() 1811 tmp_addr |= addr & GENMASK_ULL(11, 0); in get_error_address() 1813 return cc6_base | tmp_addr; in get_error_address() 2508 u32 swap_reg, swap_base, swap_limit, rgn_size, tmp_addr; in f1x_swap_interleaved_region() local 2524 tmp_addr = sys_addr >> 27; in f1x_swap_interleaved_region() 2527 (((tmp_addr >= swap_base) && in f1x_swap_interleaved_region() 2528 (tmp_addr <= swap_limit)) || in f1x_swap_interleaved_region() 2529 (tmp_addr < rgn_size))) in f1x_swap_interleaved_region()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 986 __be32 tmp_addr = rev_tuple.ip.src_v4; in mlx5_tc_ct_shared_counter_get() local 989 rev_tuple.ip.dst_v4 = tmp_addr; in mlx5_tc_ct_shared_counter_get() 991 struct in6_addr tmp_addr = rev_tuple.ip.src_v6; in mlx5_tc_ct_shared_counter_get() local 994 rev_tuple.ip.dst_v6 = tmp_addr; in mlx5_tc_ct_shared_counter_get()
|
/linux-6.1.9/fs/nfsd/ |
D | nfs4proc.c | 1391 struct sockaddr_storage tmp_addr; in nfsd4_interssc_connect() local 1403 (struct sockaddr *)&tmp_addr, in nfsd4_interssc_connect() 1404 sizeof(tmp_addr)); in nfsd4_interssc_connect() 1408 if (tmp_addr.ss_family == AF_INET6) { in nfsd4_interssc_connect() 1425 rpc_ntop((struct sockaddr *)&tmp_addr, ipaddr, len); in nfsd4_interssc_connect()
|
/linux-6.1.9/drivers/net/ethernet/ibm/ehea/ |
D | ehea_main.c | 464 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.1.9/drivers/net/wireless/ath/ath11k/ |
D | mac.c | 1035 u8 tmp_addr[6] = {0}; in ath11k_mac_monitor_vdev_create() local 1066 ret = ath11k_wmi_vdev_create(ar, tmp_addr, ¶m); in ath11k_mac_monitor_vdev_create()
|