Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/linux/tools/testing/selftests/bpf/progs/
H A Dconnect_force_port6.c32 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 …]
H A Dconnect_force_port4.c33 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/tools/lib/perf/
H A Dcpumap.c408 int perf_cpu_map__merge(struct perf_cpu_map **orig, struct perf_cpu_map *other) in perf_cpu_map__merge() argument
415 if (perf_cpu_map__is_subset(*orig, other)) in perf_cpu_map__merge()
417 if (perf_cpu_map__is_subset(other, *orig)) { in perf_cpu_map__merge()
418 perf_cpu_map__put(*orig); in perf_cpu_map__merge()
419 *orig = perf_cpu_map__get(other); in perf_cpu_map__merge()
423 tmp_len = __perf_cpu_map__nr(*orig) + __perf_cpu_map__nr(other); in perf_cpu_map__merge()
430 while (i < __perf_cpu_map__nr(*orig) && j < __perf_cpu_map__nr(other)) { in perf_cpu_map__merge()
431 if (__perf_cpu_map__cpu(*orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) { in perf_cpu_map__merge()
432 if (__perf_cpu_map__cpu(*orig, i).cpu == __perf_cpu_map__cpu(other, j).cpu) in perf_cpu_map__merge()
434 tmp_cpus[k++] = __perf_cpu_map__cpu(*orig, i++); in perf_cpu_map__merge()
[all …]
/linux/net/batman-adv/
H A Dmulticast.c1278 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig()
1602 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument
1605 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update()
1608 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update()
1612 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update()
1623 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update()
1647 struct batadv_orig_node *orig, in batadv_mcast_want_ipv4_update() argument
1650 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; in batadv_mcast_want_ipv4_update()
1653 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_ipv4_update()
1657 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update()
[all …]
H A Dbridge_loop_avoidance.c91 hash = jhash(&gw->orig, sizeof(gw->orig), hash); in batadv_choose_backbone_gw()
112 if (!batadv_compare_eth(gw1->orig, gw2->orig)) in batadv_compare_backbone_gw()
271 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find()
493 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, const u8 *orig, in batadv_bla_get_backbone_gw() argument
500 entry = batadv_backbone_hash_find(bat_priv, orig, vid); in batadv_bla_get_backbone_gw()
507 orig, batadv_print_vid(vid)); in batadv_bla_get_backbone_gw()
520 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
537 orig_node = batadv_orig_hash_find(bat_priv, orig); in batadv_bla_get_backbone_gw()
646 "Sending REQUEST to %pM\n", backbone_gw->orig); in batadv_bla_send_request()
649 batadv_bla_send_claim(backbone_gw->bat_priv, backbone_gw->orig, in batadv_bla_send_request()
[all …]
/linux/lib/
H A Dtest_bitmap.c779 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit_wrap()
783 bitmap_zero(orig, 500); in test_for_each_set_bit_wrap()
787 bitmap_set(orig, bit, 1); in test_for_each_set_bit_wrap()
790 bitmap_set(orig, 100, 50); in test_for_each_set_bit_wrap()
795 for_each_set_bit_wrap(bit, orig, 500, wr) in test_for_each_set_bit_wrap()
798 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap()
804 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit()
808 bitmap_zero(orig, 500); in test_for_each_set_bit()
813 bitmap_set(orig, bit, 1); in test_for_each_set_bit()
816 bitmap_set(orig, 100, 50); in test_for_each_set_bit()
[all …]
/linux/tools/lib/perf/include/internal/
H A Drc_check.h66 struct original_##struct_name *orig; \
80 result ? (result->orig = object, result) \
86 #define RC_CHK_ACCESS(object) object->orig
91 zfree(&object->orig); \
96 #define RC_CHK_GET(result, object) ADD_RC_CHK(result, (object ? object->orig : NULL))
102 object->orig = NULL; \
109 (object1 && object2 && object1->orig == object2->orig))
/linux/mm/
H A Dvma_init.c81 static inline int vma_pfnmap_track_ctx_dup(struct vm_area_struct *orig, in vma_pfnmap_track_ctx_dup() argument
84 struct pfnmap_track_ctx *ctx = orig->pfnmap_track_ctx; in vma_pfnmap_track_ctx_dup()
111 static inline int vma_pfnmap_track_ctx_dup(struct vm_area_struct *orig, in vma_pfnmap_track_ctx_dup() argument
121 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup() argument
128 ASSERT_EXCLUSIVE_WRITER(orig->vm_flags); in vm_area_dup()
129 ASSERT_EXCLUSIVE_WRITER(orig->vm_file); in vm_area_dup()
130 vm_area_init_from(orig, new); in vm_area_dup()
132 if (vma_pfnmap_track_ctx_dup(orig, new)) { in vm_area_dup()
139 dup_anon_vma_name(orig, new); in vm_area_dup()
/linux/arch/mips/include/asm/
H A Dbitops.h184 unsigned long res, orig; in test_and_set_bit_lock() local
189 orig = __test_bit_op(*m, "%0", in test_and_set_bit_lock()
192 res = (orig & BIT(bit)) != 0; in test_and_set_bit_lock()
228 unsigned long res, orig; in test_and_clear_bit() local
240 orig = __test_bit_op(*m, "%0", in test_and_clear_bit()
244 res = (orig & BIT(bit)) != 0; in test_and_clear_bit()
265 unsigned long res, orig; in test_and_change_bit() local
272 orig = __test_bit_op(*m, "%0", in test_and_change_bit()
275 res = (orig & BIT(bit)) != 0; in test_and_change_bit()
286 unsigned long orig; in xor_unlock_is_negative_byte() local
[all …]
/linux/drivers/mtd/nand/
H A Decc.c529 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/arch/sparc/mm/
H A Dtlb.c116 pte_t *ptep, pte_t orig, int fullmm, in tlb_batch_add() argument
120 pte_dirty(orig)) { in tlb_batch_add()
121 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add()
146 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add()
174 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument
179 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct()
194 if (is_huge_zero_pmd(orig)) in __set_pmd_acct()
210 if (!pmd_none(orig)) { in __set_pmd_acct()
212 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
213 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct()
[all …]
/linux/drivers/md/
H A Ddm-rq.c21 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 …]
/linux/arch/riscv/kernel/
H A Dkernel_mode_vector.c28 int orig; in riscv_v_start() local
30 orig = riscv_v_flags(); in riscv_v_start()
31 BUG_ON((orig & flags) != 0); in riscv_v_start()
32 riscv_v_flags_set(orig | flags); in riscv_v_start()
38 int orig; in riscv_v_stop() local
41 orig = riscv_v_flags(); in riscv_v_stop()
42 BUG_ON((orig & flags) == 0); in riscv_v_stop()
43 riscv_v_flags_set(orig & ~flags); in riscv_v_stop()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dhci.h206 u32 orig; in rtw_read32_mask() local
209 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask()
210 ret = (orig & mask) >> shift; in rtw_read32_mask()
219 u32 orig; in rtw_read16_mask() local
222 orig = rtw_read16(rtwdev, addr); in rtw_read16_mask()
223 ret = (orig & mask) >> shift; in rtw_read16_mask()
232 u32 orig; in rtw_read8_mask() local
235 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask()
236 ret = (orig & mask) >> shift; in rtw_read8_mask()
245 u32 orig; in rtw_write32_mask() local
[all …]
/linux/net/netfilter/
H A Dxt_DSCP.c76 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/drivers/gpu/drm/amd/amdgpu/
H A Dsi.c2429 u32 data, orig; in si_program_aspm() local
2436 orig = data = RREG32_PCIE_PORT(ixPCIE_LC_N_FTS_CNTL); in si_program_aspm()
2439 if (orig != data) in si_program_aspm()
2442 orig = data = RREG32_PCIE_PORT(ixPCIE_LC_CNTL3); in si_program_aspm()
2444 if (orig != data) in si_program_aspm()
2447 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in si_program_aspm()
2449 if (orig != data) in si_program_aspm()
2452 orig = data = RREG32_PCIE_PORT(ixPCIE_LC_CNTL); in si_program_aspm()
2461 if (orig != data) in si_program_aspm()
2467 orig = data = si_pif_phy0_rreg(adev,ixPB0_PIF_PWRDOWN_0); in si_program_aspm()
[all …]
H A Dcik.c1691 u32 data, orig; in cik_program_aspm() local
1701 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in cik_program_aspm()
1705 if (orig != data) in cik_program_aspm()
1708 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in cik_program_aspm()
1710 if (orig != data) in cik_program_aspm()
1713 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in cik_program_aspm()
1715 if (orig != data) in cik_program_aspm()
1718 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in cik_program_aspm()
1728 if (orig != data) in cik_program_aspm()
1734 orig = data = RREG32_PCIE(ixPB0_PIF_PWRDOWN_0); in cik_program_aspm()
[all …]
/linux/arch/mips/generic/
H A Dboard-sead3.c184 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/drivers/hwtracing/coresight/
H A Dcoresight-sysfs.c537 if (!info->orig || !info->target || in coresight_add_sysfs_link()
540 if (!info->orig->has_conns_grp || !info->target->has_conns_grp) in coresight_add_sysfs_link()
544 ret = sysfs_add_link_to_group(&info->orig->dev.kobj, in coresight_add_sysfs_link()
554 &info->orig->dev.kobj, in coresight_add_sysfs_link()
559 sysfs_remove_link_from_group(&info->orig->dev.kobj, in coresight_add_sysfs_link()
563 info->orig->nr_links++; in coresight_add_sysfs_link()
575 if (!info->orig || !info->target || in coresight_remove_sysfs_link()
579 sysfs_remove_link_from_group(&info->orig->dev.kobj, in coresight_remove_sysfs_link()
587 info->orig->nr_links--; in coresight_remove_sysfs_link()
607 int coresight_make_links(struct coresight_device *orig, in coresight_make_links() argument
[all …]
/linux/arch/arm/probes/kprobes/
H A Dopt-arm.c182 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/scripts/
H A DMakefile.package95 debian-orig-suffix := \
105 PHONY += debian-orig
106 debian-orig: private source = $(shell dpkg-parsechangelog -S Source)
107 debian-orig: private version = $(shell dpkg-parsechangelog -S Version | sed 's/-[^-]*$$//')
108 debian-orig: private orig-name = $(source)_$(version).orig.tar$(debian-orig-suffix)
109 debian-orig: mkdebian-opts = --need-source
110 debian-orig: linux.tar$(debian-orig-suffix) debian
112 ln -f $< ../$(orig-name); \
114 cp $< ../$(orig-name); \
123 deb-pkg srcdeb-pkg: debian-orig
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h91 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/drivers/soc/qcom/
H A Dtrace-smp2p.h68 TP_PROTO(struct smp2p_entry *smp2p_entry, u32 orig, u32 val),
69 TP_ARGS(smp2p_entry, orig, val),
73 __field(u32, orig)
79 __entry->orig = orig;
85 __entry->orig,
/linux/drivers/ptp/
H A Dptp_clockmatrix.h26 #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/include/uapi/linux/
H A Dbatadv_packet.h223 __u8 orig[ETH_ALEN]; member
249 __u8 orig[ETH_ALEN]; member
267 __u8 orig[ETH_ALEN]; member
295 __u8 orig[ETH_ALEN]; member
318 __u8 orig[ETH_ALEN]; member
347 __u8 orig[ETH_ALEN]; member
386 __u8 orig[ETH_ALEN]; member
471 __u8 orig[ETH_ALEN]; member
491 __u8 orig[ETH_ALEN]; member

12345678910>>...14