/linux-master/drivers/misc/cxl/ |
H A D | fault.c | 85 u64 ea) 90 if (!(rc = copro_calculate_slb(mm, ea, &slb))) { 113 struct mm_struct *mm, u64 ea) 117 pr_devel("CXL interrupt: Segment fault pe: %i ea: %#llx\n", ctx->pe, ea); 118 trace_cxl_ste_miss(ctx, ea); 120 if ((rc = cxl_fault_segment(ctx, mm, ea))) 283 static u64 next_segment(u64 ea, u64 vsid) argument 286 ea |= (1ULL << 40) - 1; 288 ea | 84 cxl_fault_segment(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument 112 cxl_handle_segment_miss(struct cxl_context *ctx, struct mm_struct *mm, u64 ea) argument 295 u64 ea, last_esid = 0; local [all...] |
/linux-master/fs/hpfs/ |
H A D | hpfs_fn.h | 56 unsigned i_ea_mode : 1; /* file's permission is stored in ea */ 57 unsigned i_ea_uid : 1; /* file's uid is stored in ea */ 58 unsigned i_ea_gid : 1; /* file's gid is stored in ea */ 145 static unsigned ea_valuelen(struct extended_attribute *ea) argument 147 return ea->valuelen_lo + 256 * ea->valuelen_hi; 150 static inline struct extended_attribute *next_ea(struct extended_attribute *ea) argument 152 return (struct extended_attribute *)((char *)ea + 5 + ea->namelen + ea_valuelen(ea)); 155 ea_sec(struct extended_attribute *ea) argument 160 ea_len(struct extended_attribute *ea) argument 165 ea_data(struct extended_attribute *ea) argument [all...] |
/linux-master/fs/udf/ |
H A D | misc.c | 30 uint8_t *ea = NULL, *ad = NULL; local 35 ea = iinfo->i_data; 39 ad = ea; 50 eahd = (struct extendedAttrHeaderDesc *)ea; 87 memmove(&ea[offset - aal + size], 88 &ea[aal], offset - aal); 97 memmove(&ea[offset - ial + size], 98 &ea[ial], offset - ial); 108 memmove(&ea[offset - aal + size], 109 &ea[aa 132 uint8_t *ea = NULL; local [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | hash_hugepage.c | 21 int __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid, argument 70 * Find the slot index details for this ea, using base page size. 73 index = (ea & ~HPAGE_PMD_MASK) >> shift; 76 vpn = hpt_vpn(ea, vsid, ssize); 85 flush_hash_hugepage(vsid, ea, pmdp, MMU_PAGE_64K, 163 hash_failure_debug(ea, access, vsid, trap, ssize,
|
H A D | hash_64k.c | 38 int __hash_page_4K(unsigned long ea, unsigned long access, unsigned long vsid, argument 89 subpg_index = (ea & (PAGE_SIZE - 1)) >> shift; 90 vpn = hpt_vpn(ea, vsid, ssize); 213 hash_failure_debug(ea, access, vsid, trap, ssize, 222 hpt_do_stress(ea, hpte_group); 228 int __hash_page_64K(unsigned long ea, unsigned long access, argument 275 vpn = hpt_vpn(ea, vsid, ssize); 328 hash_failure_debug(ea, access, vsid, trap, ssize, 337 hpt_do_stress(ea, hpte_group);
|
H A D | hash_4k.c | 21 int __hash_page_4K(unsigned long ea, unsigned long access, unsigned long vsid, argument 66 vpn = hpt_vpn(ea, vsid, ssize); 117 hash_failure_debug(ea, access, vsid, trap, ssize, 125 hpt_do_stress(ea, hpte_group);
|
H A D | hash_utils.c | 1380 static int subpage_protection(struct mm_struct *mm, unsigned long ea) argument 1389 if (ea >= spt->maxaddr) 1391 if (ea < 0x100000000UL) { 1395 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; 1399 sbpp = sbpm[(ea >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; 1402 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; 1405 spp >>= 30 - 2 * ((ea >> 12) & 0xf); 1418 static inline int subpage_protection(struct mm_struct *mm, unsigned long ea) argument 1424 void hash_failure_debug(unsigned long ea, unsigned long access, argument 1431 ea, acces 1436 check_paca_psize(unsigned long ea, struct mm_struct *mm, int psize, bool user_region) argument 1459 hash_page_mm(struct mm_struct *mm, unsigned long ea, unsigned long access, unsigned long trap, unsigned long flags) argument 1669 hash_page(unsigned long ea, unsigned long access, unsigned long trap, unsigned long dsisr) argument 1688 unsigned long ea = regs->dar; local 1745 should_hash_preload(struct mm_struct *mm, unsigned long ea) argument 1762 hash_preload(struct mm_struct *mm, pte_t *ptep, unsigned long ea, bool is_exec, unsigned long trap) argument 2077 hpt_do_stress(unsigned long ea, unsigned long hpte_group) argument [all...] |
H A D | hash_pgtable.c | 147 int hash__map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) argument 157 pgdp = pgd_offset_k(ea); 158 p4dp = p4d_offset(pgdp, ea); 159 pudp = pud_alloc(&init_mm, p4dp, ea); 162 pmdp = pmd_alloc(&init_mm, pudp, ea); 165 ptep = pte_alloc_kernel(pmdp, ea); 168 set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot)); 176 if (htab_bolt_mapping(ea, ea + PAGE_SIZE, pa, pgprot_val(prot),
|
/linux-master/arch/powerpc/include/asm/book3s/64/ |
H A D | mmu-hash.h | 146 unsigned long ea, 156 int (*hpte_removebolted)(unsigned long ea, 420 static inline unsigned long hpt_vpn(unsigned long ea, argument 427 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); 459 extern int __hash_page_4K(unsigned long ea, unsigned long access, 462 extern int __hash_page_64K(unsigned long ea, unsigned long access, 467 extern int hash_page_mm(struct mm_struct *mm, unsigned long ea, 470 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap, 473 int __hash_page(unsigned long trap, unsigned long ea, unsigned long dsisr, unsigned long msr); 474 int __hash_page_huge(unsigned long ea, unsigne 482 __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid, pmd_t *pmdp, unsigned long trap, unsigned long flags, int ssize, unsigned int psize) argument 778 get_vsid(unsigned long context, unsigned long ea, int ssize) argument 823 get_kernel_context(unsigned long ea) argument 844 get_kernel_vsid(unsigned long ea, int ssize) argument 865 mk_esid_data(unsigned long ea, int ssize, enum slb_index index) argument 878 mk_vsid_data(unsigned long ea, int ssize, unsigned long flags) argument [all...] |
H A D | hash.h | 90 #define NON_LINEAR_REGION_ID(ea) ((((unsigned long)ea - H_KERN_VIRT_START) >> REGION_SHIFT) + 2) 115 static inline int get_region_id(unsigned long ea) argument 118 int id = (ea >> 60UL); 126 if (ea < H_KERN_VIRT_START) 131 region_id = NON_LINEAR_REGION_ID(ea); 261 int hash__map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot);
|
H A D | mmu.h | 270 static inline int get_user_context(mm_context_t *ctx, unsigned long ea) argument 272 int index = ea >> MAX_EA_BITS_PER_CONTEXT; 283 unsigned long ea, int ssize) 285 unsigned long context = get_user_context(ctx, ea); 287 return get_vsid(context, ea, ssize); 282 get_user_vsid(mm_context_t *ctx, unsigned long ea, int ssize) argument
|
/linux-master/arch/powerpc/mm/kasan/ |
H A D | init_book3e_64.c | 32 static int __init kasan_map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) argument 40 pgdp = pgd_offset_k(ea); 41 p4dp = p4d_offset(pgdp, ea); 47 pudp = pud_offset(p4dp, ea); 53 pmdp = pmd_offset(pudp, ea); 59 ptep = pte_offset_kernel(pmdp, ea); 61 __set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot), 0);
|
/linux-master/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 760 struct dev_ext_attribute *ea; local 762 ea = container_of(dattr, struct dev_ext_attribute, attr); 763 return scnprintf(buf, PAGE_SIZE, "0x%lx\n", (unsigned long)(ea->var)); 769 struct dev_ext_attribute *ea; local 777 ea = devm_kzalloc(dev, sizeof(*ea), GFP_KERNEL); 778 if (!ea) 789 sysfs_attr_init(&ea->attr.attr); 790 ea->attr.attr.name = devm_kstrdup(dev, name, GFP_KERNEL); 791 if (!ea 827 etm_perf_del_symlink_group(struct dev_ext_attribute *ea, const char *group_name) argument 852 struct dev_ext_attribute *ea; local [all...] |
/linux-master/fs/ntfs3/ |
H A D | xattr.c | 24 static inline size_t unpacked_ea_size(const struct EA_FULL *ea) argument 26 return ea->size ? le32_to_cpu(ea->size) : 27 ALIGN(struct_size(ea, name, 28 1 + ea->name_len + 29 le16_to_cpu(ea->elength)), 33 static inline size_t packed_ea_size(const struct EA_FULL *ea) argument 35 return struct_size(ea, name, 36 1 + ea->name_len + le16_to_cpu(ea 55 const struct EA_FULL *ea = Add2Ptr(ea_all, *off); local 73 ntfs_read_ea(struct ntfs_inode *ni, struct EA_FULL **ea, size_t add_bytes, const struct EA_INFO **info) argument 198 const struct EA_FULL *ea; local 253 const struct EA_FULL *ea; local 358 struct EA_FULL *ea; local [all...] |
/linux-master/arch/nios2/kernel/ |
H A D | misaligned.c | 75 fp->ea -= 4; 83 isn = *(unsigned long *)(fp->ea); 156 fp->ea, (unsigned int)addr, 160 fp->ea, 164 _exception(SIGSEGV, fp, SEGV_MAPERR, fp->ea); 174 fp->ea += 4; 178 fp->ea, 193 pr_err("user unaligned access @ %#lx; isn=0x%08lx ea=0x%08lx ra=0x%08lx sp=0x%08lx\n", 195 fp->ea, fp->ra, fp->sp); 199 _exception(SIGBUS, fp, BUS_ADRALN, fp->ea); [all...] |
H A D | kgdb.c | 49 { "ea", GDB_SIZEOF_REG, -1 }, 52 { "pc", GDB_SIZEOF_REG, offsetof(struct pt_regs, ea) }, 101 gdb_regs[GDB_PC] = p->thread.kregs->ea; 106 regs->ea = pc; 122 regs->ea = addr; 137 regs->ea -= 4;
|
H A D | signal.c | 83 err |= __get_user(regs->ea, &gregs[27]); 161 err |= __put_user(regs->ea, &gregs[27]); 212 regs->ea = (unsigned long) ksig->ka.sa.sa_handler; 246 continue_addr = regs->ea; 264 regs->ea = restart_addr; 272 if (unlikely(restart && regs->ea == restart_addr)) { 279 regs->ea = continue_addr; 289 if (unlikely(restart) && regs->ea == restart_addr) { 290 regs->ea = continue_addr;
|
H A D | ptrace.c | 36 membuf_store(&to, regs->ea); 39 membuf_store(&to, regs->ea); /* use ea for PC */ 78 REG_IN_ONE(®s->ea, PTR_EA); 81 REG_IN_ONE(®s->ea, PTR_PC); /* use ea for PC */
|
/linux-master/arch/powerpc/mm/ptdump/ |
H A D | hashpagetable.c | 183 static void dump_hpte_info(struct pg_state *st, unsigned long ea, u64 v, u64 r, argument 188 while (ea >= st->marker[1].start_address) { 192 seq_printf(st->seq, "0x%lx:\t", ea); 206 static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64 argument 215 vsid = get_kernel_vsid(ea, ssize); 216 vpn = hpt_vpn(ea, vsid, ssize); 239 static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *r) argument 251 vsid = get_kernel_vsid(ea, ssize); 252 vpn = hpt_vpn(ea, vsid, ssize); 316 static int base_hpte_find(unsigned long ea, in argument 325 hpte_find(struct pg_state *st, unsigned long ea, int psize) argument [all...] |
/linux-master/drivers/net/ipa/ |
H A D | ipa_sysfs.c | 106 struct dev_ext_attribute *ea; local 111 ea = container_of(dev_attr, struct dev_ext_attribute, attr); 113 visible = !!ipa->name_map[(enum ipa_endpoint_name)(uintptr_t)ea->var]; 123 struct dev_ext_attribute *ea; local 125 ea = container_of(attr, struct dev_ext_attribute, attr); 126 endpoint = ipa->name_map[(enum ipa_endpoint_name)(uintptr_t)ea->var];
|
/linux-master/fs/smb/client/ |
H A D | reparse.c | 185 cc->ctx.DataOffset = cpu_to_le16(offsetof(struct smb2_create_ea_ctx, ea)); 200 struct smb2_file_full_ea_info *ea; local 227 xattrs[i].next = ALIGN(sizeof(*ea) + name_size + 236 ea = &cc->ea; 238 ea = (void *)((u8 *)ea + next); 240 ea->next_entry_offset = cpu_to_le32(next); 242 ea->ea_name_length = name_size - 1; 243 ea 422 struct smb2_file_full_ea_info *ea; local [all...] |
/linux-master/arch/mips/sgi-ip32/ |
H A D | ip32-setup.c | 46 static inline void str2eaddr(unsigned char *ea, unsigned char *str) argument 57 ea[i] = num;
|
/linux-master/arch/nios2/include/asm/ |
H A D | ptrace.h | 44 unsigned long ea; /* Exception return address (pc) */ member in struct:pt_regs
|
H A D | processor.h | 70 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->ea)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 60 unsigned long ea, int type, int size, 64 int *type, int *size, unsigned long *ea);
|