Home
last modified time | relevance | path

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

12345678910>>...12

/linux/tools/testing/selftests/bpf/progs/
A Dconnect_force_port6.c32 struct svc_addr *orig; in connect6() local
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
92 if (orig) { in getpeername6()
93 ctx->user_ip6[0] = orig->addr[0]; in getpeername6()
[all …]
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/drivers/hwtracing/coresight/
A Dcoresight-sysfs.c73 if (!info->orig || !info->target || in coresight_add_sysfs_link()
90 &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()
123 info->orig->nr_links--; in coresight_remove_sysfs_link()
152 outs = devm_kasprintf(&orig->dev, GFP_KERNEL, in coresight_make_links()
160 link = devm_kzalloc(&orig->dev, in coresight_make_links()
166 link->orig = orig; in coresight_make_links()
196 if (!orig || !conn->link) in coresight_remove_links()
202 devm_kfree(&orig->dev, conn->link->orig_name); in coresight_remove_links()
[all …]
/linux/net/batman-adv/
A Dmulticast.c1388 if (*orig) in batadv_mcast_forw_mode()
1748 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument
1793 struct batadv_orig_node *orig, in batadv_mcast_want_ipv4_update() argument
1838 struct batadv_orig_node *orig, in batadv_mcast_want_ipv6_update() argument
1883 struct batadv_orig_node *orig, in batadv_mcast_want_rtr4_update() argument
1928 struct batadv_orig_node *orig, in batadv_mcast_want_rtr6_update() argument
2001 struct batadv_orig_node *orig, in batadv_mcast_tvlv_ogm_handler() argument
2012 spin_lock_bh(&orig->mcast_handler_lock); in batadv_mcast_tvlv_ogm_handler()
2030 orig->mcast_flags = mcast_flags; in batadv_mcast_tvlv_ogm_handler()
2107 orig_node->orig)) { in batadv_mcast_flags_dump_entry()
[all …]
A Dbridge_loop_avoidance.c89 hash = jhash(&gw->orig, sizeof(gw->orig), hash); in batadv_choose_backbone_gw()
110 if (!batadv_compare_eth(gw1->orig, gw2->orig)) in batadv_compare_backbone_gw()
518 ether_addr_copy(entry->orig, orig); in batadv_bla_get_backbone_gw()
737 backbone_gw->orig); in batadv_bla_add_claim()
1607 const u8 *orig) in batadv_bla_check_duplist() argument
1635 if (orig && !is_zero_ether_addr(orig) && in batadv_bla_check_duplist()
1646 if (batadv_compare_eth(entry->orig, orig)) in batadv_bla_check_duplist()
1666 if (orig) in batadv_bla_check_duplist()
1667 ether_addr_copy(entry->orig, orig); in batadv_bla_check_duplist()
1719 bcast_packet->orig); in batadv_bla_check_bcast_duplist()
[all …]
/linux/drivers/mtd/nand/
A Decc.c529 orig = &ctx->orig_req; in nand_ecc_tweak_req()
550 if (orig->type == NAND_PAGE_WRITE) { in nand_ecc_tweak_req()
553 orig->databuf.out, orig->datalen); in nand_ecc_tweak_req()
557 orig->oobbuf.out, orig->ooblen); in nand_ecc_tweak_req()
567 orig = &ctx->orig_req; in nand_ecc_restore_req()
571 if (orig->type == NAND_PAGE_READ) { in nand_ecc_restore_req()
573 memcpy(orig->databuf.in, in nand_ecc_restore_req()
575 orig->datalen); in nand_ecc_restore_req()
578 memcpy(orig->oobbuf.in, in nand_ecc_restore_req()
580 orig->ooblen); in nand_ecc_restore_req()
[all …]
/linux/tools/lib/perf/
A Dcpumap.c313 if (!orig && !other) in perf_cpu_map__merge()
315 if (!orig) { in perf_cpu_map__merge()
320 return orig; in perf_cpu_map__merge()
321 if (orig->nr == other->nr && in perf_cpu_map__merge()
322 !memcmp(orig->map, other->map, orig->nr * sizeof(int))) in perf_cpu_map__merge()
323 return orig; in perf_cpu_map__merge()
325 tmp_len = orig->nr + other->nr; in perf_cpu_map__merge()
336 tmp_cpus[k++] = orig->map[i++]; in perf_cpu_map__merge()
341 while (i < orig->nr) in perf_cpu_map__merge()
342 tmp_cpus[k++] = orig->map[i++]; in perf_cpu_map__merge()
[all …]
/linux/arch/sparc/mm/
A Dtlb.c113 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()
167 pmd_t orig, pmd_t pmd) in __set_pmd_acct() argument
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()
213 tlb_batch_pmd_scan(mm, addr, orig); in __set_pmd_acct()
221 pmd_t orig = *pmdp; in set_pmd_at() local
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Dsi.c2452 u32 data, orig; in si_program_aspm() local
2464 if (orig != data) in si_program_aspm()
2469 if (orig != data) in si_program_aspm()
2474 if (orig != data) in si_program_aspm()
2486 if (orig != data) in si_program_aspm()
2495 if (orig != data) in si_program_aspm()
2501 if (orig != data) in si_program_aspm()
2507 if (orig != data) in si_program_aspm()
2513 if (orig != data) in si_program_aspm()
2631 if (orig != data) in si_program_aspm()
[all …]
A Dcik.c1714 u32 data, orig; in cik_program_aspm() local
1732 if (orig != data) in cik_program_aspm()
1737 if (orig != data) in cik_program_aspm()
1742 if (orig != data) in cik_program_aspm()
1755 if (orig != data) in cik_program_aspm()
1766 if (orig != data) in cik_program_aspm()
1774 if (orig != data) in cik_program_aspm()
1782 if (orig != data) in cik_program_aspm()
1790 if (orig != data) in cik_program_aspm()
1852 if (orig != data) in cik_program_aspm()
[all …]
A Dvi.c1120 u32 data, orig; in vi_enable_aspm() local
1129 if (orig != data) in vi_enable_aspm()
1150 if (orig != data) in vi_program_aspm()
1157 if (orig != data) in vi_program_aspm()
1162 if (orig != data) in vi_program_aspm()
1167 if (orig != data) in vi_program_aspm()
1187 if (orig != data) in vi_program_aspm()
1192 if (orig != data) in vi_program_aspm()
1204 if (orig != data) in vi_program_aspm()
1213 if (orig != data) in vi_program_aspm()
[all …]
/linux/drivers/net/wireless/realtek/rtw88/
A Dhci.h194 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
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
247 u8 orig, set; in rtw_write8_mask() local
[all …]
/linux/drivers/md/
A Ddm-rq.c20 struct request *orig, *clone; member
83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; in end_clone_bio()
133 blk_rq_pos(orig), tio->n_sectors, true, in rq_end_stats()
160 struct request *rq = tio->orig; in dm_end_request()
190 struct request *rq = tio->orig; in dm_requeue_original_request()
303 dm_complete_request(tio->orig, error); in end_clone_request()
328 info->orig = bio_orig; in dm_rq_bio_constructor()
359 tio->orig = rq; in init_tio()
382 struct request *rq = tio->orig; in map_request()
443 blk_mq_start_request(orig); in dm_start_request()
[all …]
/linux/net/netfilter/
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/arch/mips/generic/
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/arch/arm/probes/kprobes/
A Dopt-arm.c184 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/arch/mips/include/asm/
A Dbitops.h185 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
273 orig = __test_bit_op(*m, "%0", in test_and_change_bit()
276 res = (orig & BIT(bit)) != 0; in test_and_change_bit()
/linux/drivers/scsi/sym53c8xx_2/
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/ptp/
A 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
/linux/include/uapi/linux/
A 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
/linux/arch/x86/include/asm/
A 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()
/linux/fs/erofs/
A Dzdata.h140 int orig, orig_index, val; in z_erofs_onlinepage_fixup() local
143 orig = atomic_read(u.o); in z_erofs_onlinepage_fixup()
144 orig_index = orig >> Z_EROFS_ONLINEPAGE_INDEX_SHIFT; in z_erofs_onlinepage_fixup()
153 ((orig & Z_EROFS_ONLINEPAGE_COUNT_MASK) + (unsigned int)down); in z_erofs_onlinepage_fixup()
154 if (atomic_cmpxchg(u.o, orig, val) != orig) in z_erofs_onlinepage_fixup()
/linux/tools/testing/selftests/net/forwarding/
A Ddevlink_lib.sh167 local -a orig=(${DEVLINK_ORIG[$key]})
169 if [[ -z $orig ]]; then
172 devlink sb port pool set $port pool $pool th $orig
205 local -a orig=(${DEVLINK_ORIG[$key]})
207 if [[ -z ${orig[0]} ]]; then
211 size ${orig[0]} thtype ${orig[1]}
252 local -a orig=(${DEVLINK_ORIG[$key]})
254 if [[ -z ${orig[0]} ]]; then
258 pool ${orig[0]} th ${orig[1]}
/linux/drivers/target/
A Dtarget_core_device.c336 if (orig && orig->se_lun) { in core_enable_device_list_for_node()
360 hlist_del_rcu(&orig->link); in core_enable_device_list_for_node()
365 list_del(&orig->lun_link); in core_enable_device_list_for_node()
373 kfree_rcu(orig, rcu_head); in core_enable_device_list_for_node()
392 struct se_dev_entry *orig, in core_disable_device_list_for_node() argument
418 list_del(&orig->lun_link); in core_disable_device_list_for_node()
425 hlist_del_rcu(&orig->link); in core_disable_device_list_for_node()
427 orig->lun_access_ro = false; in core_disable_device_list_for_node()
428 orig->creation_time = 0; in core_disable_device_list_for_node()
429 orig->attach_count--; in core_disable_device_list_for_node()
[all …]
/linux/tools/objtool/
A Dspecial.c23 unsigned char size, orig, new; member
34 .orig = ALT_ORIG_OFFSET,
44 .orig = JUMP_ORIG_OFFSET,
51 .orig = EX_ORIG_OFFSET,
96 orig_reloc = find_reloc_by_dest(elf, sec, offset + entry->orig); in get_alt_entry()
98 WARN_FUNC("can't find orig reloc", sec, offset + entry->orig); in get_alt_entry()

Completed in 62 milliseconds

12345678910>>...12