Home
last modified time | relevance | path

Searched full:fname (Results 1 – 25 of 141) sorted by relevance

123456

/linux/net/netfilter/
H A Dnf_conntrack_h323_types.c8 {FNAME("ip") OCTSTR, FIXD, 4, 0, DECODE,
10 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
14 {FNAME("item") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
18 {FNAME("strict") NUL, FIXD, 0, 0, SKIP, 0, NULL},
19 {FNAME("loose") NUL, FIXD, 0, 0, SKIP, 0, NULL},
23 {FNAME("ip") OCTSTR, FIXD, 4, 0, SKIP, 0, NULL},
24 {FNAME("port") INT, WORD, 0, 0, SKIP, 0, NULL},
25 {FNAME("route") SEQOF, SEMI, 0, 0, SKIP, 0,
27 {FNAME("routing") CHOICE, 1, 2, 2, SKIP | EXT, 0,
32 {FNAME("node") OCTSTR, FIXD, 6, 0, SKIP, 0, NULL},
[all …]
/linux/tools/lib/python/kdoc/
H A Dkdoc_files.py76 for fname in file_list:
78 f = os.path.join(self.srctree, fname)
80 f = fname
87 file_not_found_cb(fname)
182 def parse_file(self, fname):
188 if fname in self.files:
196 doc = KernelDoc(self.config, fname, self.xforms, store_src=store_src)
199 self.export_table[fname] = export_table
201 self.files.add(fname)
202 self.export_files.add(fname) # parse_kdo
110 parse_file(self, fname) global() argument
129 process_export_file(self, fname) global() argument
148 file_not_found_cb(self, fname) global() argument
227 out_msg(self, fname, name, arg) global() argument
[all...]
H A Dkdoc_output.py183 def msg(self, fname, name, args):
193 self.out_doc(fname, name, args)
200 self.out_function(fname, name, args)
204 self.out_enum(fname, name, args)
208 self.out_var(fname, name, args)
212 self.out_typedef(fname, name, args)
216 self.out_struct(fname, name, args)
225 def output_symbols(self, fname, symbols):
233 m = self.msg(fname, arg.name, arg) argument
240 fname, l
178 msg(self, fname, name, args) global() argument
221 out_doc(self, fname, name, args) global() argument
224 out_function(self, fname, name, args) global() argument
227 out_enum(self, fname, name, args) global() argument
230 out_typedef(self, fname, name, args) global() argument
359 out_doc(self, fname, name, args) global() argument
364 out_function(self, fname, name, args) global() argument
446 out_enum(self, fname, name, args) global() argument
475 out_typedef(self, fname, name, args) global() argument
492 out_struct(self, fname, name, args) global() argument
629 out_tail(self, fname, name, args) global() argument
652 msg(self, fname, name, args) global() argument
684 out_doc(self, fname, name, args) global() argument
696 out_function(self, fname, name, args) global() argument
744 out_enum(self, fname, name, args) global() argument
776 out_typedef(self, fname, name, args) global() argument
790 out_struct(self, fname, name, args) global() argument
[all...]
/linux/scripts/
H A Delf-parse.c22 static void *map_file(char const *fname, size_t *size) in map_file() argument
28 fd = open(fname, O_RDWR); in map_file()
30 perror(fname); in map_file()
34 perror(fname); in map_file()
38 fprintf(stderr, "not a regular file: %s\n", fname); in map_file()
44 fprintf(stderr, "Could not mmap file: %s\n", fname); in map_file()
55 static int elf_parse(const char *fname, void *addr, uint32_t types) in elf_parse() argument
77 ehdr->e32.e_ident[EI_DATA], fname); in elf_parse()
83 fprintf(stderr, "unrecognized ELF file %s\n", fname); in elf_parse()
89 fprintf(stderr, "Invalid ELF type file %s\n", fname); in elf_parse()
[all …]
H A Dmake_fit.py229 def compress_dtb(fname, compress): argument
233 fname (str): Filename containing the DTB
237 tuple: (str: fname, bytes: compressed_data)
239 with open(fname, 'rb') as inf:
241 return fname, compressed
244 def output_dtb(fsw, seq, fname, arch, compress, data=None): argument
250 fname (str): Filename containing the DTB
256 fsw.property_string('description', os.path.basename(fname))
262 with open(fname, 'rb') as inf:
267 def process_dtb(fname, args): argument
[all …]
H A Dspdxcheck.py38 def update(self, fname, basedir, miss): argument
42 fname = './' + fname
43 bdir = os.path.dirname(fname)
45 self.files.append(fname)
197 def parse_lines(self, fd, maxlines, fname): argument
239 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok))
241 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt))
244 if fname == '-':
247 base = os.path.dirname(fname)
262 di.update(fname, base, fail)
[all …]
H A Drecordmcount.c176 static void *mmap_file(char const *fname) in mmap_file() argument
186 fd_map = open(fname, O_RDONLY); in mmap_file()
188 perror(fname); in mmap_file()
192 perror(fname); in mmap_file()
196 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file()
205 perror(fname); in mmap_file()
209 perror(fname); in mmap_file()
329 static int write_file(const char *fname) in write_file() argument
331 char tmp_file[strlen(fname) + 4]; in write_file()
337 sprintf(tmp_file, "%s.rc", fname); in write_file()
[all …]
H A Dtracepoint-update.c117 static void check_tracepoints(struct elf_tracepoint *etrace, const char *fname) in check_tracepoints() argument
135 if (fname) in check_tracepoints()
136 fprintf(stderr, " in module %s\n", fname); in check_tracepoints()
145 static void *tracepoint_check(struct elf_tracepoint *etrace, const char *fname) in tracepoint_check() argument
148 check_tracepoints(etrace, fname); in tracepoint_check()
153 static int process_tracepoints(bool mod, void *addr, const char *fname) in process_tracepoints() argument
206 fprintf(stderr, "warning: Module %s has only unused tracepoints\n", fname); in process_tracepoints()
210 fprintf(stderr, "no __tracepoint_check in file: %s\n", fname); in process_tracepoints()
218 fprintf(stderr, "no __tracepoint_strings in file: %s\n", fname); in process_tracepoints()
223 fname = NULL; in process_tracepoints()
[all …]
H A Dsorttable.c312 static int parse_symbols(const char *fname) in parse_symbols() argument
319 fp = fopen(fname, "r"); in parse_symbols()
321 perror(fname); in parse_symbols()
587 static inline int parse_symbols(const char *fname) { return 0; } in parse_symbols() argument
591 char const *const fname, in do_sort() argument
679 "incomplete ORC unwind tables in file: %s\n", fname); in do_sort()
689 fname); in do_sort()
698 strerror(errno), fname); in do_sort()
703 fprintf(stderr, "no __ex_table in file: %s\n", fname); in do_sort()
708 fprintf(stderr, "no .symtab in file: %s\n", fname); in do_sort()
[all …]
/linux/init/
H A Dinitramfs_test.c26 char *fname; member
47 c->fname) + 1; in fill_cpio()
86 .fname = "initramfs_test_extract", in initramfs_test_extract()
95 .fname = "initramfs_test_extract_dir", in initramfs_test_extract()
99 .fname = "TRAILER!!!", in initramfs_test_extract()
115 KUNIT_EXPECT_EQ(test, init_stat(c[0].fname, &st, 0), 0); in initramfs_test_extract()
128 KUNIT_EXPECT_EQ(test, init_stat(c[1].fname, &st, 0), 0); in initramfs_test_extract()
137 KUNIT_EXPECT_EQ(test, init_unlink(c[0].fname), 0); in initramfs_test_extract()
138 KUNIT_EXPECT_EQ(test, init_rmdir(c[1].fname), 0); in initramfs_test_extract()
167 .fname = "initramfs_test_fname_overrun", in initramfs_test_fname_overrun()
[all …]
/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h27 #define FNAME(name) paging##64_##name macro
40 #define FNAME(name) paging##32_##name macro
54 #define FNAME(name) ept_##name macro
73 #define gpte_to_gfn_lvl FNAME(gpte_to_gfn_lvl)
109 static inline void FNAME(protect_clean_gpte)(struct kvm_mmu *mmu, unsigned *access, in FNAME() function
127 static inline int FNAME(is_present_gpte)(unsigned long pte) in FNAME() function
136 static bool FNAME(is_bad_mt_xwr)(struct rsvd_bits_validate *rsvd_check, u64 gpte) in FNAME() function
145 static bool FNAME(is_rsvd_bits_set)(struct kvm_mmu *mmu, u64 gpte, int level) in FNAME() function
148 FNAME(is_bad_mt_xwr)(&mmu->guest_rsvd_check, gpte); in FNAME()
151 static bool FNAME(prefetch_invalid_gpte)(struct kvm_vcpu *vcpu, in FNAME() function
[all …]
/linux/arch/mips/txx9/generic/
H A Dsmsc_fdc37m81x.c136 const char *fname = __func__; in smsc_fdc37m81x_config_dump() local
142 pr_info("%s: common\n", fname); in smsc_fdc37m81x_config_dump()
143 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump()
145 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump()
147 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump()
149 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump()
151 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_NONE, in smsc_fdc37m81x_config_dump()
154 pr_info("%s: keyboard\n", fname); in smsc_fdc37m81x_config_dump()
156 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD, in smsc_fdc37m81x_config_dump()
158 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD, in smsc_fdc37m81x_config_dump()
[all …]
/linux/fs/ext4/
H A Dcrypto.c23 int lookup, struct ext4_filename *fname) in ext4_fname_setup_filename() argument
32 ext4_fname_from_fscrypt_name(fname, &name); in ext4_fname_setup_filename()
34 err = ext4_fname_setup_ci_filename(dir, iname, fname); in ext4_fname_setup_filename()
36 ext4_fname_free_filename(fname); in ext4_fname_setup_filename()
42 struct ext4_filename *fname) in ext4_fname_prepare_lookup() argument
51 ext4_fname_from_fscrypt_name(fname, &name); in ext4_fname_prepare_lookup()
53 err = ext4_fname_setup_ci_filename(dir, &dentry->d_name, fname); in ext4_fname_prepare_lookup()
55 ext4_fname_free_filename(fname); in ext4_fname_prepare_lookup()
59 void ext4_fname_free_filename(struct ext4_filename *fname) in ext4_fname_free_filename() argument
63 name.crypto_buf = fname->crypto_buf; in ext4_fname_free_filename()
[all …]
/linux/scripts/coccinelle/misc/
H A Dnewline_in_nl_msg.cocci33 identifier fname;
38 fname(e,m@p,...)
45 identifier r1.fname;
49 * fname(e,m,...)
56 fname << r1.fname;
62 msg="WARNING avoid newline at end of message in %s" % (fname)
71 fname << r1.fname;
77 msg="WARNING avoid newline at end of message in %s" % (fname)
/linux/tools/lib/python/abi/
H A Dabi_parser.py76 msg = f"{fdata.fname}:{fdata.ln}: {msg}"
82 def add_symbol(self, what, fname, ln=None, xref=None):
88 if fname not in self.what_symbols[what]["file"]:
89 self.what_symbols[what]["file"][fname] = []
91 if ln and ln not in self.what_symbols[what]["file"][fname]:
92 self.what_symbols[what]["file"][fname].append(ln)
131 self.add_symbol(what=content, fname=fdata.fname, ln=fdata.ln)
141 self.add_symbol(what=w, fname=fdata.fname,
79 add_symbol(self, what, fname, ln=None, xref=None) global() argument
266 parse_readme(self, nametag, fname) global() argument
284 parse_file(self, fname, path, basename) global() argument
394 xref(self, fname) global() argument
[all...]
/linux/arch/mips/boot/tools/
H A Drelocs_main.c32 const char *fname; in main() local
41 fname = NULL; in main()
62 } else if (!fname) { in main()
63 fname = arg; in main()
68 if (!fname) in main()
71 fp = fopen(fname, "r+"); in main()
73 die("Cannot open %s: %s\n", fname, strerror(errno)); in main()
76 die("Cannot read %s: %s", fname, strerror(errno)); in main()
/linux/arch/x86/tools/
H A Drelocs_common.c23 const char *fname; in main() local
33 fname = NULL; in main()
58 else if (!fname) { in main()
59 fname = arg; in main()
64 if (!fname) { in main()
67 fp = fopen(fname, "r"); in main()
69 die("Cannot open %s: %s\n", fname, strerror(errno)); in main()
72 die("Cannot read %s: %s", fname, strerror(errno)); in main()
/linux/tools/lib/python/feat/
H A Dparse_features.py81 def parse_error(self, fname, ln, msg, data=None):
87 fname += f"#{ln}"
89 print(f"Warning: file {fname}: {msg}", file=sys.stderr, end="")
97 def parse_feat_file(self, fname):
100 if os.path.isdir(fname):
103 base = os.path.basename(fname)
107 print(f"ignoring {fname}", file=sys.stderr)
110 subsys = os.path.dirname(fname).split("/")[-2]
120 print(f"Opening {fname}", file=sys.stderr)
123 full_fname = os.path.abspath(fname)
68 parse_error(self, fname, ln, msg, data=None) global() argument
84 parse_feat_file(self, fname) global() argument
[all...]
/linux/include/asm-generic/
H A Dkprobes.h11 # define __NOKPROBE_SYMBOL(fname) \ argument
14 _kbl_addr_##fname = (unsigned long)fname;
15 # define NOKPROBE_SYMBOL(fname) __NOKPROBE_SYMBOL(fname) argument
20 # define NOKPROBE_SYMBOL(fname) argument
/linux/fs/ceph/
H A Dcrypto.h104 struct fscrypt_str *fname) in ceph_fname_alloc_buffer() argument
108 return fscrypt_fname_alloc_buffer(NAME_MAX, fname); in ceph_fname_alloc_buffer()
112 struct fscrypt_str *fname) in ceph_fname_free_buffer() argument
115 fscrypt_fname_free_buffer(fname); in ceph_fname_free_buffer()
118 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname,
196 struct fscrypt_str *fname) in ceph_fname_alloc_buffer() argument
202 struct fscrypt_str *fname) in ceph_fname_free_buffer() argument
206 static inline int ceph_fname_to_usr(const struct ceph_fname *fname, in ceph_fname_to_usr() argument
210 oname->name = fname->name; in ceph_fname_to_usr()
211 oname->len = fname->name_len; in ceph_fname_to_usr()
/linux/tools/perf/util/
H A Dprobe-finder.c696 .file = pf->fname, in find_best_scope()
713 static int verify_representive_line(struct probe_finder *pf, const char *fname, in verify_representive_line() argument
725 if (strcmp(fname, __fname) || lineno == __lineno) in verify_representive_line()
746 static int probe_point_line_walker(const char *fname, int lineno, in probe_point_line_walker() argument
753 if (lineno != pf->lno || strtailcmp(fname, pf->fname) != 0) in probe_point_line_walker()
756 if (verify_representive_line(pf, fname, lineno, addr)) in probe_point_line_walker()
780 const char *fname, const char *pat) in find_lazy_match_lines() argument
789 fp = fopen(fname, "r"); in find_lazy_match_lines()
791 pr_warning("Failed to open %s: %s\n", fname, in find_lazy_match_lines()
818 probe_point_lazy_walker(const char * fname,int lineno,Dwarf_Addr addr,void * data) probe_point_lazy_walker() argument
958 const char *fname; probe_point_search_cb() local
1036 const char *fname; pubname_search_cb() local
1596 const char *fname = NULL, *func = NULL, *basefunc = NULL, *tmp; debuginfo__find_probe_point() local
1724 line_range_walk_cb(const char * fname,int lineno,Dwarf_Addr addr,void * data) line_range_walk_cb() argument
1786 const char *fname; line_range_search_cb() local
[all...]
/linux/tools/power/cpupower/lib/
H A Dcpuidle.c31 const char *fname) in cpuidle_state_file_exists() argument
38 cpu, idlestate, fname); in cpuidle_state_file_exists()
46 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
53 const char *fname, char *buf, in cpuidle_state_read_file() argument
61 cpu, idlestate, fname); in cpuidle_state_read_file()
81 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
88 const char *fname, in cpuidle_state_write_file() argument
96 cpu, idlestate, fname); in cpuidle_state_write_file()
321 * fname is a relative path under "cpu/cpuidle/" dir
323 static unsigned int sysfs_cpuidle_read_file(const char *fname, cha in sysfs_cpuidle_read_file()
322 sysfs_cpuidle_read_file(const char * fname,char * buf,size_t buflen) sysfs_cpuidle_read_file() argument
[all...]
/linux/security/integrity/
H A Dintegrity_audit.c29 const unsigned char *fname, const char *op, in integrity_audit_msg() argument
32 integrity_audit_message(audit_msgno, inode, fname, op, cause, in integrity_audit_msg()
37 const unsigned char *fname, const char *op, in integrity_audit_message() argument
58 if (fname) { in integrity_audit_message()
60 audit_log_untrustedstring(ab, fname); in integrity_audit_message()
/linux/Documentation/sphinx/
H A Dkernel_feat.py77 replace["fname"] = self.state.document.current_source
79 message = ("%(fname)s:%(line_no)s: [kernel-feat WARN] : " + message) % replace
109 fname = match.group(1)
112 env.note_dependency(os.path.abspath(fname))
119 def nestedParse(self, lines, fname): argument
130 content.append(l, fname, c)
/linux/tools/power/cpupower/utils/helpers/
H A Dsysfs.c105 const char *fname) in sysfs_idlestate_file_exists() argument
112 cpu, idlestate, fname); in sysfs_idlestate_file_exists()
120 * fname is a relative path under "cpuX/cpuidle/stateX/" dir
125 const char *fname, char *buf, size_t buflen) in sysfs_idlestate_read_file() argument
132 cpu, idlestate, fname); in sysfs_idlestate_read_file()
152 * fname is a relative path under "../cpuX/cpuidle/cstateY/" dir
159 const char *fname, in sysfs_idlestate_write_file() argument
167 cpu, idlestate, fname); in sysfs_idlestate_write_file()
382 * fname is a relative path under "cpu/cpuidle/" dir
384 static unsigned int sysfs_cpuidle_read_file(const char *fname, char *buf, in sysfs_cpuidle_read_file() argument
[all …]

123456