Searched refs:sym (Results 101 - 125 of 287) sorted by path

1234567891011>>

/linux-master/fs/ceph/
H A Dinode.c909 u8 *sym; local
911 sym = kmalloc(enclen + 1, GFP_NOFS);
912 if (!sym)
915 declen = ceph_base64_decode(encsym, enclen, sym);
920 kfree(sym);
923 sym[declen + 1] = '\0';
924 *decsym = sym;
1192 char *sym; local
1204 symlen, (u8 **)&sym);
1225 sym
[all...]
/linux-master/fs/ntfs3/lib/
H A Ddecompress_common.c124 u32 sym; local
132 for (sym = 0; sym < num_syms; sym++)
133 len_counts[lens[sym]]++;
189 for (sym = 0; sym < num_syms; sym++)
190 if (lens[sym])
191 sorted_syms[offsets[lens[sym]]
[all...]
H A Dxpress_decompress.c90 u32 sym; local
95 sym = read_huffsym(&is, d->decode_table,
97 if (sym < 256) {
99 *out_next++ = sym;
102 length = sym & 0xf;
103 log2_offset = (sym >> 4) & 0xf;
/linux-master/fs/orangefs/
H A Dnamei.c241 new_op->upcall.req.sym.parent_refn = parent->refn;
243 fill_default_sys_attrs(new_op->upcall.req.sym.attributes,
247 strscpy(new_op->upcall.req.sym.entry_name, dentry->d_name.name);
248 strscpy(new_op->upcall.req.sym.target, symname);
254 &new_op->downcall.resp.sym.refn.khandle,
255 new_op->downcall.resp.sym.refn.fs_id, ret);
264 ref = new_op->downcall.resp.sym.refn;
H A Dorangefs-utils.c45 fsid = op->upcall.req.sym.parent_refn.fs_id;
/linux-master/fs/smb/client/
H A Dreparse.c27 char *sym, sep = CIFS_DIR_SEP(cifs_sb); local
31 sym = kstrdup(symname, GFP_KERNEL);
32 if (!sym)
38 .symlink_target = sym,
41 convert_delimiter(sym, sep);
42 path = cifs_convert_path_to_utf16(sym, cifs_sb);
65 if (*sym != sep)
68 convert_delimiter(sym, '/');
348 static int parse_reparse_symlink(struct reparse_symlink_data_buffer *sym, argument
358 offs = le16_to_cpu(sym
[all...]
H A Dsmb2file.c29 struct smb2_symlink_err_rsp *sym = ERR_PTR(-EINVAL); local
45 sym = (struct smb2_symlink_err_rsp *)&p->ErrorContextData;
54 } else if (le32_to_cpu(err->ByteCount) >= sizeof(*sym) &&
56 sym = (struct smb2_symlink_err_rsp *)err->ErrorData;
59 if (!IS_ERR(sym) && (le32_to_cpu(sym->SymLinkErrorTag) != SYMLINK_ERROR_TAG ||
60 le32_to_cpu(sym->ReparseTag) != IO_REPARSE_TAG_SYMLINK))
61 sym = ERR_PTR(-EINVAL);
63 return sym;
68 struct smb2_symlink_err_rsp *sym; local
[all...]
/linux-master/include/linux/
H A Dcompiler.h166 # define KENTRY(sym) \
167 extern typeof(sym) sym; \
168 static const unsigned long __kentry_##sym \
170 __attribute__((__section__("___kentry+" #sym))) \
171 = (unsigned long)&sym;
214 * Force the compiler to emit 'sym' as a symbol, so that we can reference
215 * it from inline assembler. Necessary in case 'sym' could be inlined
219 #define ___ADDRESSABLE(sym, __attrs) \
221 __UNIQUE_ID(__PASTE(__addressable_,sym))
[all...]
H A Dexport-internal.h20 #define __KSYM_REF(sym) ".long " #sym "- ."
23 #define __KSYM_REF(sym) ".quad " #sym
26 #define __KSYM_REF(sym) ".long " #sym
40 #define __KSYMTAB(name, sym, sec, ns) \
50 __KSYM_REF(sym) "\n" \
65 #define SYMBOL_CRC(sym, crc, sec) \
66 asm(".section \"___kcrctab" sec "+" #sym "\",\"
[all...]
H A Dexport.h18 #define __EXPORT_SYMBOL_REF(sym) \
20 .quad sym
22 #define __EXPORT_SYMBOL_REF(sym) \
24 .long sym
27 #define ___EXPORT_SYMBOL(sym, license, ns) \
29 __export_symbol_##sym: ASM_NL \
32 __EXPORT_SYMBOL_REF(sym) ASM_NL \
42 #define __EXPORT_SYMBOL(sym, license, ns)
46 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym)
[all...]
H A Dfilter.h1212 unsigned long *off, char *sym);
1215 char *sym);
1220 unsigned long *off, char **modname, char *sym)
1222 const char *ret = __bpf_address_lookup(addr, size, off, sym);
1268 unsigned long *off, char *sym)
1279 char *type, char *sym)
1291 unsigned long *off, char **modname, char *sym)
1219 bpf_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char **modname, char *sym) argument
1267 __bpf_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char *sym) argument
1278 bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *sym) argument
1290 bpf_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char **modname, char *sym) argument
H A Dftrace.h92 unsigned long *off, char **modname, char *sym);
96 unsigned long *off, char **modname, char *sym)
95 ftrace_mod_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char **modname, char *sym) argument
H A Dkprobes.h288 extern int kprobe_on_func_entry(kprobe_opcode_t *addr, const char *sym, unsigned long offset);
298 const char *sym; /* symbol for insn pages */ member in struct:kprobe_insn_cache
332 unsigned long *value, char *type, char *sym);
439 char *sym);
442 char *type, char *sym);
512 char *type, char *sym)
511 kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *sym) argument
H A Dmodule.h594 static inline unsigned long kallsyms_symbol_value(const Elf_Sym *sym) argument
596 return sym->st_value;
H A Dperf_event.h1502 bool unregister, const char *sym);
1787 bool unregister, const char *sym) { }
1786 perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, bool unregister, const char *sym) argument
/linux-master/include/linux/raid/
H A Dpq.h58 #define EXPORT_SYMBOL(sym)
60 #define EXPORT_SYMBOL_GPL(sym)
/linux-master/include/uapi/linux/
H A Dmap_to_14segment.h107 #define _SEG14(sym, a, b, c, d, e, f, g1, g2, h, j, k, l, m, n) \
/linux-master/kernel/bpf/
H A Dcore.c585 char *sym = prog->aux->ksym.name; local
586 const char *end = sym + KSYM_NAME_LEN;
601 sym += snprintf(sym, KSYM_NAME_LEN, "bpf_prog_");
602 sym = bin2hex(sym, prog->tag, sizeof(prog->tag));
609 snprintf(sym, (size_t)(end - sym), "_%s", func_name);
614 snprintf(sym, (size_t)(end - sym), "
739 __bpf_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char *sym) argument
802 bpf_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *sym) argument
[all...]
/linux-master/kernel/events/
H A Dcore.c9198 const char *sym)
9212 strscpy(name, sym, KSYM_NAME_LEN);
9197 perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, bool unregister, const char *sym) argument
/linux-master/kernel/
H A Dfail_function.c56 static struct fei_attr *fei_attr_new(const char *sym, unsigned long addr) argument
62 attr->kp.symbol_name = kstrdup(sym, GFP_KERNEL);
83 static struct fei_attr *fei_attr_lookup(const char *sym) argument
88 if (!strcmp(attr->kp.symbol_name, sym))
241 char *buf, *sym; local
252 sym = strstrip(buf);
257 if (sym[0] == '\0') {
263 if (sym[0] == '!') {
264 attr = fei_attr_lookup(sym + 1);
274 addr = kallsyms_lookup_name(sym);
[all...]
H A Dkexec_file.c1128 const Elf_Sym *sym; local
1131 sym = kexec_purgatory_find_symbol(pi, name);
1132 if (!sym)
1135 sechdr = &pi->sechdrs[sym->st_shndx];
1141 return (void *)(sechdr->sh_addr + sym->st_value);
1152 const Elf_Sym *sym; local
1156 sym = kexec_purgatory_find_symbol(pi, name);
1157 if (!sym)
1160 if (sym->st_size != size) {
1162 name, (unsigned long)sym
[all...]
H A Dkprobes.c133 .sym = KPROBE_INSN_PAGE_SYM,
198 PAGE_SIZE, false, c->sym);
223 kip->cache->sym);
315 unsigned long *value, char *type, char *sym)
324 strscpy(sym, c->sym, KSYM_NAME_LEN);
351 .sym = KPROBE_OPTINSN_PAGE_SYM,
1454 * Input: @sym + @offset
2177 * @sym: Target symbol name
2180 * This checks whether the given @addr+@offset or @sym
314 kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, unsigned long *value, char *type, char *sym) argument
2187 kprobe_on_func_entry(kprobe_opcode_t *addr, const char *sym, unsigned long offset) argument
2492 arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, char *type, char *sym) argument
2498 kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *sym) argument
2771 report_probe(struct seq_file *pi, struct kprobe *p, const char *sym, int offset, char *modname, struct kprobe *pp) argument
2824 const char *sym; local
[all...]
/linux-master/kernel/livepatch/
H A Dcore.c200 Elf_Sym *sym; local
220 sym = (Elf_Sym *)sechdrs[symndx].sh_addr + ELF_R_SYM(relas[i].r_info);
221 if (sym->st_shndx != SHN_LIVEPATCH) {
223 strtab + sym->st_name);
227 /* Format: .klp.sym.sym_objname.sym_name,sympos */
228 cnt = sscanf(strtab + sym->st_name,
229 ".klp.sym.%55[^.].%511[^,],%lu",
233 strtab + sym->st_name);
257 sym->st_value = addr;
/linux-master/kernel/module/
H A Dinternal.h83 unsigned int sym, str, mod, vers, info, pcpu; member in struct:load_info::__anon1318
101 const struct kernel_symbol *sym; member in struct:find_symbol_arg
109 int cmp_name(const void *name, const void *sym);
131 static inline unsigned long kernel_symbol_value(const struct kernel_symbol *sym) argument
134 return (unsigned long)offset_to_ptr(&sym->value_offset);
136 return sym->value;
H A Dkallsyms.c38 static char elf_type(const Elf_Sym *sym, const struct load_info *info) argument
42 if (ELF_ST_BIND(sym->st_info) == STB_WEAK) {
43 if (ELF_ST_TYPE(sym->st_info) == STT_OBJECT)
48 if (sym->st_shndx == SHN_UNDEF)
50 if (sym->st_shndx == SHN_ABS || sym->st_shndx == info->index.pcpu)
52 if (sym->st_shndx >= SHN_LORESERVE)
54 if (sechdrs[sym->st_shndx].sh_flags & SHF_EXECINSTR)
56 if (sechdrs[sym->st_shndx].sh_flags & SHF_ALLOC &&
57 sechdrs[sym
281 const Elf_Sym *sym = &kallsyms->symtab[i]; local
368 const char *sym; local
397 const Elf_Sym *sym = &kallsyms->symtab[symnum]; local
420 const Elf_Sym *sym = &kallsyms->symtab[i]; local
500 const Elf_Sym *sym = &kallsyms->symtab[i]; local
[all...]

Completed in 370 milliseconds

1234567891011>>