Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dconnect_force_port6.c31 struct svc_addr *orig; in connect6() local
43 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6()
45 if (!orig) in connect6()
48 orig->addr[0] = ctx->user_ip6[0]; in connect6()
49 orig->addr[1] = ctx->user_ip6[1]; in connect6()
50 orig->addr[2] = ctx->user_ip6[2]; in connect6()
51 orig->addr[3] = ctx->user_ip6[3]; in connect6()
52 orig->port = ctx->user_port; in connect6()
80 struct svc_addr *orig; in getpeername6() local
84 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername6()
[all …]
Dconnect_force_port4.c32 struct svc_addr *orig; in connect4() local
44 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect4()
46 if (!orig) in connect4()
49 orig->addr = ctx->user_ip4; in connect4()
50 orig->port = ctx->user_port; in connect4()
72 struct svc_addr *orig; in getpeername4() local
76 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername4()
77 if (orig) { in getpeername4()
78 ctx->user_ip4 = orig->addr; in getpeername4()
79 ctx->user_port = orig->port; in getpeername4()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-sysfs.c73 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 …]
/kernel/linux/linux-5.10/net/batman-adv/
Dmulticast.c1384 struct batadv_orig_node **orig, int *is_routable) in batadv_mcast_forw_mode() argument
1413 *orig = batadv_mcast_forw_tt_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1415 *orig = batadv_mcast_forw_ip_node_get(bat_priv, ethhdr); in batadv_mcast_forw_mode()
1417 *orig = batadv_mcast_forw_unsnoop_node_get(bat_priv); in batadv_mcast_forw_mode()
1419 *orig = batadv_mcast_forw_rtr_node_get(bat_priv, in batadv_mcast_forw_mode()
1422 if (*orig) in batadv_mcast_forw_mode()
1458 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig()
1782 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument
1785 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update()
1788 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update()
[all …]
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()
497 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, u8 *orig, in batadv_bla_get_backbone_gw() argument
504 entry = batadv_backbone_hash_find(bat_priv, orig, vid); in batadv_bla_get_backbone_gw()
511 orig, batadv_print_vid(vid)); in batadv_bla_get_backbone_gw()
524 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
541 orig_node = batadv_orig_hash_find(bat_priv, orig); in batadv_bla_get_backbone_gw()
650 "Sending REQUEST to %pM\n", backbone_gw->orig); in batadv_bla_send_request()
653 batadv_bla_send_claim(backbone_gw->bat_priv, backbone_gw->orig, in batadv_bla_send_request()
[all …]
/kernel/linux/linux-5.10/tools/lib/perf/
Dcpumap.c298 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, in perf_cpu_map__merge() argument
306 if (!orig && !other) in perf_cpu_map__merge()
308 if (!orig) { in perf_cpu_map__merge()
313 return orig; in perf_cpu_map__merge()
314 if (orig->nr == other->nr && in perf_cpu_map__merge()
315 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
316 return orig; in perf_cpu_map__merge()
318 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
325 while (i < orig->nr && j < other->nr) { in perf_cpu_map__merge()
326 if (orig->map[i] <= other->map[j]) { in perf_cpu_map__merge()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dbitops.h46 unsigned long orig, temp; \
57 : "=&r"(orig), "=&r"(temp), \
62 orig; \
185 unsigned long res, orig; in test_and_set_bit_lock() local
190 orig = __test_bit_op(*m, "%0", in test_and_set_bit_lock()
193 res = (orig & BIT(bit)) != 0; in test_and_set_bit_lock()
229 unsigned long res, orig; in test_and_clear_bit() local
241 orig = __test_bit_op(*m, "%0", in test_and_clear_bit()
245 res = (orig & BIT(bit)) != 0; in test_and_clear_bit()
266 unsigned long res, orig; in test_and_change_bit() local
[all …]
/kernel/linux/linux-5.10/arch/sparc/mm/
Dtlb.c112 pte_t *ptep, pte_t orig, int fullmm, in tlb_batch_add() argument
116 pte_dirty(orig)) { in tlb_batch_add()
117 unsigned long paddr, pfn = pte_pfn(orig); in tlb_batch_add()
140 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); in tlb_batch_add()
166 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument
171 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { in __set_pmd_acct()
186 if (is_huge_zero_page(pmd_page(orig))) in __set_pmd_acct()
202 if (!pmd_none(orig)) { in __set_pmd_acct()
204 if (pmd_trans_huge(orig)) { in __set_pmd_acct()
205 pte_t orig_pte = __pte(pmd_val(orig)); in __set_pmd_acct()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Dhci.h193 u32 orig; in rtw_read32_mask() local
196 orig = rtw_read32(rtwdev, addr); in rtw_read32_mask()
197 ret = (orig & mask) >> shift; in rtw_read32_mask()
206 u32 orig; in rtw_read16_mask() local
209 orig = rtw_read16(rtwdev, addr); in rtw_read16_mask()
210 ret = (orig & mask) >> shift; in rtw_read16_mask()
219 u32 orig; in rtw_read8_mask() local
222 orig = rtw_read8(rtwdev, addr); in rtw_read8_mask()
223 ret = (orig & mask) >> shift; in rtw_read8_mask()
232 u32 orig; in rtw_write32_mask() local
[all …]
/kernel/linux/linux-5.10/net/netfilter/
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()
/kernel/linux/linux-5.10/arch/mips/generic/
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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-rq.c21 struct request *orig, *clone; member
84 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio()
120 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); in end_clone_bio()
128 static void rq_end_stats(struct mapped_device *md, struct request *orig) in rq_end_stats() argument
131 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()
304 dm_complete_request(tio->orig, error); in end_clone_request()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Dsi.c2319 u32 data, orig; in si_program_aspm() local
2328 orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL); in si_program_aspm()
2331 if (orig != data) in si_program_aspm()
2334 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3); in si_program_aspm()
2336 if (orig != data) in si_program_aspm()
2339 orig = data = RREG32_PCIE(PCIE_P_CNTL); in si_program_aspm()
2341 if (orig != data) in si_program_aspm()
2344 orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL); in si_program_aspm()
2353 if (orig != data) in si_program_aspm()
2359 orig = data = si_pif_phy0_rreg(adev,PB0_PIF_PWRDOWN_0); in si_program_aspm()
[all …]
Dcik.c1637 u32 data, orig; in cik_program_aspm() local
1651 orig = data = RREG32_PCIE(ixPCIE_LC_N_FTS_CNTL); in cik_program_aspm()
1655 if (orig != data) in cik_program_aspm()
1658 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL3); in cik_program_aspm()
1660 if (orig != data) in cik_program_aspm()
1663 orig = data = RREG32_PCIE(ixPCIE_P_CNTL); in cik_program_aspm()
1665 if (orig != data) in cik_program_aspm()
1668 orig = data = RREG32_PCIE(ixPCIE_LC_CNTL); in cik_program_aspm()
1678 if (orig != data) in cik_program_aspm()
1684 orig = data = RREG32_PCIE(ixPB0_PIF_PWRDOWN_0); in cik_program_aspm()
[all …]
/kernel/linux/linux-5.10/arch/arm/probes/kprobes/
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()
/kernel/liteos_a/testsuites/unittest/libc/util/smoke/
Dutil_test_006.cpp36 char orig[9] = "eggplant"; in TestCase() local
47 buf[i * 8 + j] = orig[i] >> j & 1; in TestCase()
51 printf("Before encrypting: %s\n", orig); in TestCase()
60 ICUNIT_GOTO_STRING_NOT_EQUAL(txt, orig, txt, EXIT); in TestCase()
69 ICUNIT_GOTO_STRING_EQUAL(txt, orig, txt, EXIT); in TestCase()
/kernel/linux/linux-5.10/drivers/ptp/
Dptp_clockmatrix.h24 #define SET_U16_LSB(orig, val8) (orig = (0xff00 & (orig)) | (val8)) argument
25 #define SET_U16_MSB(orig, val8) (orig = (0x00ff & (orig)) | (val8 << 8)) argument
/kernel/linux/linux-5.10/arch/s390/kernel/
Dftrace.c85 struct ftrace_insn orig, new, old; in ftrace_make_nop() local
91 ftrace_generate_orig_insn(&orig); in ftrace_make_nop()
95 ftrace_generate_call_insn(&orig, rec->ip); in ftrace_make_nop()
99 if (memcmp(&orig, &old, sizeof(old))) in ftrace_make_nop()
107 struct ftrace_insn orig, new, old; in ftrace_make_call() local
112 ftrace_generate_nop_insn(&orig); in ftrace_make_call()
116 if (memcmp(&orig, &old, sizeof(old))) in ftrace_make_call()
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
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()
/kernel/linux/linux-5.10/arch/arc/include/asm/
Datomic.h68 unsigned int val, orig; \
82 [orig] "=&r" (orig) \
89 return orig; \
160 unsigned long orig; \
166 orig = v->counter; \
170 return orig; \
298 s64 val, orig; \
309 : "=&r"(orig), "=&r"(val) \
315 return orig; \
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbatadv_packet.h91 __u8 orig[ETH_ALEN]; member
104 __u8 orig[ETH_ALEN]; member
112 __u8 orig[ETH_ALEN]; member
123 __u8 orig[ETH_ALEN]; member
133 __u8 orig[ETH_ALEN]; member
144 __u8 orig[ETH_ALEN]; member
162 __u8 orig[ETH_ALEN]; member
200 __u8 orig[ETH_ALEN]; member
210 __u8 orig[ETH_ALEN]; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbatadv_packet.h103 __u8 orig[ETH_ALEN]; member
116 __u8 orig[ETH_ALEN]; member
124 __u8 orig[ETH_ALEN]; member
135 __u8 orig[ETH_ALEN]; member
145 __u8 orig[ETH_ALEN]; member
156 __u8 orig[ETH_ALEN]; member
174 __u8 orig[ETH_ALEN]; member
210 __u8 orig[ETH_ALEN]; member
220 __u8 orig[ETH_ALEN]; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbatadv_packet.h214 __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
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable-3level.h176 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()
/kernel/linux/linux-5.10/fs/erofs/
Dzdata.h148 int orig, orig_index, val; in z_erofs_onlinepage_fixup() local
151 orig = atomic_read(u.o); in z_erofs_onlinepage_fixup()
152 orig_index = orig >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; in z_erofs_onlinepage_fixup()
161 ((orig & Z_EROFS_ONLINEPAGE_COUNT_MASK) + (unsigned int)down); in z_erofs_onlinepage_fixup()
162 if (atomic_cmpxchg(u.o, orig, val) != orig) in z_erofs_onlinepage_fixup()

12345678910>>...12