| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | connect_force_port6.c | 34 struct svc_addr *orig; in connect6() 46 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect6() 48 if (!orig) in connect6() 51 orig->addr[0] = ctx->user_ip6[0]; in connect6() 52 orig->addr[1] = ctx->user_ip6[1]; in connect6() 53 orig->addr[2] = ctx->user_ip6[2]; in connect6() 54 orig->addr[3] = ctx->user_ip6[3]; in connect6() 55 orig->port = ctx->user_port; in connect6() 86 struct svc_addr *orig; in getpeername6() 93 orig in getpeername6() 32 struct svc_addr *orig; connect6() local 84 struct svc_addr *orig; getpeername6() local [all...] |
| H A D | connect_force_port4.c | 35 struct svc_addr *orig; in connect4() 47 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, in connect4() 49 if (!orig) in connect4() 52 orig->addr = ctx->user_ip4; in connect4() 53 orig->port = ctx->user_port; in connect4() 78 struct svc_addr *orig; in getpeername4() 85 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); in getpeername4() 86 if (orig) { in getpeername4() 87 ctx->user_ip4 = orig->addr; in getpeername4() 88 ctx->user_port = orig in getpeername4() 33 struct svc_addr *orig; connect4() local 76 struct svc_addr *orig; getpeername4() local [all...] |
| /linux/tools/lib/perf/ |
| H A D | cpumap.c | 400 * If 'other' is subset of '*orig', '*orig' keeps itself with no reference count 403 * If '*orig' is subset of 'other', '*orig' reuses 'other' with its reference 406 * Otherwise, '*orig' gets freed and replaced with a new map. 408 int perf_cpu_map__merge(struct perf_cpu_map **orig, struct perf_cpu_map *other) 414 if (perf_cpu_map__is_subset(*orig, other)) in perf_cpu_map__merge() 416 if (perf_cpu_map__is_subset(other, *orig)) { in perf_cpu_map__merge() 417 perf_cpu_map__put(*orig); in perf_cpu_map__merge() 418 *orig in perf_cpu_map__merge() 410 perf_cpu_map__merge(struct perf_cpu_map ** orig,struct perf_cpu_map * other) perf_cpu_map__merge() argument 455 perf_cpu_map__intersect(struct perf_cpu_map * orig,struct perf_cpu_map * other) perf_cpu_map__intersect() argument [all...] |
| /linux/net/batman-adv/ |
| H A D | multicast.c | 1291 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { in batadv_mcast_forw_send_orig() 1613 struct batadv_orig_node *orig, in batadv_mcast_want_unsnoop_update() argument 1617 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; in batadv_mcast_want_unsnoop_update() 1619 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_unsnoop_update() 1623 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { in batadv_mcast_want_unsnoop_update() 1634 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { in batadv_mcast_want_unsnoop_update() 1658 struct batadv_orig_node *orig, in batadv_mcast_want_ipv4_update() argument 1662 struct hlist_node *node = &orig->mcast_want_all_ipv4_node; in batadv_mcast_want_ipv4_update() 1664 lockdep_assert_held(&orig->mcast_handler_lock); in batadv_mcast_want_ipv4_update() 1668 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_IPV4)) { in batadv_mcast_want_ipv4_update() [all …]
|
| H A D | bridge_loop_avoidance.c | 91 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() 272 ether_addr_copy(search_entry.orig, addr); in batadv_backbone_hash_find() 479 * @orig: the mac address of the originator in batadv_bla_loopdetect_report() 486 batadv_bla_get_backbone_gw(struct batadv_priv *bat_priv, const u8 *orig, 493 entry = batadv_backbone_hash_find(bat_priv, orig, vid); in batadv_bla_get_backbone_gw() 500 orig, batadv_print_vid(vid)); in batadv_bla_get_backbone_gw() 513 ether_addr_copy(entry->orig, ori in batadv_bla_get_backbone_gw() 491 batadv_bla_get_backbone_gw(struct batadv_priv * bat_priv,const u8 * orig,unsigned short vid,bool own_backbone) batadv_bla_get_backbone_gw() argument 1661 batadv_bla_check_duplist(struct batadv_priv * bat_priv,struct sk_buff * skb,int payload_offset,const u8 * orig) batadv_bla_check_duplist() argument 1786 batadv_bla_is_backbone_gw_orig(struct batadv_priv * bat_priv,u8 * orig,unsigned short vid) batadv_bla_is_backbone_gw_orig() argument [all...] |
| /linux/tools/lib/perf/include/internal/ |
| H A D | rc_check.h | 66 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/lib/ |
| H A D | test_bitmap.c | 820 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit_wrap() 824 bitmap_zero(orig, 500); in test_for_each_set_bit_wrap() 828 bitmap_set(orig, bit, 1); in test_for_each_set_bit_wrap() 831 bitmap_set(orig, 100, 50); in test_for_each_set_bit_wrap() 836 for_each_set_bit_wrap(bit, orig, 500, wr) in test_for_each_set_bit_wrap() 839 expect_eq_bitmap(orig, copy, 500); in test_for_each_set_bit_wrap() 845 DECLARE_BITMAP(orig, 500); in test_for_each_set_bit() 849 bitmap_zero(orig, 500); in test_for_each_set_bit() 854 bitmap_set(orig, bit, 1); in test_for_each_set_bit() 857 bitmap_set(orig, 100, 50); in test_for_each_set_bit() [all …]
|
| /linux/mm/ |
| H A D | vma_init.c | 86 static inline int vma_pfnmap_track_ctx_dup(struct vm_area_struct *orig, in vma_pfnmap_track_ctx_dup() 89 struct pfnmap_track_ctx *ctx = orig->pfnmap_track_ctx; in vma_pfnmap_track_ctx_dup() 116 static inline int vma_pfnmap_track_ctx_dup(struct vm_area_struct *orig, in vma_pfnmap_track_ctx_release() 126 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup() 133 ASSERT_EXCLUSIVE_WRITER(orig->vm_flags); in vm_area_dup() 134 ASSERT_EXCLUSIVE_WRITER(orig->vm_file); in vm_area_dup() 135 vm_area_init_from(orig, new); in vm_area_dup() 137 if (vma_pfnmap_track_ctx_dup(orig, new)) { in vm_area_dup() 144 dup_anon_vma_name(orig, new); in vm_area_free() 81 vma_pfnmap_track_ctx_dup(struct vm_area_struct * orig,struct vm_area_struct * new) vma_pfnmap_track_ctx_dup() argument 111 vma_pfnmap_track_ctx_dup(struct vm_area_struct * orig,struct vm_area_struct * new) vma_pfnmap_track_ctx_dup() argument 121 vm_area_dup(struct vm_area_struct * orig) vm_area_dup() argument
|
| /linux/arch/mips/include/asm/ |
| H A D | bitops.h | 184 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/net/netfilter/ |
| H A 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/arch/mips/generic/ |
| H A 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/drivers/ptp/ |
| H A 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/drivers/soc/qcom/ |
| H A D | trace-smp2p.h | 68 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/scsi/sym53c8xx_2/ |
| H A 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/scripts/ |
| H A D | Makefile.package | 95 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/include/uapi/linux/ |
| H A D | batadv_packet.h | 229 __u8 orig[ETH_ALEN]; member 255 __u8 orig[ETH_ALEN]; member 273 __u8 orig[ETH_ALEN]; member 301 __u8 orig[ETH_ALEN]; member 324 __u8 orig[ETH_ALEN]; member 353 __u8 orig[ETH_ALEN]; member 392 __u8 orig[ETH_ALEN]; member 477 __u8 orig[ETH_ALEN]; member 497 __u8 orig[ETH_ALEN]; member
|
| /linux/drivers/md/ |
| H A 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/net/netfilter/ipvs/ |
| H A D | ip_vs_nfct.c | 142 struct nf_conntrack_tuple *orig, new_reply; in ip_vs_nfct_expect_callback() local 156 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in ip_vs_nfct_expect_callback() 157 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback() 158 &orig->src.u3, orig->src.u.tcp.port, in ip_vs_nfct_expect_callback() 159 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback() 193 __func__, ct, ct->status, ARG_TUPLE(orig)); in ip_vs_nfct_expect_callback()
|
| /linux/security/selinux/ss/ |
| H A D | conditional.c | 614 const struct cond_av_list *orig, in cond_dup_av_list() 621 new->nodes = kzalloc_objs(*new->nodes, orig->len); in cond_dup_av_list() 625 for (i = 0; i < orig->len; i++) { in duplicate_policydb_cond_list() 627 avtab, &orig->nodes[i]->key, &orig->nodes[i]->datum); in duplicate_policydb_cond_list() 694 const struct hashtab_node *orig, void *args) 698 datum = kmemdup(orig->datum, sizeof(struct cond_bool_datum), in cond_bools_index() 703 new->key = orig->key; /* No need to copy, never modified */ in cond_bools_index() 720 const struct policydb *orig) in duplicate_policydb_bools() 725 cond_bool_array = kzalloc_objs(*orig in duplicate_policydb_bools() 601 cond_dup_av_list(struct cond_av_list * new,const struct cond_av_list * orig,struct avtab * avtab) cond_dup_av_list() argument 681 cond_bools_copy(struct hashtab_node * new,const struct hashtab_node * orig,void * args) cond_bools_copy() argument 707 duplicate_policydb_bools(struct policydb * newdb,const struct policydb * orig) duplicate_policydb_bools() argument 739 cond_policydb_dup(struct policydb * new,const struct policydb * orig) cond_policydb_dup() argument [all...] |
| H A D | hashtab.c | 140 int hashtab_duplicate(struct hashtab *new, const struct hashtab *orig, in hashtab_duplicate() argument 142 const struct hashtab_node *orig, void *args), in hashtab_duplicate() argument 152 new->htable = kzalloc_objs(*new->htable, orig->size); in hashtab_duplicate() 156 new->size = orig->size; in hashtab_duplicate() 158 for (i = 0; i < orig->size; i++) { in hashtab_duplicate() 160 for (orig_cur = orig->htable[i]; orig_cur; in hashtab_duplicate()
|
| /linux/net/openvswitch/ |
| H A D | conntrack.c | 185 const struct nf_conntrack_tuple *orig, in __ovs_ct_update_key_orig_tp() argument 188 key->ct_orig_proto = orig->dst.protonum; in __ovs_ct_update_key_orig_tp() 189 if (orig->dst.protonum == icmp_proto) { in __ovs_ct_update_key_orig_tp() 190 key->ct.orig_tp.src = htons(orig->dst.u.icmp.type); in __ovs_ct_update_key_orig_tp() 191 key->ct.orig_tp.dst = htons(orig->dst.u.icmp.code); in __ovs_ct_update_key_orig_tp() 193 key->ct.orig_tp.src = orig->src.u.all; in __ovs_ct_update_key_orig_tp() 194 key->ct.orig_tp.dst = orig->dst.u.all; in __ovs_ct_update_key_orig_tp() 208 const struct nf_conntrack_tuple *orig; in __ovs_ct_update_key() local 213 orig = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in __ovs_ct_update_key() 218 key->ipv4.ct_orig.src = orig in __ovs_ct_update_key() 311 struct ovs_key_ct_tuple_ipv4 orig; ovs_ct_put_key() local 324 struct ovs_key_ct_tuple_ipv6 orig; ovs_ct_put_key() local [all...] |
| /linux/arch/arc/include/asm/ |
| H A D | atomic-llsc.h | 48 unsigned int val, orig; \ 56 [orig] "=&r" (orig) \ 61 return orig; \
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | vce_v2_0.c | 76 u32 orig, tmp; in vce_v2_0_set_dyn_cg() local 88 orig = tmp = RREG32(VCE_UENC_CLOCK_GATING); in vce_v2_0_set_dyn_cg() 91 if (tmp != orig) in vce_v2_0_set_dyn_cg() 94 orig = tmp = RREG32(VCE_UENC_REG_CLOCK_GATING); in vce_v2_0_set_dyn_cg() 96 if (tmp != orig) in vce_v2_0_set_dyn_cg()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | probe_user.c | 16 struct sockaddr curr, orig, tmp; in serial_test_probe_user() 77 memcpy(&orig, &curr, sizeof(curr)); in serial_test_probe_user() 94 if (CHECK(memcmp(&tmp, &orig, sizeof(orig)), "check_kprobe_res", 17 struct sockaddr curr, orig, tmp; serial_test_probe_user() local
|
| /linux/kernel/ |
| H A D | seccomp.c | 532 static void __seccomp_filter_orphan(struct seccomp_filter *orig) in __seccomp_filter_orphan() argument 534 while (orig && refcount_dec_and_test(&orig->users)) { in __seccomp_filter_orphan() 535 if (waitqueue_active(&orig->wqh)) in __seccomp_filter_orphan() 536 wake_up_poll(&orig->wqh, EPOLLHUP); in __seccomp_filter_orphan() 537 orig = orig->prev; in __seccomp_filter_orphan() 541 static void __put_seccomp_filter(struct seccomp_filter *orig) in __put_seccomp_filter() argument 544 while (orig && refcount_dec_and_test(&orig in __put_seccomp_filter() 551 __seccomp_filter_release(struct seccomp_filter * orig) __seccomp_filter_release() argument 572 struct seccomp_filter *orig; seccomp_filter_release() local 981 struct seccomp_filter *orig = tsk->seccomp.filter; get_seccomp_filter() local 2170 struct seccomp_filter *orig, *filter; get_nth_filter() local [all...] |