Home
last modified time | relevance | path

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

123456

/linux/tools/lib/python/kdoc/
H A Dkdoc_files.py74 for fname in file_list:
76 f = os.path.join(self.srctree, fname)
78 f = fname
85 file_not_found_cb(fname)
110 def parse_file(self, fname): argument
116 if fname in self.files:
119 doc = KernelDoc(self.config, fname)
122 self.export_table[fname] = export_table
124 self.files.add(fname)
125 self.export_files.add(fname) # parse_kdoc() already check exports
[all …]
H A Dkdoc_output.py178 def msg(self, fname, name, args): argument
188 self.out_doc(fname, name, args)
195 self.out_function(fname, name, args)
199 self.out_enum(fname, name, args)
203 self.out_typedef(fname, name, args)
207 self.out_struct(fname, name, args)
221 def out_doc(self, fname, name, args): argument
224 def out_function(self, fname, name, args): argument
227 def out_enum(self, fname, name, args): argument
230 def out_typedef(self, fname, name, args): argument
[all …]
/linux/fs/f2fs/
H A Ddir.c63 struct f2fs_filename *fname) in f2fs_init_casefolded_name() argument
70 !is_dot_dotdot(fname->usr_fname->name, fname->usr_fname->len)) { in f2fs_init_casefolded_name()
76 len = utf8_casefold(sb->s_encoding, fname->usr_fname, in f2fs_init_casefolded_name()
85 fname->cf_name.name = buf; in f2fs_init_casefolded_name()
86 fname->cf_name.len = len; in f2fs_init_casefolded_name()
92 void f2fs_free_casefolded_name(struct f2fs_filename *fname) in f2fs_free_casefolded_name() argument
94 unsigned char *buf = (unsigned char *)fname->cf_name.name; in f2fs_free_casefolded_name()
98 fname->cf_name.name = NULL; in f2fs_free_casefolded_name()
105 struct f2fs_filename *fname) in __f2fs_setup_filename() argument
109 memset(fname, 0, sizeof(*fname)); in __f2fs_setup_filename()
[all …]
H A Dhash.c96 void f2fs_hash_filename(const struct inode *dir, struct f2fs_filename *fname) in f2fs_hash_filename() argument
98 const u8 *name = fname->disk_name.name; in f2fs_hash_filename()
99 size_t len = fname->disk_name.len; in f2fs_hash_filename()
104 fname->hash = 0; in f2fs_hash_filename()
119 WARN_ON_ONCE(!fname->usr_fname->name); in f2fs_hash_filename()
120 if (fname->cf_name.name) { in f2fs_hash_filename()
121 name = fname->cf_name.name; in f2fs_hash_filename()
122 len = fname->cf_name.len; in f2fs_hash_filename()
124 name = fname->usr_fname->name; in f2fs_hash_filename()
125 len = fname->usr_fname->len; in f2fs_hash_filename()
[all …]
/linux/fs/crypto/
H A Dfname.c343 int lookup, struct fscrypt_name *fname) in fscrypt_setup_filename() argument
348 memset(fname, 0, sizeof(struct fscrypt_name)); in fscrypt_setup_filename()
349 fname->usr_fname = iname; in fscrypt_setup_filename()
352 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
353 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
362 &fname->crypto_buf.len)) in fscrypt_setup_filename()
364 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
366 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
369 ret = fscrypt_fname_encrypt(dir, iname, fname->crypto_buf.name, in fscrypt_setup_filename()
370 fname->crypto_buf.len); in fscrypt_setup_filename()
[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/
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.c115 static void check_tracepoints(struct elf_tracepoint *etrace, const char *fname) in check_tracepoints() argument
133 if (fname) in check_tracepoints()
134 fprintf(stderr, " in module %s\n", fname); in check_tracepoints()
143 static void *tracepoint_check(struct elf_tracepoint *etrace, const char *fname) in tracepoint_check() argument
146 check_tracepoints(etrace, fname); in tracepoint_check()
151 static int process_tracepoints(bool mod, void *addr, const char *fname) in process_tracepoints() argument
204 fprintf(stderr, "warning: Module %s has only unused tracepoints\n", fname); in process_tracepoints()
208 fprintf(stderr, "no __tracepoint_check in file: %s\n", fname); in process_tracepoints()
216 fprintf(stderr, "no __tracepoint_strings in file: %s\n", fname); in process_tracepoints()
221 fname = NULL; in process_tracepoints()
[all …]
H A Dmake_fit.py194 def output_dtb(fsw, seq, fname, arch, compress): argument
200 fname (str): Filename containing the DTB
205 fsw.property_string('description', os.path.basename(fname))
210 with open(fname, 'rb') as inf:
215 def process_dtb(fname, args): argument
219 fname (str): Filename containing the DTB
228 with open(fname, 'rb') as inf:
236 path, basename = os.path.split(fname)
246 files = [fname]
248 files = [fname]
[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/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/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.py79 def add_symbol(self, what, fname, ln=None, xref=None): argument
85 if fname not in self.what_symbols[what]["file"]:
86 self.what_symbols[what]["file"][fname] = []
88 if ln and ln not in self.what_symbols[what]["file"][fname]:
89 self.what_symbols[what]["file"][fname].append(ln)
128 self.add_symbol(what=content, fname=fdata.fname, ln=fdata.ln)
138 self.add_symbol(what=w, fname=fdata.fname,
266 def parse_readme(self, nametag, fname): argument
271 with open(fname, "r", encoding="utf8", errors="backslashreplace") as fp:
284 def parse_file(self, fname, path, basename): 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.c302 int ceph_fname_to_usr(const struct ceph_fname *fname, struct fscrypt_str *tname, in ceph_fname_to_usr() argument
305 struct inode *dir = fname->dir; in ceph_fname_to_usr()
308 char *name = fname->name; in ceph_fname_to_usr()
309 int name_len = fname->name_len; in ceph_fname_to_usr()
313 if (fname->name_len > NAME_MAX || fname->ctext_len > NAME_MAX) in ceph_fname_to_usr()
326 oname->name = fname->name; in ceph_fname_to_usr()
327 oname->len = fname->name_len; in ceph_fname_to_usr()
341 if (fname->no_copy) in ceph_fname_to_usr()
342 oname->name = fname->name; in ceph_fname_to_usr()
344 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.py68 def parse_error(self, fname, ln, msg, data=None): argument
74 fname += f"#{ln}"
84 def parse_feat_file(self, fname): argument
87 if os.path.isdir(fname):
90 base = os.path.basename(fname)
97 subsys = os.path.dirname(fname).split("/")[-2]
110 full_fname = os.path.abspath(fname)
113 with open(fname, encoding="utf-8") as f:
177 self.parse_error(fname, ln, "Line is invalid", line)
180 self.parse_error(fname, 0, "Feature name not found")
[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/fs/udf/
H A Ddir.c40 unsigned char *fname = NULL; in udf_readdir() local
70 fname = kmalloc(UDF_NAME_LEN, GFP_KERNEL); in udf_readdir()
71 if (!fname) { in udf_readdir()
107 iter.fi.lengthFileIdent, fname, UDF_NAME_LEN); in udf_readdir()
113 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
126 kfree(fname); in udf_readdir()

123456