/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | connect_force_port6.c | 32 struct svc_addr *orig; in connect6() local 44 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6() 46 if (!orig) in connect6() 49 orig->addr[0] = ctx->user_ip6[0]; in connect6() 50 orig->addr[1] = ctx->user_ip6[1]; in connect6() 51 orig->addr[2] = ctx->user_ip6[2]; in connect6() 52 orig->addr[3] = ctx->user_ip6[3]; in connect6() 53 orig->port = ctx->user_port; in connect6() 84 struct svc_addr *orig; in getpeername6() local 91 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername6() [all …]
|
D | connect_force_port4.c | 33 struct svc_addr *orig; in connect4() local 45 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect4() 47 if (!orig) in connect4() 50 orig->addr = ctx->user_ip4; in connect4() 51 orig->port = ctx->user_port; in connect4() 76 struct svc_addr *orig; in getpeername4() local 83 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername4() 84 if (orig) { in getpeername4() 85 ctx->user_ip4 = orig->addr; in getpeername4() 86 ctx->user_port = orig->port; in getpeername4()
|
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-sysfs.c | 73 if (!info->orig || !info->target || in coresight_add_sysfs_link() 76 if (!info->orig->has_conns_grp || !info->target->has_conns_grp) in coresight_add_sysfs_link() 80 ret = sysfs_add_link_to_group(&info->orig->dev.kobj, in coresight_add_sysfs_link() 90 &info->orig->dev.kobj, in coresight_add_sysfs_link() 95 sysfs_remove_link_from_group(&info->orig->dev.kobj, in coresight_add_sysfs_link() 99 info->orig->nr_links++; in coresight_add_sysfs_link() 111 if (!info->orig || !info->target || in coresight_remove_sysfs_link() 115 sysfs_remove_link_from_group(&info->orig->dev.kobj, in coresight_remove_sysfs_link() 123 info->orig->nr_links--; in coresight_remove_sysfs_link() 143 int coresight_make_links(struct coresight_device *orig, in coresight_make_links() argument [all …]
|
/linux-6.1.9/lib/ |
D | test_bitmap.c | 731 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit_wrap() 735 bitmap_zero(orig, 500); in test_for_each_set_bit_wrap() 739 bitmap_set(orig, bit, 1); in test_for_each_set_bit_wrap() 742 bitmap_set(orig, 100, 50); in test_for_each_set_bit_wrap() 747 for_each_set_bit_wrap(bit, orig, 500, wr) in test_for_each_set_bit_wrap() 750 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap() 756 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit() 760 bitmap_zero(orig, 500); in test_for_each_set_bit() 765 bitmap_set(orig, bit, 1); in test_for_each_set_bit() 768 bitmap_set(orig, 100, 50); in test_for_each_set_bit() [all …]
|
/linux-6.1.9/net/batman-adv/ |
D | multicast.c | 1351 struct batadv_orig_node **orig, int *is_routable) in batadv_mcast_forw_mode() argument 1380 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode() 1382 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode() 1384 *orig = batadv_mcast_forw_unsnoop_node_get(bat_priv); in batadv_mcast_forw_mode() 1386 *orig = batadv_mcast_forw_rtr_node_get(bat_priv, in batadv_mcast_forw_mode() 1389 if (*orig) in batadv_mcast_forw_mode() 1425 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig() 1749 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument 1752 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update() 1755 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update() [all …]
|
D | bridge_loop_avoidance.c | 90 hash = jhash(&gw->orig, sizeof(gw->orig), hash); in batadv_choose_backbone_gw() 111 if (!batadv_compare_eth(gw1->orig, gw2->orig)) in batadv_compare_backbone_gw() 270 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find() 492 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, const u8 *orig, in batadv_bla_get_backbone_gw() argument 499 entry = batadv_backbone_hash_find(bat_priv, orig, vid); in batadv_bla_get_backbone_gw() 506 orig, batadv_print_vid(vid)); in batadv_bla_get_backbone_gw() 519 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw() 536 orig_node = batadv_orig_hash_find(bat_priv, orig); in batadv_bla_get_backbone_gw() 645 "Sending REQUEST to %pM\n", backbone_gw->orig); in batadv_bla_send_request() 648 batadv_bla_send_claim(backbone_gw->bat_priv, backbone_gw->orig, in batadv_bla_send_request() [all …]
|
/linux-6.1.9/arch/sparc/mm/ |
D | tlb.c | 113 pte_t *ptep, pte_t orig, int fullmm, in tlb_batch_add() argument 117 pte_dirty(orig)) { in tlb_batch_add() 118 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add() 141 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add() 167 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument 172 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct() 187 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct() 203 if (!pmd_none(orig)) { in __set_pmd_acct() 205 if (pmd_trans_huge(orig)) { in __set_pmd_acct() 206 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct() [all …]
|
/linux-6.1.9/drivers/mtd/nand/ |
D | ecc.c | 529 struct nand_page_io_req *orig, *tweak; in nand_ecc_tweak_req() local 535 orig = &ctx->orig_req; in nand_ecc_tweak_req() 539 if (orig->datalen < nanddev_page_size(nand)) { in nand_ecc_tweak_req() 547 if (orig->ooblen < nanddev_per_page_oobsize(nand)) { in nand_ecc_tweak_req() 556 if (orig->type == NAND_PAGE_WRITE) { in nand_ecc_tweak_req() 558 memcpy((void *)tweak->databuf.out + orig->dataoffs, in nand_ecc_tweak_req() 559 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req() 562 memcpy((void *)tweak->oobbuf.out + orig->ooboffs, in nand_ecc_tweak_req() 563 orig->oobbuf.out, orig->ooblen); in nand_ecc_tweak_req() 571 struct nand_page_io_req *orig, *tweak; in nand_ecc_restore_req() local [all …]
|
/linux-6.1.9/drivers/md/ |
D | dm-rq.c | 20 struct request *orig, *clone; member 82 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() 118 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 126 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats() argument 129 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats() 131 dm_stats_account_io(&md->stats, rq_data_dir(orig), in rq_end_stats() 132 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats() 159 struct request *rq = tio->orig; in dm_end_request() 189 struct request *rq = tio->orig; in dm_requeue_original_request() 300 dm_complete_request(tio->orig, error); in end_clone_request() [all …]
|
D | dm-io-rewind.c | 147 struct bio *orig = io->orig_bio; in dm_io_rewind() local 148 struct bio *new_orig = bio_alloc_clone(orig->bi_bdev, orig, in dm_io_rewind() 156 orig->bi_iter.bi_size)); in dm_io_rewind() 159 bio_chain(new_orig, orig); in dm_io_rewind() 164 atomic_dec(&orig->__bi_remaining); in dm_io_rewind()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | hci.h | 194 u32 orig; in rtw_read32_mask() local 197 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask() 198 ret = (orig & mask) >> shift; in rtw_read32_mask() 207 u32 orig; in rtw_read16_mask() local 210 orig = rtw_read16(rtwdev, addr); in rtw_read16_mask() 211 ret = (orig & mask) >> shift; in rtw_read16_mask() 220 u32 orig; in rtw_read8_mask() local 223 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask() 224 ret = (orig & mask) >> shift; in rtw_read8_mask() 233 u32 orig; in rtw_write32_mask() local [all …]
|
/linux-6.1.9/net/netfilter/ |
D | xt_DSCP.c | 76 u_int8_t orig, nv; in tos_tg() local 78 orig = ipv4_get_dsfield(iph); in tos_tg() 79 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg() 81 if (orig != nv) { in tos_tg() 96 u_int8_t orig, nv; in tos_tg6() local 98 orig = ipv6_get_dsfield(iph); in tos_tg6() 99 nv = (orig & ~info->tos_mask) ^ info->tos_value; in tos_tg6() 101 if (orig != nv) { in tos_tg6()
|
/linux-6.1.9/arch/mips/generic/ |
D | board-sead3.c | 184 unsigned int freq, orig, tick = 0; in sead3_measure_hpt_freq() local 189 orig = readl(status_reg) & 0x2; /* get original sample */ in sead3_measure_hpt_freq() 191 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq() 193 orig = orig ^ 0x2; /* flip the bit */ in sead3_measure_hpt_freq() 200 while ((readl(status_reg) & 0x2) == orig) in sead3_measure_hpt_freq() 202 orig = orig ^ 0x2; /* flip the bit */ in sead3_measure_hpt_freq()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | si.c | 2452 u32 data, orig; in si_program_aspm() local 2461 orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL); in si_program_aspm() 2464 if (orig != data) in si_program_aspm() 2467 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3); in si_program_aspm() 2469 if (orig != data) in si_program_aspm() 2472 orig = data = RREG32_PCIE(PCIE_P_CNTL); in si_program_aspm() 2474 if (orig != data) in si_program_aspm() 2477 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); in si_program_aspm() 2486 if (orig != data) in si_program_aspm() 2492 orig = data = si_pif_phy0_rreg(adev,PB0_PIF_PWRDOWN_0); in si_program_aspm() [all …]
|
D | cik.c | 1718 u32 data, orig; in cik_program_aspm() local 1732 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in cik_program_aspm() 1736 if (orig != data) in cik_program_aspm() 1739 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in cik_program_aspm() 1741 if (orig != data) in cik_program_aspm() 1744 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in cik_program_aspm() 1746 if (orig != data) in cik_program_aspm() 1749 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in cik_program_aspm() 1759 if (orig != data) in cik_program_aspm() 1765 orig = data = RREG32_PCIE(ixPB0_PIF_PWRDOWN_0); in cik_program_aspm() [all …]
|
D | vi.c | 1128 u32 data, orig; in vi_enable_aspm() local 1130 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in vi_enable_aspm() 1137 if (orig != data) in vi_enable_aspm() 1154 u32 data, data1, orig; in vi_program_aspm() local 1165 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in vi_program_aspm() 1169 if (orig != data) in vi_program_aspm() 1172 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in vi_program_aspm() 1176 if (orig != data) in vi_program_aspm() 1179 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in vi_program_aspm() 1181 if (orig != data) in vi_program_aspm() [all …]
|
/linux-6.1.9/tools/lib/perf/ |
D | cpumap.c | 350 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, in perf_cpu_map__merge() argument 358 if (perf_cpu_map__is_subset(orig, other)) in perf_cpu_map__merge() 359 return orig; in perf_cpu_map__merge() 360 if (perf_cpu_map__is_subset(other, orig)) { in perf_cpu_map__merge() 361 perf_cpu_map__put(orig); in perf_cpu_map__merge() 365 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge() 372 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge() 373 if (orig->map[i].cpu <= other->map[j].cpu) { in perf_cpu_map__merge() 374 if (orig->map[i].cpu == other->map[j].cpu) in perf_cpu_map__merge() 376 tmp_cpus[k++] = orig->map[i++]; in perf_cpu_map__merge() [all …]
|
/linux-6.1.9/arch/arm/probes/kprobes/ |
D | opt-arm.c | 184 int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *orig) in NOKPROBE_SYMBOL() 191 if (!can_optimize(orig)) in NOKPROBE_SYMBOL() 224 (long)orig->addr + 8) & 0xfe000003; in NOKPROBE_SYMBOL() 241 BUG_ON(orig->ainsn.stack_space < 0); in NOKPROBE_SYMBOL() 243 stack_protect += orig->ainsn.stack_space; in NOKPROBE_SYMBOL() 262 orig->ainsn.kprobe_direct_exec = false; in NOKPROBE_SYMBOL() 263 if (can_kprobe_direct_exec(orig->ainsn.register_usage_flags)) { in NOKPROBE_SYMBOL() 275 code[TMPL_RESTORE_ORIGN_INSN] = __opcode_to_mem_arm(orig->opcode); in NOKPROBE_SYMBOL() 279 orig->ainsn.kprobe_direct_exec = true; in NOKPROBE_SYMBOL()
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_clockmatrix.h | 26 #define SET_U16_LSB(orig, val8) (orig = (0xff00 & (orig)) | (val8)) argument 27 #define SET_U16_MSB(orig, val8) (orig = (0x00ff & (orig)) | (val8 << 8)) argument
|
/linux-6.1.9/drivers/scsi/sym53c8xx_2/ |
D | sym_misc.h | 91 static inline void sym_que_move(struct sym_quehead *orig, in sym_que_move() argument 96 first = orig->flink; in sym_que_move() 97 if (first != orig) { in sym_que_move() 100 last = orig->blink; in sym_que_move() 103 orig->flink = orig; in sym_que_move() 104 orig->blink = orig; in sym_que_move()
|
/linux-6.1.9/arch/mips/include/asm/ |
D | bitops.h | 183 unsigned long res, orig; in test_and_set_bit_lock() local 188 orig = __test_bit_op(*m, "%0", in test_and_set_bit_lock() 191 res = (orig & BIT(bit)) != 0; in test_and_set_bit_lock() 227 unsigned long res, orig; in test_and_clear_bit() local 239 orig = __test_bit_op(*m, "%0", in test_and_clear_bit() 243 res = (orig & BIT(bit)) != 0; in test_and_clear_bit() 264 unsigned long res, orig; in test_and_change_bit() local 271 orig = __test_bit_op(*m, "%0", in test_and_change_bit() 274 res = (orig & BIT(bit)) != 0; in test_and_change_bit()
|
/linux-6.1.9/arch/x86/kernel/ |
D | resource.c | 33 struct resource orig = *avail; in remove_e820_regions() local 44 if (orig.start != avail->start || orig.end != avail->end) { in remove_e820_regions() 46 &orig, avail, e820_start, e820_end); in remove_e820_regions() 47 orig = *avail; in remove_e820_regions()
|
/linux-6.1.9/include/uapi/linux/ |
D | batadv_packet.h | 214 __u8 orig[ETH_ALEN]; member 240 __u8 orig[ETH_ALEN]; member 258 __u8 orig[ETH_ALEN]; member 286 __u8 orig[ETH_ALEN]; member 309 __u8 orig[ETH_ALEN]; member 338 __u8 orig[ETH_ALEN]; member 377 __u8 orig[ETH_ALEN]; member 462 __u8 orig[ETH_ALEN]; member 482 __u8 orig[ETH_ALEN]; member
|
/linux-6.1.9/arch/x86/include/asm/ |
D | pgtable-3level.h | 176 union split_pmd res, *orig = (union split_pmd *)pmdp; in native_pmdp_get_and_clear() local 179 res.pmd_low = xchg(&orig->pmd_low, 0); in native_pmdp_get_and_clear() 180 res.pmd_high = orig->pmd_high; in native_pmdp_get_and_clear() 181 orig->pmd_high = 0; in native_pmdp_get_and_clear() 234 union split_pud res, *orig = (union split_pud *)pudp; in native_pudp_get_and_clear() local 241 res.pud_low = xchg(&orig->pud_low, 0); in native_pudp_get_and_clear() 242 res.pud_high = orig->pud_high; in native_pudp_get_and_clear() 243 orig->pud_high = 0; in native_pudp_get_and_clear()
|
/linux-6.1.9/fs/erofs/ |
D | zdata.h | 153 int orig; in z_erofs_page_mark_eio() local 156 orig = atomic_read((atomic_t *)&page->private); in z_erofs_page_mark_eio() 157 } while (atomic_cmpxchg((atomic_t *)&page->private, orig, in z_erofs_page_mark_eio() 158 orig | Z_EROFS_PAGE_EIO) != orig); in z_erofs_page_mark_eio()
|