Home
last modified time | relevance | path

Searched refs:ea (Results 1 – 25 of 181) sorted by relevance

12345678

/linux/fs/hpfs/
A Dea.c35 hpfs_ea_remove(s, ea_sec(ea), ea_in_anode(ea), ea_len(ea)); in hpfs_ea_ext_remove()
37 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_ea_ext_remove()
83 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_read_ea()
89 memcpy(buf, ea_data(ea), ea_valuelen(ea)); in hpfs_read_ea()
117 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_read_ea()
123 if (hpfs_ea_read(s, ea_sec(ea), ea_in_anode(ea), 0, ea_len(ea), buf)) in hpfs_read_ea()
138 for (ea = fnode_ea(fnode); ea < ea_end; ea = next_ea(ea)) in hpfs_get_ea()
141 return get_indirect_ea(s, ea_in_anode(ea), ea_sec(ea), *size = ea_len(ea)); in hpfs_get_ea()
167 return get_indirect_ea(s, ea_in_anode(ea), ea_sec(ea), *size = ea_len(ea)); in hpfs_get_ea()
179 pos += ea->namelen + ea_valuelen(ea) + 5; in hpfs_get_ea()
[all …]
A Dinode.c50 void *ea; in hpfs_read_inode() local
68 kfree(ea); in hpfs_read_inode()
75 kfree(ea); in hpfs_read_inode()
78 kfree(ea); in hpfs_read_inode()
93 mode = le16_to_cpu(*(__le16*)ea); in hpfs_read_inode()
96 kfree(ea); in hpfs_read_inode()
102 kfree(ea); in hpfs_read_inode()
154 __le32 ea; in hpfs_write_inode_ea() local
156 ea = cpu_to_le32(i_uid_read(i)); in hpfs_write_inode_ea()
161 ea = cpu_to_le32(i_gid_read(i)); in hpfs_write_inode_ea()
[all …]
A Dhpfs_fn.h145 static unsigned ea_valuelen(struct extended_attribute *ea) in ea_valuelen() argument
147 return ea->valuelen_lo + 256 * ea->valuelen_hi; in ea_valuelen()
150 static inline struct extended_attribute *next_ea(struct extended_attribute *ea) in next_ea() argument
152 return (struct extended_attribute *)((char *)ea + 5 + ea->namelen + ea_valuelen(ea)); in next_ea()
155 static inline secno ea_sec(struct extended_attribute *ea) in ea_sec() argument
157 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen))); in ea_sec()
160 static inline secno ea_len(struct extended_attribute *ea) in ea_len() argument
162 return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen))); in ea_len()
165 static inline char *ea_data(struct extended_attribute *ea) in ea_data() argument
167 return (char *)((char *)ea + 5 + ea->namelen); in ea_data()
/linux/fs/gfs2/
A Dxattr.h13 #define GFS2_EA_REC_LEN(ea) be32_to_cpu((ea)->ea_rec_len) argument
14 #define GFS2_EA_DATA_LEN(ea) be32_to_cpu((ea)->ea_data_len) argument
16 #define GFS2_EA_SIZE(ea) \ argument
18 ((GFS2_EA_IS_STUFFED(ea)) ? GFS2_EA_DATA_LEN(ea) : \
21 #define GFS2_EA_IS_STUFFED(ea) (!(ea)->ea_num_ptrs) argument
22 #define GFS2_EA_IS_LAST(ea) ((ea)->ea_flags & GFS2_EAFLAG_LAST) argument
27 #define GFS2_EA2NAME(ea) ((char *)((struct gfs2_ea_header *)(ea) + 1)) argument
28 #define GFS2_EA2DATA(ea) (GFS2_EA2NAME(ea) + (ea)->ea_name_len) argument
31 ((__be64 *)(GFS2_EA2NAME(ea) + ALIGN((ea)->ea_name_len, 8)))
33 #define GFS2_EA2NEXT(ea) \ argument
[all …]
A Dxattr.c98 for (ea = GFS2_EA_BH2FIRST(bh);; prev = ea, ea = GFS2_EA2NEXT(ea)) { in ea_foreach_i()
101 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <= in ea_foreach_i()
186 !memcmp(GFS2_EA2NAME(ea), ef->name, ea->ea_name_len)) { in ea_find_i()
190 el->el_ea = ea; in ea_find_i()
311 ea->ea_num_ptrs = 0; in ea_dealloc_unstuffed()
655 ea->ea_num_ptrs = 0; in ea_alloc_blk()
683 ea->__pad = 0; in ea_write()
884 ea = ea_split_ea(ea); in ea_set_simple_noalloc()
908 ea = ea_split_ea(ea); in ea_set_simple_alloc()
941 } else if (GFS2_EA_REC_LEN(ea) - GFS2_EA_SIZE(ea) >= size) in ea_set_simple()
[all …]
/linux/fs/jfs/
A Dxattr.c112 memcpy(buffer, ea->name, ea->namelen); in copy_name()
169 ea->flag = 0; in ea_write_inline()
170 DXDsize(ea, 0); in ea_write_inline()
682 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); in __jfs_setxattr()
683 ea = NEXT_EA(ea)) { in __jfs_setxattr()
691 old_ea = ea; in __jfs_setxattr()
755 ea->flag = 0; in __jfs_setxattr()
820 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); ea = NEXT_EA(ea)) in __jfs_getxattr()
831 value = ((char *) &ea->name) + ea->namelen + 1; in __jfs_getxattr()
879 for (ea = FIRST_EA(ealist); ea < END_EALIST(ealist); ea = NEXT_EA(ea)) { in jfs_listxattr()
[all …]
A Djfs_xattr.h25 struct jfs_ea ea[]; /* Variable length list */ member
35 #define EA_SIZE(ea) \ argument
36 (sizeof (struct jfs_ea) + (ea)->namelen + 1 + \
37 le16_to_cpu((ea)->valuelen))
38 #define NEXT_EA(ea) ((struct jfs_ea *) (((char *) (ea)) + (EA_SIZE (ea)))) argument
39 #define FIRST_EA(ealist) ((ealist)->ea)
/linux/arch/powerpc/lib/
A Dsstep.c139 return ea; in dform_ea()
157 return ea; in dsform_ea()
174 return ea; in dqform_ea()
193 return ea; in xform_ea()
220 ea = (ea << 2) | (d & 0x3); in mlsd_8lsd_ea()
234 return ea; in mlsd_8lsd_ea()
382 ea += c; in __copy_mem_in()
518 ea += c; in __copy_mem_out()
692 err = copy_mem_in(&u.b[ea & 0xf], ea, size, regs); in do_vec_load()
3337 ea = truncate_if_32bit(regs->msr, op->ea); in emulate_loadstore()
[all …]
/linux/arch/powerpc/mm/
A Dcopro_fault.c38 vma = find_vma(mm, ea); in copro_handle_mm_fault()
42 if (ea < vma->vm_start) { in copro_handle_mm_fault()
45 if (expand_stack(vma, ea)) in copro_handle_mm_fault()
90 switch (get_region_id(ea)) { in copro_calculate_slb()
95 psize = get_slice_psize(mm, ea); in copro_calculate_slb()
96 ssize = user_segment_size(ea); in copro_calculate_slb()
97 vsid = get_user_vsid(&mm->context, ea, ssize); in copro_calculate_slb()
104 vsid = get_kernel_vsid(ea, mmu_kernel_ssize); in copro_calculate_slb()
108 pr_devel("%s: 0x%llx -- IO_REGION_ID\n", __func__, ea); in copro_calculate_slb()
111 vsid = get_kernel_vsid(ea, mmu_kernel_ssize); in copro_calculate_slb()
[all …]
/linux/arch/powerpc/mm/book3s64/
A Dslb.c59 ea &= ~((1UL << SID_SHIFT) - 1); in assert_slb_presence()
98 assert_slb_presence(false, ea); in create_shadowed_slbe()
304 if (ea & ESID_MASK_1T) in preload_add()
305 ea &= ESID_MASK_1T; in preload_add()
308 esid = ea >> SID_SHIFT; in preload_add()
521 unsigned long ea; in switch_slb() local
526 slb_allocate_user(mm, ea); in switch_slb()
754 if (ea >= H_VMEMMAP_END) in slb_allocate_kernel()
761 if (ea >= H_VMALLOC_END) in slb_allocate_kernel()
768 if (ea >= H_KERN_IO_END) in slb_allocate_kernel()
[all …]
A Dhash_utils.c1228 if (ea >= spt->maxaddr) in subpage_protection()
1230 if (ea < 0x100000000UL) { in subpage_protection()
1270 ea, access, current->comm); in hash_failure_debug()
1311 ea, access, trap); in hash_page_mm()
1315 switch (get_region_id(ea)) { in hash_page_mm()
1324 ssize = user_segment_size(ea); in hash_page_mm()
1442 demote_segment_4k(mm, ea); in hash_page_mm()
1452 demote_segment_4k(mm, ea); in hash_page_mm()
1528 unsigned long ea = regs->dar; in DEFINE_INTERRUPT_HANDLER() local
1541 region_id = get_region_id(ea); in DEFINE_INTERRUPT_HANDLER()
[all …]
/linux/arch/powerpc/kernel/
A Dhw_breakpoint_constraints.c17 return ((ea < info->address + info->len) && in ea_user_range_overlaps()
18 (ea + size > info->address)); in ea_user_range_overlaps()
47 return ((ea < hw_end_addr) && (ea + size > hw_start_addr)); in ea_hw_range_overlaps()
84 unsigned long ea, int type, int size, in wp_check_constraints() argument
118 if (ea_user_range_overlaps(ea, size, info)) in wp_check_constraints()
121 if (ea_hw_range_overlaps(ea, size, info)) { in wp_check_constraints()
131 int *type, int *size, unsigned long *ea) in wp_get_instr_detail() argument
140 *ea = op.ea; in wp_get_instr_detail()
143 *ea &= 0xffffffffUL; in wp_get_instr_detail()
149 *ea &= ~(*size - 1); in wp_get_instr_detail()
[all …]
/linux/arch/nios2/kernel/
A Dtraps.c116 fp->ea -= 4; in breakpoint_c()
127 fp->ea -= 4; in handle_unaligned_c()
149 fp->ea -= 4; in handle_illegal_c()
150 _exception(SIGILL, fp, ILL_ILLOPC, fp->ea); in handle_illegal_c()
156 fp->ea -= 4; in handle_supervisor_instr()
157 _exception(SIGILL, fp, ILL_PRVOPC, fp->ea); in handle_supervisor_instr()
163 fp->ea -= 4; in handle_diverror_c()
177 regs->ea -= 4; in unhandled_exception()
185 _send_sig(SIGUSR1, 0, fp->ea); in handle_trap_1_c()
190 _send_sig(SIGUSR2, 0, fp->ea); in handle_trap_2_c()
[all …]
A Dmisaligned.c75 fp->ea -= 4; in handle_unaligned_c()
83 isn = *(unsigned long *)(fp->ea); in handle_unaligned_c()
156 fp->ea, (unsigned int)addr, in handle_unaligned_c()
160 fp->ea, in handle_unaligned_c()
164 _exception(SIGSEGV, fp, SEGV_MAPERR, fp->ea); in handle_unaligned_c()
174 fp->ea += 4; in handle_unaligned_c()
178 fp->ea, in handle_unaligned_c()
195 fp->ea, fp->ra, fp->sp); in handle_unaligned_c()
199 _exception(SIGBUS, fp, BUS_ADRALN, fp->ea); in handle_unaligned_c()
201 fp->ea += 4; /* else advance */ in handle_unaligned_c()
/linux/arch/powerpc/mm/nohash/
A Dbook3e_pgtable.c83 pgdp = pgd_offset_k(ea); in map_kernel_page()
84 p4dp = p4d_offset(pgdp, ea); in map_kernel_page()
85 pudp = pud_alloc(&init_mm, p4dp, ea); in map_kernel_page()
88 pmdp = pmd_alloc(&init_mm, pudp, ea); in map_kernel_page()
91 ptep = pte_alloc_kernel(pmdp, ea); in map_kernel_page()
95 pgdp = pgd_offset_k(ea); in map_kernel_page()
96 p4dp = p4d_offset(pgdp, ea); in map_kernel_page()
101 pudp = pud_offset(p4dp, ea); in map_kernel_page()
106 pmdp = pmd_offset(pudp, ea); in map_kernel_page()
111 ptep = pte_offset_kernel(pmdp, ea); in map_kernel_page()
[all …]
A Dbook3e_hugetlbpage.c101 static inline int book3e_tlb_exists(unsigned long ea, unsigned long pid) in book3e_tlb_exists() argument
113 : "=&r"(found) : "r"(ea)); in book3e_tlb_exists()
119 : "=&r"(found) : "r"(ea)); in book3e_tlb_exists()
126 book3e_hugetlb_preload(struct vm_area_struct *vma, unsigned long ea, pte_t pte) in book3e_hugetlb_preload() argument
135 if (unlikely(is_kernel_addr(ea))) in book3e_hugetlb_preload()
151 if (unlikely(book3e_tlb_exists(ea, mm->context.id))) { in book3e_hugetlb_preload()
162 mas2 = ea & ~((1UL << shift) - 1); in book3e_hugetlb_preload()
/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h145 unsigned long ea,
155 int (*hpte_removebolted)(unsigned long ea,
419 static inline unsigned long hpt_vpn(unsigned long ea, in hpt_vpn() argument
781 if ((ea & EA_MASK) >= H_PGTABLE_RANGE) in get_vsid()
790 ((ea >> SID_SHIFT) & ESID_BITS_MASK); in get_vsid()
796 ((ea >> SID_SHIFT_1T) & ESID_BITS_1T_MASK); in get_vsid()
818 unsigned long region_id = get_region_id(ea); in get_kernel_context()
828 ctx = 1 + ((ea & EA_MASK) >> MAX_EA_BITS_PER_CONTEXT); in get_kernel_context()
841 if (!is_kernel_addr(ea)) in get_kernel_vsid()
844 context = get_kernel_context(ea); in get_kernel_vsid()
[all …]
A Dhash.h86 #define NON_LINEAR_REGION_ID(ea) ((((unsigned long)ea - H_KERN_VIRT_START) >> REGION_SHIFT) + 2) argument
115 static inline int get_region_id(unsigned long ea) in get_region_id() argument
118 int id = (ea >> 60UL); in get_region_id()
126 if (ea < H_KERN_VIRT_START) in get_region_id()
131 region_id = NON_LINEAR_REGION_ID(ea); in get_region_id()
247 int hash__map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot);
/linux/fs/ntfs3/
A Dxattr.c25 return ea->size ? le32_to_cpu(ea->size) in unpacked_ea_size()
27 1 + ea->name_len + in unpacked_ea_size()
35 1 + ea->name_len + le16_to_cpu(ea->elength)) - in packed_ea_size()
86 *ea = NULL; in ntfs_read_ea()
139 *ea = ea_p; in ntfs_read_ea()
144 *ea = NULL; in ntfs_read_ea()
187 memcpy(buffer + ret, ea->name, ea->name_len); in ntfs_list_ea()
249 memcpy(buffer, ea->name + ea->name_len + 1, len); in ntfs_get_ea()
307 struct EA_FULL *ea; in ntfs_set_ea() local
322 !memcmp(ea->name + ea->name_len + 1, value, val_size)) { in ntfs_set_ea()
[all …]
/linux/drivers/misc/cxl/
A Dfault.c85 u64 ea) in cxl_fault_segment() argument
113 struct mm_struct *mm, u64 ea) in cxl_handle_segment_miss() argument
118 trace_cxl_ste_miss(ctx, ea); in cxl_handle_segment_miss()
294 cxl_fault_segment(ctx, mm, ea); in cxl_prefault_one()
299 static u64 next_segment(u64 ea, u64 vsid) in next_segment() argument
302 ea |= (1ULL << 40) - 1; in next_segment()
304 ea |= (1ULL << 28) - 1; in next_segment()
306 return ea + 1; in next_segment()
311 u64 ea, last_esid = 0; in cxl_prefault_vma() local
326 for (ea = vma->vm_start; ea < vma->vm_end; in cxl_prefault_vma()
[all …]
/linux/drivers/hwtracing/coresight/
A Dcoresight-etm-perf.c724 struct dev_ext_attribute *ea; in etm_perf_sink_name_show() local
741 ea = devm_kzalloc(dev, sizeof(*ea), GFP_KERNEL); in etm_perf_add_symlink_group()
742 if (!ea) in etm_perf_add_symlink_group()
755 if (!ea->attr.attr.name) in etm_perf_add_symlink_group()
758 ea->attr.attr.mode = 0444; in etm_perf_add_symlink_group()
777 if (csdev->ea != NULL) in etm_perf_add_symlink_sink()
782 if (IS_ERR(csdev->ea)) { in etm_perf_add_symlink_sink()
783 err = PTR_ERR(csdev->ea); in etm_perf_add_symlink_sink()
784 csdev->ea = NULL; in etm_perf_add_symlink_sink()
805 if (!csdev->ea) in etm_perf_del_symlink_sink()
[all …]
/linux/fs/udf/
A Dmisc.c50 uint8_t *ea = NULL, *ad = NULL; in udf_add_extendedattr() local
55 ea = iinfo->i_data; in udf_add_extendedattr()
59 ad = ea; in udf_add_extendedattr()
107 memmove(&ea[offset - aal + size], in udf_add_extendedattr()
108 &ea[aal], offset - aal); in udf_add_extendedattr()
117 memmove(&ea[offset - ial + size], in udf_add_extendedattr()
118 &ea[ial], offset - ial); in udf_add_extendedattr()
128 memmove(&ea[offset - aal + size], in udf_add_extendedattr()
129 &ea[aal], offset - aal); in udf_add_extendedattr()
152 uint8_t *ea = NULL; in udf_get_extendedattr() local
[all …]
/linux/arch/powerpc/include/asm/
A Dpte-walk.h7 extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea,
10 static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea, in find_linux_pte() argument
16 pte = __find_linux_pte(pgdir, ea, is_thp, hshift); in find_linux_pte()
29 static inline pte_t *find_init_mm_pte(unsigned long ea, unsigned *hshift) in find_init_mm_pte() argument
32 return __find_linux_pte(pgdir, ea, NULL, hshift); in find_init_mm_pte()
67 static inline pte_t *find_current_mm_pte(pgd_t *pgdir, unsigned long ea, in find_current_mm_pte() argument
75 pte = __find_linux_pte(pgdir, ea, is_thp, hshift); in find_current_mm_pte()
/linux/arch/powerpc/platforms/cell/spufs/
A Dfault.c24 unsigned long ea, int type) in spufs_handle_event() argument
38 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *)ea); in spufs_handle_event()
88 u64 ea, dsisr, access; in spufs_handle_class1() local
102 ea = ctx->csa.class_1_dar; in spufs_handle_class1()
110 pr_debug("ctx %p: ea %016llx, dsisr %016llx state %d\n", ctx, ea, in spufs_handle_class1()
123 ret = hash_page(ea, access, 0x300, dsisr); in spufs_handle_class1()
128 ret = copro_handle_mm_fault(current->mm, ea, dsisr, &flt); in spufs_handle_class1()
163 spufs_handle_event(ctx, ea, SPE_EVENT_SPE_DATA_STORAGE); in spufs_handle_class1()
/linux/arch/powerpc/mm/ptdump/
A Dhashpagetable.c188 while (ea >= st->marker[1].start_address) { in dump_hpte_info()
192 seq_printf(st->seq, "0x%lx:\t", ea); in dump_hpte_info()
215 vsid = get_kernel_vsid(ea, ssize); in native_find()
216 vpn = hpt_vpn(ea, vsid, ssize); in native_find()
248 vsid = get_kernel_vsid(ea, ssize); in pseries_find()
249 vpn = hpt_vpn(ea, vsid, ssize); in pseries_find()
317 return pseries_find(ea, psize, primary, v, r); in base_hpte_find()
319 return native_find(ea, psize, primary, v, r); in base_hpte_find()
329 if (ea < PAGE_OFFSET) in hpte_find()
333 slot = base_hpte_find(ea, psize, true, &v, &r); in hpte_find()
[all …]

Completed in 55 milliseconds

12345678