Home
last modified time | relevance | path

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

12345678

/linux/scripts/dtc/
A Dsrcpos.c49 int i, len = strlen(fname); in set_initial_path()
74 int restlen = strlen(fname) - (p1 - fname); in shorten_to_initial_path()
105 fullname = xstrdup(fname); in try_open()
151 if (streq(fname, "-")) { in srcfile_relative_open()
293 fname = pos->file->name; in srcpos_string()
327 fname = "<no-file>"; in srcpos_string_comment()
329 fname = "<no-filename>"; in srcpos_string_comment()
331 fname = pos->file->name; in srcpos_string_comment()
334 if (fname) in srcpos_string_comment()
337 fname = pos->file->name; in srcpos_string_comment()
[all …]
/linux/fs/f2fs/
A Ddir.c88 if (!fname->cf_name.name) in f2fs_init_casefolded_name()
91 fname->usr_fname, in f2fs_init_casefolded_name()
92 fname->cf_name.name, in f2fs_init_casefolded_name()
96 fname->cf_name.name = NULL; in f2fs_init_casefolded_name()
112 memset(fname, 0, sizeof(*fname)); in __f2fs_setup_filename()
125 f2fs_free_filename(fname); in __f2fs_setup_filename()
178 if (fname->cf_name.name) { in f2fs_free_filename()
270 if (fname->cf_name.name) { in f2fs_match_name()
505 memcpy(ri->i_name, fname->disk_name.name, fname->disk_name.len); in init_dent_inode()
591 fname ? fname->usr_fname : NULL, page); in f2fs_init_inode_metadata()
[all …]
A Dhash.c98 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()
118 WARN_ON_ONCE(!fname->usr_fname->name); in f2fs_hash_filename()
119 if (fname->cf_name.name) { in f2fs_hash_filename()
120 name = fname->cf_name.name; in f2fs_hash_filename()
121 len = fname->cf_name.len; in f2fs_hash_filename()
123 name = fname->usr_fname->name; in f2fs_hash_filename()
124 len = fname->usr_fname->len; in f2fs_hash_filename()
129 fname->hash = in f2fs_hash_filename()
[all …]
A Drecovery.c118 struct f2fs_filename *fname, in init_recovered_filename() argument
123 memset(fname, 0, sizeof(*fname)); in init_recovered_filename()
125 fname->disk_name.name = raw_inode->i_name; in init_recovered_filename()
131 usr_fname->name = fname->disk_name.name; in init_recovered_filename()
132 usr_fname->len = fname->disk_name.len; in init_recovered_filename()
133 fname->usr_fname = usr_fname; in init_recovered_filename()
150 f2fs_hash_filename(dir, fname); in init_recovered_filename()
154 fname->cf_name.name = NULL; in init_recovered_filename()
157 f2fs_hash_filename(dir, fname); in init_recovered_filename()
168 struct f2fs_filename fname; in recover_dentry() local
[all …]
A Dinline.c323 const struct f2fs_filename *fname, in f2fs_find_in_inline_dir() argument
341 de = f2fs_find_target_dentry(&d, fname, NULL); in f2fs_find_in_inline_dir()
462 struct f2fs_filename fname; in f2fs_add_inline_entries() local
482 memset(&fname, 0, sizeof(fname)); in f2fs_add_inline_entries()
483 fname.disk_name.name = d.filename[bit_pos]; in f2fs_add_inline_entries()
484 fname.disk_name.len = le16_to_cpu(de->name_len); in f2fs_add_inline_entries()
485 fname.hash = de->hash_code; in f2fs_add_inline_entries()
567 struct f2fs_filename fname; in f2fs_try_convert_inline_dir() local
586 if (f2fs_has_enough_room(dir, ipage, &fname)) { in f2fs_try_convert_inline_dir()
597 f2fs_free_filename(&fname); in f2fs_try_convert_inline_dir()
[all …]
/linux/fs/ext4/
A Ddir.c404 struct fname { struct
421 struct fname *fname, *next; in free_rb_tree_fname() argument
425 struct fname *old = fname; in free_rb_tree_fname()
426 fname = fname->next; in free_rb_tree_fname()
466 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
487 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
523 struct fname *fname) in call_filldir() argument
529 if (!fname) { in call_filldir()
544 fname = fname->next; in call_filldir()
553 struct fname *fname; in ext4_dx_readdir() local
[all …]
/linux/fs/crypto/
A Dfname.c419 fname->usr_fname = iname; in fscrypt_setup_filename()
433 &fname->crypto_buf.len)) in fscrypt_setup_filename()
435 fname->crypto_buf.name = kmalloc(fname->crypto_buf.len, in fscrypt_setup_filename()
437 if (!fname->crypto_buf.name) in fscrypt_setup_filename()
441 fname->crypto_buf.len); in fscrypt_setup_filename()
444 fname->disk_name.name = fname->crypto_buf.name; in fscrypt_setup_filename()
445 fname->disk_name.len = fname->crypto_buf.len; in fscrypt_setup_filename()
450 fname->is_nokey_name = true; in fscrypt_setup_filename()
472 fname->crypto_buf.len = ret; in fscrypt_setup_filename()
480 fname->disk_name.len = in fscrypt_setup_filename()
[all …]
/linux/arch/mips/txx9/generic/
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()
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()
160 smsc_fdc37m81x_config_dump_one(fname, SMSC_FDC37M81X_KBD, in smsc_fdc37m81x_config_dump()
[all …]
/linux/scripts/
A Drecordmcount.c174 fd_map = open(fname, O_RDONLY); in mmap_file()
176 perror(fname); in mmap_file()
180 perror(fname); in mmap_file()
193 perror(fname); in mmap_file()
197 perror(fname); in mmap_file()
319 char tmp_file[strlen(fname) + 4]; in write_file()
334 perror(fname); in write_file()
353 perror(fname); in write_file()
483 ehdr = mmap_file(fname); in do_file()
534 w2(ehdr->e_machine), fname); in do_file()
[all …]
A Dsorttable.c81 fd = open(fname, O_RDWR); in mmap_file()
83 perror(fname); in mmap_file()
87 perror(fname); in mmap_file()
91 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file()
97 fprintf(stderr, "Could not mmap file: %s\n", fname); in mmap_file()
354 ehdr->e_ident[EI_DATA], fname); in do_file()
391 r2(&ehdr->e_machine), fname); in do_file()
403 rc = do_sort_32(ehdr, fname, custom_sort); in do_file()
412 fname); in do_file()
415 rc = do_sort_64(ghdr, fname, custom_sort); in do_file()
[all …]
A Dsorttable.h196 char const *const fname, in do_sort() argument
274 "incomplete ORC unwind tables in file: %s\n", fname); in do_sort()
284 fname); in do_sort()
293 strerror(errno), fname); in do_sort()
298 fprintf(stderr, "no __ex_table in file: %s\n", fname); in do_sort()
303 fprintf(stderr, "no .symtab in file: %s\n", fname); in do_sort()
308 fprintf(stderr, "no .strtab in file: %s\n", fname); in do_sort()
345 fname); in do_sort()
370 strerror(errno), fname); in do_sort()
375 (char *)retval, fname); in do_sort()
/linux/scripts/coccinelle/misc/
A Dnewline_in_nl_msg.cocci30 identifier fname;
35 fname(e,m@p)
42 identifier r1.fname;
46 * fname(e,m)
53 fname << r1.fname;
59 msg="WARNING avoid newline at end of message in %s" % (fname)
68 fname << r1.fname;
74 msg="WARNING avoid newline at end of message in %s" % (fname)
/linux/arch/mips/boot/tools/
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/
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/linux/
A Dfscrypt.h313 kfree(fname->crypto_buf.name); in fscrypt_free_filename()
341 struct fscrypt_name *fname);
541 memset(fname, 0, sizeof(*fname)); in fscrypt_setup_filename()
542 fname->usr_fname = iname; in fscrypt_setup_filename()
544 fname->disk_name.len = iname->len; in fscrypt_setup_filename()
576 if (de_name_len != fname->disk_name.len) in fscrypt_match_name()
578 return !memcmp(de_name, fname->disk_name.name, fname->disk_name.len); in fscrypt_match_name()
631 struct fscrypt_name *fname) in __fscrypt_prepare_lookup() argument
877 struct fscrypt_name *fname) in fscrypt_prepare_lookup() argument
882 memset(fname, 0, sizeof(*fname)); in fscrypt_prepare_lookup()
[all …]
/linux/include/asm-generic/
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
A Derror-injection.h26 #define ALLOW_ERROR_INJECTION(fname, _etype) \ argument
29 _eil_addr_##fname = { \
30 .addr = (unsigned long)fname, \
36 #define ALLOW_ERROR_INJECTION(fname, _etype) argument
/linux/Documentation/sphinx/
A Dkfigure.py81 fname = folder + os.sep + cmd
82 if path.isfile(fname):
83 return fname
89 def file2literal(fname): argument
90 with open(fname, "r") as src:
224 img_node['uri'] = fname + '.pdf'
225 img_node['candidates'] = {'*': fname + '.pdf'}
232 fname + '.svg')
234 translator.builder.imgpath, fname + '.svg')
251 img_node['uri'] = fname + '.pdf'
[all …]
/linux/drivers/s390/char/
A Dhmcdrv_cache.c38 char fname[HMCDRV_FTP_FIDENT_MAX]; member
52 .fname = {'\0'}
68 strcmp(hmcdrv_cache_file.fname, ftp->fname)) in hmcdrv_cache_get()
98 hmcdrv_cache_file.fname, len, in hmcdrv_cache_get()
138 len, ftp->fname); in hmcdrv_cache_do()
157 strlcpy(hmcdrv_cache_file.fname, ftp->fname, in hmcdrv_cache_do()
161 ftp->id, hmcdrv_cache_file.fsize, ftp->fname); in hmcdrv_cache_do()
/linux/fs/ntfs3/
A Dnamei.c24 struct ATTR_FILE_NAME *fname = (struct ATTR_FILE_NAME *)(e + 1); in fill_name_de() local
27 e->ref.high = fname->home.high = 0; in fill_name_de()
32 __le16 *uname = fname->name; in fill_name_de()
38 memcpy(fname->name, uni->name, uni->len * sizeof(u16)); in fill_name_de()
40 fname->name_len = uni->len; in fill_name_de()
45 (struct cpu_str *)&fname->name_len, in fill_name_de()
51 fname->type = FILE_NAME_POSIX; in fill_name_de()
52 data_size = fname_full_size(fname); in fill_name_de()
345 struct ATTR_FILE_NAME *fname; in ntfs3_get_parent() local
350 if (!fname) in ntfs3_get_parent()
[all …]
A Ddir.c279 const struct ATTR_FILE_NAME *fname; in ntfs_filldir() local
284 fname = Add2Ptr(e, sizeof(struct NTFS_DE)); in ntfs_filldir()
286 if (fname->type == FILE_NAME_DOS) in ntfs_filldir()
289 if (!mi_is_ref(&ni->mi, &fname->home)) in ntfs_filldir()
301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) in ntfs_filldir()
304 name_len = ntfs_utf16_to_nls(sbi, fname->name, fname->name_len, name, in ntfs_filldir()
492 const struct ATTR_FILE_NAME *fname; in ntfs_dir_count() local
523 fname = de_get_fname(e); in ntfs_dir_count()
524 if (!fname) in ntfs_dir_count()
527 if (fname->type == FILE_NAME_DOS) in ntfs_dir_count()
[all …]
/linux/security/integrity/
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
56 if (fname) { in integrity_audit_message()
58 audit_log_untrustedstring(ab, fname); in integrity_audit_message()
/linux/tools/power/cpupower/lib/
A Dcpuidle.c31 const char *fname) in cpuidle_state_file_exists() argument
38 cpu, idlestate, fname); in cpuidle_state_file_exists()
53 const char *fname, char *buf, in cpuidle_state_read_file() argument
61 cpu, idlestate, fname); in cpuidle_state_read_file()
88 const char *fname, in cpuidle_state_write_file() argument
96 cpu, idlestate, fname); in cpuidle_state_write_file()
314 static unsigned int sysfs_cpuidle_read_file(const char *fname, char *buf, in sysfs_cpuidle_read_file() argument
319 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
/linux/tools/testing/selftests/powerpc/nx-gzip/
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
/linux/tools/perf/util/
A Ddwarf-aux.c29 if (!fname) in cu_find_realpath()
38 if (strtailcmp(src, fname) == 0) in cu_find_realpath()
117 const char **fname, int *lineno) in cu_find_lineinfo() argument
126 *fname = dwarf_decl_file(&die_mem); in cu_find_lineinfo()
133 *fname = dwarf_linesrc(line, NULL, NULL); in cu_find_lineinfo()
134 if (!*fname) in cu_find_lineinfo()
777 const char *fname; in __die_walk_funclines_cb() local
781 fname = die_get_call_file(in_die); in __die_walk_funclines_cb()
793 fname = dwarf_decl_file(in_die); in __die_walk_funclines_cb()
817 const char *fname; in __die_walk_funclines() local
[all …]

Completed in 53 milliseconds

12345678