Home
last modified time | relevance | path

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

123456

/linux/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h17 #define APQ_PIN_FUNCTION(fname) \ argument
18 [APQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \
19 fname##_groups, \
20 ARRAY_SIZE(fname##_groups))
22 #define IPQ_PIN_FUNCTION(fname) \ argument
23 [IPQ_MUX_##fname] = PINCTRL_PINFUNCTION(#fname, \
24 fname##_groups, \
25 ARRAY_SIZE(fname##_groups))
27 #define IPQ_GPIO_PIN_FUNCTION(fname) \ argument
28 [IPQ_MUX_##fname] = PINCTRL_GPIO_PINFUNCTION(#fname, \
[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): argument
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): argument
233 m = self.msg(fname, arg.name, arg)
240 fname, ln, dtype)
[all …]
/linux/fs/ext4/
H A Ddir.c433 struct fname { struct
437 struct fname *next; argument
450 struct fname *fname, *next; in free_rb_tree_fname() local
452 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
453 while (fname) { in free_rb_tree_fname()
454 struct fname *old = fname; in free_rb_tree_fname()
455 fname = fname->next; in free_rb_tree_fname()
492 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
511 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
517 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/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.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/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/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/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,
459 struct fscrypt_name *fname);
680 int lookup, struct fscrypt_name *fname) in fscrypt_setup_filename() argument
685 memset(fname, 0, sizeof(*fname)); in fscrypt_setup_filename()
686 fname->usr_fname = iname; in fscrypt_setup_filename()
687 fname->disk_name.name = (unsigned char *)iname->name; in fscrypt_setup_filename()
688 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
[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()
/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/ntfs3/
H A Ddir.c315 const struct ATTR_FILE_NAME *fname) in de_fname_fits() argument
317 return sizeof(struct NTFS_DE) + fname_full_size(fname) <= e_size; in de_fname_fits()
327 const struct ATTR_FILE_NAME *fname; in ntfs_dir_emit() local
332 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_dir_emit()
334 if (fname->type == FILE_NAME_DOS) in ntfs_dir_emit()
337 if (!mi_is_ref(&ni->mi, &fname->home)) in ntfs_dir_emit()
349 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) in ntfs_dir_emit()
352 if (!de_fname_fits(e, le16_to_cpu(e->size), fname)) in ntfs_dir_emit()
355 name_len = ntfs_utf16_to_nls(sbi, fname->name, fname->name_len, name, in ntfs_dir_emit()
370 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG; in ntfs_dir_emit()
[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/perf/util/
H A Dprobe-finder.c716 .file = pf->fname, in verify_representive_line()
733 static int verify_representive_line(struct probe_finder *pf, const char *fname, in verify_representive_line()
745 if (strcmp(fname, __fname) || lineno == __lineno)
766 static int probe_point_line_walker(const char *fname, int lineno, in probe_point_line_walker()
773 if (lineno != pf->lno || strtailcmp(fname, pf->fname) != 0) in find_probe_point_by_line()
776 if (verify_representive_line(pf, fname, lineno, addr)) in find_probe_point_by_line()
800 const char *fname, const char *pat) in find_lazy_match_lines()
809 fp = fopen(fname, "r"); in find_lazy_match_lines()
811 pr_warning("Failed to open %s: %s\n", fname, in find_lazy_match_lines()
713 verify_representive_line(struct probe_finder * pf,const char * fname,int lineno,Dwarf_Addr addr) verify_representive_line() argument
746 probe_point_line_walker(const char * fname,int lineno,Dwarf_Addr addr,void * data) probe_point_line_walker() argument
780 find_lazy_match_lines(struct intlist * list,const char * fname,const char * pat) find_lazy_match_lines() argument
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/testing/selftests/powerpc/nx-gzip/
H A Dnx-gzip-test.sh22 local fname="nx-tempfile.$n"
27 dd if=/dev/urandom of=$fname bs=$size count=1
28 ./gzfht_test $fname
29 ./gunz_test ${fname}.nx.gz

123456