Searched refs:ea (Results 1 - 25 of 159) sorted by relevance

1234567

/linux-master/fs/gfs2/
H A Dxattr.h13 #define GFS2_EA_REC_LEN(ea) be32_to_cpu((ea)->ea_rec_len)
14 #define GFS2_EA_DATA_LEN(ea) be32_to_cpu((ea)->ea_data_len)
16 #define GFS2_EA_SIZE(ea) \
17 ALIGN(sizeof(struct gfs2_ea_header) + (ea)->ea_name_len + \
18 ((GFS2_EA_IS_STUFFED(ea)) ? GFS2_EA_DATA_LEN(ea) : \
19 (sizeof(__be64) * (ea)->ea_num_ptrs)), 8)
21 #define GFS2_EA_IS_STUFFED(ea) (!(e
[all...]
H A Dxattr.c85 struct gfs2_ea_header *ea,
92 struct gfs2_ea_header *ea, *prev = NULL; local
98 for (ea = GFS2_EA_BH2FIRST(bh);; prev = ea, ea = GFS2_EA2NEXT(ea)) {
99 if (!GFS2_EA_REC_LEN(ea))
101 if (!(bh->b_data <= (char *)ea && (char *)GFS2_EA2NEXT(ea) <=
104 if (!gfs2_eatype_valid(sdp, ea
175 ea_find_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
229 ea_dealloc_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
324 ea_remove_unstuffed(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, int leave) argument
350 ea_list_i(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
453 gfs2_iter_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea, const char *din, char *dout) argument
637 struct gfs2_ea_header *ea; local
674 ea_write(struct gfs2_inode *ip, struct gfs2_ea_header *ea, struct gfs2_ea_request *er) argument
820 ea_split_ea(struct gfs2_ea_header *ea) argument
840 struct gfs2_ea_header *ea = el->el_ea; local
871 ea_set_simple_noalloc(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct ea_set *es) argument
902 struct gfs2_ea_header *ea = es->es_ea; local
920 ea_set_simple(struct gfs2_inode *ip, struct buffer_head *bh, struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, void *private) argument
1087 struct gfs2_ea_header *ea = el->el_ea; local
[all...]
/linux-master/fs/hpfs/
H A Dea.c3 * linux/fs/hpfs/ea.c
20 struct extended_attribute *ea = (struct extended_attribute *)ex; local
27 if (ea_indirect(ea)) {
28 if (ea_valuelen(ea) != 8) {
29 hpfs_error(s, "ea_indirect(ea) set while ea->valuelen!=8, %s %08x, pos %08x",
33 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4))
35 hpfs_ea_remove(s, ea_sec(ea), ea_in_anode(ea), ea_len(ea));
81 struct extended_attribute *ea; local
136 struct extended_attribute *ea; local
199 struct extended_attribute *ea; local
[all...]
H A DMakefile8 hpfs-objs := alloc.o anode.o buffer.o dentry.o dir.o dnode.o ea.o file.o \
H A Dinode.c50 void *ea; local
63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) {
65 i_uid_write(i, le16_to_cpu(*(__le16*)ea));
68 kfree(ea);
70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) {
72 i_gid_write(i, le16_to_cpu(*(__le16*)ea));
75 kfree(ea);
77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) {
78 kfree(ea);
89 if ((ea
154 __le32 ea; local
[all...]
/linux-master/arch/nios2/mm/
H A Dextable.c18 fixup = search_exception_tables(regs->ea);
20 regs->ea = fixup->fixup;
/linux-master/fs/jfs/
H A Djfs_xattr.h25 struct jfs_ea ea[]; /* Variable length list */ member in struct:jfs_ea_list
35 #define EA_SIZE(ea) \
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))))
39 #define FIRST_EA(ealist) ((ealist)->ea)
H A Dxattr.c62 dxd_t new_ea; /* dxd to replace ea when modifying xattr */
63 struct metapage *mp; /* metapage containing ea list */
64 struct jfs_ea_list *xattr; /* buffer containing ea list */
95 static inline int name_size(struct jfs_ea *ea) argument
97 if (is_known_namespace(ea->name))
98 return ea->namelen;
100 return ea->namelen + XATTR_OS2_PREFIX_LEN;
103 static inline int copy_name(char *buffer, struct jfs_ea *ea) argument
105 int len = ea->namelen;
107 if (!is_known_namespace(ea
143 ea_write_inline(struct inode *ip, struct jfs_ea_list *ealist, int size, dxd_t * ea) argument
201 ea_write(struct inode *ip, struct jfs_ea_list *ealist, int size, dxd_t * ea) argument
659 struct jfs_ea *ea, *old_ea = NULL, *next_ea = NULL; local
798 struct jfs_ea *ea; local
848 can_list(struct jfs_ea *ea) argument
862 struct jfs_ea *ea; local
[all...]
/linux-master/arch/powerpc/math-emu/
H A Dlfd.c10 lfd(void *frD, void *ea) argument
12 if (copy_from_user(frD, ea, sizeof(double)))
15 printk("%s: D %p, ea %p: ", __func__, frD, ea);
H A Dstfd.c7 stfd(void *frS, void *ea) argument
11 printk("%s: S %p, ea %p: ", __func__, frS, ea);
17 if (copy_to_user(ea, frS, sizeof(double)))
H A Dstfiwx.c7 stfiwx(u32 *frS, void *ea) argument
10 printk("%s: %p %p\n", __func__, frS, ea);
13 if (copy_to_user(ea, &frS[1], sizeof(frS[1])))
H A Dlfs.c12 lfs(void *frD, void *ea) argument
20 printk("%s: D %p, ea %p\n", __func__, frD, ea);
23 if (copy_from_user(&f, ea, sizeof(float)))
H A Dstfs.c12 stfs(void *frS, void *ea) argument
20 printk("%s: S %p, ea %p\n", __func__, frS, ea);
38 if (copy_to_user(ea, &f, sizeof(float)))
/linux-master/arch/powerpc/include/asm/
H A Disa-bridge.h13 unsigned long ea = (unsigned long)address; local
14 return ea >= ISA_IO_BASE && ea < ISA_IO_END;
H A Dcopro.h16 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea,
19 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb);
H 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, argument
16 pte = __find_linux_pte(pgdir, ea, is_thp, hshift);
29 static inline pte_t *find_init_mm_pte(unsigned long ea, unsigned *hshift) argument
32 return __find_linux_pte(pgdir, ea, NULL, hshift);
/linux-master/arch/powerpc/mm/
H A Dcopro_fault.c23 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, argument
36 vma = lock_mm_and_find_vma(mm, ea, NULL);
59 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL);
83 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb) argument
88 switch (get_region_id(ea)) {
90 pr_devel("%s: 0x%llx -- USER_REGION_ID\n", __func__, ea);
93 psize = get_slice_psize(mm, ea);
94 ssize = user_segment_size(ea);
95 vsid = get_user_vsid(&mm->context, ea, ssize);
99 pr_devel("%s: 0x%llx -- VMALLOC_REGION_ID\n", __func__, ea);
[all...]
/linux-master/arch/powerpc/mm/nohash/
H A Dbook3e_pgtable.c74 int __ref map_kernel_page(unsigned long ea, phys_addr_t pa, pgprot_t prot) argument
84 pgdp = pgd_offset_k(ea);
85 p4dp = p4d_offset(pgdp, ea);
86 pudp = pud_alloc(&init_mm, p4dp, ea);
89 pmdp = pmd_alloc(&init_mm, pudp, ea);
92 ptep = pte_alloc_kernel(pmdp, ea);
96 pgdp = pgd_offset_k(ea);
97 p4dp = p4d_offset(pgdp, ea);
102 pudp = pud_offset(p4dp, ea);
107 pmdp = pmd_offset(pudp, ea);
[all...]
H A De500_hugetlbpage.c104 static inline int book3e_tlb_exists(unsigned long ea, unsigned long pid) argument
113 : "=&r"(found) : "r"(ea));
119 book3e_hugetlb_preload(struct vm_area_struct *vma, unsigned long ea, pte_t pte) argument
128 if (unlikely(is_kernel_addr(ea)))
144 if (unlikely(book3e_tlb_exists(ea, mm->context.id))) {
155 mas2 = ea & ~((1UL << shift) - 1);
/linux-master/arch/nios2/kernel/
H A Dtraps.c116 fp->ea -= 4;
117 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea);
127 fp->ea -= 4;
137 pr_alert(" op-code 0x%08lx\n", *(unsigned long *)(fp->ea));
149 fp->ea -= 4;
150 _exception(SIGILL, fp, ILL_ILLOPC, fp->ea);
156 fp->ea -= 4;
157 _exception(SIGILL, fp, ILL_PRVOPC, fp->ea);
163 fp->ea -= 4;
164 _exception(SIGFPE, fp, FPE_INTDIV, fp->ea);
[all...]
/linux-master/arch/powerpc/kernel/
H A Dhw_breakpoint_constraints.c14 static bool ea_user_range_overlaps(unsigned long ea, int size, argument
17 return ((ea < info->address + info->len) &&
18 (ea + size > info->address));
31 static bool ea_hw_range_overlaps(unsigned long ea, int size, argument
47 return ((ea < hw_end_addr) && (ea + size > hw_start_addr));
84 unsigned long ea, int type, int size,
118 if (ea_user_range_overlaps(ea, size, info))
121 if (ea_hw_range_overlaps(ea, size, info)) {
131 int *type, int *size, unsigned long *ea)
83 wp_check_constraints(struct pt_regs *regs, ppc_inst_t instr, unsigned long ea, int type, int size, struct arch_hw_breakpoint *info) argument
130 wp_get_instr_detail(struct pt_regs *regs, ppc_inst_t *instr, int *type, int *size, unsigned long *ea) argument
[all...]
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfault.c24 unsigned long ea, int type)
38 force_sig_fault(SIGSEGV, SEGV_ACCERR, (void __user *)ea);
88 u64 ea, dsisr, access; local
102 ea = ctx->csa.class_1_dar;
110 pr_debug("ctx %p: ea %016llx, dsisr %016llx state %d\n", ctx, ea,
123 ret = hash_page(ea, access, 0x300, dsisr);
128 ret = copro_handle_mm_fault(current->mm, ea, dsisr, &flt);
163 spufs_handle_event(ctx, ea, SPE_EVENT_SPE_DATA_STORAGE);
23 spufs_handle_event(struct spu_context *ctx, unsigned long ea, int type) argument
/linux-master/arch/powerpc/mm/book3s64/
H A Dslb.c32 static long slb_allocate_user(struct mm_struct *mm, unsigned long ea);
45 static void assert_slb_presence(bool present, unsigned long ea) argument
59 ea &= ~((1UL << SID_SHIFT) - 1);
60 asm volatile(__PPC_SLBFEE_DOT(%0, %1) : "=r"(tmp) : "r"(ea) : "cr0");
66 static inline void slb_shadow_update(unsigned long ea, int ssize, argument
78 WRITE_ONCE(p->save_area[index].vsid, cpu_to_be64(mk_vsid_data(ea, ssize, flags)));
79 WRITE_ONCE(p->save_area[index].esid, cpu_to_be64(mk_esid_data(ea, ssize, index)));
87 static inline void create_shadowed_slbe(unsigned long ea, int ssize, argument
96 slb_shadow_update(ea, ssize, flags, index);
98 assert_slb_presence(false, ea);
297 preload_add(struct thread_info *ti, unsigned long ea) argument
521 unsigned long ea; local
671 slb_insert_entry(unsigned long ea, unsigned long context, unsigned long flags, int ssize, bool kernel) argument
737 slb_allocate_kernel(unsigned long ea, unsigned long id) argument
786 slb_allocate_user(struct mm_struct *mm, unsigned long ea) argument
819 unsigned long ea = regs->dar; local
866 preload_add(current_thread_info(), ea); local
[all...]
H A Dinternal.h25 void hpt_do_stress(unsigned long ea, unsigned long hpte_group);
/linux-master/arch/powerpc/lib/
H A Dsstep.c54 extern int do_lq(unsigned long ea, unsigned long *regs);
55 extern int do_stq(unsigned long ea, unsigned long val0, unsigned long val1);
56 extern int do_lqarx(unsigned long ea, unsigned long *regs);
57 extern int do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1,
106 unsigned long ea, int nb)
110 if (access_ok((void __user *)ea, nb))
112 if (access_ok((void __user *)ea, 1))
116 regs->dar = ea;
127 unsigned long ea; local
130 ea
105 address_ok(struct pt_regs *regs, unsigned long ea, int nb) argument
145 unsigned long ea; local
162 unsigned long ea; local
180 unsigned long ea; local
201 unsigned long ea, d0, d1, d; local
301 __read_mem_aligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
330 read_mem_aligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
352 __copy_mem_in(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
386 copy_mem_in(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
404 read_mem_unaligned(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
428 read_mem(unsigned long *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
440 __write_mem_aligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument
466 write_mem_aligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument
488 __copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
522 copy_mem_out(u8 *dest, unsigned long ea, int nb, struct pt_regs *regs) argument
540 write_mem_unaligned(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument
559 write_mem(unsigned long val, unsigned long ea, int nb, struct pt_regs *regs) argument
575 do_fp_load(struct instruction_op *op, unsigned long ea, struct pt_regs *regs, bool cross_endian) argument
628 do_fp_store(struct instruction_op *op, unsigned long ea, struct pt_regs *regs, bool cross_endian) argument
677 do_vec_load(int rn, unsigned long ea, int size, struct pt_regs *regs, bool cross_endian) argument
708 do_vec_store(int rn, unsigned long ea, int size, struct pt_regs *regs, bool cross_endian) argument
738 emulate_lq(struct pt_regs *regs, unsigned long ea, int reg, bool cross_endian) argument
758 emulate_stq(struct pt_regs *regs, unsigned long ea, int reg, bool cross_endian) argument
961 do_vsx_load(struct instruction_op *op, unsigned long ea, struct pt_regs *regs, bool cross_endian) argument
1008 do_vsx_store(struct instruction_op *op, unsigned long ea, struct pt_regs *regs, bool cross_endian) argument
1056 __emulate_dcbz(unsigned long ea) argument
1070 emulate_dcbz(unsigned long ea, struct pt_regs *regs) argument
3186 handle_stack_update(unsigned long ea, struct pt_regs *regs) argument
3330 unsigned long ea; local
3585 unsigned long ea; local
[all...]

Completed in 1350 milliseconds

1234567