/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | connect_force_port6.c | 32 struct svc_addr *orig; local 44 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 46 if (!orig) 49 orig->addr[0] = ctx->user_ip6[0]; 50 orig->addr[1] = ctx->user_ip6[1]; 51 orig->addr[2] = ctx->user_ip6[2]; 52 orig->addr[3] = ctx->user_ip6[3]; 53 orig->port = ctx->user_port; 84 struct svc_addr *orig; local 91 orig [all...] |
H A D | connect_force_port4.c | 33 struct svc_addr *orig; local 45 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 47 if (!orig) 50 orig->addr = ctx->user_ip4; 51 orig->port = ctx->user_port; 76 struct svc_addr *orig; local 83 orig = bpf_sk_storage_get(&service_mapping, ctx->sk, 0, 0); 84 if (orig) { 85 ctx->user_ip4 = orig->addr; 86 ctx->user_port = orig [all...] |
/linux-master/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-master/tools/testing/selftests/powerpc/security/ |
H A D | mitigation-patching.sh | 10 local orig 14 orig=$(cat "$mitigation") 27 echo "$orig" > "$mitigation"
|
/linux-master/arch/x86/kernel/ |
H A D | resource.c | 33 struct resource orig = *avail; local 44 if (orig.start != avail->start || orig.end != avail->end) { 55 orig = *avail;
|
/linux-master/drivers/md/ |
H A D | dm-io-rewind.c | 145 struct bio *orig = io->orig_bio; local 146 struct bio *new_orig = bio_alloc_clone(orig->bi_bdev, orig, 154 orig->bi_iter.bi_size)); 157 bio_chain(new_orig, orig); 162 atomic_dec(&orig->__bi_remaining);
|
H A D | dm-rq.c | 21 struct request *orig, *clone; member in struct:dm_rq_target_io 83 unsigned int nr_bytes = info->orig->bi_iter.bi_size; 119 blk_update_request(tio->orig, BLK_STS_OK, tio->completed); 127 static void rq_end_stats(struct mapped_device *md, struct request *orig) argument 130 struct dm_rq_target_io *tio = tio_from_request(orig); 133 dm_stats_account_io(&md->stats, rq_data_dir(orig), 134 blk_rq_pos(orig), tio->n_sectors, true, 161 struct request *rq = tio->orig; 191 struct request *rq = tio->orig; 302 dm_complete_request(tio->orig, erro 433 dm_start_request(struct mapped_device *md, struct request *orig) argument [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_clockmatrix.h | 26 #define SET_U16_LSB(orig, val8) (orig = (0xff00 & (orig)) | (val8)) 27 #define SET_U16_MSB(orig, val8) (orig = (0x00ff & (orig)) | (val8 << 8))
|
/linux-master/lib/ |
H A D | test_bitmap.c | 807 DECLARE_BITMAP(orig, 500); 811 bitmap_zero(orig, 500); 815 bitmap_set(orig, bit, 1); 818 bitmap_set(orig, 100, 50); 823 for_each_set_bit_wrap(bit, orig, 500, wr) 826 expect_eq_bitmap(orig, copy, 500); 832 DECLARE_BITMAP(orig, 500); 836 bitmap_zero(orig, 500); 841 bitmap_set(orig, bit, 1); 844 bitmap_set(orig, 10 [all...] |
/linux-master/arch/sparc/mm/ |
H A D | tlb.c | 113 pte_t *ptep, pte_t orig, int fullmm, 117 pte_dirty(orig)) { 118 unsigned long paddr, pfn = pte_pfn(orig); 143 tlb_batch_add_one(mm, vaddr, pte_exec(orig), hugepage_shift); 171 pmd_t orig, pmd_t pmd) 176 if ((pmd_val(pmd) ^ pmd_val(orig)) & _PAGE_PMD_HUGE) { 191 if (is_huge_zero_page(pmd_page(orig))) 207 if (!pmd_none(orig)) { 209 if (pmd_trans_huge(orig)) { 210 pte_t orig_pte = __pte(pmd_val(orig)); 112 tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t orig, int fullmm, unsigned int hugepage_shift) argument 170 __set_pmd_acct(struct mm_struct *mm, unsigned long addr, pmd_t orig, pmd_t pmd) argument 225 pmd_t orig = *pmdp; local [all...] |
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_802_3.h | 34 __u8 orig[3]; member in struct:hdr_ui 42 __u8 orig[3]; member in struct:hdr_ni
|
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_misc.h | 91 static inline void sym_que_move(struct sym_quehead *orig, argument 96 first = orig->flink; 97 if (first != orig) { 100 last = orig->blink; 103 orig->flink = orig; 104 orig->blink = orig;
|
/linux-master/arch/mips/generic/ |
H A D | board-sead3.c | 184 unsigned int freq, orig, tick = 0; local 189 orig = readl(status_reg) & 0x2; /* get original sample */ 191 while ((readl(status_reg) & 0x2) == orig) 193 orig = orig ^ 0x2; /* flip the bit */ 200 while ((readl(status_reg) & 0x2) == orig) 202 orig = orig ^ 0x2; /* flip the bit */
|
/linux-master/net/netfilter/ |
H A D | xt_DSCP.c | 76 u_int8_t orig, nv; local 78 orig = ipv4_get_dsfield(iph); 79 nv = (orig & ~info->tos_mask) ^ info->tos_value; 81 if (orig != nv) { 96 u_int8_t orig, nv; local 98 orig = ipv6_get_dsfield(iph); 99 nv = (orig & ~info->tos_mask) ^ info->tos_value; 101 if (orig != nv) {
|
/linux-master/arch/riscv/kernel/ |
H A D | kernel_mode_vector.c | 28 int orig; local 30 orig = riscv_v_flags(); 31 BUG_ON((orig & flags) != 0); 32 riscv_v_flags_set(orig | flags); 38 int orig; local 41 orig = riscv_v_flags(); 42 BUG_ON((orig & flags) == 0); 43 riscv_v_flags_set(orig & ~flags);
|
/linux-master/tools/lib/perf/ |
H A D | cpumap.c | 410 * orig either gets freed and replaced with a new map, or reused 415 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, argument 423 if (perf_cpu_map__is_subset(orig, other)) 424 return orig; 425 if (perf_cpu_map__is_subset(other, orig)) { 426 perf_cpu_map__put(orig); 430 tmp_len = __perf_cpu_map__nr(orig) + __perf_cpu_map__nr(other); 437 while (i < __perf_cpu_map__nr(orig) && j < __perf_cpu_map__nr(other)) { 438 if (__perf_cpu_map__cpu(orig, i).cpu <= __perf_cpu_map__cpu(other, j).cpu) { 439 if (__perf_cpu_map__cpu(orig, 459 perf_cpu_map__intersect(struct perf_cpu_map *orig, struct perf_cpu_map *other) argument [all...] |
/linux-master/drivers/crypto/ |
H A D | omap-crypto.h | 30 void omap_crypto_cleanup(struct scatterlist *sg, struct scatterlist *orig,
|
/linux-master/arch/arc/include/asm/ |
H A D | atomic-llsc.h | 48 unsigned int val, orig; \ 51 "1: llock %[orig], [%[ctr]] \n" \ 52 " " #asm_op " %[val], %[orig], %[i] \n" \ 56 [orig] "=&r" (orig) \ 61 return orig; \
|
/linux-master/arch/mips/include/asm/ |
H A D | bitops.h | 184 unsigned long res, orig; local 189 orig = __test_bit_op(*m, "%0", 192 res = (orig & BIT(bit)) != 0; 228 unsigned long res, orig; local 240 orig = __test_bit_op(*m, "%0", 244 res = (orig & BIT(bit)) != 0; 265 unsigned long res, orig; local 272 orig = __test_bit_op(*m, "%0", 275 res = (orig & BIT(bit)) != 0; 286 unsigned long orig; local [all...] |
/linux-master/drivers/mtd/nand/ |
H A D | ecc.c | 529 struct nand_page_io_req *orig, *tweak; local 535 orig = &ctx->orig_req; 539 if (orig->datalen < nanddev_page_size(nand)) { 547 if (orig->ooblen < nanddev_per_page_oobsize(nand)) { 556 if (orig->type == NAND_PAGE_WRITE) { 558 memcpy((void *)tweak->databuf.out + orig->dataoffs, 559 orig->databuf.out, orig->datalen); 562 memcpy((void *)tweak->oobbuf.out + orig->ooboffs, 563 orig 571 struct nand_page_io_req *orig, *tweak; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtw88/ |
H A D | hci.h | 191 u32 orig; local 194 orig = rtw_read32(rtwdev, addr); 195 ret = (orig & mask) >> shift; 204 u32 orig; local 207 orig = rtw_read16(rtwdev, addr); 208 ret = (orig & mask) >> shift; 217 u32 orig; local 220 orig = rtw_read8(rtwdev, addr); 221 ret = (orig & mask) >> shift; 230 u32 orig; local 244 u8 orig, set; local [all...] |
/linux-master/net/batman-adv/ |
H A D | multicast.c | 1281 if (batadv_bla_is_backbone_gw_orig(bat_priv, orig_node->orig, vid)) { 1595 * @orig: the orig_node which multicast state might have changed of 1599 * orig, has toggled then this method updates the counter and the list 1602 * Caller needs to hold orig->mcast_handler_lock. 1605 struct batadv_orig_node *orig, 1608 struct hlist_node *node = &orig->mcast_want_all_unsnoopables_node; 1611 lockdep_assert_held(&orig->mcast_handler_lock); 1615 !(orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES)) { 1626 orig->mcast_flags & BATADV_MCAST_WANT_ALL_UNSNOOPABLES) { 1641 * @orig 1604 batadv_mcast_want_unsnoop_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1649 batadv_mcast_want_ipv4_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1694 batadv_mcast_want_ipv6_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1739 batadv_mcast_want_rtr4_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1784 batadv_mcast_want_rtr6_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1827 batadv_mcast_have_mc_ptype_update(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 mcast_flags) argument 1882 batadv_mcast_tvlv_ogm_handler(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 flags, void *tvlv_value, u16 tvlv_value_len) argument 2189 batadv_mcast_purge_orig(struct batadv_orig_node *orig) argument [all...] |
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-sysfs.c | 464 if (!info->orig || !info->target || 467 if (!info->orig->has_conns_grp || !info->target->has_conns_grp) 470 /* first link orig->target */ 471 ret = sysfs_add_link_to_group(&info->orig->dev.kobj, 478 /* second link target->orig */ 481 &info->orig->dev.kobj, 486 sysfs_remove_link_from_group(&info->orig->dev.kobj, 490 info->orig->nr_links++; 502 if (!info->orig || !info->target || 506 sysfs_remove_link_from_group(&info->orig 534 coresight_make_links(struct coresight_device *orig, struct coresight_connection *conn, struct coresight_device *target) argument 582 coresight_remove_links(struct coresight_device *orig, struct coresight_connection *conn) argument [all...] |
/linux-master/tools/objtool/ |
H A D | special.c | 23 unsigned char size, orig, new; member in struct:special_entry 34 .orig = ALT_ORIG_OFFSET, 44 .orig = JUMP_ORIG_OFFSET, 51 .orig = EX_ORIG_OFFSET, 97 orig_reloc = find_reloc_by_dest(elf, sec, offset + entry->orig); 99 WARN_FUNC("can't find orig reloc", sec, offset + entry->orig);
|
/linux-master/security/selinux/ss/ |
H A D | hashtab.c | 139 int hashtab_duplicate(struct hashtab *new, struct hashtab *orig, argument 141 struct hashtab_node *orig, void *args), 150 new->htable = kcalloc(orig->size, sizeof(*new->htable), GFP_KERNEL); 154 new->size = orig->size; 156 for (i = 0; i < orig->size; i++) { 158 for (cur = orig->htable[i]; cur; cur = cur->next) {
|