Home
last modified time | relevance | path

Searched full:ea (Results 1 – 25 of 239) sorted by relevance

12345678910

/linux/fs/hpfs/
H A Dea.c3 * linux/fs/hpfs/ea.c
20 struct extended_attribute *ea = (struct extended_attribute *)ex; in hpfs_ea_ext_remove() local
27 if (ea_indirect(ea)) { in hpfs_ea_ext_remove()
28 if (ea_valuelen(ea) != 8) { in hpfs_ea_ext_remove()
29 hpfs_error(s, "ea_indirect(ea) set while ea->valuelen!=8, %s %08x, pos %08x", in hpfs_ea_ext_remove()
33 if (hpfs_ea_read(s, a, ano, pos + 4, ea->namelen + 9, ex+4)) in hpfs_ea_ext_remove()
35 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()
55 pr_err("out of memory for EA\n"); in get_indirect_ea()
81 struct extended_attribute *ea; in hpfs_read_ea() local
[all …]
H A Dinode.c50 void *ea; in hpfs_read_inode() local
63 if ((ea = hpfs_get_ea(i->i_sb, fnode, "UID", &ea_size))) { in hpfs_read_inode()
65 i_uid_write(i, le16_to_cpu(*(__le16*)ea)); in hpfs_read_inode()
68 kfree(ea); in hpfs_read_inode()
70 if ((ea = hpfs_get_ea(i->i_sb, fnode, "GID", &ea_size))) { in hpfs_read_inode()
72 i_gid_write(i, le16_to_cpu(*(__le16*)ea)); in hpfs_read_inode()
75 kfree(ea); in hpfs_read_inode()
77 if ((ea = hpfs_get_ea(i->i_sb, fnode, "SYMLINK", &ea_size))) { in hpfs_read_inode()
78 kfree(ea); in hpfs_read_inode()
89 if ((ea = hpfs_get_ea(i->i_sb, fnode, "MODE", &ea_size))) { in hpfs_read_inode()
[all …]
H A Dhpfs.h311 u8 has_ea: 1; /* entry has EA */
314 u8 has_needea: 1; /* ?? some EA has NEEDEA set
318 u8 has_needea: 1; /* ?? some EA has NEEDEA set
323 u8 has_ea: 1; /* entry has EA */
355 __le32 ea_size; /* total EA length, bytes */
416 the data btree or some ea or the
417 main ea bootage pointer ea_secno
447 /* fnode: root of allocation b+ tree, and EA's */
450 entry and pointing to the file's sectors or directory's root dnode. EA's
467 __le32 ea_size_l; /* length of disk-resident ea's */
[all …]
H A Dhpfs_fn.h56 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) 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
[all …]
/linux/fs/jfs/
H A Dxattr.c48 * | Overall EA | First FEA Element | Second FEA Element | .....
55 * written directly. An EA list may be in-lined in the inode if there is
62 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) in name_size() argument
97 if (is_known_namespace(ea->name)) in name_size()
98 return ea->namelen; in name_size()
100 return ea->namelen + XATTR_OS2_PREFIX_LEN; in name_size()
103 static inline int copy_name(char *buffer, struct jfs_ea *ea) in copy_name() argument
[all …]
H A Djfs_xattr.h25 struct jfs_ea ea[]; /* Variable length list */ member
33 * some macros for dealing with variable length EA lists.
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/kernel/
H A Dhw_breakpoint_constraints.c14 static bool ea_user_range_overlaps(unsigned long ea, int size, in ea_user_range_overlaps() argument
17 return ((ea < info->address + info->len) && in ea_user_range_overlaps()
18 (ea + size > info->address)); in ea_user_range_overlaps()
31 static bool ea_hw_range_overlaps(unsigned long ea, int size, in ea_hw_range_overlaps() argument
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
145 *ea = op.ea; in wp_get_instr_detail()
[all …]
/linux/arch/nios2/kernel/
H A Dtraps.c116 fp->ea -= 4; in breakpoint_c()
117 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea); in breakpoint_c()
127 fp->ea -= 4; in handle_unaligned_c()
137 pr_alert(" op-code 0x%08lx\n", *(unsigned long *)(fp->ea)); 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()
164 _exception(SIGFPE, fp, FPE_INTDIV, fp->ea); in handle_diverror_c()
[all …]
H 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()
193 pr_err("user unaligned access @ %#lx; isn=0x%08lx ea=0x%08lx ra=0x%08lx sp=0x%08lx\n", 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()
[all …]
/linux/fs/ntfs3/
H A Dxattr.c24 static inline size_t unpacked_ea_size(const struct EA_FULL *ea) in unpacked_ea_size() argument
26 return ea->size ? le32_to_cpu(ea->size) : in unpacked_ea_size()
27 ALIGN(struct_size(ea, name, in unpacked_ea_size()
28 1 + ea->name_len + in unpacked_ea_size()
29 le16_to_cpu(ea->elength)), in unpacked_ea_size()
33 static inline size_t packed_ea_size(const struct EA_FULL *ea) in packed_ea_size() argument
35 return struct_size(ea, name, in packed_ea_size()
36 1 + ea->name_len + le16_to_cpu(ea->elength)) - in packed_ea_size()
55 const struct EA_FULL *ea = Add2Ptr(ea_all, *off); in find_ea() local
56 ea_size = unpacked_ea_size(ea); in find_ea()
[all …]
/linux/fs/udf/
H A Dmisc.c15 * 04/19/99 blf partial support for reading/writing specific EA's
30 uint8_t *ea = NULL, *ad = NULL; in udf_add_extendedattr() local
35 ea = iinfo->i_data; in udf_add_extendedattr()
39 ad = ea; in udf_add_extendedattr()
50 eahd = (struct extendedAttrHeaderDesc *)ea; in udf_add_extendedattr()
87 memmove(&ea[offset - aal + size], in udf_add_extendedattr()
88 &ea[aal], offset - aal); in udf_add_extendedattr()
97 memmove(&ea[offset - ial + size], in udf_add_extendedattr()
98 &ea[ial], offset - ial); in udf_add_extendedattr()
108 memmove(&ea[offset - aal + size], in udf_add_extendedattr()
[all …]
/linux/drivers/pci/controller/
H A Dpci-thunder-ecam.c51 v |= 2; /* EA entry-1. Base-L */ in handle_ea_bar()
69 v |= 0xc; /* EA entry-2. Offset-L */ in handle_ea_bar()
78 v = readl(addr); /* EA entry-3. Base-H */ in handle_ea_bar()
94 /* EA Base[63:32] may be missing some bits ... */ in thunder_ecam_p2_config_read()
160 * All BARs have fixed addresses specified by the EA in thunder_ecam_config_read()
198 v |= 0xbc00; /* next capability is EA at 0xbc */ in thunder_ecam_config_read()
210 v |= 0xbc00; /* next capability is EA at 0xbc */ in thunder_ecam_config_read()
216 v = 0x40014; /* EA last in chain, 4 entries */ in thunder_ecam_config_read()
218 v = 0x30014; /* EA last in chain, 3 entries */ in thunder_ecam_config_read()
220 v = 0x20014; /* EA last in chain, 2 entries */ in thunder_ecam_config_read()
[all …]
/linux/fs/smb/client/
H A Dsmb1ops.c656 * EA $LXMOD which contains in its S_DT part the mandatory file type. in cifs_query_path_info()
659 struct smb2_file_full_ea_info *ea; in cifs_query_path_info() local
662 ea = (struct smb2_file_full_ea_info *)data->wsl.eas; in cifs_query_path_info()
664 ea = (void *)((u8 *)ea + next); in cifs_query_path_info()
665 next = le32_to_cpu(ea->next_entry_offset); in cifs_query_path_info()
667 if (le16_to_cpu(ea->ea_value_length)) { in cifs_query_path_info()
668 ea->next_entry_offset = cpu_to_le32(ALIGN(sizeof(*ea) + in cifs_query_path_info()
669 ea->ea_name_length + 1 + in cifs_query_path_info()
670 le16_to_cpu(ea->ea_value_length), 4)); in cifs_query_path_info()
671 ea = (void *)((u8 *)ea + le32_to_cpu(ea->next_entry_offset)); in cifs_query_path_info()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H 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/Documentation/admin-guide/perf/
H A Dfujitsu_uncore_pmu.rst68 - ea-mac
70 - ea-memory
72 - ea-memory-mac-write
74 - ea-ha
77 'ea' is the abbreviation for 'Energy Analyzer'.
81 perf stat -e mac_iod0_mac0_ch0/ea-mac/ ls
105 - ea-pci
108 'ea' is the abbreviation for 'Energy Analyzer'.
112 perf stat -e pci_iod0_pci0/ea-pci/ ls
/linux/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h146 unsigned long ea,
156 int (*hpte_removebolted)(unsigned long ea,
418 * Build a VPN_SHIFT bit shifted va given VSID, EA and segment size.
420 static inline unsigned long hpt_vpn(unsigned long ea, in hpt_vpn() argument
427 return (vsid << (s_shift - VPN_SHIFT)) | ((ea >> VPN_SHIFT) & mask); in hpt_vpn()
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);
[all …]
/linux/sound/pci/echoaudio/
H A Dmona.c54 MODULE_FIRMWARE("ea/loader_dsp.fw");
55 MODULE_FIRMWARE("ea/mona_301_dsp.fw");
56 MODULE_FIRMWARE("ea/mona_361_dsp.fw");
57 MODULE_FIRMWARE("ea/mona_301_1_asic_48.fw");
58 MODULE_FIRMWARE("ea/mona_301_1_asic_96.fw");
59 MODULE_FIRMWARE("ea/mona_361_1_asic_48.fw");
60 MODULE_FIRMWARE("ea/mona_361_1_asic_96.fw");
61 MODULE_FIRMWARE("ea/mona_2_asic.fw");
/linux/tools/testing/selftests/net/
H A Dnetlink-dumps.c43 nl_get_extack(char *buf, size_t n, struct ext_ack *ea) in nl_get_extack()
62 ea->err = -*(int *)NLMSG_DATA(nlh); in nl_get_extack()
70 ea->attr_offs = ynl_attr_get_u32(attr); in nl_get_extack()
73 ea->miss_type = ynl_attr_get_u32(attr); in nl_get_extack()
76 ea->miss_nest = ynl_attr_get_u32(attr);
79 ea->str = ynl_attr_get_str(attr);
147 struct ext_ack ea = {}; in TEST()
156 ret = nl_get_extack(buf, n, &ea);
161 if (ret == FOUND_ERR && (ea.err == ENOBUFS || ea
35 nl_get_extack(char * buf,size_t n,struct ext_ack * ea) nl_get_extack() argument
134 struct ext_ack ea = {}; TEST() local
[all...]
/linux/arch/powerpc/mm/book3s64/
H A Dhash_utils.c1622 static int subpage_protection(struct mm_struct *mm, unsigned long ea) in subpage_protection() argument
1631 if (ea >= spt->maxaddr) in subpage_protection()
1633 if (ea < 0x100000000UL) { in subpage_protection()
1637 sbpm = spt->protptrs[ea >> SBP_L3_SHIFT]; in subpage_protection()
1641 sbpp = sbpm[(ea >> SBP_L2_SHIFT) & (SBP_L2_COUNT - 1)]; in subpage_protection()
1644 spp = sbpp[(ea >> PAGE_SHIFT) & (SBP_L1_COUNT - 1)]; in subpage_protection()
1647 spp >>= 30 - 2 * ((ea >> 12) & 0xf); in subpage_protection()
1660 static inline int subpage_protection(struct mm_struct *mm, unsigned long ea) in subpage_protection() argument
1666 void hash_failure_debug(unsigned long ea, unsigned long access, in hash_failure_debug() argument
1672 pr_info("mm: Hashing failure ! EA=0x%lx access=0x%lx current=%s\n", in hash_failure_debug()
[all …]
/linux/arch/powerpc/mm/ptdump/
H A Dhashpagetable.c183 static void dump_hpte_info(struct pg_state *st, unsigned long ea, u64 v, u64 r, in dump_hpte_info() argument
188 while (ea >= st->marker[1].start_address) { in dump_hpte_info()
192 seq_printf(st->seq, "0x%lx:\t", ea); in dump_hpte_info()
206 static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64 in native_find() argument
215 vsid = get_kernel_vsid(ea, ssize); in native_find()
216 vpn = hpt_vpn(ea, vsid, ssize); in native_find()
239 static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *r) in pseries_find() argument
251 vsid = get_kernel_vsid(ea, ssize); in pseries_find()
252 vpn = hpt_vpn(ea, vsid, ssize); in pseries_find()
316 static int base_hpte_find(unsigned long ea, int psize, bool primary, u64 *v, in base_hpte_find() argument
[all …]
/linux/arch/powerpc/mm/kasan/
H A Dinit_book3e_64.c32 static int __init kasan_map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) in kasan_map_kernel_page() argument
40 pgdp = pgd_offset_k(ea); in kasan_map_kernel_page()
41 p4dp = p4d_offset(pgdp, ea); in kasan_map_kernel_page()
47 pudp = pud_offset(p4dp, ea); in kasan_map_kernel_page()
53 pmdp = pmd_offset(pudp, ea); in kasan_map_kernel_page()
59 ptep = pte_offset_kernel(pmdp, ea); in kasan_map_kernel_page()
61 __set_pte_at(&init_mm, ea, ptep, pfn_pte(pa >> PAGE_SHIFT, prot), 0); in kasan_map_kernel_page()
/linux/arch/powerpc/include/asm/
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, 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()
/linux/arch/powerpc/math-emu/
H A Dstfd.c7 stfd(void *frS, void *ea) in stfd() argument
11 printk("%s: S %p, ea %p: ", __func__, frS, ea); in stfd()
17 if (copy_to_user(ea, frS, sizeof(double))) in stfd()
H A Dlfd.c10 lfd(void *frD, void *ea) in lfd() argument
12 if (copy_from_user(frD, ea, sizeof(double))) in lfd()
15 printk("%s: D %p, ea %p: ", __func__, frD, ea); in lfd()
/linux/drivers/net/ipa/
H A Dipa_sysfs.c109 struct dev_ext_attribute *ea; in ipa_endpoint_id_is_visible() local
114 ea = container_of(dev_attr, struct dev_ext_attribute, attr); in ipa_endpoint_id_is_visible()
116 visible = !!ipa->name_map[(enum ipa_endpoint_name)(uintptr_t)ea->var]; in ipa_endpoint_id_is_visible()
126 struct dev_ext_attribute *ea; in endpoint_id_attr_show() local
128 ea = container_of(attr, struct dev_ext_attribute, attr); in endpoint_id_attr_show()
129 endpoint = ipa->name_map[(enum ipa_endpoint_name)(uintptr_t)ea->var]; in endpoint_id_attr_show()

12345678910