Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 25 of 140) sorted by relevance

123456

/linux/tools/lib/python/kdoc/
H A Dkdoc_files.py75 for fname in file_list:
77 f = os.path.join(self.srctree, fname)
79 f = fname
86 file_not_found_cb(fname)
111 def parse_file(self, fname):
117 if fname in self.files:
120 doc = KernelDoc(self.config, fname)
123 self.export_table[fname] = export_table
125 self.files.add(fname)
126 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)
230 def out_doc(self, fname, name, args): argument
233 def out_function(self, fname, name, args): argument
236 def out_enum(self, fname, nam
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
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/fs/ext4/
H A Ddir.c417 struct fname { struct
421 struct fname *next; argument
434 struct fname *fname, *next; in free_rb_tree_fname() argument
436 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
437 while (fname) { in free_rb_tree_fname()
438 struct fname *old = fname; in free_rb_tree_fname()
439 fname = fname->next; in free_rb_tree_fname()
476 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
495 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
501 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
[all …]
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/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/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 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 Dmake_fit.py229 def compress_dtb(fname, compress): argument
239 with open(fname, 'rb') as inf:
241 return fname, compressed
244 def output_dtb(fsw, seq, fname, arch, compress, data=None): argument
256 fsw.property_string('description', os.path.basename(fname))
262 with open(fname, 'rb') as inf:
267 def process_dtb(fname, args): argument
280 with open(fname, 'rb') as inf:
288 path, basename = os.path.split(fname)
298 files = [fname]
[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 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/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/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/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/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
H A Derror-injection.h27 #define ALLOW_ERROR_INJECTION(fname, _etype) \ argument
30 _eil_addr_##fname = { \
31 .addr = (unsigned long)fname, \
37 #define ALLOW_ERROR_INJECTION(fname, _etype) argument
/linux/include/linux/
H A Dfscrypt.h433 int lookup, struct fscrypt_name *fname);
435 static inline void fscrypt_free_filename(struct fscrypt_name *fname) in fscrypt_free_filename() argument
437 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
447 bool fscrypt_match_name(const struct fscrypt_name *fname,
464 struct fscrypt_name *fname);
694 int lookup, struct fscrypt_name *fname) in fscrypt_setup_filename() argument
699 memset(fname, 0, sizeof(*fname)); in fscrypt_setup_filename()
700 fname->usr_fname = iname; in fscrypt_setup_filename()
701 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
702 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
[all …]
/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/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()
H A Dcrypto.c303 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, in ceph_fname_to_usr() argument
306 struct inode *dir = fname->dir; in ceph_fname_to_usr()
309 char *name = fname->name; in ceph_fname_to_usr()
310 int name_len = fname->name_len; in ceph_fname_to_usr()
314 if (fname->name_len > NAME_MAX || fname->ctext_len > NAME_MAX) in ceph_fname_to_usr()
327 oname->name = fname->name; in ceph_fname_to_usr()
328 oname->len = fname->name_len; in ceph_fname_to_usr()
342 if (fname->no_copy) in ceph_fname_to_usr()
343 oname->name = fname->name; in ceph_fname_to_usr()
345 memcpy(oname->name, fname->name, fname->name_len); in ceph_fname_to_usr()
[all …]
/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()
814 pr_debug("No matched lines found in %s.\n", fname); in find_lazy_match_lines()
[all …]
/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/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/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...]

123456