/linux-6.6.21/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.6.21/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.6.21/lib/ |
D | test_bitmap.c | 743 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit_wrap() 747 bitmap_zero(orig, 500); in test_for_each_set_bit_wrap() 751 bitmap_set(orig, bit, 1); in test_for_each_set_bit_wrap() 754 bitmap_set(orig, 100, 50); in test_for_each_set_bit_wrap() 759 for_each_set_bit_wrap(bit, orig, 500, wr) in test_for_each_set_bit_wrap() 762 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap() 768 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit() 772 bitmap_zero(orig, 500); in test_for_each_set_bit() 777 bitmap_set(orig, bit, 1); in test_for_each_set_bit() 780 bitmap_set(orig, 100, 50); in test_for_each_set_bit() [all …]
|
D | fortify_kunit.c | 148 void *orig; \ 187 orig = kmalloc(alloc_size, gfp); \ 188 KUNIT_EXPECT_TRUE(test, orig != NULL); \ 190 krealloc(orig, (alloc_size) * 2, gfp), \ 192 orig = kmalloc(alloc_size, gfp); \ 193 KUNIT_EXPECT_TRUE(test, orig != NULL); \ 195 krealloc_array(orig, 1, (alloc_size) * 2, gfp), \ 197 orig = kmalloc(alloc_size, gfp); \ 198 KUNIT_EXPECT_TRUE(test, orig != NULL); \ 200 krealloc_array(orig, (alloc_size) * 2, 1, gfp), \ [all …]
|
/linux-6.6.21/tools/lib/perf/ |
D | cpumap.c | 404 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, in perf_cpu_map__merge() argument 412 if (perf_cpu_map__is_subset(orig, other)) in perf_cpu_map__merge() 413 return orig; in perf_cpu_map__merge() 414 if (perf_cpu_map__is_subset(other, orig)) { in perf_cpu_map__merge() 415 perf_cpu_map__put(orig); in perf_cpu_map__merge() 419 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other); in perf_cpu_map__merge() 426 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) { in perf_cpu_map__merge() 427 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) { in perf_cpu_map__merge() 428 if (__perf_cpu_map__cpu(orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu) in perf_cpu_map__merge() 430 tmp_cpus[k++] = __perf_cpu_map__cpu(orig, i++); in perf_cpu_map__merge() [all …]
|
/linux-6.6.21/net/batman-adv/ |
D | multicast.c | 1204 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig() 1528 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument 1531 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update() 1534 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update() 1538 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update() 1549 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update() 1573 struct batadv_orig_node *orig, in batadv_mcast_want_ipv4_update() argument 1576 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; in batadv_mcast_want_ipv4_update() 1579 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_ipv4_update() 1583 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_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.6.21/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() 143 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add() 171 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument 176 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct() 191 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct() 207 if (!pmd_none(orig)) { in __set_pmd_acct() 209 if (pmd_trans_huge(orig)) { in __set_pmd_acct() 210 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct() [all …]
|
/linux-6.6.21/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.6.21/tools/lib/perf/include/internal/ |
D | rc_check.h | 63 struct original_##struct_name *orig; \ 77 result ? (result->orig = object, result) \ 83 #define RC_CHK_ACCESS(object) object->orig 88 zfree(&object->orig); \ 93 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, (object ? object->orig : NULL)) 99 object->orig = NULL; \
|
/linux-6.6.21/drivers/md/ |
D | dm-rq.c | 21 struct request *orig, *clone; member 83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio() 119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio() 127 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats() argument 130 struct dm_rq_target_io *tio = tio_from_request(orig); in rq_end_stats() 133 dm_stats_account_io(&md->stats, rq_data_dir(orig), in rq_end_stats() 134 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats() 161 struct request *rq = tio->orig; in dm_end_request() 191 struct request *rq = tio->orig; in dm_requeue_original_request() 302 dm_complete_request(tio->orig, error); in end_clone_request() [all …]
|
D | dm-io-rewind.c | 145 struct bio *orig = io->orig_bio; in dm_io_rewind() local 146 struct bio *new_orig = bio_alloc_clone(orig->bi_bdev, orig, in dm_io_rewind() 154 orig->bi_iter.bi_size)); in dm_io_rewind() 157 bio_chain(new_orig, orig); in dm_io_rewind() 162 atomic_dec(&orig->__bi_remaining); in dm_io_rewind()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/ |
D | hci.h | 191 u32 orig; in rtw_read32_mask() local 194 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask() 195 ret = (orig & mask) >> shift; in rtw_read32_mask() 204 u32 orig; in rtw_read16_mask() local 207 orig = rtw_read16(rtwdev, addr); in rtw_read16_mask() 208 ret = (orig & mask) >> shift; in rtw_read16_mask() 217 u32 orig; in rtw_read8_mask() local 220 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask() 221 ret = (orig & mask) >> shift; in rtw_read8_mask() 230 u32 orig; in rtw_write32_mask() local [all …]
|
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | si.c | 2436 u32 data, orig; in si_program_aspm() local 2445 orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL); in si_program_aspm() 2448 if (orig != data) in si_program_aspm() 2451 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3); in si_program_aspm() 2453 if (orig != data) in si_program_aspm() 2456 orig = data = RREG32_PCIE(PCIE_P_CNTL); in si_program_aspm() 2458 if (orig != data) in si_program_aspm() 2461 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); in si_program_aspm() 2470 if (orig != data) in si_program_aspm() 2476 orig = data = si_pif_phy0_rreg(adev,PB0_PIF_PWRDOWN_0); in si_program_aspm() [all …]
|
D | cik.c | 1702 u32 data, orig; in cik_program_aspm() local 1716 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in cik_program_aspm() 1720 if (orig != data) in cik_program_aspm() 1723 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in cik_program_aspm() 1725 if (orig != data) in cik_program_aspm() 1728 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in cik_program_aspm() 1730 if (orig != data) in cik_program_aspm() 1733 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in cik_program_aspm() 1743 if (orig != data) in cik_program_aspm() 1749 orig = data = RREG32_PCIE(ixPB0_PIF_PWRDOWN_0); in cik_program_aspm() [all …]
|
/linux-6.6.21/fs/netfs/ |
D | iterator.c | 36 ssize_t netfs_extract_user_iter(struct iov_iter *orig, size_t orig_len, in netfs_extract_user_iter() argument 50 if (WARN_ON_ONCE(!iter_is_ubuf(orig) && !iter_is_iovec(orig))) in netfs_extract_user_iter() 53 max_pages = iov_iter_npages(orig, INT_MAX); in netfs_extract_user_iter() 67 ret = iov_iter_extract_pages(orig, &pages, count, in netfs_extract_user_iter() 100 iov_iter_bvec(new, orig->data_source, bv, npages, orig_len - count); in netfs_extract_user_iter()
|
/linux-6.6.21/arch/arm/probes/kprobes/ |
D | opt-arm.c | 182 int arch_prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *orig) in NOKPROBE_SYMBOL() 189 if (!can_optimize(orig)) in NOKPROBE_SYMBOL() 222 (long)orig->addr + 8) & 0xfe000003; in NOKPROBE_SYMBOL() 239 BUG_ON(orig->ainsn.stack_space < 0); in NOKPROBE_SYMBOL() 241 stack_protect += orig->ainsn.stack_space; in NOKPROBE_SYMBOL() 260 orig->ainsn.kprobe_direct_exec = false; in NOKPROBE_SYMBOL() 261 if (can_kprobe_direct_exec(orig->ainsn.register_usage_flags)) { in NOKPROBE_SYMBOL() 273 code[TMPL_RESTORE_ORIGN_INSN] = __opcode_to_mem_arm(orig->opcode); in NOKPROBE_SYMBOL() 277 orig->ainsn.kprobe_direct_exec = true; in NOKPROBE_SYMBOL()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/scripts/ |
D | Makefile.package | 113 debian-orig-suffix := \ 123 PHONY += debian-orig 124 debian-orig: private source = $(shell dpkg-parsechangelog -S Source) 125 debian-orig: private version = $(shell dpkg-parsechangelog -S Version | sed 's/-[^-]*$$//') 126 debian-orig: private orig-name = $(source)_$(version).orig.tar$(debian-orig-suffix) 127 debian-orig: mkdebian-opts = --need-source 128 debian-orig: linux.tar$(debian-orig-suffix) debian 130 ln -f $< ../$(orig-name); \ 132 cp $< ../$(orig-name); \ 143 deb-pkg srcdeb-pkg: debian-orig
|
/linux-6.6.21/include/uapi/linux/ |
D | batadv_packet.h | 216 __u8 orig[ETH_ALEN]; member 242 __u8 orig[ETH_ALEN]; member 260 __u8 orig[ETH_ALEN]; member 288 __u8 orig[ETH_ALEN]; member 311 __u8 orig[ETH_ALEN]; member 340 __u8 orig[ETH_ALEN]; member 379 __u8 orig[ETH_ALEN]; member 464 __u8 orig[ETH_ALEN]; member 484 __u8 orig[ETH_ALEN]; member
|