/linux-4.4.14/samples/bpf/ |
H A D | tracex1_user.c | 10 char filename[256]; main() local 12 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 14 if (load_bpf_file(filename)) { main()
|
H A D | sockex1_user.c | 11 char filename[256]; main() local 15 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 17 if (load_bpf_file(filename)) { main()
|
H A D | sockex2_user.c | 16 char filename[256]; main() local 20 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 22 if (load_bpf_file(filename)) { main()
|
H A D | tracex5_user.c | 29 char filename[256]; main() local 31 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 33 if (load_bpf_file(filename)) { main()
|
H A D | sockex3_user.c | 26 char filename[256]; main() local 30 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 32 if (load_bpf_file(filename)) { main()
|
H A D | tracex4_user.c | 53 char filename[256]; main() local 56 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 58 if (load_bpf_file(filename)) { main()
|
H A D | tracex6_user.c | 59 char filename[256]; main() local 61 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 63 if (load_bpf_file(filename)) { main()
|
H A D | lathist_user.c | 87 char filename[256]; main() local 89 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 91 if (load_bpf_file(filename)) { main()
|
H A D | tracex2_user.c | 108 char filename[256]; main() local 113 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 125 if (load_bpf_file(filename)) { main()
|
H A D | tracex3_user.c | 106 char filename[256]; main() local 109 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 111 if (load_bpf_file(filename)) { main()
|
H A D | trace_output_user.c | 171 char filename[256]; main() local 174 snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]); main() 176 if (load_bpf_file(filename)) { main()
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | sysfs.c | 28 char filename[PATH_MAX]; readsysfs() local 35 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); readsysfs() 37 snprintf(filename, PATH_MAX, readsysfs() 40 fd = open(filename, O_RDONLY); readsysfs() 43 filename, strerror(errno)); readsysfs() 50 filename, strerror(errno)); readsysfs() 70 char filename[PATH_MAX]; setsysfs() local 75 snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry); setsysfs() 77 snprintf(filename, PATH_MAX, "%s/%s/%s", setsysfs() 82 fd = open(filename, O_RDWR); setsysfs() 86 filename, strerror(errno)); setsysfs() 94 filename, strerror(errno)); setsysfs()
|
/linux-4.4.14/tools/perf/util/ |
H A D | vdso.h | 14 static inline bool is_vdso_map(const char *filename) is_vdso_map() argument 16 return !strcmp(filename, VDSO__MAP_NAME); is_vdso_map()
|
H A D | build-id.c | 299 char *realname = (char *)name, *filename; build_id_cache__dirname_from_path() local 308 if (asprintf(&filename, "%s%s%s", buildid_dir, slash ? "/" : "", build_id_cache__dirname_from_path() 310 filename = NULL; build_id_cache__dirname_from_path() 315 return filename; build_id_cache__dirname_from_path() 362 char *realname = NULL, *filename = NULL, *dir_name = NULL, build_id_cache__add_s() local 379 if (asprintf(&filename, "%s/%s", dir_name, sbuild_id) < 0) { build_id_cache__add_s() 380 filename = NULL; build_id_cache__add_s() 384 if (access(filename, F_OK)) { build_id_cache__add_s() 386 if (copyfile("/proc/kallsyms", filename)) build_id_cache__add_s() 388 } else if (link(realname, filename) && errno != EEXIST && build_id_cache__add_s() 389 copyfile(name, filename)) build_id_cache__add_s() 402 targetname = filename + strlen(buildid_dir) - 5; build_id_cache__add_s() 410 free(filename); build_id_cache__add_s() 430 char *filename = build_id__filename(sbuild_id, NULL, 0); build_id_cache__cached() local 432 if (filename && !access(filename, F_OK)) build_id_cache__cached() 434 free(filename); build_id_cache__cached() 442 char *filename = zalloc(size), build_id_cache__remove_s() local 446 if (filename == NULL || linkname == NULL) build_id_cache__remove_s() 455 if (readlink(linkname, filename, size - 1) < 0) build_id_cache__remove_s() 465 snprintf(tmp, size - (tmp - linkname), "%s", filename); build_id_cache__remove_s() 472 free(filename); build_id_cache__remove_s()
|
H A D | bpf-loader.h | 33 struct bpf_object *bpf__prepare_load(const char *filename, bool source); 34 int bpf__strerror_prepare_load(const char *filename, bool source, 54 bpf__prepare_load(const char *filename __maybe_unused, bpf__prepare_load() 95 int bpf__strerror_prepare_load(const char *filename __maybe_unused, bpf__strerror_prepare_load()
|
H A D | srcline.c | 28 const char *filename; member in struct:a2l_data 104 &a2l->filename, &a2l->funcname, find_address_in_section() 179 while (bfd_find_inliner_info(a2l->abfd, &a2l->filename, addr2line() 185 if (a2l->found && a2l->filename) { addr2line() 186 *file = strdup(a2l->filename); addr2line() 217 char *filename = NULL; addr2line() local 231 if (getline(&filename, &len, fp) < 0 || !len) { addr2line() 236 sep = strchr(filename, '\n'); addr2line() 240 if (!strcmp(filename, "??:0")) { addr2line() 242 free(filename); addr2line() 246 sep = strchr(filename, ':'); addr2line() 249 *file = filename; addr2line()
|
H A D | map.c | 26 static inline int is_anon_memory(const char *filename) is_anon_memory() argument 28 return !strcmp(filename, "//anon") || is_anon_memory() 29 !strcmp(filename, "/dev/zero (deleted)") || is_anon_memory() 30 !strcmp(filename, "/anon_hugepage (deleted)"); is_anon_memory() 33 static inline int is_no_dso_memory(const char *filename) is_no_dso_memory() argument 35 return !strncmp(filename, "[stack", 6) || is_no_dso_memory() 36 !strncmp(filename, "/SYSV",5) || is_no_dso_memory() 37 !strcmp(filename, "[heap]"); is_no_dso_memory() 40 static inline int is_android_lib(const char *filename) is_android_lib() argument 42 return !strncmp(filename, "/data/app-lib", 13) || is_android_lib() 43 !strncmp(filename, "/system/lib", 11); is_android_lib() 46 static inline bool replace_android_lib(const char *filename, char *newfilename) replace_android_lib() argument 53 libname = strrchr(filename, '/'); replace_android_lib() 63 if (!strncmp(filename, "/data/app-lib", 13)) { replace_android_lib() 87 if (!strncmp(filename, "/system/lib/", 11)) { replace_android_lib() 146 u64 ino_gen, u32 prot, u32 flags, char *filename, map__new() 156 android = is_android_lib(filename); map__new() 157 anon = is_anon_memory(filename); map__new() 158 vdso = is_vdso_map(filename); map__new() 159 no_dso = is_no_dso_memory(filename); map__new() 170 filename = newfilename; map__new() 174 if (replace_android_lib(filename, newfilename)) map__new() 175 filename = newfilename; map__new() 182 dso = machine__findnew_dso(machine, filename); map__new() 144 map__new(struct machine *machine, u64 start, u64 len, u64 pgoff, u32 pid, u32 d_maj, u32 d_min, u64 ino, u64 ino_gen, u32 prot, u32 flags, char *filename, enum map_type type, struct thread *thread) map__new() argument
|
H A D | event.c | 67 char filename[PATH_MAX]; perf_event__get_comm_ids() local 77 snprintf(filename, sizeof(filename), "/proc/%d/status", pid); perf_event__get_comm_ids() 79 fd = open(filename, O_RDONLY); perf_event__get_comm_ids() 81 pr_debug("couldn't open %s\n", filename); perf_event__get_comm_ids() 227 char filename[PATH_MAX]; perf_event__synthesize_mmap_events() local 237 snprintf(filename, sizeof(filename), "%s/proc/%d/maps", perf_event__synthesize_mmap_events() 240 fp = fopen(filename, "r"); perf_event__synthesize_mmap_events() 245 pr_debug("couldn't open %s\n", filename); perf_event__synthesize_mmap_events() 268 filename); perf_event__synthesize_mmap_events() 329 memcpy(event->mmap2.filename, execname, size); perf_event__synthesize_mmap_events() 333 (sizeof(event->mmap2.filename) - size)); perf_event__synthesize_mmap_events() 334 memset(event->mmap2.filename + size, 0, machine->id_hdr_size); perf_event__synthesize_mmap_events() 388 (sizeof(event->mmap.filename) - size)); perf_event__synthesize_modules() 389 memset(event->mmap.filename + size, 0, machine->id_hdr_size); perf_event__synthesize_modules() 395 memcpy(event->mmap.filename, pos->dso->long_name, perf_event__synthesize_modules() 417 char filename[PATH_MAX]; __event__synthesize_thread() local 439 snprintf(filename, sizeof(filename), "%s/proc/%d/task", __event__synthesize_thread() 442 tasks = opendir(filename); __event__synthesize_thread() 444 pr_debug("couldn't open %s\n", filename); __event__synthesize_thread() 685 size = snprintf(event->mmap.filename, sizeof(event->mmap.filename), perf_event__synthesize_kernel_mmap() 690 (sizeof(event->mmap.filename) - size) + machine->id_hdr_size); perf_event__synthesize_kernel_mmap() 768 event->mmap.filename); perf_event__fprintf_mmap() 783 event->mmap2.filename); perf_event__fprintf_mmap2()
|
H A D | dso.c | 39 char *root_dir, char *filename, size_t size) dso__read_binary_type_filename() 49 len = __symbol__join_symfs(filename, size, dso->long_name); dso__read_binary_type_filename() 50 debuglink = filename + len; dso__read_binary_type_filename() 51 while (debuglink != filename && *debuglink != '/') dso__read_binary_type_filename() 55 ret = filename__read_debuglink(filename, debuglink, dso__read_binary_type_filename() 56 size - (debuglink - filename)); dso__read_binary_type_filename() 62 (dso__build_id_filename(dso, filename, size) == NULL)) dso__read_binary_type_filename() 67 len = __symbol__join_symfs(filename, size, "/usr/lib/debug"); dso__read_binary_type_filename() 68 snprintf(filename + len, size - len, "%s.debug", dso->long_name); dso__read_binary_type_filename() 72 len = __symbol__join_symfs(filename, size, "/usr/lib/debug"); dso__read_binary_type_filename() 73 snprintf(filename + len, size - len, "%s", dso->long_name); dso__read_binary_type_filename() 85 len = __symbol__join_symfs(filename, size, ""); dso__read_binary_type_filename() 91 len += scnprintf(filename + len, dir_size, "%s", dso->long_name); dso__read_binary_type_filename() 92 len += scnprintf(filename + len , size - len, ".debug%s", dso__read_binary_type_filename() 106 len = __symbol__join_symfs(filename, size, "/usr/lib/debug/.build-id/"); dso__read_binary_type_filename() 107 snprintf(filename + len, size - len, "%.2s/%s.debug", dso__read_binary_type_filename() 114 __symbol__join_symfs(filename, size, dso->long_name); dso__read_binary_type_filename() 119 path__join3(filename, size, symbol_conf.symfs, dso__read_binary_type_filename() 125 __symbol__join_symfs(filename, size, dso->long_name); dso__read_binary_type_filename() 130 snprintf(filename, size, "%s", dso->long_name); dso__read_binary_type_filename() 195 bool decompress_to_file(const char *ext, const char *filename, int output_fd) decompress_to_file() argument 201 return !compressions[i].decompress(filename, decompress_to_file() 1143 char filename[PATH_MAX]; dso__kernel_module_get_build_id() local 1150 snprintf(filename, sizeof(filename), dso__kernel_module_get_build_id() 1154 if (sysfs__read_build_id(filename, dso->build_id, dso__kernel_module_get_build_id() 37 dso__read_binary_type_filename(const struct dso *dso, enum dso_binary_type type, char *root_dir, char *filename, size_t size) dso__read_binary_type_filename() argument
|
H A D | symbol.h | 235 int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map, 249 int filename__read_build_id(const char *filename, void *bf, size_t size); 250 int sysfs__read_build_id(const char *filename, void *bf, size_t size); 251 int modules__parse(const char *filename, void *arg, 254 int filename__read_debuglink(const char *filename, char *debuglink, 267 bool symbol__restricted_filename(const char *filename,
|
H A D | symbol.c | 514 int modules__parse(const char *filename, void *arg, modules__parse() argument 523 file = fopen(filename, "r"); modules__parse() 644 static int dso__load_all_kallsyms(struct dso *dso, const char *filename, dso__load_all_kallsyms() argument 648 return kallsyms__parse(filename, &args, map__process_kallsym_symbol); dso__load_all_kallsyms() 837 bool symbol__restricted_filename(const char *filename, symbol__restricted_filename() argument 843 char *r = realpath(filename, NULL); symbol__restricted_filename() 937 static int read_proc_modules(const char *filename, struct rb_root *modules) read_proc_modules() argument 939 if (symbol__restricted_filename(filename, "/proc/modules")) read_proc_modules() 942 if (modules__parse(filename, modules, __read_proc_modules)) { read_proc_modules() 991 static int do_validate_kcore_modules(const char *filename, struct map *map, do_validate_kcore_modules() argument 998 err = read_proc_modules(filename, &modules); do_validate_kcore_modules() 1028 * If kallsyms is referenced by name then we look for filename in the same 1031 static bool filename_from_kallsyms_filename(char *filename, filename_from_kallsyms_filename() argument 1037 strcpy(filename, kallsyms_filename); filename_from_kallsyms_filename() 1038 name = strrchr(filename, '/'); filename_from_kallsyms_filename() 1244 static int kallsyms__delta(struct map *map, const char *filename, u64 *delta) kallsyms__delta() argument 1255 addr = kallsyms__get_function_start(filename, kallsyms__delta() 1264 int dso__load_kallsyms(struct dso *dso, const char *filename, dso__load_kallsyms() argument 1269 if (symbol__restricted_filename(filename, "/proc/kallsyms")) dso__load_kallsyms() 1272 if (dso__load_all_kallsyms(dso, filename, map) < 0) dso__load_kallsyms() 1275 if (kallsyms__delta(map, filename, &delta)) dso__load_kallsyms() 1286 if (!dso__load_kcore(dso, map, filename)) dso__load_kallsyms() 1615 char *filename = NULL; dso__load_vmlinux_path() local 1627 filename = dso__build_id_filename(dso, NULL, 0); dso__load_vmlinux_path() 1628 if (filename != NULL) { dso__load_vmlinux_path() 1629 err = dso__load_vmlinux(dso, map, filename, true, filter); dso__load_vmlinux_path() 1632 free(filename); dso__load_vmlinux_path() 1749 * Step 1: if the user specified a kallsyms or vmlinux filename, use dso__load_kernel_sym() 1821 * if the user specified a vmlinux filename, use it and only dso__load_guest_kernel_sym()
|
H A D | bpf-loader.c | 60 struct bpf_object *bpf__prepare_load(const char *filename, bool source) bpf__prepare_load() argument 76 err = llvm__compile_bpf(filename, &obj_buf, &obj_buf_sz); bpf__prepare_load() 79 obj = bpf_object__open_buffer(obj_buf, obj_buf_sz, filename); bpf__prepare_load() 82 obj = bpf_object__open(filename); bpf__prepare_load() 85 pr_debug("bpf: failed to load %s\n", filename); bpf__prepare_load() 399 int bpf__strerror_prepare_load(const char *filename, bool source, bpf__strerror_prepare_load() argument 406 filename, source ? " from source" : ""); bpf__strerror_prepare_load()
|
H A D | symbol-minimal.c | 72 int filename__read_debuglink(const char *filename __maybe_unused, filename__read_debuglink() 82 int filename__read_build_id(const char *filename, void *bf, size_t size) filename__read_build_id() argument 92 fp = fopen(filename, "r"); filename__read_build_id() 218 int sysfs__read_build_id(const char *filename, void *build_id, size_t size) sysfs__read_build_id() argument 226 fd = open(filename, O_RDONLY); sysfs__read_build_id()
|
H A D | annotate.c | 880 * Also color the filename and line if needed, with disasm_line__print() 882 * twice for close colored addr with the same filename:line disasm_line__print() 982 /* /filename:linenr ? Save line number and ignore. */ symbol__parse_objdump_line() 1078 char *filename = dso__build_id_filename(dso, NULL, 0); symbol__annotate() local 1089 if (filename) symbol__annotate() 1090 symbol__join_symfs(symfs_filename, filename); symbol__annotate() 1092 if (filename == NULL) { symbol__annotate() 1104 free(filename); symbol__annotate() 1111 filename = (char *)dso->long_name; symbol__annotate() 1112 symbol__join_symfs(symfs_filename, filename); symbol__annotate() 1142 pr_debug("%s: filename=%s, sym=%s, start=%#" PRIx64 ", end=%#" PRIx64 "\n", __func__, symbol__annotate() 1143 filename, sym->name, map->unmap_ip(map, sym->start), symbol__annotate() 1159 free(filename); symbol__annotate() 1162 filename = symfs_filename; symbol__annotate() 1206 symfs_filename, filename); symbol__annotate() 1247 free(filename); symbol__annotate() 1351 /* Get the filename:line for the colored entries */ symbol__get_source_line() 1414 static void print_summary(struct rb_root *root, const char *filename) print_summary() argument 1419 printf("\nSorted summary for file %s\n", filename); print_summary() 1470 char *filename; symbol__annotate_printf() local 1482 filename = strdup(dso->long_name); symbol__annotate_printf() 1483 if (!filename) symbol__annotate_printf() 1487 d_filename = filename; symbol__annotate_printf() 1489 d_filename = basename(filename); symbol__annotate_printf() 1545 free(filename); symbol__annotate_printf()
|
H A D | machine.c | 508 const char *filename) machine__findnew_module_dso() 530 dso__set_long_name(dso, strdup(filename), true); machine__findnew_module_dso() 564 const char *filename) machine__findnew_module_map() 570 if (kmod_path__parse_name(&m, filename)) machine__findnew_module_map() 578 dso = machine__findnew_module_dso(machine, &m, filename); machine__findnew_module_map() 632 char filename[PATH_MAX]; machine__fprintf_vmlinux_path() local 633 if (dso__build_id_filename(kdso, filename, sizeof(filename))) machine__fprintf_vmlinux_path() 634 printed += fprintf(fp, "[0] %s\n", filename); machine__fprintf_vmlinux_path() 716 char filename[PATH_MAX]; machine__get_running_kernel_start() local 721 machine__get_kallsyms_filename(machine, filename, PATH_MAX); machine__get_running_kernel_start() 723 if (symbol__restricted_filename(filename, "/proc/kallsyms")) machine__get_running_kernel_start() 727 addr = kallsyms__get_function_start(filename, name); machine__get_running_kernel_start() 869 int machine__load_kallsyms(struct machine *machine, const char *filename, machine__load_kallsyms() argument 873 int ret = dso__load_kallsyms(map->dso, filename, map, filter); machine__load_kallsyms() 1165 is_kernel_mmap = memcmp(event->mmap.filename, machine__process_kernel_mmap_event() 1168 if (event->mmap.filename[0] == '/' || machine__process_kernel_mmap_event() 1169 (!is_kernel_mmap && event->mmap.filename[0] == '[')) { machine__process_kernel_mmap_event() 1171 event->mmap.filename); machine__process_kernel_mmap_event() 1177 const char *symbol_name = (event->mmap.filename + machine__process_kernel_mmap_event() 1295 event->mmap2.filename, type, thread); machine__process_mmap2_event() 1345 event->mmap.filename, machine__process_mmap_event() 2021 struct dso *machine__findnew_dso(struct machine *machine, const char *filename) machine__findnew_dso() argument 2023 return dsos__findnew(&machine->dsos, filename); machine__findnew_dso() 506 machine__findnew_module_dso(struct machine *machine, struct kmod_path *m, const char *filename) machine__findnew_module_dso() argument 563 machine__findnew_module_map(struct machine *machine, u64 start, const char *filename) machine__findnew_module_map() argument
|
H A D | strlist.c | 68 int strlist__load(struct strlist *slist, const char *filename) strlist__load() argument 72 FILE *fp = fopen(filename, "r"); strlist__load()
|
H A D | util.c | 541 int filename__read_str(const char *filename, char **buf, size_t *sizep) filename__read_str() argument 548 fd = open(filename, O_RDONLY); filename__read_str() 591 const char *filename; get_filename_for_perf_kvm() local 594 filename = strdup("perf.data.host"); get_filename_for_perf_kvm() 596 filename = strdup("perf.data.guest"); get_filename_for_perf_kvm() 598 filename = strdup("perf.data.kvm"); get_filename_for_perf_kvm() 600 return filename; get_filename_for_perf_kvm()
|
H A D | symbol-elf.c | 428 int filename__read_build_id(const char *filename, void *bf, size_t size) filename__read_build_id() argument 436 fd = open(filename, O_RDONLY); filename__read_build_id() 442 pr_debug2("%s: cannot read %s ELF file.\n", __func__, filename); filename__read_build_id() 455 int sysfs__read_build_id(const char *filename, void *build_id, size_t size) sysfs__read_build_id() argument 462 fd = open(filename, O_RDONLY); sysfs__read_build_id() 500 int filename__read_debuglink(const char *filename, char *debuglink, filename__read_debuglink() argument 511 fd = open(filename, O_RDONLY); filename__read_debuglink() 517 pr_debug2("%s: cannot read %s ELF file.\n", __func__, filename); filename__read_debuglink() 1242 static int kcore__open(struct kcore *kcore, const char *filename) kcore__open() argument 1246 kcore->fd = open(filename, O_RDONLY); kcore__open() 1271 static int kcore__init(struct kcore *kcore, char *filename, int elfclass, kcore__init() argument 1277 kcore->fd = mkstemp(filename); kcore__init() 1279 kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400); kcore__init() 1298 unlink(filename); kcore__init() 1550 char filename[PATH_MAX]; kcore_copy__unlink() local 1552 scnprintf(filename, PATH_MAX, "%s/%s", dir, name); kcore_copy__unlink() 1554 return unlink(filename); kcore_copy__unlink()
|
H A D | strlist.h | 28 int strlist__load(struct strlist *slist, const char *filename);
|
H A D | svghelper.h | 6 extern void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end);
|
H A D | util.h | 189 static inline int has_extension(const char *filename, const char *ext) has_extension() argument 191 size_t len = strlen(filename); has_extension() 194 return len > extlen && !memcmp(filename + len - extlen, ext, extlen); has_extension() 322 int filename__read_str(const char *filename, char **buf, size_t *sizep);
|
H A D | machine.h | 168 struct dso *machine__findnew_dso(struct machine *machine, const char *filename); 202 const char *filename); 204 int machine__load_kallsyms(struct machine *machine, const char *filename,
|
H A D | header.c | 423 char filename[MAXPATHLEN]; build_cpu_topo() local 430 sprintf(filename, CORE_SIB_FMT, cpu); build_cpu_topo() 431 fp = fopen(filename, "r"); build_cpu_topo() 457 sprintf(filename, THRD_SIB_FMT, cpu); build_cpu_topo() 458 fp = fopen(filename, "r"); build_cpu_topo() 1225 char *filename, __event_process_build_id() 1255 dso = machine__findnew_dso(machine, filename); __event_process_build_id() 1261 if (!is_kernel_module(filename, cpumode)) __event_process_build_id() 1283 char filename[0]; perf_header__read_build_ids_abi_quirk() member in struct:__anon15719 1286 char filename[PATH_MAX]; perf_header__read_build_ids_abi_quirk() local 1299 if (readn(input, filename, len) != len) perf_header__read_build_ids_abi_quirk() 1314 __event_process_build_id(&bev, filename, session); perf_header__read_build_ids_abi_quirk() 1327 char filename[PATH_MAX]; perf_header__read_build_ids() local 1341 if (readn(input, filename, len) != len) perf_header__read_build_ids() 1356 if (memcmp(filename, "nel.kallsyms]", 13) == 0) { perf_header__read_build_ids() 1362 __event_process_build_id(&bev, filename, session); perf_header__read_build_ids() 2855 memcpy(&ev.build_id.filename, pos->long_name, pos->long_name_len); perf_event__synthesize_build_id() 2867 event->build_id.filename, perf_event__process_build_id() 1224 __event_process_build_id(struct build_id_event *bev, char *filename, struct perf_session *session) __event_process_build_id() argument
|
H A D | config.c | 419 static int perf_config_from_file(config_fn_t fn, const char *filename, void *data) perf_config_from_file() argument 422 FILE *f = fopen(filename, "r"); perf_config_from_file() 427 config_file_name = filename; perf_config_from_file()
|
H A D | event.h | 18 char filename[PATH_MAX]; member in struct:mmap_event 33 char filename[PATH_MAX]; member in struct:mmap2_event 215 char filename[]; member in struct:build_id_event
|
/linux-4.4.14/tools/iio/ |
H A D | iio_utils.c | 96 char *scan_el_dir, *builtname, *builtname_generic, *filename = 0; iioutils_get_type() local 130 ret = asprintf(&filename, iioutils_get_type() 137 sysfsfp = fopen(filename, "r"); iioutils_get_type() 141 filename); iioutils_get_type() 174 filename); iioutils_get_type() 179 free(filename); iioutils_get_type() 180 filename = 0; iioutils_get_type() 189 if (filename) iioutils_get_type() 190 free(filename); iioutils_get_type() 224 char *filename = NULL; iioutils_get_param_float() local 248 ret = asprintf(&filename, iioutils_get_param_float() 255 sysfsfp = fopen(filename, "r"); iioutils_get_param_float() 268 if (filename) iioutils_get_param_float() 269 free(filename); iioutils_get_param_float() 321 char *filename; build_channel_array() local 337 ret = asprintf(&filename, build_channel_array() 344 sysfsfp = fopen(filename, "r"); build_channel_array() 347 free(filename); build_channel_array() 357 free(filename); build_channel_array() 365 free(filename); build_channel_array() 369 free(filename); build_channel_array() 385 ret = asprintf(&filename, build_channel_array() 394 sysfsfp = fopen(filename, "r"); build_channel_array() 397 free(filename); build_channel_array() 405 free(filename); build_channel_array() 412 free(filename); build_channel_array() 418 free(filename); build_channel_array() 429 free(filename); build_channel_array() 439 free(filename); build_channel_array() 445 ret = asprintf(&filename, build_channel_array() 450 free(filename); build_channel_array() 455 sysfsfp = fopen(filename, "r"); build_channel_array() 459 filename); build_channel_array() 460 free(filename); build_channel_array() 470 free(filename); build_channel_array() 476 free(filename); build_channel_array() 480 free(filename); build_channel_array() 571 char *filename; find_type_by_name() local 602 filename = malloc(strlen(iio_dir) + strlen(type) find_type_by_name() 604 if (!filename) { find_type_by_name() 609 ret = sprintf(filename, "%s%s%d/name", iio_dir, find_type_by_name() 612 free(filename); find_type_by_name() 616 namefp = fopen(filename, "r"); find_type_by_name() 618 free(filename); find_type_by_name() 622 free(filename); find_type_by_name() 655 static int _write_sysfs_int(const char *filename, const char *basedir, int val, _write_sysfs_int() argument 661 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); _write_sysfs_int() 666 ret = sprintf(temp, "%s/%s", basedir, filename); _write_sysfs_int() 714 val, basedir, filename); _write_sysfs_int() 726 * @filename: name of the file to write to 732 int write_sysfs_int(const char *filename, const char *basedir, int val) write_sysfs_int() argument 734 return _write_sysfs_int(filename, basedir, val, 0); write_sysfs_int() 740 * @filename: name of the file to write to 746 int write_sysfs_int_and_verify(const char *filename, const char *basedir, write_sysfs_int_and_verify() argument 749 return _write_sysfs_int(filename, basedir, val, 1); write_sysfs_int_and_verify() 752 static int _write_sysfs_string(const char *filename, const char *basedir, _write_sysfs_string() argument 757 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); _write_sysfs_string() 764 ret = sprintf(temp, "%s/%s", basedir, filename); _write_sysfs_string() 813 basedir, filename); _write_sysfs_string() 826 * @filename: name of file to write to 832 int write_sysfs_string_and_verify(const char *filename, const char *basedir, write_sysfs_string_and_verify() argument 835 return _write_sysfs_string(filename, basedir, val, 1); write_sysfs_string_and_verify() 840 * @filename: name of file to write to 846 int write_sysfs_string(const char *filename, const char *basedir, write_sysfs_string() argument 849 return _write_sysfs_string(filename, basedir, val, 0); write_sysfs_string() 854 * @filename: name of file to read from 860 int read_sysfs_posint(const char *filename, const char *basedir) read_sysfs_posint() argument 864 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); read_sysfs_posint() 871 ret = sprintf(temp, "%s/%s", basedir, filename); read_sysfs_posint() 901 * @filename: name of file to read from 907 int read_sysfs_float(const char *filename, const char *basedir, float *val) read_sysfs_float() argument 911 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); read_sysfs_float() 918 ret = sprintf(temp, "%s/%s", basedir, filename); read_sysfs_float() 948 * @filename: name of file to read from 954 int read_sysfs_string(const char *filename, const char *basedir, char *str) read_sysfs_string() argument 958 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); read_sysfs_string() 965 ret = sprintf(temp, "%s/%s", basedir, filename); read_sysfs_string()
|
H A D | iio_utils.h | 67 int write_sysfs_int(const char *filename, const char *basedir, int val); 68 int write_sysfs_int_and_verify(const char *filename, const char *basedir, 70 int write_sysfs_string_and_verify(const char *filename, const char *basedir, 72 int write_sysfs_string(const char *filename, const char *basedir, 74 int read_sysfs_posint(const char *filename, const char *basedir); 75 int read_sysfs_float(const char *filename, const char *basedir, float *val); 76 int read_sysfs_string(const char *filename, const char *basedir, char *str);
|
/linux-4.4.14/scripts/ |
H A D | checkincludes.pl | 57 foreach my $filename (keys %includedfiles) { 58 if ($includedfiles{$filename} > 1) { 59 print "$file: $filename is included more than once.\n"; 71 foreach my $filename (keys %includedfiles) { 72 if ($1 eq $filename) { 73 if ($includedfiles{$filename} > 1) { 74 $includedfiles{$filename}--;
|
H A D | headers_check.pl | 29 my $filename; 32 $filename = $file; 34 open(my $fh, '<', $filename) 35 or die "$filename: $!\n"; 60 printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; 73 printf STDERR "$filename:$lineno: " . 82 printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n"; 89 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 99 printf STDERR "$filename:$lineno: " . 114 my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path); 142 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 158 printf STDERR "$filename:$lineno: " .
|
H A D | headerdep.pl | 62 my $filename = shift; 65 my $stripped = $filename; 68 return $stripped if $stripped ne $filename; 71 return $filename; 76 my $filename = shift; 77 return $filename if -f $filename; 80 my $path = "$i/$filename";
|
H A D | docproc.c | 146 char *filename; member in struct:symfile 161 /* Add a filename to the list */ add_new_file() 162 static struct symfile * add_new_file(char * filename) add_new_file() argument 164 symfilelist[symfilecnt++].filename = strdup(filename); add_new_file() 169 static struct symfile * filename_exist(char * filename) filename_exist() argument 173 if (strcmp(symfilelist[i].filename, filename) == 0) filename_exist() 191 * Find all symbols in filename that are exported with EXPORT_SYMBOL & printline() 195 static void find_export_symbols(char * filename) find_export_symbols() argument 200 if (filename_exist(filename) == NULL) { find_export_symbols() 205 strncat(real_filename, filename, find_export_symbols() 207 sym = add_new_file(filename); find_export_symbols() 245 * kernel-doc -docbook -nofunction function_name1 filename 251 static void docfunctions(char * filename, char * type) docfunctions() argument 276 vec[idx++] = filename; docfunctions() 278 printf("<!-- %s -->\n", filename); docfunctions() 283 static void intfunc(char * filename) { docfunctions(filename, NOFUNCTION); } extfunc() argument 284 static void extfunc(char * filename) { docfunctions(filename, FUNCTION); } extfunc() argument 291 static void singfunc(char * filename, char * line) singfunc() argument 318 vec[idx++] = filename; singfunc() 326 * kernel-doc -docbook -function "doc section" filename 328 static void docsect(char *filename, char *line) docsect() argument 350 vec[5] = filename; docsect() 355 static void find_all_symbols(char *filename) find_all_symbols() argument 367 vec[2] = filename; find_all_symbols() 467 /* filename */ parse_file() 476 /* filename */ parse_file()
|
H A D | pnmtologo.c | 25 static const char *filename; variable 92 die("%s: end of file\n", filename); get_number() 98 die("%s: end of file\n", filename); get_number() 114 die("%s: end of file\n", filename); get_number() 133 fp = fopen(filename, "r"); read_image() 135 die("Cannot open file %s: %s\n", filename, strerror(errno)); read_image() 140 die("%s is not a PNM file\n", filename); read_image() 154 "Use pnmnoraw(1) to convert it to ASCII PNM\n", filename); read_image() 157 die("%s is not a PNM file\n", filename); read_image() 242 fprintf(out, " * It was automatically generated from %s\n", filename); write_header() 433 "Usage: %s [options] <filename>\n" usage() 493 filename = argv[optind]; main()
|
H A D | markup_oops.pl | 36 my $filename = $vmlinux_name; 196 $modulefile = `modinfo -F filename $module`; 199 $filename = $modulefile; 200 if ($filename eq "") { 205 open(FILE, $cross_compile."objdump -dS $filename |") || die "Cannot start objdump"; 238 open(FILE, $cross_compile."objdump -dS --adjust-vma=$vmaoffset --start-address=$decodestart --stop-address=$decodestop $filename |") || die "Cannot start objdump"; 365 -m, --module MODULE_DIRNAME Specify the module filename.
|
H A D | kernel-doc-xml-ref | 24 # kernel-doc-xml-ref -db filename 25 # xml filename > outputfile 32 #Holds the database filename 186 print "Usage: $0 -db database filename\n";
|
H A D | asn1_compiler.c | 204 static const char *filename; variable 539 filename, lineno, *p); tokenise() 594 filename = argv[1]; main() 598 fd = open(filename, O_RDONLY); main() 600 perror(filename); main() 605 perror(filename); main() 615 perror(filename); main() 620 perror(filename); main() 625 fprintf(stderr, "%s: Short read\n", filename); main() 762 fprintf(stderr, "%s: No defined types\n", filename); build_type_list() 828 filename, cursor->line, cursor->content); parse() 896 filename, cursor->line, cursor->content); parse_type() 904 filename, cursor->line, cursor->content); parse_type() 919 filename, cursor->line, cursor->content); parse_type() 1020 filename, cursor->line, cursor->content); parse_type() 1070 filename, cursor->line, cursor->content); parse_type() 1088 filename, cursor->line, cursor->content); parse_type() 1129 filename, cursor->line, cursor->content); parse_type() 1140 filename, cursor->line, cursor->content); parse_type() 1144 fprintf(stderr, "%s: Unexpectedly hit EOF\n", filename); parse_type() 1159 filename, cursor->line, cursor->content); parse_compound() 1168 filename, cursor->line); parse_compound() 1201 filename, cursor->line, cursor->content); parse_compound() 1210 fprintf(stderr, "%s: Unexpectedly hit EOF\n", filename); parse_compound()
|
H A D | recordmcount.pl | 385 my $filename; 391 $filename = $2; 394 $filename = $inputfile; 397 if ($filename =~ m,^(.*)(\.\S),) { 401 $prefix = $filename; 568 my $globalobj = $dirname . "/.tmp_gl_" . $filename; 569 my $globalmix = $dirname . "/.tmp_mx_" . $filename; 591 my $mix = $dirname . "/.tmp_mx_" . $filename;
|
H A D | decode_stacktrace.sh | 50 # Pass it to addr2line to get filename and line number
|
H A D | show_delta | 16 print ("""usage: show_delta [<options>] <filename>
|
/linux-4.4.14/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 29 const char *filename; member in struct:simdisk 45 static const char *filename[MAX_SIMDISK_COUNT] = { variable 57 if (n_files < ARRAY_SIZE(filename)) simdisk_param_set_filename() 58 filename[n_files++] = val; simdisk_param_set_filename() 67 module_param_cb(filename, &simdisk_param_ops_filename, &n_files, 0); 68 MODULE_PARM_DESC(filename, "Backing storage filename."); 154 static int simdisk_attach(struct simdisk *dev, const char *filename) simdisk_attach() argument 158 filename = kstrdup(filename, GFP_KERNEL); simdisk_attach() 159 if (filename == NULL) simdisk_attach() 168 dev->fd = simc_open(filename, O_RDWR, 0); simdisk_attach() 170 pr_err("SIMDISK: Can't open %s: %d\n", filename, errno); simdisk_attach() 176 dev->filename = filename; simdisk_attach() 177 pr_info("SIMDISK: %s=%s\n", dev->gd->disk_name, dev->filename); simdisk_attach() 180 kfree(filename); simdisk_attach() 197 dev->filename, errno); simdisk_detach() 201 dev->gd->disk_name, dev->filename); simdisk_detach() 203 kfree(dev->filename); simdisk_detach() 204 dev->filename = NULL; simdisk_detach() 215 const char *s = dev->filename; proc_read_simdisk() 272 dev->filename = NULL; simdisk_setup() 336 if (filename[i] != NULL && filename[i][0] != 0 && simdisk_init() 338 simdisk_attach(sddev + i, filename[i]); simdisk_init()
|
/linux-4.4.14/include/uapi/linux/ |
H A D | bcm933xx_hcs.h | 18 char filename[64]; member in struct:bcm_hcs
|
H A D | auxvec.h | 33 #define AT_EXECFN 31 /* filename of program */
|
H A D | elfcore.h | 89 char pr_fname[16]; /* filename of executable */
|
H A D | inotify.h | 17 * When you are watching a directory, you will receive the filename for events
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-buildid-cache.c | 118 static int build_id_cache__add_kcore(const char *filename, bool force) build_id_cache__add_kcore() argument 124 strlcpy(from_dir, filename, sizeof(from_dir)); build_id_cache__add_kcore() 175 static int build_id_cache__add_file(const char *filename) build_id_cache__add_file() argument 181 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { build_id_cache__add_file() 182 pr_debug("Couldn't read a build-id in %s\n", filename); build_id_cache__add_file() 187 err = build_id_cache__add_s(sbuild_id, filename, build_id_cache__add_file() 189 pr_debug("Adding %s %s: %s\n", sbuild_id, filename, build_id_cache__add_file() 194 static int build_id_cache__remove_file(const char *filename) build_id_cache__remove_file() argument 201 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { build_id_cache__remove_file() 202 pr_debug("Couldn't read a build-id in %s\n", filename); build_id_cache__remove_file() 208 pr_debug("Removing %s %s: %s\n", sbuild_id, filename, build_id_cache__remove_file() 241 char filename[PATH_MAX]; dso__missing_buildid_cache() local 244 if (dso__build_id_filename(dso, filename, sizeof(filename)) && dso__missing_buildid_cache() 245 filename__read_build_id(filename, build_id, dso__missing_buildid_cache() 251 filename); dso__missing_buildid_cache() 254 filename); dso__missing_buildid_cache() 266 static int build_id_cache__update_file(const char *filename) build_id_cache__update_file() argument 273 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { build_id_cache__update_file() 274 pr_debug("Couldn't read a build-id in %s\n", filename); build_id_cache__update_file() 283 err = build_id_cache__add_s(sbuild_id, filename, false, false); build_id_cache__update_file() 285 pr_debug("Updating %s %s: %s\n", sbuild_id, filename, build_id_cache__update_file()
|
H A D | builtin-trace.c | 1017 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ 1024 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1026 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1028 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1046 [1] = SCA_FILENAME, /* filename */ }, }, 1057 [1] = SCA_FILENAME, /* filename */ }, }, 1062 [1] = SCA_FILENAME, /* filename */ }, }, 1078 [1] = SCA_FILENAME, /* filename */ }, }, 1089 [1] = SCA_FILENAME, /* filename */ }, }, 1116 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1134 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1146 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1149 [1] = SCA_FILENAME, /* filename */ }, }, 1176 [1] = SCA_FILENAME, /* filename */ }, }, 1178 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ 1185 [1] = SCA_FILENAME, /* filename */ 1281 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1284 [1] = SCA_FILENAME, /* filename */ }, }, 1286 .arg_scnprintf = { [0] = SCA_FILENAME, /* filename */ }, }, 1333 * filename.ptr: The filename char pointer that will be vfs_getname'd 1334 * filename.entry_str_pos: Where to insert the string translated from 1335 * filename.ptr by the vfs_getname tracepoint/kprobe. 1351 } filename; member in struct:thread_trace 1558 ttrace->filename.ptr = ptr; thread__set_filename_pos() 1559 ttrace->filename.entry_str_pos = bf - ttrace->entry_str; thread__set_filename_pos() 2003 ttrace->filename.pending_open = false; trace__sys_enter() 2040 if (id == trace->audit.open_id && ret >= 0 && ttrace->filename.pending_open) { trace__sys_exit() 2041 trace__set_fd_pathname(thread, ret, ttrace->filename.name); trace__sys_exit() 2042 ttrace->filename.pending_open = false; trace__sys_exit() 2102 const char *filename = perf_evsel__rawptr(evsel, sample, "pathname"); trace__vfs_getname() local 2111 filename_len = strlen(filename); trace__vfs_getname() 2113 if (ttrace->filename.namelen < filename_len) { trace__vfs_getname() 2114 char *f = realloc(ttrace->filename.name, filename_len + 1); trace__vfs_getname() 2119 ttrace->filename.namelen = filename_len; trace__vfs_getname() 2120 ttrace->filename.name = f; trace__vfs_getname() 2123 strcpy(ttrace->filename.name, filename); trace__vfs_getname() 2124 ttrace->filename.pending_open = true; trace__vfs_getname() 2126 if (!ttrace->filename.ptr) trace__vfs_getname() 2135 filename += filename_len - remaining_space; trace__vfs_getname() 2139 to_move = entry_str_len - ttrace->filename.entry_str_pos + 1; /* \0 */ trace__vfs_getname() 2140 pos = ttrace->entry_str + ttrace->filename.entry_str_pos; trace__vfs_getname() 2142 memcpy(pos, filename, filename_len); trace__vfs_getname() 2144 ttrace->filename.ptr = 0; trace__vfs_getname() 2145 ttrace->filename.entry_str_pos = 0; trace__vfs_getname() 2974 static int trace__open_output(struct trace *trace, const char *filename) trace__open_output() argument 2978 if (!stat(filename, &st) && st.st_size) { trace__open_output() 2981 scnprintf(oldname, sizeof(oldname), "%s.old", filename); trace__open_output() 2983 rename(filename, oldname); trace__open_output() 2986 trace->output = fopen(filename, "w"); trace__open_output()
|
H A D | builtin-help.c | 127 const char *filename = "kfmclient"; exec_man_konqueror() local 142 filename = file; exec_man_konqueror() 146 execlp(path, filename, "newTab", man_page.buf, NULL); exec_man_konqueror()
|
/linux-4.4.14/security/tomoyo/ |
H A D | util.c | 260 char *filename; tomoyo_parse_name_union() local 266 filename = tomoyo_read_token(param); tomoyo_parse_name_union() 267 if (!tomoyo_correct_word(filename)) tomoyo_parse_name_union() 269 ptr->filename = tomoyo_get_name(filename); tomoyo_parse_name_union() 270 return ptr->filename != NULL; tomoyo_parse_name_union() 528 * @filename: The pathname to check. 531 * Returns true if @filename follows the naming rules, false otherwise. 533 bool tomoyo_correct_path(const char *filename) tomoyo_correct_path() argument 535 return *filename == '/' && tomoyo_correct_word(filename); tomoyo_correct_path() 615 * @filename: The string to evaluate. 617 * Returns the initial length without a pattern in @filename. 619 static int tomoyo_const_part_length(const char *filename) tomoyo_const_part_length() argument 624 if (!filename) tomoyo_const_part_length() 626 while ((c = *filename++) != '\0') { tomoyo_const_part_length() 631 c = *filename++; tomoyo_const_part_length() 640 c = *filename++; tomoyo_const_part_length() 643 c = *filename++; tomoyo_const_part_length() 675 * @filename: The start of string to check. 680 * Returns true if @filename matches @pattern, false otherwise. 682 static bool tomoyo_file_matches_pattern2(const char *filename, tomoyo_file_matches_pattern2() argument 687 while (filename < filename_end && pattern < pattern_end) { tomoyo_file_matches_pattern2() 690 if (*filename++ != *pattern++) tomoyo_file_matches_pattern2() 694 c = *filename; tomoyo_file_matches_pattern2() 703 if (filename[1] == '\\') tomoyo_file_matches_pattern2() 704 filename++; tomoyo_file_matches_pattern2() 705 else if (tomoyo_byte_range(filename + 1)) tomoyo_file_matches_pattern2() 706 filename += 3; tomoyo_file_matches_pattern2() 714 if (*++filename != '\\') tomoyo_file_matches_pattern2() 733 if (c == '\\' && tomoyo_byte_range(filename + 1) tomoyo_file_matches_pattern2() 734 && strncmp(filename + 1, pattern, 3) == 0) { tomoyo_file_matches_pattern2() 735 filename += 3; tomoyo_file_matches_pattern2() 742 for (i = 0; i <= filename_end - filename; i++) { tomoyo_file_matches_pattern2() 744 filename + i, filename_end, tomoyo_file_matches_pattern2() 747 c = filename[i]; tomoyo_file_matches_pattern2() 752 if (filename[i + 1] == '\\') tomoyo_file_matches_pattern2() 754 else if (tomoyo_byte_range(filename + i + 1)) tomoyo_file_matches_pattern2() 764 while (isdigit(filename[j])) tomoyo_file_matches_pattern2() 767 while (isxdigit(filename[j])) tomoyo_file_matches_pattern2() 770 while (tomoyo_alphabet_char(filename[j])) tomoyo_file_matches_pattern2() 775 filename + i, filename_end, tomoyo_file_matches_pattern2() 781 filename++; tomoyo_file_matches_pattern2() 787 return filename == filename_end && pattern == pattern_end; tomoyo_file_matches_pattern2() 793 * @filename: The start of string to check. 798 * Returns true if @filename matches @pattern, false otherwise. 800 static bool tomoyo_file_matches_pattern(const char *filename, tomoyo_file_matches_pattern() argument 813 result = tomoyo_file_matches_pattern2(filename, tomoyo_file_matches_pattern() 824 result = tomoyo_file_matches_pattern2(filename, filename_end, tomoyo_file_matches_pattern() 895 * tomoyo_path_matches_pattern - Check whether the given filename matches the given pattern. 897 * @filename: The filename to check. 920 bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, tomoyo_path_matches_pattern() argument 923 const char *f = filename->name; tomoyo_path_matches_pattern() 929 return !tomoyo_pathcmp(filename, pattern); tomoyo_path_matches_pattern() 931 if (filename->is_dir != pattern->is_dir) tomoyo_path_matches_pattern()
|
H A D | load_policy.c | 73 * @filename: The program about to start. 75 * This function checks whether @filename is /sbin/init , and if so 83 void tomoyo_load_policy(const char *filename) tomoyo_load_policy() argument 93 if (strcmp(filename, tomoyo_trigger)) tomoyo_load_policy()
|
H A D | file.c | 69 tomoyo_put_name(ptr->filename); tomoyo_put_name_union() 86 if (tomoyo_path_matches_pattern(name, ptr->filename)) tomoyo_compare_name_union() 87 return ptr->filename; tomoyo_compare_name_union() 169 r->param.path.filename->name); tomoyo_audit_path_log() 199 r->param.mkdev.filename->name, tomoyo_audit_mkdev_log() 235 r->param.path_number.filename->name, buffer); tomoyo_audit_path_number_log() 257 tomoyo_compare_name_union(r->param.path.filename, tomoyo_check_path_acl() 280 tomoyo_compare_name_union(r->param.path_number.filename, tomoyo_check_path_number_acl() 323 tomoyo_compare_name_union(r->param.mkdev.filename, tomoyo_check_mkdev_acl() 552 * @filename: Filename to check. 559 const struct tomoyo_path_info *filename) tomoyo_path_permission() 568 r->param.path.filename = filename; tomoyo_path_permission() 581 * @filename: Filename to check. 588 const struct tomoyo_path_info *filename) tomoyo_execute_permission() 598 r->param.path.filename = filename; tomoyo_execute_permission() 712 r.param.path_number.filename = &buf; tomoyo_path_number_perm() 861 r.param.mkdev.filename = &buf; tomoyo_mkdev_perm() 558 tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, const struct tomoyo_path_info *filename) tomoyo_path_permission() argument 587 tomoyo_execute_permission(struct tomoyo_request_info *r, const struct tomoyo_path_info *filename) tomoyo_execute_permission() argument
|
H A D | common.h | 431 const struct tomoyo_path_info *filename; member in struct:tomoyo_request_info::__anon15181::__anon15182 444 const struct tomoyo_path_info *filename; member in struct:tomoyo_request_info::__anon15181::__anon15184 452 const struct tomoyo_path_info *filename; member in struct:tomoyo_request_info::__anon15181::__anon15185 516 /* Either @filename or @group is NULL. */ 517 const struct tomoyo_path_info *filename; member in struct:tomoyo_name_union 923 bool tomoyo_correct_path(const char *filename); 939 bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, 964 const struct tomoyo_path_info *filename); 1044 void tomoyo_load_policy(const char *filename); 1232 return a->filename == b->filename && a->group == b->group; tomoyo_same_name_union()
|
H A D | condition.c | 271 char *filename = param->data; tomoyo_parse_name_union_quoted() local 272 if (*filename == '@') tomoyo_parse_name_union_quoted() 274 ptr->filename = tomoyo_get_dqword(filename); tomoyo_parse_name_union_quoted() 275 return ptr->filename != NULL; tomoyo_parse_name_union_quoted()
|
/linux-4.4.14/tools/power/acpi/tools/acpidump/ |
H A D | apfiles.c | 72 * PARAMETERS: pathname - Output filename 116 * filename from the table signature. 122 char filename[ACPI_NAME_SIZE + 16]; ap_write_to_binary_file() local 132 /* Construct lower-case filename from the table local signature */ ap_write_to_binary_file() 135 ACPI_MOVE_NAME(filename, ACPI_RSDP_NAME); ap_write_to_binary_file() 137 ACPI_MOVE_NAME(filename, table->signature); ap_write_to_binary_file() 139 filename[0] = (char)tolower((int)filename[0]); ap_write_to_binary_file() 140 filename[1] = (char)tolower((int)filename[1]); ap_write_to_binary_file() 141 filename[2] = (char)tolower((int)filename[2]); ap_write_to_binary_file() 142 filename[3] = (char)tolower((int)filename[3]); ap_write_to_binary_file() 143 filename[ACPI_NAME_SIZE] = 0; ap_write_to_binary_file() 150 strcat(filename, instance_str); ap_write_to_binary_file() 153 strcat(filename, FILE_SUFFIX_BINARY_TABLE); ap_write_to_binary_file() 158 table->signature, filename, table->length, table->length); ap_write_to_binary_file() 163 file = acpi_os_open_file(filename, ap_write_to_binary_file() 166 acpi_log_error("Could not open output file: %s\n", filename); ap_write_to_binary_file() 173 filename); ap_write_to_binary_file()
|
/linux-4.4.14/arch/um/kernel/ |
H A D | initrd.c | 15 static int load_initrd(char *filename, void *buf, int size); 65 static int load_initrd(char *filename, void *buf, int size) load_initrd() argument 69 fd = os_open_file(filename, of_read(OPENFLAGS()), 0); load_initrd() 71 printk(KERN_ERR "Opening '%s' failed - err = %d\n", filename, load_initrd() 79 filename, -n); load_initrd()
|
/linux-4.4.14/tools/lib/api/fs/ |
H A D | fs.h | 27 int filename__read_int(const char *filename, int *value); 28 int filename__read_ull(const char *filename, unsigned long long *value);
|
H A D | tracing_path.c | 88 static int strerror_open(int err, char *buf, size_t size, const char *filename) strerror_open() argument 104 tracing_events_path, filename); strerror_open() 117 tracing_events_path, filename, tracing_mnt); strerror_open()
|
H A D | fs.c | 268 int filename__read_int(const char *filename, int *value) filename__read_int() argument 271 int fd = open(filename, O_RDONLY), err = -1; filename__read_int() 285 int filename__read_ull(const char *filename, unsigned long long *value) filename__read_ull() argument 288 int fd = open(filename, O_RDONLY), err = -1; filename__read_ull()
|
/linux-4.4.14/tools/power/cpupower/bench/ |
H A D | parse.c | 68 char *filename; prepare_output() local 83 filename = malloc(sizeof(char) * len); prepare_output() 87 filename = realloc(filename, sizeof(char) * len); prepare_output() 89 if (filename == NULL) { prepare_output() 94 snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log", prepare_output() 97 snprintf(filename, len - 1, "%s/benchmark_%li.log", prepare_output() 101 dprintf("logilename: %s\n", filename); prepare_output() 103 output = fopen(filename, "w+"); prepare_output() 109 fprintf(stdout, "Logfile: %s\n", filename); prepare_output() 111 free(filename); prepare_output()
|
/linux-4.4.14/scripts/dtc/ |
H A D | util.c | 201 int utilfdt_read_err_len(const char *filename, char **buffp, off_t *len) utilfdt_read_err_len() argument 209 if (strcmp(filename, "-") != 0) { utilfdt_read_err_len() 210 fd = open(filename, O_RDONLY); utilfdt_read_err_len() 242 int utilfdt_read_err(const char *filename, char **buffp) utilfdt_read_err() argument 245 return utilfdt_read_err_len(filename, buffp, &len); utilfdt_read_err() 248 char *utilfdt_read_len(const char *filename, off_t *len) utilfdt_read_len() argument 251 int ret = utilfdt_read_err_len(filename, &buff, len); utilfdt_read_len() 254 fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename, utilfdt_read_len() 262 char *utilfdt_read(const char *filename) utilfdt_read() argument 265 return utilfdt_read_len(filename, &len); utilfdt_read() 268 int utilfdt_write_err(const char *filename, const void *blob) utilfdt_write_err() argument 276 if (strcmp(filename, "-") != 0) { utilfdt_write_err() 277 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); utilfdt_write_err() 300 int utilfdt_write(const char *filename, const void *blob) utilfdt_write() argument 302 int ret = utilfdt_write_err(filename, blob); utilfdt_write() 305 fprintf(stderr, "Couldn't write blob to '%s': %s\n", filename, utilfdt_write()
|
H A D | util.h | 87 * @param filename The filename to read, or - for stdin 90 char *utilfdt_read(const char *filename); 97 char *utilfdt_read_len(const char *filename, off_t *len); 104 * @param filename The filename to read, or - for stdin 108 int utilfdt_read_err(const char *filename, char **buffp); 115 int utilfdt_read_err_len(const char *filename, char **buffp, off_t *len); 121 * @param filename The filename to write, or - for stdout 125 int utilfdt_write(const char *filename, const void *blob); 132 * @param filename The filename to write, or - for stdout 136 int utilfdt_write_err(const char *filename, const void *blob);
|
H A D | fdtput.c | 235 static int do_fdtput(struct display_info *disp, const char *filename, do_fdtput() argument 242 blob = utilfdt_read(filename); do_fdtput() 269 ret = utilfdt_write(filename, blob); do_fdtput() 303 char *filename = NULL; main() local 345 filename = argv[optind++]; main() 346 if (!filename) main() 347 usage("Missing filename"); main() 359 if (do_fdtput(&disp, filename, argv, argc)) main()
|
H A D | fdtget.c | 242 * Run the main fdtget operation, given a filename and valid arguments 245 * @param filename Filename of blob file 250 static int do_fdtget(struct display_info *disp, const char *filename, do_fdtget() argument 257 blob = utilfdt_read(filename); do_fdtget() 307 char *filename = NULL; main() local 348 filename = argv[optind++]; main() 349 if (!filename) main() 350 usage("Missing filename"); main() 363 if (do_fdtget(&disp, filename, argv, argc, args_per_step)) main()
|
H A D | srcpos.c | 63 * If the filename is an absolute path, then dirname is ignored. If it is a 69 * @return allocated filename on success (caller must free), NULL on failure 92 * If it is a relative filename, we search the full search path for it. 96 * @return pointer to allocated filename, which caller must free
|
H A D | fdtdump.c | 151 fprintf(stderr, "supply input filename\n"); main()
|
/linux-4.4.14/tools/lib/symbol/ |
H A D | kallsyms.h | 22 int kallsyms__parse(const char *filename, void *arg,
|
H A D | kallsyms.c | 11 int kallsyms__parse(const char *filename, void *arg, kallsyms__parse() argument 18 FILE *file = fopen(filename, "r"); kallsyms__parse()
|
/linux-4.4.14/fs/gfs2/ |
H A D | dir.h | 30 const struct qstr *filename, 32 extern int gfs2_dir_check(struct inode *dir, const struct qstr *filename, 34 extern int gfs2_dir_add(struct inode *inode, const struct qstr *filename, 45 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, 51 const struct qstr *filename,
|
H A D | super.h | 35 extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
|
/linux-4.4.14/fs/ |
H A D | utimes.c | 27 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) SYSCALL_DEFINE2() 38 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); SYSCALL_DEFINE2() 122 * do_utimes - change times on filename or file descriptor 124 * @filename: path name or NULL 128 * If filename is NULL and dfd refers to an open file, then operate on 129 * the file. Otherwise look up filename, possibly using dfd as a 136 long do_utimes(int dfd, const char __user *filename, struct timespec *times, do_utimes() argument 149 if (filename == NULL && dfd != AT_FDCWD) { do_utimes() 169 error = user_path_at(dfd, filename, lookup_flags, &path); do_utimes() 185 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, SYSCALL_DEFINE4() 200 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); SYSCALL_DEFINE4() 203 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, SYSCALL_DEFINE3() 228 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); SYSCALL_DEFINE3() 231 SYSCALL_DEFINE2(utimes, char __user *, filename, SYSCALL_DEFINE2() 234 return sys_futimesat(AT_FDCWD, filename, utimes); SYSCALL_DEFINE2()
|
H A D | stat.c | 90 int vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat, vfs_fstatat() argument 106 error = user_path_at(dfd, filename, lookup_flags, &path); vfs_fstatat() 177 SYSCALL_DEFINE2(stat, const char __user *, filename, SYSCALL_DEFINE2() 183 error = vfs_stat(filename, &stat); SYSCALL_DEFINE2() 190 SYSCALL_DEFINE2(lstat, const char __user *, filename, SYSCALL_DEFINE2() 196 error = vfs_lstat(filename, &stat); SYSCALL_DEFINE2() 266 SYSCALL_DEFINE2(newstat, const char __user *, filename, SYSCALL_DEFINE2() 270 int error = vfs_stat(filename, &stat); SYSCALL_DEFINE2() 277 SYSCALL_DEFINE2(newlstat, const char __user *, filename, SYSCALL_DEFINE2() 283 error = vfs_lstat(filename, &stat); SYSCALL_DEFINE2() 291 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, SYSCALL_DEFINE4() 297 error = vfs_fstatat(dfd, filename, &stat, flag); SYSCALL_DEFINE4() 398 SYSCALL_DEFINE2(stat64, const char __user *, filename, SYSCALL_DEFINE2() 402 int error = vfs_stat(filename, &stat); SYSCALL_DEFINE2() 410 SYSCALL_DEFINE2(lstat64, const char __user *, filename, SYSCALL_DEFINE2() 414 int error = vfs_lstat(filename, &stat); SYSCALL_DEFINE2() 433 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, SYSCALL_DEFINE4() 439 error = vfs_fstatat(dfd, filename, &stat, flag); SYSCALL_DEFINE4()
|
H A D | exec.c | 118 struct filename *tmp = getname(library); SYSCALL_DEFINE1() 760 static struct file *do_open_execat(int fd, struct filename *name, int flags) do_open_execat() 806 struct filename *filename = getname_kernel(name); open_exec() local 807 struct file *f = ERR_CAST(filename); open_exec() 809 if (!IS_ERR(filename)) { open_exec() 810 f = do_open_execat(AT_FDCWD, filename, 0); open_exec() 811 putname(filename); open_exec() 1144 __set_task_comm(current, kbasename(bprm->filename), true); setup_new_exec() 1201 if (bprm->interp != bprm->filename) free_bprm() 1209 if (bprm->interp != bprm->filename) bprm_change_interp() 1484 static int do_execveat_common(int fd, struct filename *filename, do_execveat_common() argument 1495 if (IS_ERR(filename)) do_execveat_common() 1496 return PTR_ERR(filename); do_execveat_common() 1530 file = do_open_execat(fd, filename, flags); do_execveat_common() 1538 if (fd == AT_FDCWD || filename->name[0] == '/') { do_execveat_common() 1539 bprm->filename = filename->name; do_execveat_common() 1541 if (filename->name[0] == '\0') do_execveat_common() 1545 fd, filename->name); do_execveat_common() 1557 bprm->filename = pathbuf; do_execveat_common() 1559 bprm->interp = bprm->filename; do_execveat_common() 1577 retval = copy_strings_kernel(1, &bprm->filename, bprm); do_execveat_common() 1601 putname(filename); do_execveat_common() 1624 putname(filename); do_execveat_common() 1628 int do_execve(struct filename *filename, do_execve() argument 1634 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); do_execve() 1637 int do_execveat(int fd, struct filename *filename, do_execveat() argument 1645 return do_execveat_common(fd, filename, argv, envp, flags); do_execveat() 1649 static int compat_do_execve(struct filename *filename, compat_do_execve() argument 1661 return do_execveat_common(AT_FDCWD, filename, argv, envp, 0); compat_do_execve() 1664 static int compat_do_execveat(int fd, struct filename *filename, compat_do_execveat() argument 1677 return do_execveat_common(fd, filename, argv, envp, flags); compat_do_execveat() 1711 const char __user *, filename, SYSCALL_DEFINE3() 1715 return do_execve(getname(filename), argv, envp); SYSCALL_DEFINE3() 1719 int, fd, const char __user *, filename, SYSCALL_DEFINE5() 1727 getname_flags(filename, lookup_flags, NULL), SYSCALL_DEFINE5() 1732 COMPAT_SYSCALL_DEFINE3(execve, const char __user *, filename, COMPAT_SYSCALL_DEFINE3() 1736 return compat_do_execve(getname(filename), argv, envp); COMPAT_SYSCALL_DEFINE3() 1740 const char __user *, filename, COMPAT_SYSCALL_DEFINE5() 1748 getname_flags(filename, lookup_flags, NULL), COMPAT_SYSCALL_DEFINE5()
|
H A D | open.c | 337 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) SYSCALL_DEFINE3() 368 res = user_path_at(dfd, filename, lookup_flags, &path); SYSCALL_DEFINE3() 413 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) SYSCALL_DEFINE2() 415 return sys_faccessat(AT_FDCWD, filename, mode); SYSCALL_DEFINE2() 418 SYSCALL_DEFINE1(chdir, const char __user *, filename) SYSCALL_DEFINE1() 424 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); SYSCALL_DEFINE1() 469 SYSCALL_DEFINE1(chroot, const char __user *, filename) SYSCALL_DEFINE1() 475 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); SYSCALL_DEFINE1() 544 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode) SYSCALL_DEFINE3() 550 error = user_path_at(dfd, filename, lookup_flags, &path); SYSCALL_DEFINE3() 562 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) SYSCALL_DEFINE2() 564 return sys_fchmodat(AT_FDCWD, filename, mode); SYSCALL_DEFINE2() 609 SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user, SYSCALL_DEFINE5() 623 error = user_path_at(dfd, filename, lookup_flags, &path); SYSCALL_DEFINE5() 641 SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group) SYSCALL_DEFINE3() 643 return sys_fchownat(AT_FDCWD, filename, user, group, 0); SYSCALL_DEFINE3() 646 SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group) SYSCALL_DEFINE3() 648 return sys_fchownat(AT_FDCWD, filename, user, group, SYSCALL_DEFINE3() 954 * @name: struct filename containing path to open 962 struct file *file_open_name(struct filename *name, int flags, umode_t mode) file_open_name() 972 * @filename: path to open 980 struct file *filp_open(const char *filename, int flags, umode_t mode) filp_open() argument 982 struct filename *name = getname_kernel(filename); filp_open() 994 const char *filename, int flags, umode_t mode) file_open_root() 1000 return do_file_open_root(dentry, mnt, filename, &op); file_open_root() 1004 long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode) do_sys_open() argument 1008 struct filename *tmp; do_sys_open() 1013 tmp = getname(filename); do_sys_open() 1032 SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) SYSCALL_DEFINE3() 1037 return do_sys_open(AT_FDCWD, filename, flags, mode); SYSCALL_DEFINE3() 1040 SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, SYSCALL_DEFINE4() 1046 return do_sys_open(dfd, filename, flags, mode); SYSCALL_DEFINE4() 993 file_open_root(struct dentry *dentry, struct vfsmount *mnt, const char *filename, int flags, umode_t mode) file_open_root() argument
|
H A D | binfmt_em86.c | 63 * (3) filename of emulated file (replace argv[0]) load_em86() 69 retval = copy_strings_kernel(1, &bprm->filename, bprm); load_em86()
|
H A D | binfmt_script.c | 29 * If the script filename will be inaccessible after exec, typically load_script() 74 * (3) filename of shell script (replace argv[0]) load_script()
|
H A D | compat.c | 75 COMPAT_SYSCALL_DEFINE2(utime, const char __user *, filename, COMPAT_SYSCALL_DEFINE2() 87 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); COMPAT_SYSCALL_DEFINE2() 90 COMPAT_SYSCALL_DEFINE4(utimensat, unsigned int, dfd, const char __user *, filename, struct compat_timespec __user *, t, int, flags) COMPAT_SYSCALL_DEFINE4() 102 return do_utimes(dfd, filename, t ? tv : NULL, flags); COMPAT_SYSCALL_DEFINE4() 105 COMPAT_SYSCALL_DEFINE3(futimesat, unsigned int, dfd, const char __user *, filename, struct compat_timeval __user *, t) COMPAT_SYSCALL_DEFINE3() 121 return do_utimes(dfd, filename, t ? tv : NULL, 0); COMPAT_SYSCALL_DEFINE3() 124 COMPAT_SYSCALL_DEFINE2(utimes, const char __user *, filename, struct compat_timeval __user *, t) COMPAT_SYSCALL_DEFINE2() 126 return compat_sys_futimesat(AT_FDCWD, filename, t); COMPAT_SYSCALL_DEFINE2() 162 COMPAT_SYSCALL_DEFINE2(newstat, const char __user *, filename, COMPAT_SYSCALL_DEFINE2() 168 error = vfs_stat(filename, &stat); COMPAT_SYSCALL_DEFINE2() 174 COMPAT_SYSCALL_DEFINE2(newlstat, const char __user *, filename, COMPAT_SYSCALL_DEFINE2() 180 error = vfs_lstat(filename, &stat); COMPAT_SYSCALL_DEFINE2() 188 const char __user *, filename, COMPAT_SYSCALL_DEFINE4() 194 error = vfs_fstatat(dfd, filename, &stat, flag); COMPAT_SYSCALL_DEFINE4() 1090 COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode) COMPAT_SYSCALL_DEFINE3() 1092 return do_sys_open(AT_FDCWD, filename, flags, mode); COMPAT_SYSCALL_DEFINE3() 1099 COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode) COMPAT_SYSCALL_DEFINE4() 1101 return do_sys_open(dfd, filename, flags, mode); COMPAT_SYSCALL_DEFINE4()
|
H A D | namei.c | 122 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname)) 124 struct filename * getname_flags() 125 getname_flags(const char __user *filename, int flags, int *empty) getname_flags() argument 127 struct filename *result; getname_flags() 131 result = audit_reusename(filename); getname_flags() 140 * First, try to embed the struct filename inside the names_cache getname_flags() 146 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); getname_flags() 154 * separate struct filename so we can dedicate the entire getname_flags() 159 const size_t size = offsetof(struct filename, iname[1]); getname_flags() 173 len = strncpy_from_user(kname, filename, PATH_MAX); getname_flags() 197 result->uptr = filename; getname_flags() 203 struct filename * getname() 204 getname(const char __user * filename) getname() argument 206 return getname_flags(filename, 0, NULL); getname() 209 struct filename * getname_kernel() 210 getname_kernel(const char * filename) getname_kernel() argument 212 struct filename *result; getname_kernel() 213 int len = strlen(filename) + 1; getname_kernel() 222 struct filename *tmp; getname_kernel() 235 memcpy((char *)result->name, filename, len); getname_kernel() 244 void putname(struct filename *name) putname() 513 struct filename *name; 519 static void set_nameidata(struct nameidata *p, int dfd, struct filename *name) set_nameidata() 2153 static int filename_lookup(int dfd, struct filename *name, unsigned flags, filename_lookup() 2198 static struct filename *filename_parentat(int dfd, struct filename *name, filename_parentat() 2228 struct filename *filename; kern_path_locked() local 2233 filename = filename_parentat(AT_FDCWD, getname_kernel(name), 0, path, kern_path_locked() 2235 if (IS_ERR(filename)) kern_path_locked() 2236 return ERR_CAST(filename); kern_path_locked() 2239 putname(filename); kern_path_locked() 2248 putname(filename); kern_path_locked() 2339 * to struct filename, but the nd->last pointer points into the name string 2343 static inline struct filename * user_path_parent() 2473 filename_mountpoint(int dfd, struct filename *name, struct path *path, filename_mountpoint() 3346 struct file *do_filp_open(int dfd, struct filename *pathname, do_filp_open() 3368 struct filename *filename; do_file_open_root() local 3377 filename = getname_kernel(name); do_file_open_root() 3378 if (IS_ERR(filename)) do_file_open_root() 3379 return ERR_CAST(filename); do_file_open_root() 3381 set_nameidata(&nd, -1, filename); do_file_open_root() 3388 putname(filename); do_file_open_root() 3392 static struct dentry *filename_create(int dfd, struct filename *name, filename_create() 3532 SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, SYSCALL_DEFINE4() 3544 dentry = user_path_create(dfd, filename, &path, lookup_flags); SYSCALL_DEFINE4() 3574 SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev) SYSCALL_DEFINE3() 3576 return sys_mknodat(AT_FDCWD, filename, mode, dev); SYSCALL_DEFINE3() 3702 struct filename *name; do_rmdir() 3830 struct filename *name; do_unlinkat() 3941 struct filename *from; SYSCALL_DEFINE3() 4321 struct filename *from; SYSCALL_DEFINE5() 4322 struct filename *to; SYSCALL_DEFINE5()
|
H A D | internal.h | 102 extern struct file *do_filp_open(int dfd, struct filename *pathname,
|
/linux-4.4.14/security/integrity/ima/ |
H A D | ima_api.c | 90 const unsigned char *filename) ima_store_template() 117 result = ima_add_template_entry(entry, violation, op, inode, filename); ima_store_template() 128 void ima_add_violation(struct file *file, const unsigned char *filename, ima_add_violation() argument 134 struct ima_event_data event_data = {iint, file, filename, NULL, 0, ima_add_violation() 147 result = ima_store_template(entry, violation, inode, filename); ima_add_violation() 151 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, ima_add_violation() 197 const char *filename = file->f_path.dentry->d_name.name; ima_collect_measurement() local 239 filename, "collect_data", audit_cause, ima_collect_measurement() 260 struct file *file, const unsigned char *filename, ima_store_measurement() 269 struct ima_event_data event_data = {iint, file, filename, xattr_value, ima_store_measurement() 278 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, ima_store_measurement() 283 result = ima_store_template(entry, violation, inode, filename); ima_store_measurement() 291 const unsigned char *filename) ima_audit_measurement() 312 audit_log_untrustedstring(ab, filename); ima_audit_measurement() 88 ima_store_template(struct ima_template_entry *entry, int violation, struct inode *inode, const unsigned char *filename) ima_store_template() argument 259 ima_store_measurement(struct integrity_iint_cache *iint, struct file *file, const unsigned char *filename, struct evm_ima_xattr_data *xattr_value, int xattr_len) ima_store_measurement() argument 290 ima_audit_measurement(struct integrity_iint_cache *iint, const unsigned char *filename) ima_audit_measurement() argument
|
H A D | ima.h | 59 const unsigned char *filename; member in struct:ima_event_data 107 const unsigned char *filename); 113 void ima_add_violation(struct file *file, const unsigned char *filename, 147 const unsigned char *filename, 151 const unsigned char *filename); 155 struct inode *inode, const unsigned char *filename); 179 struct file *file, const unsigned char *filename, 195 const unsigned char *filename, ima_appraise_measurement() 192 ima_appraise_measurement(int func, struct integrity_iint_cache *iint, struct file *file, const unsigned char *filename, struct evm_ima_xattr_data *xattr_value, int xattr_len, int opened) ima_appraise_measurement() argument
|
H A D | ima_template_lib.c | 231 event_data->filename, "collect_data", ima_eventdigest_init() 270 BUG_ON(event_data->filename == NULL && event_data->file == NULL); ima_eventname_init_common() 272 if (event_data->filename) { ima_eventname_init_common() 273 cur_filename = event_data->filename; ima_eventname_init_common() 274 cur_filename_len = strlen(event_data->filename); ima_eventname_init_common() 285 * Truncate filename if the latter is too long and ima_eventname_init_common()
|
H A D | ima_queue.c | 110 const unsigned char *filename) ima_add_template_entry() 147 integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename, ima_add_template_entry() 108 ima_add_template_entry(struct ima_template_entry *entry, int violation, const char *op, struct inode *inode, const unsigned char *filename) ima_add_template_entry() argument
|
H A D | ima_appraise.c | 186 struct file *file, const unsigned char *filename, ima_appraise_measurement() 278 integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, filename, ima_appraise_measurement() 185 ima_appraise_measurement(int func, struct integrity_iint_cache *iint, struct file *file, const unsigned char *filename, struct evm_ima_xattr_data *xattr_value, int xattr_len, int opened) ima_appraise_measurement() argument
|
/linux-4.4.14/tools/usb/ |
H A D | ffs-test.c | 296 const char *const filename; member in struct:thread 336 t->fd = open(t->filename, O_RDWR); init_thread() 337 die_on(t->fd < 0, "%s", t->filename); init_thread() 356 err("%s: get fifo status", t->filename); cleanup_thread() 358 warn("%s: unclaimed = %d\n", t->filename, ret); cleanup_thread() 360 err("%s: fifo flush", t->filename); cleanup_thread() 365 err("%s: close", t->filename); cleanup_thread() 377 info("%s: starts\n", t->filename); start_thread_helper() 378 in_name = t->in_name ? t->in_name : t->filename; start_thread_helper() 379 out_name = t->out_name ? t->out_name : t->filename; start_thread_helper() 412 info("%s: ends\n", t->filename); start_thread_helper() 418 debug("%s: starting\n", t->filename); start_thread() 421 "pthread_create(%s)", t->filename); start_thread() 429 err("%s: joining thread", t->filename); join_thread() 431 debug("%s: joined\n", t->filename); join_thread() 585 info("%s: writing descriptors\n", t->filename); ep0_init() 589 info("%s: writing descriptors (in v2 format)\n", t->filename); ep0_init() 593 warn("%s: new format rejected, trying legacy\n", t->filename); ep0_init() 601 die_on(ret < 0, "%s: write: descriptors", t->filename); ep0_init() 603 info("%s: writing strings\n", t->filename); ep0_init() 605 die_on(ret < 0, "%s: write: strings", t->filename); ep0_init()
|
/linux-4.4.14/fs/qnx6/ |
H A D | dir.c | 73 /* error - long filename entries always have size 0xff qnx6_dir_longfilename() 97 pr_info("long filename checksum error.\n"); qnx6_dir_longfilename() 146 /* long filename detected qnx6_readdir() 147 get the filename from long filename qnx6_readdir() 172 * check if the long filename is correct. 200 * check if the filename is correct. 242 /* short filename */ qnx6_find_entry() 249 /* deal with long filename */ qnx6_find_entry() 256 pr_err("undefined filename size in inode.\n"); qnx6_find_entry()
|
/linux-4.4.14/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 56 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) vmaybe_write_file() argument 72 fd = open(filename, O_WRONLY); vmaybe_write_file() 77 filename, strerror(errno)); vmaybe_write_file() 82 die("short write to %s\n", filename); vmaybe_write_file() 85 filename, strerror(errno)); vmaybe_write_file() 90 filename, strerror(errno)); vmaybe_write_file() 94 static void maybe_write_file(char *filename, char *fmt, ...) maybe_write_file() argument 99 vmaybe_write_file(true, filename, fmt, ap); maybe_write_file() 104 static void write_file(char *filename, char *fmt, ...) write_file() argument 109 vmaybe_write_file(false, filename, fmt, ap); write_file()
|
/linux-4.4.14/scripts/mod/ |
H A D | file2alias.c | 375 static int do_hid_entry(const char *filename, do_hid_entry() argument 394 static int do_ieee1394_entry(const char *filename, do_ieee1394_entry() argument 419 static int do_pci_entry(const char *filename, do_pci_entry() argument 450 filename, class_mask); do_pci_entry() 463 static int do_ccw_entry(const char *filename, do_ccw_entry() argument 487 static int do_ap_entry(const char *filename, do_ap_entry() argument 498 static int do_css_entry(const char *filename, do_css_entry() argument 509 static int do_serio_entry(const char *filename, do_serio_entry() argument 535 static int do_acpi_entry(const char *filename, do_acpi_entry() argument 650 static int do_pcmcia_entry(const char *filename, do_pcmcia_entry() argument 687 static int do_of_entry (const char *filename, void *symval, char *alias) do_of_entry() argument 712 static int do_vio_entry(const char *filename, void *symval, do_vio_entry() argument 747 static int do_input_entry(const char *filename, void *symval, do_input_entry() argument 805 static int do_eisa_entry(const char *filename, void *symval, do_eisa_entry() argument 818 static int do_parisc_entry(const char *filename, void *symval, do_parisc_entry() argument 838 static int do_sdio_entry(const char *filename, do_sdio_entry() argument 855 static int do_ssb_entry(const char *filename, do_ssb_entry() argument 872 static int do_bcma_entry(const char *filename, do_bcma_entry() argument 891 static int do_virtio_entry(const char *filename, void *symval, do_virtio_entry() argument 912 static int do_vmbus_entry(const char *filename, void *symval, do_vmbus_entry() argument 930 static int do_i2c_entry(const char *filename, void *symval, do_i2c_entry() argument 941 static int do_spi_entry(const char *filename, void *symval, do_spi_entry() argument 981 static int do_dmi_entry(const char *filename, void *symval, do_dmi_entry() argument 1006 static int do_platform_entry(const char *filename, do_platform_entry() argument 1015 static int do_mdio_entry(const char *filename, do_mdio_entry() argument 1041 static int do_zorro_entry(const char *filename, void *symval, do_zorro_entry() argument 1052 static int do_isapnp_entry(const char *filename, do_isapnp_entry() argument 1068 static int do_ipack_entry(const char *filename, do_ipack_entry() argument 1131 static int do_amba_entry(const char *filename, do_amba_entry() argument 1142 filename, id, mask); do_amba_entry() 1160 static int do_mips_cdmm_entry(const char *filename, do_mips_cdmm_entry() argument 1176 static int do_x86cpu_entry(const char *filename, void *symval, do_x86cpu_entry() argument 1196 static int do_cpu_entry(const char *filename, void *symval, char *alias) do_cpu_entry() argument 1206 static int do_mei_entry(const char *filename, void *symval, do_mei_entry() argument 1225 static int do_rio_entry(const char *filename, do_rio_entry() argument 1245 static int do_ulpi_entry(const char *filename, void *symval, do_ulpi_entry() argument 1258 static int do_hda_entry(const char *filename, void *symval, char *alias) do_hda_entry() argument
|
H A D | sumversion.c | 455 static void write_version(const char *filename, const char *sum, write_version() argument 460 fd = open(filename, O_RDWR); write_version() 463 filename, strerror(errno)); write_version() 469 filename, offset, strerror(errno)); write_version() 475 filename, strerror(errno)); write_version()
|
H A D | modpost.c | 345 void *grab_file(const char *filename, unsigned long *size) grab_file() argument 351 fd = open(filename, O_RDONLY); grab_file() 406 static int parse_elf(struct elf_info *info, const char *filename) parse_elf() argument 415 hdr = grab_file(filename, &info->size); parse_elf() 418 fprintf(stderr, "%s: %s (ignored)\n", filename, parse_elf() 422 perror(filename); parse_elf() 459 filename, info->size); parse_elf() 501 "sizeof(*hrd)=%zu\n", filename, parse_elf() 509 fatal("%s has NOBITS .modinfo\n", filename); parse_elf() 545 fatal("%s has no symtab?\n", filename); parse_elf() 559 filename, sechdrs[symtab_shndx_idx].sh_link, parse_elf() 1990 static void read_symbols_from_files(const char *filename) read_symbols_from_files() argument 1995 if (strcmp(filename, "-") != 0) { read_symbols_from_files() 1996 in = fopen(filename, "r"); read_symbols_from_files() 1998 fatal("Can't open filenames file %s: %m", filename); read_symbols_from_files()
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
H A D | xrx200_phy_fw.c | 34 "failed to load firmware filename\n"); xway_gphy_load() 42 "failed to load firmware filename\n"); xway_gphy_load() 49 dev_err(&pdev->dev, "failed to load firmware filename\n"); xway_gphy_load()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | systbls.h | 59 asmlinkage long compat_sys_stat64(const char __user * filename, 61 asmlinkage long compat_sys_lstat64(const char __user * filename, 66 const char __user *filename, 99 const char __user *filename,
|
H A D | sys_sparc32.c | 100 asmlinkage long compat_sys_stat64(const char __user * filename, compat_sys_stat64() argument 104 int error = vfs_stat(filename, &stat); compat_sys_stat64() 111 asmlinkage long compat_sys_lstat64(const char __user * filename, compat_sys_lstat64() argument 115 int error = vfs_lstat(filename, &stat); compat_sys_lstat64() 134 const char __user *filename, compat_sys_fstatat64() 140 error = vfs_fstatat(dfd, filename, &stat, flag); compat_sys_fstatat64() 133 compat_sys_fstatat64(unsigned int dfd, const char __user *filename, struct compat_stat64 __user * statbuf, int flag) compat_sys_fstatat64() argument
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
H A D | traps.c | 126 if (__get_user(c, f.filename)) handle_BUG() 127 f.filename = "<bad filename>"; handle_BUG() 129 printk("kernel BUG at %s:%d!\n", f.filename, f.line); handle_BUG()
|
/linux-4.4.14/fs/hfs/ |
H A D | trans.c | 23 * the Macintosh character set produce the corresponding filename using 25 * mangled filename. Note that the output string is not NULL 89 * generate the corresponding filename in the Macintosh character set 91 * the mangled filename. Note that the output string is not NULL
|
H A D | string.c | 70 * Compare two strings in the HFS filename character ordering 92 * Test for equality of two strings in the HFS filename character ordering.
|
/linux-4.4.14/include/linux/ceph/ |
H A D | ceph_debug.h | 9 * wrap pr_debug to include a filename:lineno prefix on each line.
|
/linux-4.4.14/fs/udf/ |
H A D | unicode.c | 6 * Also handles filename mangling 350 struct ustr *filename, *unifilename; udf_get_filename() local 356 filename = kmalloc(sizeof(struct ustr), GFP_NOFS); udf_get_filename() 357 if (!filename) udf_get_filename() 368 ret = udf_CS0toUTF8(filename, unifilename); udf_get_filename() 375 ret = udf_CS0toNLS(UDF_SB(sb)->s_nls_map, filename, udf_get_filename() 386 filename->u_name, filename->u_len, udf_get_filename() 388 /* Zero length filename isn't valid... */ udf_get_filename() 394 kfree(filename); udf_get_filename() 426 /* Number of chars we need to store generated CRC to make filename unique */
|
/linux-4.4.14/arch/x86/ia32/ |
H A D | sys_ia32.c | 53 asmlinkage long sys32_truncate64(const char __user *filename, sys32_truncate64() argument 57 return sys_truncate(filename, ((loff_t) offset_high << 32) | offset_low); sys32_truncate64() 98 asmlinkage long sys32_stat64(const char __user *filename, sys32_stat64() argument 102 int ret = vfs_stat(filename, &stat); sys32_stat64() 109 asmlinkage long sys32_lstat64(const char __user *filename, sys32_lstat64() argument 113 int ret = vfs_lstat(filename, &stat); sys32_lstat64() 128 asmlinkage long sys32_fstatat(unsigned int dfd, const char __user *filename, sys32_fstatat() argument 134 error = vfs_fstatat(dfd, filename, &stat, flag); sys32_fstatat()
|
/linux-4.4.14/tools/perf/tests/ |
H A D | openat-syscall-tp-fields.c | 21 const char *filename = "/etc/passwd"; test__syscall_openat_tp_fields() local 70 openat(AT_FDCWD, filename, flags); test__syscall_openat_tp_fields()
|
H A D | hists_common.c | 23 const char *filename; member in struct:__anon15682 114 strcpy(fake_mmap_event.mmap.filename, setup_fake_machine() 115 fake_mmap_info[i].filename); setup_fake_machine()
|
H A D | perf-record.c | 235 mmap_filename = event->mmap.filename; test__PERF_RECORD() 238 mmap_filename = event->mmap2.filename; test__PERF_RECORD()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | compat_linux.h | 90 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group); 91 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group); 114 long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf); 115 long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf); 117 long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 __user *statbuf, int flag);
|
H A D | compat_wrapper.c | 65 COMPAT_SYSCALL_WRAP1(chdir, const char __user *, filename); 66 COMPAT_SYSCALL_WRAP3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev); 67 COMPAT_SYSCALL_WRAP2(chmod, const char __user *, filename, umode_t, mode); 69 COMPAT_SYSCALL_WRAP2(access, const char __user *, filename, int, mode); 78 COMPAT_SYSCALL_WRAP1(chroot, const char __user *, filename); 110 COMPAT_SYSCALL_WRAP3(lchown, const char __user *, filename, uid_t, user, gid_t, group); 115 COMPAT_SYSCALL_WRAP3(chown, const char __user *, filename, uid_t, user, gid_t, group); 143 COMPAT_SYSCALL_WRAP4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, unsigned, dev); 144 COMPAT_SYSCALL_WRAP5(fchownat, int, dfd, const char __user *, filename, uid_t, user, gid_t, group, int, flag); 150 COMPAT_SYSCALL_WRAP3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode); 151 COMPAT_SYSCALL_WRAP3(faccessat, int, dfd, const char __user *, filename, int, mode);
|
H A D | compat_linux.c | 89 COMPAT_SYSCALL_DEFINE3(s390_chown16, const char __user *, filename, COMPAT_SYSCALL_DEFINE3() 92 return sys_chown(filename, low2highuid(user), low2highgid(group)); COMPAT_SYSCALL_DEFINE3() 96 filename, u16, user, u16, group) COMPAT_SYSCALL_DEFINE3() 98 return sys_lchown(filename, low2highuid(user), low2highgid(group)); COMPAT_SYSCALL_DEFINE3() 382 COMPAT_SYSCALL_DEFINE2(s390_stat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf) COMPAT_SYSCALL_DEFINE2() 385 int ret = vfs_stat(filename, &stat); COMPAT_SYSCALL_DEFINE2() 391 COMPAT_SYSCALL_DEFINE2(s390_lstat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf) COMPAT_SYSCALL_DEFINE2() 394 int ret = vfs_lstat(filename, &stat); COMPAT_SYSCALL_DEFINE2() 409 COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename, COMPAT_SYSCALL_DEFINE4() 415 error = vfs_fstatat(dfd, filename, &stat, flag); COMPAT_SYSCALL_DEFINE4()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | storage_common.c | 184 int fsg_lun_open(struct fsg_lun *curlun, const char *filename) fsg_lun_open() argument 199 filp = filp_open(filename, O_RDWR | O_LARGEFILE, 0); fsg_lun_open() 204 filp = filp_open(filename, O_RDONLY | O_LARGEFILE, 0); fsg_lun_open() 206 LINFO(curlun, "unable to open backing file: %s\n", filename); fsg_lun_open() 215 LINFO(curlun, "invalid file type: %s\n", filename); fsg_lun_open() 224 LINFO(curlun, "file not readable: %s\n", filename); fsg_lun_open() 232 LINFO(curlun, "unable to find file size: %s\n", filename); fsg_lun_open() 254 LINFO(curlun, "file too big: %s\n", filename); fsg_lun_open() 260 LINFO(curlun, "file too small: %s\n", filename); fsg_lun_open() 274 LDBG(curlun, "open backing file: %s\n", filename); fsg_lun_open()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
H A D | init.c | 665 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, ath6kl_get_fw() argument 671 ret = request_firmware(&fw_entry, filename, ar->dev); ath6kl_get_fw() 732 const char *filename; ath6kl_fetch_board_file() local 741 filename = ar->hw.fw_board; ath6kl_fetch_board_file() 743 ret = ath6kl_get_fw(ar, filename, &ar->fw_board, ath6kl_fetch_board_file() 757 filename, ret); ath6kl_fetch_board_file() 759 filename = ar->hw.fw_default_board; ath6kl_fetch_board_file() 761 ret = ath6kl_get_fw(ar, filename, &ar->fw_board, ath6kl_fetch_board_file() 765 filename, ret); ath6kl_fetch_board_file() 777 char filename[100]; ath6kl_fetch_otp_file() local 789 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_otp_file() 792 ret = ath6kl_get_fw(ar, filename, &ar->fw_otp, ath6kl_fetch_otp_file() 796 filename, ret); ath6kl_fetch_otp_file() 805 char filename[100]; ath6kl_fetch_testmode_file() local 819 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_testmode_file() 827 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_testmode_file() 833 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); ath6kl_fetch_testmode_file() 836 ar->testmode, filename, ret); ath6kl_fetch_testmode_file() 845 char filename[100]; ath6kl_fetch_fw_file() local 855 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_fw_file() 858 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); ath6kl_fetch_fw_file() 861 filename, ret); ath6kl_fetch_fw_file() 870 char filename[100]; ath6kl_fetch_patch_file() local 879 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_patch_file() 882 ret = ath6kl_get_fw(ar, filename, &ar->fw_patch, ath6kl_fetch_patch_file() 886 filename, ret); ath6kl_fetch_patch_file() 895 char filename[100]; ath6kl_fetch_testscript_file() local 907 snprintf(filename, sizeof(filename), "%s/%s", ath6kl_fetch_testscript_file() 910 ret = ath6kl_get_fw(ar, filename, &ar->fw_testscript, ath6kl_fetch_testscript_file() 914 filename, ret); ath6kl_fetch_testscript_file() 949 char filename[100]; ath6kl_fetch_fw_apin() local 954 snprintf(filename, sizeof(filename), "%s/%s", ar->hw.fw.dir, name); ath6kl_fetch_fw_apin() 956 ret = request_firmware(&fw, filename, ar->dev); ath6kl_fetch_fw_apin()
|
/linux-4.4.14/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 31 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) vmaybe_write_file() argument 46 fd = open(filename, O_WRONLY); vmaybe_write_file() 50 err(1, "open of %s failed", filename); vmaybe_write_file() 55 errx(1, "short write to %s", filename); vmaybe_write_file() 57 err(1, "write to %s failed", filename); vmaybe_write_file() 61 err(1, "close of %s failed", filename); vmaybe_write_file() 65 static void maybe_write_file(char *filename, char *fmt, ...) maybe_write_file() argument 70 vmaybe_write_file(true, filename, fmt, ap); maybe_write_file() 74 static void write_file(char *filename, char *fmt, ...) write_file() argument 79 vmaybe_write_file(false, filename, fmt, ap); write_file()
|
/linux-4.4.14/fs/ecryptfs/ |
H A D | crypto.c | 1492 * ecryptfs_encrypt_filename - encrypt filename 1494 * CBC-encrypts the filename. We do not want to encrypt the same 1495 * filename with the same key and IV, which may happen with hard 1496 * links, so we prepend random bits to each filename. 1501 ecryptfs_encrypt_filename(struct ecryptfs_filename *filename, ecryptfs_encrypt_filename() argument 1507 filename->encrypted_filename = NULL; ecryptfs_encrypt_filename() 1508 filename->encrypted_filename_size = 0; ecryptfs_encrypt_filename() 1517 &filename->encrypted_filename_size, ecryptfs_encrypt_filename() 1519 filename->filename_size); ecryptfs_encrypt_filename() 1524 filename->encrypted_filename_size = 0; ecryptfs_encrypt_filename() 1527 filename->encrypted_filename = ecryptfs_encrypt_filename() 1528 kmalloc(filename->encrypted_filename_size, GFP_KERNEL); ecryptfs_encrypt_filename() 1529 if (!filename->encrypted_filename) { ecryptfs_encrypt_filename() 1532 filename->encrypted_filename_size); ecryptfs_encrypt_filename() 1536 remaining_bytes = filename->encrypted_filename_size; ecryptfs_encrypt_filename() 1537 rc = ecryptfs_write_tag_70_packet(filename->encrypted_filename, ecryptfs_encrypt_filename() 1541 filename->filename, ecryptfs_encrypt_filename() 1542 filename->filename_size); ecryptfs_encrypt_filename() 1547 kfree(filename->encrypted_filename); ecryptfs_encrypt_filename() 1548 filename->encrypted_filename = NULL; ecryptfs_encrypt_filename() 1549 filename->encrypted_filename_size = 0; ecryptfs_encrypt_filename() 1552 filename->encrypted_filename_size = packet_size; ecryptfs_encrypt_filename() 1554 printk(KERN_ERR "%s: No support for requested filename " ecryptfs_encrypt_filename() 1805 * @dst: Destination location for encoded filename 1806 * @dst_size: Size of the encoded filename in bytes 1807 * @src: Source location for the filename to encode 1936 * Encrypts and encodes a filename into something that constitutes a 1937 * valid filename for a filesystem, with printable characters. 1959 struct ecryptfs_filename *filename; ecryptfs_encrypt_and_encode_filename() local 1961 filename = kzalloc(sizeof(*filename), GFP_KERNEL); ecryptfs_encrypt_and_encode_filename() 1962 if (!filename) { ecryptfs_encrypt_and_encode_filename() 1965 sizeof(*filename)); ecryptfs_encrypt_and_encode_filename() 1969 filename->filename = (char *)name; ecryptfs_encrypt_and_encode_filename() 1970 filename->filename_size = name_size; ecryptfs_encrypt_and_encode_filename() 1971 rc = ecryptfs_encrypt_filename(filename, crypt_stat, ecryptfs_encrypt_and_encode_filename() 1975 "filename; rc = [%d]\n", __func__, rc); ecryptfs_encrypt_and_encode_filename() 1976 kfree(filename); ecryptfs_encrypt_and_encode_filename() 1981 filename->encrypted_filename, ecryptfs_encrypt_and_encode_filename() 1982 filename->encrypted_filename_size); ecryptfs_encrypt_and_encode_filename() 2001 kfree(filename->encrypted_filename); ecryptfs_encrypt_and_encode_filename() 2002 kfree(filename); ecryptfs_encrypt_and_encode_filename() 2017 filename->encrypted_filename, ecryptfs_encrypt_and_encode_filename() 2018 filename->encrypted_filename_size); ecryptfs_encrypt_and_encode_filename() 2028 "encrypted filename; rc = [%d]\n", __func__, ecryptfs_encrypt_and_encode_filename() 2034 kfree(filename->encrypted_filename); ecryptfs_encrypt_and_encode_filename() 2035 kfree(filename); ecryptfs_encrypt_and_encode_filename() 2050 * @name: The filename in cipher text 2053 * Decrypts and decodes the filename. 2099 "from filename; copying through filename " ecryptfs_decode_and_decrypt_filename() 2158 /* Worst case is that the filename is padded nearly a full block size */ ecryptfs_set_f_namelen()
|
H A D | keystore.c | 613 * write_tag_70_packet - Write encrypted filename (EFN) packet against FNEK 614 * @filename: NULL-terminated filename string 616 * This is the simplest mechanism for achieving filename encryption in 617 * eCryptfs. It encrypts the given filename with the mount-wide 618 * filename encryption key (FNEK) and stores it in a packet to @dest, 626 char *filename, size_t filename_size) ecryptfs_write_tag_70_packet() 663 * and the plaintext filename */ ecryptfs_write_tag_70_packet() 675 * and block-aligned encrypted filename size) ecryptfs_write_tag_70_packet() 678 * Octets N3-N4: Block-aligned encrypted filename ecryptfs_write_tag_70_packet() 680 * separator, and then the filename */ ecryptfs_write_tag_70_packet() 734 * filename encryption */ ecryptfs_write_tag_70_packet() 813 memcpy(&s->block_aligned_filename[s->num_rand_bytes], filename, ecryptfs_write_tag_70_packet() 819 "convert filename memory to scatterlist; rc = [%d]. " ecryptfs_write_tag_70_packet() 828 "convert encrypted filename memory to scatterlist; " ecryptfs_write_tag_70_packet() 856 printk(KERN_ERR "%s: Error attempting to encrypt filename; " ecryptfs_write_tag_70_packet() 899 * @filename: This function kmalloc's the memory for the filename 901 * kmalloc'd for the filename 913 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, ecryptfs_parse_tag_70_packet() argument 924 (*filename) = NULL; ecryptfs_parse_tag_70_packet() 942 * and block-aligned encrypted filename size) ecryptfs_parse_tag_70_packet() 945 * Octets N3-N4: Block-aligned encrypted filename ecryptfs_parse_tag_70_packet() 947 * separator, and then the filename */ ecryptfs_parse_tag_70_packet() 1009 "convert encrypted filename memory to scatterlist; " ecryptfs_parse_tag_70_packet() 1028 "convert decrypted filename memory to scatterlist; " ecryptfs_parse_tag_70_packet() 1040 * filename encryption */ ecryptfs_parse_tag_70_packet() 1064 printk(KERN_ERR "%s: Error attempting to decrypt filename; " ecryptfs_parse_tag_70_packet() 1075 "the filename\n", __func__); ecryptfs_parse_tag_70_packet() 1087 (*filename) = kmalloc(((*filename_size) + 1), GFP_KERNEL); ecryptfs_parse_tag_70_packet() 1088 if (!(*filename)) { ecryptfs_parse_tag_70_packet() 1095 memcpy((*filename), &s->decrypted_filename[s->i], (*filename_size)); ecryptfs_parse_tag_70_packet() 1096 (*filename)[(*filename_size)] = '\0'; ecryptfs_parse_tag_70_packet() 1105 (*filename) = NULL; ecryptfs_parse_tag_70_packet() 1616 (*packet_size) += 12; /* Ignore filename and modification date */ parse_tag_11_packet() 623 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *filename, size_t filename_size) ecryptfs_write_tag_70_packet() argument
|
H A D | ecryptfs_kernel.h | 146 #define ECRYPTFS_TAG_70_PACKET_TYPE 0x46 /* FNEK-encrypted filename 148 #define ECRYPTFS_TAG_71_PACKET_TYPE 0x47 /* FNEK-encrypted filename in 150 #define ECRYPTFS_TAG_72_PACKET_TYPE 0x48 /* FEK-encrypted filename as 152 #define ECRYPTFS_TAG_73_PACKET_TYPE 0x49 /* FEK-encrypted filename as 198 char *filename; member in struct:ecryptfs_filename 709 char *filename, size_t filename_size); 711 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size,
|
/linux-4.4.14/arch/sparc/boot/ |
H A D | piggyback.c | 111 static int get_start_end(const char *filename, unsigned int *start, get_start_end() argument 119 map = fopen(filename, "r"); get_start_end() 121 die(filename); get_start_end() 146 static off_t get_hdrs_offset(int kernelfd, const char *filename) get_hdrs_offset() argument 155 die(filename); get_hdrs_offset() 171 die(filename); get_hdrs_offset() 180 fprintf (stderr, "Couldn't find headers signature in %s\n", filename); get_hdrs_offset()
|
/linux-4.4.14/arch/tile/mm/ |
H A D | elf.c | 125 * If we can't find the filename of the mapping, just use arch_setup_additional_pages() 126 * whatever was passed as the linux_binprm filename. arch_setup_additional_pages() 129 sim_notify_exec(bprm->filename); arch_setup_additional_pages()
|
/linux-4.4.14/include/linux/ |
H A D | binfmts.h | 40 const char * filename; /* Name of binary as seen by procps */ member in struct:linux_binprm 42 of the time same as filename, but could be 56 /* filename of the binary will be inaccessible after exec */
|
H A D | syscalls.h | 394 asmlinkage long sys_stat(const char __user *filename, 403 asmlinkage long sys_lstat(const char __user *filename, 407 asmlinkage long sys_newstat(const char __user *filename, 409 asmlinkage long sys_newlstat(const char __user *filename, 414 asmlinkage long sys_stat64(const char __user *filename, 417 asmlinkage long sys_lstat64(const char __user *filename, 419 asmlinkage long sys_fstatat64(int dfd, const char __user *filename, 473 asmlinkage long sys_chroot(const char __user *filename); 474 asmlinkage long sys_mknod(const char __user *filename, umode_t mode, 482 asmlinkage long sys_chmod(const char __user *filename, umode_t mode); 517 asmlinkage long sys_open(const char __user *filename, 520 asmlinkage long sys_access(const char __user *filename, int mode); 522 asmlinkage long sys_chown(const char __user *filename, 524 asmlinkage long sys_lchown(const char __user *filename, 528 asmlinkage long sys_chown16(const char __user *filename, 530 asmlinkage long sys_lchown16(const char __user *filename, 553 asmlinkage long sys_utime(char __user *filename, 555 asmlinkage long sys_utimes(char __user *filename, 582 asmlinkage long sys_chdir(const char __user *filename); 754 asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode, 767 asmlinkage long sys_futimesat(int dfd, const char __user *filename, 769 asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode); 770 asmlinkage long sys_fchmodat(int dfd, const char __user * filename, 772 asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, 774 asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, 776 asmlinkage long sys_newfstatat(int dfd, const char __user *filename, 780 asmlinkage long sys_utimensat(int dfd, const char __user *filename, 843 asmlinkage long sys_execve(const char __user *filename, 884 asmlinkage long sys_execveat(int dfd, const char __user *filename,
|
H A D | audit.h | 112 struct filename; 132 extern struct filename *__audit_reusename(const __user char *uptr); 133 extern void __audit_getname(struct filename *name); 137 extern void __audit_inode(struct filename *name, const struct dentry *dentry, 172 static inline struct filename *audit_reusename(const __user char *name) audit_reusename() 178 static inline void audit_getname(struct filename *name) audit_getname() 183 static inline void audit_inode(struct filename *name, audit_inode() 198 static inline void audit_inode_parent_hidden(struct filename *name, audit_inode_parent_hidden() 352 static inline struct filename *audit_reusename(const __user char *name) audit_reusename() 356 static inline void audit_getname(struct filename *name) audit_getname() 358 static inline void __audit_inode(struct filename *name, __audit_inode() 366 static inline void audit_inode(struct filename *name, audit_inode() 373 static inline void audit_inode_parent_hidden(struct filename *name, audit_inode_parent_hidden()
|
H A D | dynamic_debug.h | 16 const char *filename; member in struct:_ddebug 68 .filename = __FILE__, \
|
H A D | compat.h | 358 asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv, 360 asmlinkage long compat_sys_execveat(int dfd, const char __user *filename, 455 asmlinkage long compat_sys_utime(const char __user *filename, 458 const char __user *filename, 479 const char __user *filename, 481 asmlinkage long compat_sys_utimes(const char __user *filename, 483 asmlinkage long compat_sys_newstat(const char __user *filename, 485 asmlinkage long compat_sys_newlstat(const char __user *filename, 488 const char __user *filename, 531 asmlinkage long compat_sys_open(const char __user *filename, int flags, 533 asmlinkage long compat_sys_openat(int dfd, const char __user *filename,
|
H A D | relay.h | 70 int has_base_filename; /* has a filename associated? */ 71 char base_filename[NAME_MAX]; /* saved base filename */ 122 * @filename: the name of the file to create 143 struct dentry *(*create_buf_file)(const char *filename,
|
H A D | fsnotify.h | 134 * fsnotify_nameremove - a filename was removed from a directory 316 * fsnotify_oldname_init - save off the old filename before we change it
|
/linux-4.4.14/lib/ |
H A D | earlycpio.c | 61 * filename (with the directory path cut off) of the found file. 62 * If you search for a filename and not for files in a directory, 63 * pass the absolute path of the filename in the cpio and make sure 64 * the match returned an empty filename string.
|
H A D | decompress_inflate.c | 100 * possible asciz filename) __gunzip() 104 /* skip over asciz filename */ __gunzip() 108 * If the filename doesn't fit into the buffer, __gunzip()
|
H A D | dynamic_debug.c | 51 const char *filename; member in struct:ddebug_query 126 query->filename ? query->filename : "", vpr_info_dq() 159 /* match against the source filename */ ddebug_change() 160 if (query->filename && ddebug_change() 161 !match_wildcard(query->filename, dp->filename) && ddebug_change() 162 !match_wildcard(query->filename, ddebug_change() 163 kbasename(dp->filename)) && ddebug_change() 164 !match_wildcard(query->filename, ddebug_change() 165 trim_prefix(dp->filename))) ddebug_change() 193 trim_prefix(dp->filename), dp->lineno, ddebug_change() 302 * file <base-filename> 332 rc = check_set(&query->filename, words[i+1], "file"); ddebug_parse_query() 782 "# filename:lineno [module]function flags format\n"); ddebug_proc_show() 787 trim_prefix(dp->filename), dp->lineno, ddebug_proc_show() 989 + strlen(iter->filename) + strlen(iter->format); dynamic_debug_init()
|
H A D | decompress_unlzo.c | 89 * At least mode, mtime_low, filename length, and checksum must parse_header() 92 * filename length. parse_header()
|
/linux-4.4.14/lib/zlib_inflate/ |
H A D | infutil.c | 24 /* gzip header (1f,8b,08... 10 bytes total + possible asciz filename) zlib_inflate_blob()
|
/linux-4.4.14/scripts/gdb/linux/ |
H A D | symbols.py | 119 gdb.write("loading @{addr}: {filename}\n".format( 120 addr=module_addr, filename=module_file)) 121 cmdline = "add-symbol-file {filename} {addr}{sections}".format( 122 filename=module_file,
|
/linux-4.4.14/kernel/ |
H A D | uid16.c | 19 SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) SYSCALL_DEFINE3() 21 return sys_chown(filename, low2highuid(user), low2highgid(group)); SYSCALL_DEFINE3() 24 SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group) SYSCALL_DEFINE3() 26 return sys_lchown(filename, low2highuid(user), low2highgid(group)); SYSCALL_DEFINE3()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_error.c | 128 const char *filename, xfs_error_report() 135 tag, linenum, filename, ra); xfs_error_report() 147 const char *filename, xfs_corruption_error() 153 xfs_error_report(tag, level, mp, filename, linenum, ra); xfs_corruption_error() 124 xfs_error_report( const char *tag, int level, struct xfs_mount *mp, const char *filename, int linenum, void *ra) xfs_error_report() argument 142 xfs_corruption_error( const char *tag, int level, struct xfs_mount *mp, void *p, const char *filename, int linenum, void *ra) xfs_corruption_error() argument
|
H A D | xfs_error.h | 24 const char *filename, int linenum, void *ra); 26 struct xfs_mount *mp, void *p, const char *filename,
|
/linux-4.4.14/arch/avr32/oprofile/ |
H A D | op_model_avr32.c | 104 char filename[4]; avr32_perf_counter_create_files() local 107 snprintf(filename, sizeof(filename), "%u", i); avr32_perf_counter_create_files() 108 dir = oprofilefs_mkdir(root, filename); avr32_perf_counter_create_files()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
H A D | testmode.c | 146 char filename[100]; ath10k_tm_fetch_utf_firmware_api_2() local 151 snprintf(filename, sizeof(filename), "%s/%s", ath10k_tm_fetch_utf_firmware_api_2() 155 ret = request_firmware(&ar->testmode.utf, filename, ar->dev); ath10k_tm_fetch_utf_firmware_api_2() 158 filename, ret); ath10k_tm_fetch_utf_firmware_api_2() 264 char filename[100]; ath10k_tm_fetch_utf_firmware_api_1() local 267 snprintf(filename, sizeof(filename), "%s/%s", ath10k_tm_fetch_utf_firmware_api_1() 271 ret = request_firmware(&ar->testmode.utf, filename, ar->dev); ath10k_tm_fetch_utf_firmware_api_1() 274 filename, ret); ath10k_tm_fetch_utf_firmware_api_1()
|
H A D | core.c | 330 char filename[100]; ath10k_fetch_fw_file() local 340 snprintf(filename, sizeof(filename), "%s/%s", dir, file); ath10k_fetch_fw_file() 341 ret = request_firmware(&fw, filename, ar->dev); ath10k_fetch_fw_file() 690 char filename[100]; ath10k_fetch_cal_file() local 693 scnprintf(filename, sizeof(filename), "cal-%s-%s.bin", ath10k_fetch_cal_file() 696 ar->cal_file = ath10k_fetch_fw_file(ar, ATH10K_FW_DIR, filename); ath10k_fetch_cal_file() 702 ATH10K_FW_DIR, filename); ath10k_fetch_cal_file() 808 const char *filename) ath10k_core_fetch_board_data_api_n() 815 ar->board = ath10k_fetch_fw_file(ar, ar->hw_params.fw.dir, filename); ath10k_core_fetch_board_data_api_n() 826 ar->hw_params.fw.dir, filename, len); ath10k_core_fetch_board_data_api_n() 841 ar->hw_params.fw.dir, filename, len); ath10k_core_fetch_board_data_api_n() 890 ar->hw_params.fw.dir, boardname, filename); ath10k_core_fetch_board_data_api_n() 806 ath10k_core_fetch_board_data_api_n(struct ath10k *ar, const char *boardname, const char *filename) ath10k_core_fetch_board_data_api_n() argument
|
/linux-4.4.14/tools/thermal/tmon/ |
H A D | sysfs.c | 41 int sysfs_set_ulong(char *path, char *filename, unsigned long val) sysfs_set_ulong() argument 47 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_set_ulong() 65 static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong) sysfs_get_ulong() argument 71 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_get_ulong() 84 static int sysfs_get_string(char *path, char *filename, char *str) sysfs_get_string() argument 90 snprintf(filepath, 256, "%s/%s", path, filename); sysfs_get_string() 132 char filename[256]; get_trip_point_data() local 139 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); get_trip_point_data() 140 sysfs_get_string(tz_path, filename, temp_str); get_trip_point_data()
|
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/ |
H A D | oslinuxtbl.c | 65 osl_table_name_from_file(char *filename, char *signature, u32 *instance); 70 osl_read_table_from_file(char *filename, 993 char *filename; osl_list_customized_tables() local 1005 while ((filename = acpi_os_get_next_filename(table_dir))) { osl_list_customized_tables() 1010 osl_table_name_from_file(filename, temp_name, &instance); osl_list_customized_tables() 1136 * PARAMETERS: filename - File that contains the desired table 1150 osl_table_name_from_file(char *filename, char *signature, u32 *instance) osl_table_name_from_file() argument 1155 if (strlen(filename) < ACPI_NAME_SIZE) { osl_table_name_from_file() 1161 if (isdigit((int)filename[ACPI_NAME_SIZE])) { osl_table_name_from_file() 1162 sscanf(&filename[ACPI_NAME_SIZE], "%u", instance); osl_table_name_from_file() 1163 } else if (strlen(filename) != ACPI_NAME_SIZE) { osl_table_name_from_file() 1171 ACPI_MOVE_NAME(signature, filename); osl_table_name_from_file() 1179 * PARAMETERS: filename - File that contains the desired table 1192 osl_read_table_from_file(char *filename, osl_read_table_from_file() argument 1205 table_file = fopen(filename, "rb"); osl_read_table_from_file() 1207 fprintf(stderr, "Could not open table file: %s\n", filename); osl_read_table_from_file() 1217 fprintf(stderr, "Could not read table header: %s\n", filename); osl_read_table_from_file() 1310 char *filename; osl_get_customized_table() local 1322 while ((filename = acpi_os_get_next_filename(table_dir))) { osl_get_customized_table() 1326 if (!ACPI_COMPARE_NAME(filename, signature)) { osl_get_customized_table() 1333 osl_table_name_from_file(filename, temp_name, osl_get_customized_table() 1356 if (!filename) { osl_get_customized_table()
|
/linux-4.4.14/kernel/gcov/ |
H A D | gcc_3_4.c | 63 * @filename: name of the associated gcov data file 76 const char *filename; member in struct:gcov_info 84 * gcov_info_filename - return info filename 89 return info->filename; gcov_info_filename() 255 /* Duplicate filename. */ gcov_info_dup() 256 dup->filename = kstrdup(info->filename, GFP_KERNEL); gcov_info_dup() 257 if (!dup->filename) gcov_info_dup() 295 kfree(info->filename); gcov_info_free()
|
H A D | gcc_4_7.c | 76 * @filename: name of the associated gcov data file 88 const char *filename; member in struct:gcov_info 95 * gcov_info_filename - return info filename 100 return info->filename; gcov_info_filename() 268 dup->filename = NULL; gcov_info_dup() 271 dup->filename = kstrdup(info->filename, GFP_KERNEL); gcov_info_dup() 272 if (!dup->filename) gcov_info_dup() 347 kfree(info->filename); gcov_info_free()
|
H A D | fs.c | 330 static char *get_link_target(const char *filename, const struct gcov_link *ext) get_link_target() argument 335 if (strncmp(filename, objtree, strlen(objtree)) == 0) { get_link_target() 336 rel = filename + strlen(objtree) + 1; get_link_target() 343 result = link_target(NULL, filename, ext->ext); get_link_target() 352 * For a filename .tmp_filename.ext return filename.ext. Needed to compensate 353 * for filename skewing caused by the mod-versioning mechanism. 573 char *filename; add_node() local 579 filename = kstrdup(gcov_info_filename(info), GFP_KERNEL); add_node() 580 if (!filename) add_node() 584 for (curr = filename; (next = strchr(curr, '/')); curr = next + 1) { add_node() 609 kfree(filename); add_node()
|
/linux-4.4.14/fs/squashfs/ |
H A D | namei.c | 25 * This file implements code to do filename lookup in directories. 44 * storing the index/filename mapping to the first directory header 46 * and at lookup the index is scanned linearly looking for the first filename 47 * alphabetically larger than the filename being looked up. At this point the 48 * location of the metadata block the filename is in has been found.
|
/linux-4.4.14/drivers/staging/comedi/kcomedilib/ |
H A D | kcomedilib_main.c | 36 struct comedi_device *comedi_open(const char *filename) comedi_open() argument 41 if (strncmp(filename, "/dev/comedi", 11) != 0) comedi_open() 44 if (kstrtouint(filename + 11, 0, &minor)) comedi_open()
|
/linux-4.4.14/drivers/mcb/ |
H A D | mcb-internal.h | 36 * @filename: Filename of FPGA bitstream 46 char filename[CHAMELEON_FILENAME_LEN]; member in struct:chameleon_fpga_header
|
H A D | mcb-parse.c | 124 pr_debug("header->filename = \"%.*s\"\n", CHAMELEON_FILENAME_LEN, chameleon_parse_cells() 125 header->filename); chameleon_parse_cells()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | compat.c | 35 COMPAT_SYSCALL_DEFINE4(truncate64, char __user *, filename, u32, dummy, COMPAT_SYSCALL_DEFINE4() 38 return sys_truncate(filename, ((loff_t)high << 32) | low); COMPAT_SYSCALL_DEFINE4()
|
H A D | pci.c | 87 char filename[32]; tile_pcie_open() local 90 sprintf(filename, "pcie/%d/config%d", controller_id, config_type); tile_pcie_open() 92 fd = hv_dev_open((HV_VirtAddr)filename, 0); tile_pcie_open() 103 char filename[32]; tile_init_irqs() local 109 sprintf(filename, "pcie/%d/ctl", controller_id); tile_init_irqs() 110 fd = hv_dev_open((HV_VirtAddr)filename, 0); tile_init_irqs() 112 pr_err("PCI: hv_dev_open(%s) failed\n", filename); tile_init_irqs()
|
/linux-4.4.14/drivers/bluetooth/ |
H A D | ath3k.c | 392 char filename[ATH3K_NAME_LEN] = {0}; ath3k_load_patch() local 415 snprintf(filename, ATH3K_NAME_LEN, "ar3k/AthrBT_0x%08x.dfu", ath3k_load_patch() 418 ret = request_firmware(&firmware, filename, &udev->dev); ath3k_load_patch() 420 BT_ERR("Patch file not found %s", filename); ath3k_load_patch() 445 char filename[ATH3K_NAME_LEN] = {0}; ath3k_load_syscfg() local 478 snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s", ath3k_load_syscfg() 481 ret = request_firmware(&firmware, filename, &udev->dev); ath3k_load_syscfg() 483 BT_ERR("Configuration file not found %s", filename); ath3k_load_syscfg()
|
/linux-4.4.14/tools/build/ |
H A D | fixdep.c | 34 * Print out the commandline prefixed with cmd_<target filename> := 71 /* Save this token/filename */ parse_dep_file()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | main.c | 2161 fw->filename = NULL; b43_do_release_fw() 2210 if (fw->filename) { b43_do_request_fw() 2212 (strcmp(fw->filename, name) == 0)) b43_do_request_fw() 2289 fw->filename = name; b43_do_request_fw() 2310 const char *filename; b43_try_request_fw() local 2314 filename = NULL; b43_try_request_fw() 2318 filename = "ucode42"; b43_try_request_fw() 2322 filename = "ucode40"; b43_try_request_fw() 2326 filename = "ucode33_lcn40"; b43_try_request_fw() 2330 filename = "ucode30_mimo"; b43_try_request_fw() 2334 filename = "ucode29_mimo"; b43_try_request_fw() 2338 filename = "ucode26_mimo"; b43_try_request_fw() 2343 filename = "ucode25_mimo"; b43_try_request_fw() 2345 filename = "ucode25_lcn"; b43_try_request_fw() 2349 filename = "ucode24_lcn"; b43_try_request_fw() 2353 filename = "ucode16_mimo"; b43_try_request_fw() 2357 filename = "ucode16_mimo"; b43_try_request_fw() 2359 filename = "ucode16_lp"; b43_try_request_fw() 2362 filename = "ucode15"; b43_try_request_fw() 2365 filename = "ucode14"; b43_try_request_fw() 2368 filename = "ucode13"; b43_try_request_fw() 2371 filename = "ucode11"; b43_try_request_fw() 2374 filename = "ucode5"; b43_try_request_fw() 2377 if (!filename) b43_try_request_fw() 2379 err = b43_do_request_fw(ctx, filename, &fw->ucode, true); b43_try_request_fw() 2385 filename = "pcm5"; b43_try_request_fw() 2387 filename = NULL; b43_try_request_fw() 2391 err = b43_do_request_fw(ctx, filename, &fw->pcm, false); b43_try_request_fw() 2400 filename = NULL; b43_try_request_fw() 2404 filename = "b0g0initvals13"; b43_try_request_fw() 2406 filename = "b0g0initvals5"; b43_try_request_fw() 2410 filename = "n16initvals30"; b43_try_request_fw() 2412 filename = "n0initvals25"; b43_try_request_fw() 2414 filename = "n0initvals24"; b43_try_request_fw() 2416 filename = "n0initvals16"; /* What about n0initvals22? */ b43_try_request_fw() 2418 filename = "n0initvals16"; b43_try_request_fw() 2420 filename = "n0initvals11"; b43_try_request_fw() 2424 filename = "lp0initvals16"; b43_try_request_fw() 2426 filename = "lp0initvals15"; b43_try_request_fw() 2428 filename = "lp0initvals14"; b43_try_request_fw() 2430 filename = "lp0initvals13"; b43_try_request_fw() 2434 filename = "ht0initvals29"; b43_try_request_fw() 2436 filename = "ht0initvals26"; b43_try_request_fw() 2440 filename = "lcn0initvals24"; b43_try_request_fw() 2444 filename = "lcn400initvals33"; b43_try_request_fw() 2448 filename = "ac1initvals42"; b43_try_request_fw() 2450 filename = "ac0initvals40"; b43_try_request_fw() 2453 if (!filename) b43_try_request_fw() 2455 err = b43_do_request_fw(ctx, filename, &fw->initvals, false); b43_try_request_fw() 2460 filename = NULL; b43_try_request_fw() 2464 filename = "b0g0bsinitvals13"; b43_try_request_fw() 2466 filename = "b0g0bsinitvals5"; b43_try_request_fw() 2470 filename = "n16bsinitvals30"; b43_try_request_fw() 2472 filename = "n0bsinitvals25"; b43_try_request_fw() 2474 filename = "n0bsinitvals24"; b43_try_request_fw() 2476 filename = "n0bsinitvals16"; /* What about n0bsinitvals22? */ b43_try_request_fw() 2478 filename = "n0bsinitvals16"; b43_try_request_fw() 2480 filename = "n0bsinitvals11"; b43_try_request_fw() 2484 filename = "lp0bsinitvals16"; b43_try_request_fw() 2486 filename = "lp0bsinitvals15"; b43_try_request_fw() 2488 filename = "lp0bsinitvals14"; b43_try_request_fw() 2490 filename = "lp0bsinitvals13"; b43_try_request_fw() 2494 filename = "ht0bsinitvals29"; b43_try_request_fw() 2496 filename = "ht0bsinitvals26"; b43_try_request_fw() 2500 filename = "lcn0bsinitvals24"; b43_try_request_fw() 2504 filename = "lcn400bsinitvals33"; b43_try_request_fw() 2508 filename = "ac1bsinitvals42"; b43_try_request_fw() 2510 filename = "ac0bsinitvals40"; b43_try_request_fw() 2513 if (!filename) b43_try_request_fw() 2515 err = b43_do_request_fw(ctx, filename, &fw->initvals_band, false); b43_try_request_fw()
|
/linux-4.4.14/drivers/s390/char/ |
H A D | hmcdrv_ftp.h | 44 * @fname: filename (ASCII), null-terminated
|
H A D | hmcdrv_ftp.c | 106 * @cmd: FTP command string "<cmd> <filename>" 227 * @cmd: FTP command string "<cmd> <filename>"
|
/linux-4.4.14/drivers/staging/gs_fpgaboot/ |
H A D | gs_fpgaboot.h | 50 char filename[MAX_STR]; member in struct:fpgaimage
|
H A D | gs_fpgaboot.c | 128 pr_info("file: %s\n", fimage->filename); gs_print_header() 144 readinfo_bitstream(bitdata, fimage->filename, &offset); gs_read_bitstream()
|
/linux-4.4.14/drivers/acpi/acpica/ |
H A D | utfileio.c | 283 * PARAMETERS: filename - File where table is located 293 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header ** table) acpi_ut_read_table_from_file() argument 302 file = fopen(filename, "rb"); acpi_ut_read_table_from_file() 322 filename, file_size, file_size); acpi_ut_read_table_from_file()
|
H A D | acapps.h | 116 char *filename, char *prefix, char **out_filename); 130 acpi_status ad_display_tables(char *filename, struct acpi_table_header *table);
|
H A D | dbfileio.c | 189 * PARAMETERS: filename - File where table is located 199 acpi_db_get_table_from_file(char *filename, acpi_db_get_table_from_file() argument 208 status = acpi_ut_read_table_from_file(filename, &table); acpi_db_get_table_from_file()
|
H A D | acdebug.h | 232 acpi_status acpi_db_load_acpi_table(char *filename); 235 acpi_db_get_table_from_file(char *filename,
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
H A D | bug.h | 26 unsigned char *filename; member in struct:bug_frame
|
/linux-4.4.14/mm/kasan/ |
H A D | kasan.h | 39 const char *filename; member in struct:kasan_source_location
|
/linux-4.4.14/fs/efs/ |
H A D | dir.c | 89 /* copy filename and data in dirslot */ efs_readdir()
|
/linux-4.4.14/kernel/bpf/ |
H A D | inode.c | 198 static int bpf_obj_do_pin(const struct filename *pathname, void *raw, bpf_obj_do_pin() 235 struct filename *pname; bpf_obj_pin_user() 258 static void *bpf_obj_do_get(const struct filename *pathname, bpf_obj_do_get() 293 struct filename *pname; bpf_obj_get_user()
|
/linux-4.4.14/sound/oss/ |
H A D | hex2hex.c | 82 fprintf(stderr,"hex2hex: [-i] filename\n"); main()
|
/linux-4.4.14/sound/ |
H A D | sound_firmware.c | 50 * @fn: filename
|
/linux-4.4.14/tools/testing/selftests/exec/ |
H A D | execveat.c | 125 static int open_or_die(const char *filename, int flags) open_or_die() argument 127 int fd = open(filename, flags); open_or_die() 131 "check prerequisites are available\n", filename); open_or_die() 158 /* Create a filename close to PATH_MAX in length */ check_execveat_pathmax() 178 * a script or not (because the interpreter sees a filename like check_execveat_pathmax() 183 printf("Invoke copy of '%s' via filename of length %zu:\n", check_execveat_pathmax() 187 printf("Failed to open length %zu filename, errno=%d (%s)\n", check_execveat_pathmax()
|
/linux-4.4.14/fs/f2fs/ |
H A D | crypto_fname.c | 9 * This contains functions for filename crypto management in f2fs 65 * This function encrypts the input filename, and returns the length of the 143 * This function decrypts the input filename, and returns 305 * f2fs_fname_disk_to_usr() - converts a filename from disk space to user space 344 * f2fs_fname_usr_to_disk() - converts a filename from user space to disk space
|
H A D | f2fs_crypto.h | 145 * store a filename of length l in encrypted symlink format.
|
H A D | dir.c | 128 de_name.name = d->filename[bit_pos]; find_target_dentry() 344 memcpy(d->filename[0], ".", 1); do_make_empty_dir() 351 memcpy(d->filename[1], "..", 2); do_make_empty_dir() 505 memcpy(d->filename[bit_pos], name->name, name->len); f2fs_update_dentry() 790 de_name.name = d->filename[bit_pos]; f2fs_fill_dentries() 801 memcpy(de_name.name, d->filename[bit_pos], de_name.len); f2fs_fill_dentries()
|
/linux-4.4.14/fs/ext4/ |
H A D | crypto_fname.c | 6 * This contains functions for filename crypto management in ext4 59 * This function encrypts the input filename, and returns the length of the 138 * This function decrypts the input filename, and returns 310 * ext4_fname_disk_to_usr() - converts a filename from disk space to user space 366 * ext4_fname_usr_to_disk() - converts a filename from user space to disk space
|
H A D | ext4_crypto.h | 150 * store a filename of length l in encrypted symlink format.
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
H A D | dir.c | 655 char *filename) ll_dir_setdirstripe() 664 op_data = ll_prep_md_op_data(NULL, dir, NULL, filename, ll_dir_setdirstripe() 665 strlen(filename), mode, LUSTRE_OPC_MKDIR, ll_dir_setdirstripe() 1213 static char *ll_getname(const char __user *filename) ll_getname() argument 1222 len = strncpy_from_user(tmp, filename, NAME_MAX + 1); ll_getname() 1237 #define ll_putname(filename) kfree(filename) 1283 char *filename; ll_dir_ioctl() local 1291 filename = data->ioc_inlbuf1; ll_dir_ioctl() 1292 namelen = strlen(filename); ll_dir_ioctl() 1295 CDEBUG(D_INFO, "IOC_MDC_LOOKUP missing filename\n"); ll_dir_ioctl() 1300 op_data = ll_prep_md_op_data(NULL, inode, NULL, filename, namelen, ll_dir_ioctl() 1322 char *filename; ll_dir_ioctl() local 1339 filename = data->ioc_inlbuf1; ll_dir_ioctl() 1343 CDEBUG(D_INFO, "IOC_MDC_LOOKUP missing filename\n"); ll_dir_ioctl() 1353 filename, lum->lum_magic, lumlen, -EFAULT); ll_dir_ioctl() 1362 rc = ll_dir_setdirstripe(inode, lum, filename); ll_dir_ioctl() 1450 char *filename = NULL; ll_dir_ioctl() local 1455 filename = ll_getname((const char *)arg); ll_dir_ioctl() 1456 if (IS_ERR(filename)) ll_dir_ioctl() 1457 return PTR_ERR(filename); ll_dir_ioctl() 1459 rc = ll_lov_getstripe_ea_info(inode, filename, &lmm, ll_dir_ioctl() 1526 if (filename) ll_dir_ioctl() 1527 ll_putname(filename); ll_dir_ioctl() 654 ll_dir_setdirstripe(struct inode *dir, struct lmv_user_md *lump, char *filename) ll_dir_setdirstripe() argument
|
/linux-4.4.14/include/acpi/ |
H A D | acoutput.h | 322 #define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \ 326 function (level, line, filename, modulename, component, __VA_ARGS__); \ 330 #define ACPI_ACTUAL_DEBUG(level, line, filename, modulename, component, ...) \ 332 filename, modulename, component, __VA_ARGS__) 334 #define ACPI_ACTUAL_DEBUG_RAW(level, line, filename, modulename, component, ...) \ 336 filename, modulename, component, __VA_ARGS__)
|
/linux-4.4.14/include/trace/events/ |
H A D | sched.h | 302 __string( filename, bprm->filename ) 308 __assign_str(filename, bprm->filename); 313 TP_printk("filename=%s pid=%d old_pid=%d", __get_str(filename),
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 144 asmlinkage long sys_oabi_stat64(const char __user * filename, sys_oabi_stat64() argument 148 int error = vfs_stat(filename, &stat); sys_oabi_stat64() 154 asmlinkage long sys_oabi_lstat64(const char __user * filename, sys_oabi_lstat64() argument 158 int error = vfs_lstat(filename, &stat); sys_oabi_lstat64() 175 const char __user *filename, sys_oabi_fstatat64() 182 error = vfs_fstatat(dfd, filename, &stat, flag); sys_oabi_fstatat64() 174 sys_oabi_fstatat64(int dfd, const char __user *filename, struct oldabi_stat64 __user *statbuf, int flag) sys_oabi_fstatat64() argument
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_uprobe.c | 57 char *filename; member in struct:trace_uprobe 287 kfree(tu->filename); free_trace_uprobe() 359 char *arg, *event, *group, *filename; create_trace_uprobe() local 431 pr_info("probe point must be have a filename.\n"); create_trace_uprobe() 441 filename = argv[1]; create_trace_uprobe() 442 ret = kern_path(filename, LOOKUP_FOLLOW, &path); create_trace_uprobe() 466 tail = kstrdup(kbasename(filename), GFP_KERNEL); create_trace_uprobe() 489 tu->filename = kstrdup(filename, GFP_KERNEL); create_trace_uprobe() 491 if (!tu->filename) { create_trace_uprobe() 492 pr_info("Failed to allocate filename.\n"); create_trace_uprobe() 604 seq_printf(m, " %s:", tu->filename); probes_seq_show() 668 seq_printf(m, " %s %-44s %15lu\n", tu->filename, probes_profile_seq_show()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | rtas_flash.c | 659 const char *filename; member in struct:rtas_flash_file 667 .filename = "powerpc/rtas/" FIRMWARE_FLASH_NAME, 676 .filename = "powerpc/rtas/" FIRMWARE_UPDATE_NAME, 685 .filename = "powerpc/rtas/" VALIDATE_FLASH_NAME, 694 .filename = "powerpc/rtas/" MANAGE_FLASH_NAME, 730 if (!proc_create(f->filename, S_IRUSR | S_IWUSR, NULL, &f->fops)) rtas_flash_init() 750 remove_proc_entry(f->filename, NULL); rtas_flash_init() 772 remove_proc_entry(f->filename, NULL); rtas_flash_cleanup()
|
/linux-4.4.14/drivers/fmc/ |
H A D | fmc-write-eeprom.c | 126 pr_err("%s: no filename for device index %i\n", fwe_probe() 132 pr_err("%s: no filename for \"%s\" not programming\n", fwe_probe()
|
H A D | fmc-trivial.c | 60 /* Reprogram, if asked to. ESRCH == no filename specified */ t_probe()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
H A D | opera1.c | 447 const char *filename) opera1_xilinx_load_firmware() 453 info("start downloading fpga firmware %s",filename); opera1_xilinx_load_firmware() 455 if ((ret = request_firmware(&fw, filename, &dev->dev)) != 0) { opera1_xilinx_load_firmware() 458 filename); opera1_xilinx_load_firmware() 446 opera1_xilinx_load_firmware(struct usb_device *dev, const char *filename) opera1_xilinx_load_firmware() argument
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver_version.h | 11 * filename last modified re-use
|
/linux-4.4.14/fs/omfs/ |
H A D | omfs_fs.h | 66 char i_name[OMFS_NAMELEN]; /* filename */
|
/linux-4.4.14/scripts/basic/ |
H A D | fixdep.c | 134 * Print out the commandline prefixed with cmd_<target filename> := 265 static void do_config_file(const char *filename) do_config_file() argument 271 fd = open(filename, O_RDONLY); do_config_file() 274 perror(filename); do_config_file() 326 /* Save this token/filename */ parse_dep_file()
|
/linux-4.4.14/usr/ |
H A D | gen_init_cpio.c | 527 const char *filename; main() local 557 filename = argv[optind]; main() 558 if (!strcmp(filename, "-")) main() 560 else if (!(cpio_list = fopen(filename, "r"))) { main() 562 filename, strerror(errno)); main()
|
/linux-4.4.14/scripts/kconfig/ |
H A D | mconf.c | 216 "Enter a filename to which this configuration should be saved " 296 static char filename[PATH_MAX+1]; set_config_filename() variable 308 size = snprintf(filename, sizeof(filename), "%s", config_filename); set_config_filename() 309 if (size >= sizeof(filename)) set_config_filename() 310 filename[sizeof(filename)-1] = '\0'; set_config_filename() 908 11, 55, filename); conf_load() 935 11, 55, filename); conf_save() 974 if (conf_write(filename)) { handle_exit()
|
H A D | nconf.c | 197 "Enter a filename to which this configuration should be saved\n" 626 static char filename[PATH_MAX+1]; variable 637 size = snprintf(filename, sizeof(filename), "%s", config_filename); set_config_filename() 638 if (size >= sizeof(filename)) set_config_filename() 639 filename[sizeof(filename)-1] = '\0'; set_config_filename() 667 res = conf_write(filename); do_exit() 1399 filename, conf_load() 1430 filename, conf_save()
|
/linux-4.4.14/fs/cachefiles/ |
H A D | namei.c | 828 char *filename) cachefiles_check_active() 837 // dir, filename); cachefiles_check_active() 843 victim = lookup_one_len(filename, dir, strlen(filename)); cachefiles_check_active() 914 char *filename) cachefiles_cull() 919 _enter(",%pd/,%s", dir, filename); cachefiles_cull() 921 victim = cachefiles_check_active(cache, dir, filename); cachefiles_cull() 974 char *filename) cachefiles_check_in_use() 979 // dir, filename); cachefiles_check_in_use() 981 victim = cachefiles_check_active(cache, dir, filename); cachefiles_check_in_use() 826 cachefiles_check_active(struct cachefiles_cache *cache, struct dentry *dir, char *filename) cachefiles_check_active() argument 913 cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir, char *filename) cachefiles_cull() argument 973 cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir, char *filename) cachefiles_check_in_use() argument
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | tda10071_priv.h | 89 /* firmware filename */
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
H A D | rt2x00firmware.c | 44 "Invalid firmware filename\n" rt2x00lib_request_firmware()
|
/linux-4.4.14/fs/fat/ |
H A D | fat.h | 33 char *iocharset; /* Charset used for filename input/display */ 42 dotsOK:1, /* set = hidden and system files are named '.filename' */ 43 isvfat:1, /* 0=no vfat long filename support, 1=vfat support */ 134 int nr_slots; /* number of slots + 1(de) in filename */
|
/linux-4.4.14/fs/efivarfs/ |
H A D | inode.c | 43 * Return true if 'str' is a valid efivarfs filename of the form,
|
/linux-4.4.14/fs/qnx4/ |
H A D | namei.c | 20 * check if the filename is correct. For some obscure reason, qnx writes a
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | binfmt_elfn32.c | 90 char pr_fname[16]; /* filename of executable */
|
H A D | binfmt_elfo32.c | 111 char pr_fname[16]; /* filename of executable */
|
/linux-4.4.14/arch/microblaze/ |
H A D | Makefile | 64 # defines filename extension depending memory management type
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | binfmt_elf32.c | 74 char pr_fname[16]; /* filename of executable */
|
/linux-4.4.14/net/netfilter/ |
H A D | nf_nat_irc.c | 77 * F: filename (min 1 d ) help()
|
/linux-4.4.14/sound/pci/emu10k1/ |
H A D | emu10k1_main.c | 737 const char *filename = NULL; emu1010_firmware_thread() local 740 filename = DOCK_FILENAME; emu1010_firmware_thread() 743 filename = MICRO_DOCK_FILENAME; emu1010_firmware_thread() 746 filename = MICRO_DOCK_FILENAME; emu1010_firmware_thread() 749 if (filename) { emu1010_firmware_thread() 751 filename, emu1010_firmware_thread() 885 const char *filename; snd_emu10k1_emu1010_init() local 888 filename = HANA_FILENAME; snd_emu10k1_emu1010_init() 891 filename = EMU1010B_FILENAME; snd_emu10k1_emu1010_init() 894 filename = EMU1010_NOTEBOOK_FILENAME; snd_emu10k1_emu1010_init() 897 filename = EMU0404_FILENAME; snd_emu10k1_emu1010_init() 903 err = request_firmware(&emu->firmware, filename, &emu->pci->dev); snd_emu10k1_emu1010_init() 907 filename, err); snd_emu10k1_emu1010_init() 912 filename, emu->firmware->size); snd_emu10k1_emu1010_init()
|