filename          459 arch/alpha/kernel/osf_sys.c 	struct filename *devname;
filename          480 arch/alpha/kernel/osf_sys.c 	struct filename *devname;
filename         1083 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_utimes, const char __user *, filename,
filename         1098 arch/alpha/kernel/osf_sys.c 	return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0);
filename          142 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_stat64(const char __user * filename,
filename          146 arch/arm/kernel/sys_oabi-compat.c 	int error = vfs_stat(filename, &stat);
filename          152 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_lstat64(const char __user * filename,
filename          156 arch/arm/kernel/sys_oabi-compat.c 	int error = vfs_lstat(filename, &stat);
filename          173 arch/arm/kernel/sys_oabi-compat.c 				   const char __user *filename,
filename          180 arch/arm/kernel/sys_oabi-compat.c 	error = vfs_fstatat(dfd, filename, &stat, flag);
filename          777 arch/mips/bcm63xx/boards/board_bcm963xx.c 		board_name = hcs->filename;
filename          655 arch/powerpc/kernel/rtas_flash.c 	const char *filename;
filename          663 arch/powerpc/kernel/rtas_flash.c 		.filename	= "powerpc/rtas/" FIRMWARE_FLASH_NAME,
filename          672 arch/powerpc/kernel/rtas_flash.c 		.filename	= "powerpc/rtas/" FIRMWARE_UPDATE_NAME,
filename          681 arch/powerpc/kernel/rtas_flash.c 		.filename	= "powerpc/rtas/" VALIDATE_FLASH_NAME,
filename          690 arch/powerpc/kernel/rtas_flash.c 		.filename	= "powerpc/rtas/" MANAGE_FLASH_NAME,
filename          726 arch/powerpc/kernel/rtas_flash.c 		if (!proc_create(f->filename, 0600, NULL, &f->fops))
filename          746 arch/powerpc/kernel/rtas_flash.c 		remove_proc_entry(f->filename, NULL);
filename          768 arch/powerpc/kernel/rtas_flash.c 		remove_proc_entry(f->filename, NULL);
filename          150 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE2(s390_stat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf)
filename          153 arch/s390/kernel/compat_linux.c 	int ret = vfs_stat(filename, &stat);
filename          159 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE2(s390_lstat64, const char __user *, filename, struct stat64_emu31 __user *, statbuf)
filename          162 arch/s390/kernel/compat_linux.c 	int ret = vfs_lstat(filename, &stat);
filename          177 arch/s390/kernel/compat_linux.c COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename,
filename          183 arch/s390/kernel/compat_linux.c 	error = vfs_fstatat(dfd, filename, &stat, flag);
filename           91 arch/s390/kernel/compat_linux.h long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group);
filename           92 arch/s390/kernel/compat_linux.h long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group);
filename          115 arch/s390/kernel/compat_linux.h long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
filename          116 arch/s390/kernel/compat_linux.h long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
filename          118 arch/s390/kernel/compat_linux.h long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 __user *statbuf, int flag);
filename          100 arch/sparc/boot/piggyback.c static int get_start_end(const char *filename, unsigned int *start,
filename          108 arch/sparc/boot/piggyback.c 	map = fopen(filename, "r");
filename          110 arch/sparc/boot/piggyback.c 		die(filename);
filename          135 arch/sparc/boot/piggyback.c static off_t get_hdrs_offset(int kernelfd, const char *filename)
filename          144 arch/sparc/boot/piggyback.c 		die(filename);
filename          160 arch/sparc/boot/piggyback.c 			die(filename);
filename          169 arch/sparc/boot/piggyback.c 	fprintf (stderr, "Couldn't find headers signature in %s\n", filename);
filename           95 arch/sparc/kernel/sys_sparc32.c COMPAT_SYSCALL_DEFINE2(stat64, const char __user *, filename,
filename           99 arch/sparc/kernel/sys_sparc32.c 	int error = vfs_stat(filename, &stat);
filename          106 arch/sparc/kernel/sys_sparc32.c COMPAT_SYSCALL_DEFINE2(lstat64, const char __user *, filename,
filename          110 arch/sparc/kernel/sys_sparc32.c 	int error = vfs_lstat(filename, &stat);
filename          129 arch/sparc/kernel/sys_sparc32.c 		const char __user *, filename,
filename          135 arch/sparc/kernel/sys_sparc32.c 	error = vfs_fstatat(dfd, filename, &stat, flag);
filename           59 arch/sparc/kernel/systbls.h asmlinkage long compat_sys_stat64(const char __user * filename,
filename           61 arch/sparc/kernel/systbls.h asmlinkage long compat_sys_lstat64(const char __user * filename,
filename           66 arch/sparc/kernel/systbls.h 				     const char __user *filename,
filename           99 arch/sparc/kernel/systbls.h 				     const char __user *filename,
filename           15 arch/um/kernel/initrd.c static int load_initrd(char *filename, void *buf, int size);
filename           63 arch/um/kernel/initrd.c static int load_initrd(char *filename, void *buf, int size)
filename           67 arch/um/kernel/initrd.c 	fd = os_open_file(filename, of_read(OPENFLAGS()), 0);
filename           69 arch/um/kernel/initrd.c 		printk(KERN_ERR "Opening '%s' failed - err = %d\n", filename,
filename           77 arch/um/kernel/initrd.c 		       filename, -n);
filename           55 arch/x86/ia32/sys_ia32.c COMPAT_SYSCALL_DEFINE3(x86_truncate64, const char __user *, filename,
filename           58 arch/x86/ia32/sys_ia32.c 	return ksys_truncate(filename,
filename          100 arch/x86/ia32/sys_ia32.c COMPAT_SYSCALL_DEFINE2(x86_stat64, const char __user *, filename,
filename          104 arch/x86/ia32/sys_ia32.c 	int ret = vfs_stat(filename, &stat);
filename          111 arch/x86/ia32/sys_ia32.c COMPAT_SYSCALL_DEFINE2(x86_lstat64, const char __user *, filename,
filename          115 arch/x86/ia32/sys_ia32.c 	int ret = vfs_lstat(filename, &stat);
filename          132 arch/x86/ia32/sys_ia32.c 		       const char __user *, filename,
filename          138 arch/x86/ia32/sys_ia32.c 	error = vfs_fstatat(dfd, filename, &stat, flag);
filename           28 arch/xtensa/platforms/iss/simdisk.c 	const char *filename;
filename           44 arch/xtensa/platforms/iss/simdisk.c static const char *filename[MAX_SIMDISK_COUNT] = {
filename           56 arch/xtensa/platforms/iss/simdisk.c 	if (n_files < ARRAY_SIZE(filename))
filename           57 arch/xtensa/platforms/iss/simdisk.c 		filename[n_files++] = val;
filename           66 arch/xtensa/platforms/iss/simdisk.c module_param_cb(filename, &simdisk_param_ops_filename, &n_files, 0);
filename           67 arch/xtensa/platforms/iss/simdisk.c MODULE_PARM_DESC(filename, "Backing storage filename.");
filename          154 arch/xtensa/platforms/iss/simdisk.c static int simdisk_attach(struct simdisk *dev, const char *filename)
filename          158 arch/xtensa/platforms/iss/simdisk.c 	filename = kstrdup(filename, GFP_KERNEL);
filename          159 arch/xtensa/platforms/iss/simdisk.c 	if (filename == NULL)
filename          168 arch/xtensa/platforms/iss/simdisk.c 	dev->fd = simc_open(filename, O_RDWR, 0);
filename          170 arch/xtensa/platforms/iss/simdisk.c 		pr_err("SIMDISK: Can't open %s: %d\n", filename, errno);
filename          176 arch/xtensa/platforms/iss/simdisk.c 	dev->filename = filename;
filename          177 arch/xtensa/platforms/iss/simdisk.c 	pr_info("SIMDISK: %s=%s\n", dev->gd->disk_name, dev->filename);
filename          180 arch/xtensa/platforms/iss/simdisk.c 		kfree(filename);
filename          197 arch/xtensa/platforms/iss/simdisk.c 					dev->filename, errno);
filename          201 arch/xtensa/platforms/iss/simdisk.c 					dev->gd->disk_name, dev->filename);
filename          203 arch/xtensa/platforms/iss/simdisk.c 			kfree(dev->filename);
filename          204 arch/xtensa/platforms/iss/simdisk.c 			dev->filename = NULL;
filename          215 arch/xtensa/platforms/iss/simdisk.c 	const char *s = dev->filename;
filename          266 arch/xtensa/platforms/iss/simdisk.c 	dev->filename = NULL;
filename          328 arch/xtensa/platforms/iss/simdisk.c 			if (filename[i] != NULL && filename[i][0] != 0 &&
filename          330 arch/xtensa/platforms/iss/simdisk.c 				simdisk_attach(sddev + i, filename[i]);
filename           82 drivers/acpi/acpica/acapps.h ac_get_all_tables_from_file(char *filename,
filename           74 drivers/acpi/acpica/acconvert.h struct acpi_file_node *cv_filename_exists(char *filename,
filename          217 drivers/acpi/acpica/acdebug.h acpi_status acpi_db_load_acpi_table(char *filename);
filename          809 drivers/acpi/acpica/aclocal.h 	char *filename;
filename          842 drivers/acpi/acpica/aclocal.h 	char *filename;
filename          332 drivers/acpi/sysfs.c 	char filename[ACPI_NAMESEG_SIZE+ACPI_INST_SIZE];
filename          385 drivers/acpi/sysfs.c 	ACPI_COPY_NAMESEG(table_attr->filename, table_header->signature);
filename          386 drivers/acpi/sysfs.c 	table_attr->filename[ACPI_NAMESEG_SIZE] = '\0';
filename          392 drivers/acpi/sysfs.c 		strcat(table_attr->filename, instance_str);
filename          397 drivers/acpi/sysfs.c 	table_attr->attr.attr.name = table_attr->filename;
filename          393 drivers/bluetooth/ath3k.c 	char filename[ATH3K_NAME_LEN];
filename          416 drivers/bluetooth/ath3k.c 	snprintf(filename, ATH3K_NAME_LEN, "ar3k/AthrBT_0x%08x.dfu",
filename          419 drivers/bluetooth/ath3k.c 	ret = request_firmware(&firmware, filename, &udev->dev);
filename          421 drivers/bluetooth/ath3k.c 		BT_ERR("Patch file not found %s", filename);
filename          446 drivers/bluetooth/ath3k.c 	char filename[ATH3K_NAME_LEN];
filename          479 drivers/bluetooth/ath3k.c 	snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s",
filename          482 drivers/bluetooth/ath3k.c 	ret = request_firmware(&firmware, filename, &udev->dev);
filename          484 drivers/bluetooth/ath3k.c 		BT_ERR("Configuration file not found %s", filename);
filename           76 drivers/firmware/tegra/bpmp-debugfs.c 	const char *filename;
filename           86 drivers/firmware/tegra/bpmp-debugfs.c 	filename = dentry_path(file->f_path.dentry, buf, size);
filename           87 drivers/firmware/tegra/bpmp-debugfs.c 	if (IS_ERR(filename))
filename           90 drivers/firmware/tegra/bpmp-debugfs.c 	if (strlen(filename) < root_len ||
filename           91 drivers/firmware/tegra/bpmp-debugfs.c 			strncmp(filename, root_path, root_len))
filename           94 drivers/firmware/tegra/bpmp-debugfs.c 	filename += root_len;
filename           96 drivers/firmware/tegra/bpmp-debugfs.c 	return filename;
filename          203 drivers/firmware/tegra/bpmp-debugfs.c 	const char *filename;
filename          207 drivers/firmware/tegra/bpmp-debugfs.c 	filename = get_filename(bpmp, file, buf, sizeof(buf));
filename          208 drivers/firmware/tegra/bpmp-debugfs.c 	if (!filename)
filename          223 drivers/firmware/tegra/bpmp-debugfs.c 	len = strlen(filename);
filename          224 drivers/firmware/tegra/bpmp-debugfs.c 	strncpy(namevirt, filename, namesize);
filename          254 drivers/firmware/tegra/bpmp-debugfs.c 	const char *filename;
filename          258 drivers/firmware/tegra/bpmp-debugfs.c 	filename = get_filename(bpmp, file, fnamebuf, sizeof(fnamebuf));
filename          259 drivers/firmware/tegra/bpmp-debugfs.c 	if (!filename)
filename          274 drivers/firmware/tegra/bpmp-debugfs.c 	len = strlen(filename);
filename          275 drivers/firmware/tegra/bpmp-debugfs.c 	strncpy(namevirt, filename, namesize);
filename          105 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c static struct dentry *create_buf_file_callback(const char *filename,
filename          124 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c 	buf_file = debugfs_create_file(filename, mode,
filename          189 drivers/gpu/drm/radeon/mkregtable.c static int parser_auth(struct table *t, const char *filename)
filename          209 drivers/gpu/drm/radeon/mkregtable.c 	file = fopen(filename, "r");
filename          211 drivers/gpu/drm/radeon/mkregtable.c 		fprintf(stderr, "Failed to open: %s\n", filename);
filename          244 drivers/gpu/drm/radeon/mkregtable.c 					r, filename);
filename          760 drivers/gpu/drm/vc4/vc4_drv.h 			  const char *filename,
filename          764 drivers/gpu/drm/vc4/vc4_drv.h 			      const char *filename,
filename          768 drivers/gpu/drm/vc4/vc4_drv.h 					const char *filename,
filename          775 drivers/gpu/drm/vc4/vc4_drv.h 					    const char *filename,
filename          251 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 				char *filename)
filename          263 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	return snprintf(filename, FILENAME_SIZE, "intel/%s", val);
filename          768 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	char *filename;
filename          775 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	filename = kzalloc(FILENAME_SIZE, GFP_KERNEL);
filename          776 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	if (!filename) {
filename          783 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	rv = get_firmware_variant(client_data, filename);
filename          787 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	rv = request_firmware(&fw, filename, cl_data_to_dev(client_data));
filename          820 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 		 filename);
filename          821 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	kfree(filename);
filename          827 drivers/hid/intel-ish-hid/ishtp-fw-loader.c 	kfree(filename);
filename           46 drivers/mcb/mcb-internal.h 	char filename[CHAMELEON_FILENAME_LEN];
filename          211 drivers/mcb/mcb-parse.c 		 header->filename);
filename         1125 drivers/media/common/siano/smscoreapi.h 				 char *filename,
filename         2415 drivers/media/pci/cx23885/cx23885-cards.c 		const char *filename = "dvb-netup-altera-01.fw";
filename         2432 drivers/media/pci/cx23885/cx23885-cards.c 			filename = "dvb-netup-altera-04.fw";
filename         2435 drivers/media/pci/cx23885/cx23885-cards.c 			filename = "dvb-netup-altera-01.fw";
filename         2439 drivers/media/pci/cx23885/cx23885-cards.c 			cinfo.rev, filename);
filename         2441 drivers/media/pci/cx23885/cx23885-cards.c 		ret = request_firmware(&fw, filename, &dev->pci->dev);
filename         2444 drivers/media/pci/cx23885/cx23885-cards.c 			       filename);
filename          444 drivers/media/usb/dvb-usb/opera1.c 				       const char *filename)
filename          450 drivers/media/usb/dvb-usb/opera1.c 	info("start downloading fpga firmware %s",filename);
filename          452 drivers/media/usb/dvb-usb/opera1.c 	if ((ret = request_firmware(&fw, filename, &dev->dev)) != 0) {
filename          454 drivers/media/usb/dvb-usb/opera1.c 			filename);
filename         1979 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 					 const char *filename)
filename         1984 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	rc = request_firmware(&fw, filename, &dev->dev);
filename         1987 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			   rc, filename);
filename         2002 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 					char *filename, u32 install_type)
filename         2021 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	rc = request_firmware(&fw, filename, &dev->dev);
filename         2024 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			   rc, filename);
filename          785 drivers/net/wireless/ath/ath10k/core.c 	char filename[100];
filename          795 drivers/net/wireless/ath/ath10k/core.c 	snprintf(filename, sizeof(filename), "%s/%s", dir, file);
filename          796 drivers/net/wireless/ath/ath10k/core.c 	ret = firmware_request_nowarn(&fw, filename, ar->dev);
filename          798 drivers/net/wireless/ath/ath10k/core.c 		   filename, ret);
filename         1092 drivers/net/wireless/ath/ath10k/core.c 	char filename[100];
filename         1095 drivers/net/wireless/ath/ath10k/core.c 	scnprintf(filename, sizeof(filename), "pre-cal-%s-%s.bin",
filename         1098 drivers/net/wireless/ath/ath10k/core.c 	ar->pre_cal_file = ath10k_fetch_fw_file(ar, ATH10K_FW_DIR, filename);
filename         1103 drivers/net/wireless/ath/ath10k/core.c 	scnprintf(filename, sizeof(filename), "cal-%s-%s.bin",
filename         1106 drivers/net/wireless/ath/ath10k/core.c 	ar->cal_file = ath10k_fetch_fw_file(ar, ATH10K_FW_DIR, filename);
filename         1112 drivers/net/wireless/ath/ath10k/core.c 		   ATH10K_FW_DIR, filename);
filename         1305 drivers/net/wireless/ath/ath10k/core.c 					      const char *filename)
filename         1315 drivers/net/wireless/ath/ath10k/core.c 								filename);
filename         1326 drivers/net/wireless/ath/ath10k/core.c 			   ar->hw_params.fw.dir, filename, len);
filename         1341 drivers/net/wireless/ath/ath10k/core.c 			   ar->hw_params.fw.dir, filename, len);
filename         1359 drivers/net/wireless/ath/ath10k/core.c 			   boardname, ar->hw_params.fw.dir, filename);
filename          476 drivers/net/wireless/ath/ath10k/spectral.c static struct dentry *create_buf_file_handler(const char *filename,
filename          484 drivers/net/wireless/ath/ath10k/spectral.c 	buf_file = debugfs_create_file(filename, mode, parent, buf,
filename          142 drivers/net/wireless/ath/ath10k/testmode.c 	char filename[100];
filename          145 drivers/net/wireless/ath/ath10k/testmode.c 	snprintf(filename, sizeof(filename), "%s/%s",
filename          149 drivers/net/wireless/ath/ath10k/testmode.c 	ret = firmware_request_nowarn(&fw_file->firmware, filename, ar->dev);
filename          151 drivers/net/wireless/ath/ath10k/testmode.c 		   filename, ret);
filename          155 drivers/net/wireless/ath/ath10k/testmode.c 			    filename, ret);
filename          674 drivers/net/wireless/ath/ath6kl/init.c static int ath6kl_get_fw(struct ath6kl *ar, const char *filename,
filename          680 drivers/net/wireless/ath/ath6kl/init.c 	ret = request_firmware(&fw_entry, filename, ar->dev);
filename          741 drivers/net/wireless/ath/ath6kl/init.c 	const char *filename;
filename          750 drivers/net/wireless/ath/ath6kl/init.c 	filename = ar->hw.fw_board;
filename          752 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw_board,
filename          766 drivers/net/wireless/ath/ath6kl/init.c 		    filename, ret);
filename          768 drivers/net/wireless/ath/ath6kl/init.c 	filename = ar->hw.fw_default_board;
filename          770 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw_board,
filename          774 drivers/net/wireless/ath/ath6kl/init.c 			   filename, ret);
filename          786 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          798 drivers/net/wireless/ath/ath6kl/init.c 	snprintf(filename, sizeof(filename), "%s/%s",
filename          801 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw_otp,
filename          805 drivers/net/wireless/ath/ath6kl/init.c 			   filename, ret);
filename          814 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          828 drivers/net/wireless/ath/ath6kl/init.c 		snprintf(filename, sizeof(filename), "%s/%s",
filename          836 drivers/net/wireless/ath/ath6kl/init.c 		snprintf(filename, sizeof(filename), "%s/%s",
filename          842 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len);
filename          845 drivers/net/wireless/ath/ath6kl/init.c 			   ar->testmode, filename, ret);
filename          854 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          864 drivers/net/wireless/ath/ath6kl/init.c 	snprintf(filename, sizeof(filename), "%s/%s",
filename          867 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len);
filename          870 drivers/net/wireless/ath/ath6kl/init.c 			   filename, ret);
filename          879 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          888 drivers/net/wireless/ath/ath6kl/init.c 	snprintf(filename, sizeof(filename), "%s/%s",
filename          891 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw_patch,
filename          895 drivers/net/wireless/ath/ath6kl/init.c 			   filename, ret);
filename          904 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          916 drivers/net/wireless/ath/ath6kl/init.c 	snprintf(filename, sizeof(filename), "%s/%s",
filename          919 drivers/net/wireless/ath/ath6kl/init.c 	ret = ath6kl_get_fw(ar, filename, &ar->fw_testscript,
filename          923 drivers/net/wireless/ath/ath6kl/init.c 			   filename, ret);
filename          958 drivers/net/wireless/ath/ath6kl/init.c 	char filename[100];
filename          963 drivers/net/wireless/ath/ath6kl/init.c 	snprintf(filename, sizeof(filename), "%s/%s", ar->hw.fw.dir, name);
filename          965 drivers/net/wireless/ath/ath6kl/init.c 	ret = request_firmware(&fw, filename, ar->dev);
filename         1032 drivers/net/wireless/ath/ath9k/common-spectral.c static struct dentry *create_buf_file_handler(const char *filename,
filename         1040 drivers/net/wireless/ath/ath9k/common-spectral.c 	buf_file = debugfs_create_file(filename, mode, parent, buf,
filename         1140 drivers/net/wireless/ath/ath9k/hif_usb.c 		const char *filename;
filename         1143 drivers/net/wireless/ath/ath9k/hif_usb.c 			filename = FIRMWARE_AR7010_1_1;
filename         1145 drivers/net/wireless/ath/ath9k/hif_usb.c 			filename = FIRMWARE_AR9271;
filename         1151 drivers/net/wireless/ath/ath9k/hif_usb.c 			 "%s", filename);
filename          762 drivers/net/wireless/broadcom/b43/b43.h 	const char *filename;
filename         2151 drivers/net/wireless/broadcom/b43/main.c 	fw->filename = NULL;
filename         2200 drivers/net/wireless/broadcom/b43/main.c 	if (fw->filename) {
filename         2202 drivers/net/wireless/broadcom/b43/main.c 		    (strcmp(fw->filename, name) == 0))
filename         2279 drivers/net/wireless/broadcom/b43/main.c 	fw->filename = name;
filename         2300 drivers/net/wireless/broadcom/b43/main.c 	const char *filename;
filename         2304 drivers/net/wireless/broadcom/b43/main.c 	filename = NULL;
filename         2308 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode42";
filename         2312 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode40";
filename         2316 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode33_lcn40";
filename         2320 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode30_mimo";
filename         2324 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode29_mimo";
filename         2328 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode26_mimo";
filename         2333 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode25_mimo";
filename         2335 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode25_lcn";
filename         2339 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode24_lcn";
filename         2343 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode16_mimo";
filename         2347 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode16_mimo";
filename         2349 drivers/net/wireless/broadcom/b43/main.c 			filename = "ucode16_lp";
filename         2352 drivers/net/wireless/broadcom/b43/main.c 		filename = "ucode15";
filename         2355 drivers/net/wireless/broadcom/b43/main.c 		filename = "ucode14";
filename         2358 drivers/net/wireless/broadcom/b43/main.c 		filename = "ucode13";
filename         2361 drivers/net/wireless/broadcom/b43/main.c 		filename = "ucode11";
filename         2364 drivers/net/wireless/broadcom/b43/main.c 		filename = "ucode5";
filename         2367 drivers/net/wireless/broadcom/b43/main.c 	if (!filename)
filename         2369 drivers/net/wireless/broadcom/b43/main.c 	err = b43_do_request_fw(ctx, filename, &fw->ucode, true);
filename         2375 drivers/net/wireless/broadcom/b43/main.c 		filename = "pcm5";
filename         2377 drivers/net/wireless/broadcom/b43/main.c 		filename = NULL;
filename         2381 drivers/net/wireless/broadcom/b43/main.c 	err = b43_do_request_fw(ctx, filename, &fw->pcm, false);
filename         2390 drivers/net/wireless/broadcom/b43/main.c 	filename = NULL;
filename         2394 drivers/net/wireless/broadcom/b43/main.c 			filename = "b0g0initvals13";
filename         2396 drivers/net/wireless/broadcom/b43/main.c 			filename = "b0g0initvals5";
filename         2400 drivers/net/wireless/broadcom/b43/main.c 			filename = "n16initvals30";
filename         2402 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0initvals25";
filename         2404 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0initvals24";
filename         2406 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0initvals16"; /* What about n0initvals22? */
filename         2408 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0initvals16";
filename         2410 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0initvals11";
filename         2414 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0initvals16";
filename         2416 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0initvals15";
filename         2418 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0initvals14";
filename         2420 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0initvals13";
filename         2424 drivers/net/wireless/broadcom/b43/main.c 			filename = "ht0initvals29";
filename         2426 drivers/net/wireless/broadcom/b43/main.c 			filename = "ht0initvals26";
filename         2430 drivers/net/wireless/broadcom/b43/main.c 			filename = "lcn0initvals24";
filename         2434 drivers/net/wireless/broadcom/b43/main.c 			filename = "lcn400initvals33";
filename         2438 drivers/net/wireless/broadcom/b43/main.c 			filename = "ac1initvals42";
filename         2440 drivers/net/wireless/broadcom/b43/main.c 			filename = "ac0initvals40";
filename         2443 drivers/net/wireless/broadcom/b43/main.c 	if (!filename)
filename         2445 drivers/net/wireless/broadcom/b43/main.c 	err = b43_do_request_fw(ctx, filename, &fw->initvals, false);
filename         2450 drivers/net/wireless/broadcom/b43/main.c 	filename = NULL;
filename         2454 drivers/net/wireless/broadcom/b43/main.c 			filename = "b0g0bsinitvals13";
filename         2456 drivers/net/wireless/broadcom/b43/main.c 			filename = "b0g0bsinitvals5";
filename         2460 drivers/net/wireless/broadcom/b43/main.c 			filename = "n16bsinitvals30";
filename         2462 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0bsinitvals25";
filename         2464 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0bsinitvals24";
filename         2466 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0bsinitvals16"; /* What about n0bsinitvals22? */
filename         2468 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0bsinitvals16";
filename         2470 drivers/net/wireless/broadcom/b43/main.c 			filename = "n0bsinitvals11";
filename         2474 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0bsinitvals16";
filename         2476 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0bsinitvals15";
filename         2478 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0bsinitvals14";
filename         2480 drivers/net/wireless/broadcom/b43/main.c 			filename = "lp0bsinitvals13";
filename         2484 drivers/net/wireless/broadcom/b43/main.c 			filename = "ht0bsinitvals29";
filename         2486 drivers/net/wireless/broadcom/b43/main.c 			filename = "ht0bsinitvals26";
filename         2490 drivers/net/wireless/broadcom/b43/main.c 			filename = "lcn0bsinitvals24";
filename         2494 drivers/net/wireless/broadcom/b43/main.c 			filename = "lcn400bsinitvals33";
filename         2498 drivers/net/wireless/broadcom/b43/main.c 			filename = "ac1bsinitvals42";
filename         2500 drivers/net/wireless/broadcom/b43/main.c 			filename = "ac0bsinitvals40";
filename         2503 drivers/net/wireless/broadcom/b43/main.c 	if (!filename)
filename         2505 drivers/net/wireless/broadcom/b43/main.c 	err = b43_do_request_fw(ctx, filename, &fw->initvals_band, false);
filename         1567 drivers/net/wireless/broadcom/b43legacy/main.c 	const char *filename;
filename         1572 drivers/net/wireless/broadcom/b43legacy/main.c 			filename = "ucode2";
filename         1574 drivers/net/wireless/broadcom/b43legacy/main.c 			filename = "ucode4";
filename         1576 drivers/net/wireless/broadcom/b43legacy/main.c 			filename = "ucode5";
filename         1577 drivers/net/wireless/broadcom/b43legacy/main.c 		err = do_request_fw(dev, filename, &fw->ucode, true);
filename         1583 drivers/net/wireless/broadcom/b43legacy/main.c 			filename = "pcm4";
filename         1585 drivers/net/wireless/broadcom/b43legacy/main.c 			filename = "pcm5";
filename         1586 drivers/net/wireless/broadcom/b43legacy/main.c 		err = do_request_fw(dev, filename, &fw->pcm, false);
filename         1595 drivers/net/wireless/broadcom/b43legacy/main.c 				filename = "b0g0initvals5";
filename         1597 drivers/net/wireless/broadcom/b43legacy/main.c 				filename = "b0g0initvals2";
filename         1604 drivers/net/wireless/broadcom/b43legacy/main.c 		err = do_request_fw(dev, filename, &fw->initvals, false);
filename         1613 drivers/net/wireless/broadcom/b43legacy/main.c 				filename = "b0g0bsinitvals5";
filename         1615 drivers/net/wireless/broadcom/b43legacy/main.c 				filename = NULL;
filename         1617 drivers/net/wireless/broadcom/b43legacy/main.c 				filename = NULL;
filename         1624 drivers/net/wireless/broadcom/b43legacy/main.c 		err = do_request_fw(dev, filename, &fw->initvals_band, false);
filename          178 drivers/net/xen-netback/xenbus.c 		char filename[sizeof("io_ring_q") + 4];
filename          180 drivers/net/xen-netback/xenbus.c 		snprintf(filename, sizeof(filename), "io_ring_q%d", i);
filename          181 drivers/net/xen-netback/xenbus.c 		debugfs_create_file(filename, 0600, vif->xenvif_dbg_root,
filename          742 drivers/pcmcia/ds.c static int pcmcia_load_firmware(struct pcmcia_device *dev, char *filename)
filename          750 drivers/pcmcia/ds.c 	if (!filename)
filename          753 drivers/pcmcia/ds.c 	dev_dbg(&dev->dev, "trying to load CIS file %s\n", filename);
filename          755 drivers/pcmcia/ds.c 	if (request_firmware(&fw, filename, &dev->dev) == 0) {
filename          793 drivers/pcmcia/ds.c 				       char *filename)
filename           27 drivers/staging/comedi/kcomedilib/kcomedilib_main.c struct comedi_device *comedi_open(const char *filename)
filename           32 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	if (strncmp(filename, "/dev/comedi", 11) != 0)
filename           35 drivers/staging/comedi/kcomedilib/kcomedilib_main.c 	if (kstrtouint(filename + 11, 0, &minor))
filename          119 drivers/staging/gs_fpgaboot/gs_fpgaboot.c 	pr_info("file: %s\n", fimage->filename);
filename          139 drivers/staging/gs_fpgaboot/gs_fpgaboot.c 	err = readinfo_bitstream(bitdata, fimage->filename, MAX_STR, &offset);
filename           35 drivers/staging/gs_fpgaboot/gs_fpgaboot.h 	char	filename[MAX_STR];
filename         1221 drivers/tty/serial/ucc_uart.c 			char filename[32];
filename         1231 drivers/tty/serial/ucc_uart.c 			sprintf(filename, "fsl_qe_ucode_uart_%u_%u%u.bin",
filename         1235 drivers/tty/serial/ucc_uart.c 				filename);
filename         1245 drivers/tty/serial/ucc_uart.c 				FW_ACTION_HOTPLUG, filename, &ofdev->dev,
filename         1250 drivers/tty/serial/ucc_uart.c 					filename);
filename         2752 drivers/usb/gadget/function/f_mass_storage.c 	if (!cfg->filename && !cfg->removable) {
filename         2789 drivers/usb/gadget/function/f_mass_storage.c 	if (cfg->filename) {
filename         2790 drivers/usb/gadget/function/f_mass_storage.c 		rc = fsg_lun_open(lun, cfg->filename);
filename         3459 drivers/usb/gadget/function/f_mass_storage.c 		lun->filename =
filename           88 drivers/usb/gadget/function/f_mass_storage.h 	const char *filename;
filename          178 drivers/usb/gadget/function/storage_common.c int fsg_lun_open(struct fsg_lun *curlun, const char *filename)
filename          193 drivers/usb/gadget/function/storage_common.c 		filp = filp_open(filename, O_RDWR | O_LARGEFILE, 0);
filename          198 drivers/usb/gadget/function/storage_common.c 		filp = filp_open(filename, O_RDONLY | O_LARGEFILE, 0);
filename          200 drivers/usb/gadget/function/storage_common.c 		LINFO(curlun, "unable to open backing file: %s\n", filename);
filename          209 drivers/usb/gadget/function/storage_common.c 		LINFO(curlun, "invalid file type: %s\n", filename);
filename          218 drivers/usb/gadget/function/storage_common.c 		LINFO(curlun, "file not readable: %s\n", filename);
filename          226 drivers/usb/gadget/function/storage_common.c 		LINFO(curlun, "unable to find file size: %s\n", filename);
filename          248 drivers/usb/gadget/function/storage_common.c 			LINFO(curlun, "file too big: %s\n", filename);
filename          254 drivers/usb/gadget/function/storage_common.c 		LINFO(curlun, "file too small: %s\n", filename);
filename          268 drivers/usb/gadget/function/storage_common.c 	LDBG(curlun, "open backing file: %s\n", filename);
filename          206 drivers/usb/gadget/function/storage_common.h int fsg_lun_open(struct fsg_lun *curlun, const char *filename);
filename         1610 fs/binfmt_elf.c 		const char *filename;
filename         1615 fs/binfmt_elf.c 		filename = file_path(file, name_curpos, remaining);
filename         1616 fs/binfmt_elf.c 		if (IS_ERR(filename)) {
filename         1617 fs/binfmt_elf.c 			if (PTR_ERR(filename) == -ENAMETOOLONG) {
filename         1627 fs/binfmt_elf.c 		n = (name_curpos + remaining) - filename;
filename         1628 fs/binfmt_elf.c 		remaining = filename - name_curpos;
filename         1629 fs/binfmt_elf.c 		memmove(name_curpos, filename, n);
filename           71 fs/binfmt_em86.c 	retval = copy_strings_kernel(1, &bprm->filename, bprm);
filename          468 fs/binfmt_flat.c 		pr_info("Loading file: %s\n", bprm->filename);
filename          741 fs/binfmt_flat.c 			id ? "Lib" : "Load", bprm->filename,
filename          897 fs/binfmt_flat.c 	bprm.filename = buf;
filename          898 fs/binfmt_flat.c 	bprm.file = open_exec(bprm.filename);
filename          175 fs/cachefiles/internal.h 			   char *filename);
filename          178 fs/cachefiles/internal.h 				   struct dentry *dir, char *filename);
filename          865 fs/cachefiles/namei.c 					      char *filename)
filename          880 fs/cachefiles/namei.c 	victim = lookup_one_len(filename, dir, strlen(filename));
filename          951 fs/cachefiles/namei.c 		    char *filename)
filename          956 fs/cachefiles/namei.c 	_enter(",%pd/,%s", dir, filename);
filename          958 fs/cachefiles/namei.c 	victim = cachefiles_check_active(cache, dir, filename);
filename         1011 fs/cachefiles/namei.c 			    char *filename)
filename         1018 fs/cachefiles/namei.c 	victim = cachefiles_check_active(cache, dir, filename);
filename         1476 fs/ecryptfs/crypto.c ecryptfs_encrypt_filename(struct ecryptfs_filename *filename,
filename         1481 fs/ecryptfs/crypto.c 	filename->encrypted_filename = NULL;
filename         1482 fs/ecryptfs/crypto.c 	filename->encrypted_filename_size = 0;
filename         1490 fs/ecryptfs/crypto.c 			&filename->encrypted_filename_size,
filename         1492 fs/ecryptfs/crypto.c 			filename->filename_size);
filename         1497 fs/ecryptfs/crypto.c 			filename->encrypted_filename_size = 0;
filename         1500 fs/ecryptfs/crypto.c 		filename->encrypted_filename =
filename         1501 fs/ecryptfs/crypto.c 			kmalloc(filename->encrypted_filename_size, GFP_KERNEL);
filename         1502 fs/ecryptfs/crypto.c 		if (!filename->encrypted_filename) {
filename         1506 fs/ecryptfs/crypto.c 		remaining_bytes = filename->encrypted_filename_size;
filename         1507 fs/ecryptfs/crypto.c 		rc = ecryptfs_write_tag_70_packet(filename->encrypted_filename,
filename         1511 fs/ecryptfs/crypto.c 						  filename->filename,
filename         1512 fs/ecryptfs/crypto.c 						  filename->filename_size);
filename         1517 fs/ecryptfs/crypto.c 			kfree(filename->encrypted_filename);
filename         1518 fs/ecryptfs/crypto.c 			filename->encrypted_filename = NULL;
filename         1519 fs/ecryptfs/crypto.c 			filename->encrypted_filename_size = 0;
filename         1522 fs/ecryptfs/crypto.c 		filename->encrypted_filename_size = packet_size;
filename         1921 fs/ecryptfs/crypto.c 		struct ecryptfs_filename *filename;
filename         1923 fs/ecryptfs/crypto.c 		filename = kzalloc(sizeof(*filename), GFP_KERNEL);
filename         1924 fs/ecryptfs/crypto.c 		if (!filename) {
filename         1928 fs/ecryptfs/crypto.c 		filename->filename = (char *)name;
filename         1929 fs/ecryptfs/crypto.c 		filename->filename_size = name_size;
filename         1930 fs/ecryptfs/crypto.c 		rc = ecryptfs_encrypt_filename(filename, mount_crypt_stat);
filename         1934 fs/ecryptfs/crypto.c 			kfree(filename);
filename         1939 fs/ecryptfs/crypto.c 			filename->encrypted_filename,
filename         1940 fs/ecryptfs/crypto.c 			filename->encrypted_filename_size);
filename         1954 fs/ecryptfs/crypto.c 			kfree(filename->encrypted_filename);
filename         1955 fs/ecryptfs/crypto.c 			kfree(filename);
filename         1968 fs/ecryptfs/crypto.c 			    filename->encrypted_filename,
filename         1969 fs/ecryptfs/crypto.c 			    filename->encrypted_filename_size);
filename         1985 fs/ecryptfs/crypto.c 		kfree(filename->encrypted_filename);
filename         1986 fs/ecryptfs/crypto.c 		kfree(filename);
filename          201 fs/ecryptfs/ecryptfs_kernel.h 	char *filename;
filename          709 fs/ecryptfs/ecryptfs_kernel.h 			     char *filename, size_t filename_size);
filename          711 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size,
filename          621 fs/ecryptfs/keystore.c 			     char *filename, size_t filename_size)
filename          789 fs/ecryptfs/keystore.c 	memcpy(&s->block_aligned_filename[s->num_rand_bytes], filename,
filename          891 fs/ecryptfs/keystore.c ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size,
filename          902 fs/ecryptfs/keystore.c 	(*filename) = NULL;
filename         1070 fs/ecryptfs/keystore.c 	(*filename) = kmalloc(((*filename_size) + 1), GFP_KERNEL);
filename         1071 fs/ecryptfs/keystore.c 	if (!(*filename)) {
filename         1075 fs/ecryptfs/keystore.c 	memcpy((*filename), &s->decrypted_filename[s->i], (*filename_size));
filename         1076 fs/ecryptfs/keystore.c 	(*filename)[(*filename_size)] = '\0';
filename         1085 fs/ecryptfs/keystore.c 		(*filename) = NULL;
filename          125 fs/exec.c      	struct filename *tmp = getname(library);
filename          839 fs/exec.c      static struct file *do_open_execat(int fd, struct filename *name, int flags)
filename          885 fs/exec.c      	struct filename *filename = getname_kernel(name);
filename          886 fs/exec.c      	struct file *f = ERR_CAST(filename);
filename          888 fs/exec.c      	if (!IS_ERR(filename)) {
filename          889 fs/exec.c      		f = do_open_execat(AT_FDCWD, filename, 0);
filename          890 fs/exec.c      		putname(filename);
filename         1378 fs/exec.c      	__set_task_comm(current, kbasename(bprm->filename), true);
filename         1434 fs/exec.c      	if (bprm->interp != bprm->filename)
filename         1442 fs/exec.c      	if (bprm->interp != bprm->filename)
filename         1718 fs/exec.c      static int __do_execve_file(int fd, struct filename *filename,
filename         1728 fs/exec.c      	if (IS_ERR(filename))
filename         1729 fs/exec.c      		return PTR_ERR(filename);
filename         1764 fs/exec.c      		file = do_open_execat(fd, filename, flags);
filename         1772 fs/exec.c      	if (!filename) {
filename         1773 fs/exec.c      		bprm->filename = "none";
filename         1774 fs/exec.c      	} else if (fd == AT_FDCWD || filename->name[0] == '/') {
filename         1775 fs/exec.c      		bprm->filename = filename->name;
filename         1777 fs/exec.c      		if (filename->name[0] == '\0')
filename         1781 fs/exec.c      					    fd, filename->name);
filename         1793 fs/exec.c      		bprm->filename = pathbuf;
filename         1795 fs/exec.c      	bprm->interp = bprm->filename;
filename         1809 fs/exec.c      	retval = copy_strings_kernel(1, &bprm->filename, bprm);
filename         1834 fs/exec.c      	if (filename)
filename         1835 fs/exec.c      		putname(filename);
filename         1858 fs/exec.c      	if (filename)
filename         1859 fs/exec.c      		putname(filename);
filename         1863 fs/exec.c      static int do_execveat_common(int fd, struct filename *filename,
filename         1868 fs/exec.c      	return __do_execve_file(fd, filename, argv, envp, flags, NULL);
filename         1879 fs/exec.c      int do_execve(struct filename *filename,
filename         1885 fs/exec.c      	return do_execveat_common(AT_FDCWD, filename, argv, envp, 0);
filename         1888 fs/exec.c      int do_execveat(int fd, struct filename *filename,
filename         1896 fs/exec.c      	return do_execveat_common(fd, filename, argv, envp, flags);
filename         1900 fs/exec.c      static int compat_do_execve(struct filename *filename,
filename         1912 fs/exec.c      	return do_execveat_common(AT_FDCWD, filename, argv, envp, 0);
filename         1915 fs/exec.c      static int compat_do_execveat(int fd, struct filename *filename,
filename         1928 fs/exec.c      	return do_execveat_common(fd, filename, argv, envp, flags);
filename         1957 fs/exec.c      		const char __user *, filename,
filename         1961 fs/exec.c      	return do_execve(getname(filename), argv, envp);
filename         1965 fs/exec.c      		int, fd, const char __user *, filename,
filename         1973 fs/exec.c      			   getname_flags(filename, lookup_flags, NULL),
filename         1978 fs/exec.c      COMPAT_SYSCALL_DEFINE3(execve, const char __user *, filename,
filename         1982 fs/exec.c      	return compat_do_execve(getname(filename), argv, envp);
filename         1986 fs/exec.c      		       const char __user *, filename,
filename         1994 fs/exec.c      				  getname_flags(filename, lookup_flags, NULL),
filename          184 fs/f2fs/dir.c  	entry.name = d->filename[bit_pos];
filename          197 fs/f2fs/dir.c  	if (fscrypt_match_name(fname, d->filename[bit_pos],
filename          592 fs/f2fs/dir.c  	memcpy(d->filename[bit_pos], name->name, name->len);
filename          930 fs/f2fs/dir.c  		de_name.name = d->filename[bit_pos];
filename          504 fs/f2fs/f2fs.h 	__u8 (*filename)[F2FS_SLOT_LEN];
filename          517 fs/f2fs/f2fs.h 	d->filename = t->filename;
filename          532 fs/f2fs/f2fs.h 	d->filename = t + bitmap_size + reserved_size +
filename          408 fs/f2fs/inline.c 	memcpy(dst.filename, src.filename, src.max * F2FS_SLOT_LEN);
filename          462 fs/f2fs/inline.c 		new_name.name = d.filename[bit_pos];
filename          134 fs/filesystems.c 	struct filename *name;
filename          258 fs/fs_parser.c 	struct filename *f;
filename         1935 fs/gfs2/dir.c  int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
filename         1941 fs/gfs2/dir.c  	dent = gfs2_dirent_search(&dip->i_inode, filename, gfs2_dirent_find, &bh);
filename           27 fs/gfs2/dir.h  				     const struct qstr *filename,
filename           29 fs/gfs2/dir.h  extern int gfs2_dir_check(struct inode *dir, const struct qstr *filename,
filename           31 fs/gfs2/dir.h  extern int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
filename           41 fs/gfs2/dir.h  extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
filename           47 fs/gfs2/dir.h  				      const struct qstr *filename,
filename           30 fs/gfs2/super.h extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
filename           62 fs/internal.h  extern int filename_lookup(int dfd, struct filename *name, unsigned flags,
filename           67 fs/internal.h  long do_mknodat(int dfd, const char __user *filename, umode_t mode,
filename           71 fs/internal.h  long do_unlinkat(int dfd, struct filename *name);
filename          123 fs/internal.h  extern struct file *do_filp_open(int dfd, struct filename *pathname,
filename          129 fs/internal.h  long do_faccessat(int dfd, const char __user *filename, int mode);
filename          130 fs/internal.h  int do_fchmodat(int dfd, const char __user *filename, umode_t mode);
filename          131 fs/internal.h  int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
filename          125 fs/namei.c     #define EMBEDDED_NAME_MAX	(PATH_MAX - offsetof(struct filename, iname))
filename          127 fs/namei.c     struct filename *
filename          128 fs/namei.c     getname_flags(const char __user *filename, int flags, int *empty)
filename          130 fs/namei.c     	struct filename *result;
filename          134 fs/namei.c     	result = audit_reusename(filename);
filename          149 fs/namei.c     	len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX);
filename          162 fs/namei.c     		const size_t size = offsetof(struct filename, iname[1]);
filename          176 fs/namei.c     		len = strncpy_from_user(kname, filename, PATH_MAX);
filename          200 fs/namei.c     	result->uptr = filename;
filename          206 fs/namei.c     struct filename *
filename          207 fs/namei.c     getname(const char __user * filename)
filename          209 fs/namei.c     	return getname_flags(filename, 0, NULL);
filename          212 fs/namei.c     struct filename *
filename          213 fs/namei.c     getname_kernel(const char * filename)
filename          215 fs/namei.c     	struct filename *result;
filename          216 fs/namei.c     	int len = strlen(filename) + 1;
filename          225 fs/namei.c     		const size_t size = offsetof(struct filename, iname[1]);
filename          226 fs/namei.c     		struct filename *tmp;
filename          239 fs/namei.c     	memcpy((char *)result->name, filename, len);
filename          248 fs/namei.c     void putname(struct filename *name)
filename          504 fs/namei.c     	struct filename	*name;
filename          511 fs/namei.c     static void set_nameidata(struct nameidata *p, int dfd, struct filename *name)
filename         2327 fs/namei.c     int filename_lookup(int dfd, struct filename *name, unsigned flags,
filename         2369 fs/namei.c     static struct filename *filename_parentat(int dfd, struct filename *name,
filename         2399 fs/namei.c     	struct filename *filename;
filename         2404 fs/namei.c     	filename = filename_parentat(AT_FDCWD, getname_kernel(name), 0, path,
filename         2406 fs/namei.c     	if (IS_ERR(filename))
filename         2407 fs/namei.c     		return ERR_CAST(filename);
filename         2410 fs/namei.c     		putname(filename);
filename         2419 fs/namei.c     	putname(filename);
filename         2700 fs/namei.c     filename_mountpoint(int dfd, struct filename *name, struct path *path,
filename         3550 fs/namei.c     struct file *do_filp_open(int dfd, struct filename *pathname,
filename         3572 fs/namei.c     	struct filename *filename;
filename         3581 fs/namei.c     	filename = getname_kernel(name);
filename         3582 fs/namei.c     	if (IS_ERR(filename))
filename         3583 fs/namei.c     		return ERR_CAST(filename);
filename         3585 fs/namei.c     	set_nameidata(&nd, -1, filename);
filename         3592 fs/namei.c     	putname(filename);
filename         3596 fs/namei.c     static struct dentry *filename_create(int dfd, struct filename *name,
filename         3736 fs/namei.c     long do_mknodat(int dfd, const char __user *filename, umode_t mode,
filename         3748 fs/namei.c     	dentry = user_path_create(dfd, filename, &path, lookup_flags);
filename         3780 fs/namei.c     SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, umode_t, mode,
filename         3783 fs/namei.c     	return do_mknodat(dfd, filename, mode, dev);
filename         3786 fs/namei.c     SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev)
filename         3788 fs/namei.c     	return do_mknodat(AT_FDCWD, filename, mode, dev);
filename         3895 fs/namei.c     	struct filename *name;
filename         4021 fs/namei.c     long do_unlinkat(int dfd, struct filename *name)
filename         4133 fs/namei.c     	struct filename *from;
filename         4520 fs/namei.c     	struct filename *from;
filename         4521 fs/namei.c     	struct filename *to;
filename         2359 fs/namespace.c SYSCALL_DEFINE3(open_tree, int, dfd, const char *, filename, unsigned, flags)
filename         2392 fs/namespace.c 	error = user_path_at(dfd, filename, lookup_flags, &path);
filename          459 fs/nfs/dir.c   	struct qstr filename = QSTR_INIT(entry->name, entry->len);
filename          471 fs/nfs/dir.c   	if (filename.len == 0)
filename          474 fs/nfs/dir.c   	if (strnlen(filename.name, filename.len) != filename.len)
filename          477 fs/nfs/dir.c   	if (strnchr(filename.name, filename.len, '/'))
filename          479 fs/nfs/dir.c   	if (filename.name[0] == '.') {
filename          480 fs/nfs/dir.c   		if (filename.len == 1)
filename          482 fs/nfs/dir.c   		if (filename.len == 2 && filename.name[1] == '.')
filename          485 fs/nfs/dir.c   	filename.hash = full_name_hash(parent, filename.name, filename.len);
filename          487 fs/nfs/dir.c   	dentry = d_lookup(parent, &filename);
filename          490 fs/nfs/dir.c   		dentry = d_alloc_parallel(parent, &filename, &wq);
filename          530 fs/notify/fanotify/fanotify_user.c static int fanotify_find_path(int dfd, const char __user *filename,
filename          537 fs/notify/fanotify/fanotify_user.c 		 dfd, filename, flags);
filename          539 fs/notify/fanotify/fanotify_user.c 	if (filename == NULL) {
filename          564 fs/notify/fanotify/fanotify_user.c 		ret = user_path_at(dfd, filename, lookup_flags, path);
filename          348 fs/open.c      long do_faccessat(int dfd, const char __user *filename, int mode)
filename          398 fs/open.c      	res = user_path_at(dfd, filename, lookup_flags, &path);
filename          443 fs/open.c      SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode)
filename          445 fs/open.c      	return do_faccessat(dfd, filename, mode);
filename          448 fs/open.c      SYSCALL_DEFINE2(access, const char __user *, filename, int, mode)
filename          450 fs/open.c      	return do_faccessat(AT_FDCWD, filename, mode);
filename          453 fs/open.c      int ksys_chdir(const char __user *filename)
filename          459 fs/open.c      	error = user_path_at(AT_FDCWD, filename, lookup_flags, &path);
filename          479 fs/open.c      SYSCALL_DEFINE1(chdir, const char __user *, filename)
filename          481 fs/open.c      	return ksys_chdir(filename);
filename          506 fs/open.c      int ksys_chroot(const char __user *filename)
filename          512 fs/open.c      	error = user_path_at(AT_FDCWD, filename, lookup_flags, &path);
filename          539 fs/open.c      SYSCALL_DEFINE1(chroot, const char __user *, filename)
filename          541 fs/open.c      	return ksys_chroot(filename);
filename          591 fs/open.c      int do_fchmodat(int dfd, const char __user *filename, umode_t mode)
filename          597 fs/open.c      	error = user_path_at(dfd, filename, lookup_flags, &path);
filename          609 fs/open.c      SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename,
filename          612 fs/open.c      	return do_fchmodat(dfd, filename, mode);
filename          615 fs/open.c      SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode)
filename          617 fs/open.c      	return do_fchmodat(AT_FDCWD, filename, mode);
filename          662 fs/open.c      int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
filename          676 fs/open.c      	error = user_path_at(dfd, filename, lookup_flags, &path);
filename          694 fs/open.c      SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user,
filename          697 fs/open.c      	return do_fchownat(dfd, filename, user, group, flag);
filename          700 fs/open.c      SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group)
filename          702 fs/open.c      	return do_fchownat(AT_FDCWD, filename, user, group, 0);
filename          705 fs/open.c      SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group)
filename          707 fs/open.c      	return do_fchownat(AT_FDCWD, filename, user, group,
filename         1037 fs/open.c      struct file *file_open_name(struct filename *name, int flags, umode_t mode)
filename         1055 fs/open.c      struct file *filp_open(const char *filename, int flags, umode_t mode)
filename         1057 fs/open.c      	struct filename *name = getname_kernel(filename);
filename         1069 fs/open.c      			    const char *filename, int flags, umode_t mode)
filename         1075 fs/open.c      	return do_file_open_root(dentry, mnt, filename, &op);
filename         1079 fs/open.c      long do_sys_open(int dfd, const char __user *filename, int flags, umode_t mode)
filename         1083 fs/open.c      	struct filename *tmp;
filename         1088 fs/open.c      	tmp = getname(filename);
filename         1107 fs/open.c      SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
filename         1112 fs/open.c      	return do_sys_open(AT_FDCWD, filename, flags, mode);
filename         1115 fs/open.c      SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags,
filename         1121 fs/open.c      	return do_sys_open(dfd, filename, flags, mode);
filename         1129 fs/open.c      COMPAT_SYSCALL_DEFINE3(open, const char __user *, filename, int, flags, umode_t, mode)
filename         1131 fs/open.c      	return do_sys_open(AT_FDCWD, filename, flags, mode);
filename         1138 fs/open.c      COMPAT_SYSCALL_DEFINE4(openat, int, dfd, const char __user *, filename, int, flags, umode_t, mode)
filename         1140 fs/open.c      	return do_sys_open(dfd, filename, flags, mode);
filename          793 fs/quota/quota.c 	struct filename *tmp = getname(special);
filename          168 fs/stat.c      int vfs_statx(int dfd, const char __user *filename, int flags,
filename          187 fs/stat.c      	error = user_path_at(dfd, filename, lookup_flags, &path);
filename          246 fs/stat.c      SYSCALL_DEFINE2(stat, const char __user *, filename,
filename          252 fs/stat.c      	error = vfs_stat(filename, &stat);
filename          259 fs/stat.c      SYSCALL_DEFINE2(lstat, const char __user *, filename,
filename          265 fs/stat.c      	error = vfs_lstat(filename, &stat);
filename          337 fs/stat.c      SYSCALL_DEFINE2(newstat, const char __user *, filename,
filename          341 fs/stat.c      	int error = vfs_stat(filename, &stat);
filename          348 fs/stat.c      SYSCALL_DEFINE2(newlstat, const char __user *, filename,
filename          354 fs/stat.c      	error = vfs_lstat(filename, &stat);
filename          362 fs/stat.c      SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename,
filename          368 fs/stat.c      	error = vfs_fstatat(dfd, filename, &stat, flag);
filename          478 fs/stat.c      SYSCALL_DEFINE2(stat64, const char __user *, filename,
filename          482 fs/stat.c      	int error = vfs_stat(filename, &stat);
filename          490 fs/stat.c      SYSCALL_DEFINE2(lstat64, const char __user *, filename,
filename          494 fs/stat.c      	int error = vfs_lstat(filename, &stat);
filename          513 fs/stat.c      SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename,
filename          519 fs/stat.c      	error = vfs_fstatat(dfd, filename, &stat, flag);
filename          572 fs/stat.c      		int, dfd, const char __user *, filename, unsigned, flags,
filename          584 fs/stat.c      	error = vfs_statx(dfd, filename, flags, &stat, mask);
filename          625 fs/stat.c      COMPAT_SYSCALL_DEFINE2(newstat, const char __user *, filename,
filename          631 fs/stat.c      	error = vfs_stat(filename, &stat);
filename          637 fs/stat.c      COMPAT_SYSCALL_DEFINE2(newlstat, const char __user *, filename,
filename          643 fs/stat.c      	error = vfs_lstat(filename, &stat);
filename          651 fs/stat.c      		       const char __user *, filename,
filename          657 fs/stat.c      	error = vfs_fstatat(dfd, filename, &stat, flag);
filename         1893 fs/unicode/mkutf8data.c static void file_fail(const char *filename)
filename         1895 fs/unicode/mkutf8data.c 	printf("Error parsing %s\n", filename);
filename         1899 fs/unicode/mkutf8data.c static void line_fail(const char *filename, const char *line)
filename         1901 fs/unicode/mkutf8data.c 	printf("Error parsing %s:%s\n", filename, line);
filename           88 fs/utimes.c    long do_utimes(int dfd, const char __user *filename, struct timespec64 *times,
filename          101 fs/utimes.c    	if (filename == NULL && dfd != AT_FDCWD) {
filename          121 fs/utimes.c    		error = user_path_at(dfd, filename, lookup_flags, &path);
filename          137 fs/utimes.c    SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename,
filename          153 fs/utimes.c    	return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags);
filename          163 fs/utimes.c    static long do_futimesat(int dfd, const char __user *filename,
filename          188 fs/utimes.c    	return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0);
filename          192 fs/utimes.c    SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename,
filename          195 fs/utimes.c    	return do_futimesat(dfd, filename, utimes);
filename          198 fs/utimes.c    SYSCALL_DEFINE2(utimes, char __user *, filename,
filename          201 fs/utimes.c    	return do_futimesat(AT_FDCWD, filename, utimes);
filename          204 fs/utimes.c    SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times)
filename          215 fs/utimes.c    	return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0);
filename          225 fs/utimes.c    SYSCALL_DEFINE2(utime32, const char __user *, filename,
filename          237 fs/utimes.c    	return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0);
filename          241 fs/utimes.c    SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_timespec32 __user *, t, int, flags)
filename          253 fs/utimes.c    	return do_utimes(dfd, filename, t ? tv : NULL, flags);
filename          257 fs/utimes.c    static long do_compat_futimesat(unsigned int dfd, const char __user *filename,
filename          274 fs/utimes.c    	return do_utimes(dfd, filename, t ? tv : NULL, 0);
filename          278 fs/utimes.c    		       const char __user *, filename,
filename          281 fs/utimes.c    	return do_compat_futimesat(dfd, filename, t);
filename          284 fs/utimes.c    SYSCALL_DEFINE2(utimes_time32, const char __user *, filename, struct old_timeval32 __user *, t)
filename          286 fs/utimes.c    	return do_compat_futimesat(AT_FDCWD, filename, t);
filename          314 fs/xfs/xfs_error.c 	const char		*filename,
filename          321 fs/xfs/xfs_error.c 			    tag, linenum, filename, failaddr);
filename          334 fs/xfs/xfs_error.c 	const char		*filename,
filename          340 fs/xfs/xfs_error.c 	xfs_error_report(tag, level, mp, filename, linenum, failaddr);
filename           12 fs/xfs/xfs_error.h 			const char *filename, int linenum,
filename           16 fs/xfs/xfs_error.h 			const char *filename, int linenum,
filename          297 include/acpi/acoutput.h #define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \
filename          301 include/acpi/acoutput.h 			function (level, line, filename, modulename, component, __VA_ARGS__); \
filename          305 include/acpi/acoutput.h #define ACPI_ACTUAL_DEBUG(level, line, filename, modulename, component, ...) \
filename          307 include/acpi/acoutput.h 		filename, modulename, component, __VA_ARGS__)
filename          309 include/acpi/acoutput.h #define ACPI_ACTUAL_DEBUG_RAW(level, line, filename, modulename, component, ...) \
filename          311 include/acpi/acoutput.h 		filename, modulename, component, __VA_ARGS__)
filename          125 include/linux/audit.h struct filename;
filename          268 include/linux/audit.h extern struct filename *__audit_reusename(const __user char *uptr);
filename          269 include/linux/audit.h extern void __audit_getname(struct filename *name);
filename          271 include/linux/audit.h extern void __audit_inode(struct filename *name, const struct dentry *dentry,
filename          318 include/linux/audit.h static inline struct filename *audit_reusename(const __user char *name)
filename          324 include/linux/audit.h static inline void audit_getname(struct filename *name)
filename          329 include/linux/audit.h static inline void audit_inode(struct filename *name,
filename          340 include/linux/audit.h static inline void audit_inode_parent_hidden(struct filename *name,
filename          541 include/linux/audit.h static inline struct filename *audit_reusename(const __user char *name)
filename          545 include/linux/audit.h static inline void audit_getname(struct filename *name)
filename          547 include/linux/audit.h static inline void __audit_inode(struct filename *name,
filename          555 include/linux/audit.h static inline void audit_inode(struct filename *name,
filename          562 include/linux/audit.h static inline void audit_inode_parent_hidden(struct filename *name,
filename           10 include/linux/binfmts.h struct filename;
filename           57 include/linux/binfmts.h 	const char * filename;	/* Name of binary as seen by procps */
filename          147 include/linux/binfmts.h extern int do_execve(struct filename *,
filename          150 include/linux/binfmts.h extern int do_execveat(int, struct filename *,
filename          572 include/linux/compat.h asmlinkage long compat_sys_openat(int dfd, const char __user *filename,
filename          644 include/linux/compat.h 				      const char __user *filename,
filename          784 include/linux/compat.h asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv,
filename          837 include/linux/compat.h asmlinkage long compat_sys_execveat(int dfd, const char __user *filename,
filename          865 include/linux/compat.h asmlinkage long compat_sys_open(const char __user *filename, int flags,
filename          874 include/linux/compat.h asmlinkage long compat_sys_newstat(const char __user *filename,
filename          876 include/linux/compat.h asmlinkage long compat_sys_newlstat(const char __user *filename,
filename           21 include/linux/dynamic_debug.h 	const char *filename;
filename           86 include/linux/dynamic_debug.h 		.filename = __FILE__,				\
filename          870 include/linux/efi.h 	efi_char16_t filename[1];
filename          540 include/linux/f2fs_fs.h 	__u8 filename[NR_DENTRY_IN_BLOCK][F2FS_SLOT_LEN];
filename         2525 include/linux/fs.h static_assert(offsetof(struct filename, iname) % sizeof(long) == 0);
filename         2532 include/linux/fs.h extern long do_sys_open(int dfd, const char __user *filename, int flags,
filename         2534 include/linux/fs.h extern struct file *file_open_name(struct filename *, int, umode_t);
filename         2547 include/linux/fs.h extern struct filename *getname_flags(const char __user *, int, int *);
filename         2548 include/linux/fs.h extern struct filename *getname(const char __user *);
filename         2549 include/linux/fs.h extern struct filename *getname_kernel(const char *);
filename         2550 include/linux/fs.h extern void putname(struct filename *name);
filename         3248 include/linux/fs.h static inline int vfs_stat(const char __user *filename, struct kstat *stat)
filename         3250 include/linux/fs.h 	return vfs_statx(AT_FDCWD, filename, AT_NO_AUTOMOUNT,
filename         3258 include/linux/fs.h static inline int vfs_fstatat(int dfd, const char __user *filename,
filename         3261 include/linux/fs.h 	return vfs_statx(dfd, filename, flags | AT_NO_AUTOMOUNT,
filename           70 include/linux/fs_context.h 		struct filename	*name;
filename          146 include/linux/relay.h 	struct dentry *(*create_buf_file)(const char *filename,
filename          394 include/linux/syscalls.h asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode,
filename          430 include/linux/syscalls.h asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
filename          431 include/linux/syscalls.h asmlinkage long sys_chdir(const char __user *filename);
filename          433 include/linux/syscalls.h asmlinkage long sys_chroot(const char __user *filename);
filename          435 include/linux/syscalls.h asmlinkage long sys_fchmodat(int dfd, const char __user * filename,
filename          437 include/linux/syscalls.h asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user,
filename          440 include/linux/syscalls.h asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
filename          513 include/linux/syscalls.h asmlinkage long sys_newfstatat(int dfd, const char __user *filename,
filename          518 include/linux/syscalls.h asmlinkage long sys_fstatat64(int dfd, const char __user *filename,
filename          544 include/linux/syscalls.h asmlinkage long sys_utimensat(int dfd, const char __user *filename,
filename          548 include/linux/syscalls.h 				const char __user *filename,
filename          857 include/linux/syscalls.h asmlinkage long sys_execve(const char __user *filename,
filename          968 include/linux/syscalls.h asmlinkage long sys_execveat(int dfd, const char __user *filename,
filename         1033 include/linux/syscalls.h asmlinkage long sys_open(const char __user *filename,
filename         1038 include/linux/syscalls.h asmlinkage long sys_mknod(const char __user *filename, umode_t mode,
filename         1040 include/linux/syscalls.h asmlinkage long sys_chmod(const char __user *filename, umode_t mode);
filename         1041 include/linux/syscalls.h asmlinkage long sys_chown(const char __user *filename,
filename         1045 include/linux/syscalls.h asmlinkage long sys_lchown(const char __user *filename,
filename         1047 include/linux/syscalls.h asmlinkage long sys_access(const char __user *filename, int mode);
filename         1052 include/linux/syscalls.h asmlinkage long sys_stat64(const char __user *filename,
filename         1054 include/linux/syscalls.h asmlinkage long sys_lstat64(const char __user *filename,
filename         1069 include/linux/syscalls.h asmlinkage long sys_newstat(const char __user *filename,
filename         1071 include/linux/syscalls.h asmlinkage long sys_newlstat(const char __user *filename,
filename         1082 include/linux/syscalls.h asmlinkage long sys_utime(char __user *filename,
filename         1084 include/linux/syscalls.h asmlinkage long sys_utimes(char __user *filename,
filename         1086 include/linux/syscalls.h asmlinkage long sys_futimesat(int dfd, const char __user *filename,
filename         1090 include/linux/syscalls.h 				     const char __user *filename,
filename         1092 include/linux/syscalls.h asmlinkage long sys_utime32(const char __user *filename,
filename         1094 include/linux/syscalls.h asmlinkage long sys_utimes_time32(const char __user *filename,
filename         1156 include/linux/syscalls.h asmlinkage long sys_chown16(const char __user *filename,
filename         1158 include/linux/syscalls.h asmlinkage long sys_lchown16(const char __user *filename,
filename         1185 include/linux/syscalls.h asmlinkage long sys_stat(const char __user *filename,
filename         1187 include/linux/syscalls.h asmlinkage long sys_lstat(const char __user *filename,
filename         1238 include/linux/syscalls.h int ksys_chroot(const char __user *filename);
filename         1240 include/linux/syscalls.h int ksys_chdir(const char __user *filename);
filename         1280 include/linux/syscalls.h extern long do_unlinkat(int dfd, struct filename *name);
filename         1310 include/linux/syscalls.h extern long do_mknodat(int dfd, const char __user *filename, umode_t mode,
filename         1313 include/linux/syscalls.h static inline long ksys_mknod(const char __user *filename, umode_t mode,
filename         1316 include/linux/syscalls.h 	return do_mknodat(AT_FDCWD, filename, mode, dev);
filename         1328 include/linux/syscalls.h extern int do_fchmodat(int dfd, const char __user *filename, umode_t mode);
filename         1330 include/linux/syscalls.h static inline int ksys_chmod(const char __user *filename, umode_t mode)
filename         1332 include/linux/syscalls.h 	return do_fchmodat(AT_FDCWD, filename, mode);
filename         1335 include/linux/syscalls.h extern long do_faccessat(int dfd, const char __user *filename, int mode);
filename         1337 include/linux/syscalls.h static inline long ksys_access(const char __user *filename, int mode)
filename         1339 include/linux/syscalls.h 	return do_faccessat(AT_FDCWD, filename, mode);
filename         1342 include/linux/syscalls.h extern int do_fchownat(int dfd, const char __user *filename, uid_t user,
filename         1345 include/linux/syscalls.h static inline long ksys_chown(const char __user *filename, uid_t user,
filename         1348 include/linux/syscalls.h 	return do_fchownat(AT_FDCWD, filename, user, group, 0);
filename         1351 include/linux/syscalls.h static inline long ksys_lchown(const char __user *filename, uid_t user,
filename         1354 include/linux/syscalls.h 	return do_fchownat(AT_FDCWD, filename, user, group,
filename         1377 include/linux/syscalls.h extern long do_sys_open(int dfd, const char __user *filename, int flags,
filename         1380 include/linux/syscalls.h static inline long ksys_open(const char __user *filename, int flags,
filename         1385 include/linux/syscalls.h 	return do_sys_open(AT_FDCWD, filename, flags, mode);
filename           43 include/linux/time.h extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags);
filename          596 include/linux/trace_events.h 			       u32 *fd_type, const char **filename,
filename           75 include/sound/sof/trace.h 	char filename[SOF_TRACE_FILENAME_SIZE];
filename          323 include/trace/events/sched.h 		__string(	filename,	bprm->filename	)
filename          329 include/trace/events/sched.h 		__assign_str(filename, bprm->filename);
filename          334 include/trace/events/sched.h 	TP_printk("filename=%s pid=%d old_pid=%d", __get_str(filename),
filename           19 include/uapi/linux/bcm933xx_hcs.h 	char filename[64];
filename          102 init/initramfs.c static long __init do_utime(char *filename, time64_t mtime)
filename          111 init/initramfs.c 	return do_utimes(AT_FDCWD, filename, t, AT_SYMLINK_NOFOLLOW);
filename          789 ipc/mqueue.c   			umode_t mode, struct filename *name,
filename          820 ipc/mqueue.c   	struct filename *name;
filename          877 ipc/mqueue.c   	struct filename *name;
filename          193 kernel/acct.c  static int acct_on(struct filename *pathname)
filename          281 kernel/acct.c  		struct filename *tmp = getname(name);
filename           70 kernel/audit.h 	struct filename		*name;
filename         1851 kernel/auditsc.c struct filename *
filename         1875 kernel/auditsc.c void __audit_getname(struct filename *name)
filename         1944 kernel/auditsc.c void __audit_inode(struct filename *name, const struct dentry *dentry,
filename          382 kernel/bpf/inode.c static int bpf_obj_do_pin(const struct filename *pathname, void *raw,
filename          424 kernel/bpf/inode.c 	struct filename *pname;
filename          447 kernel/bpf/inode.c static void *bpf_obj_do_get(const struct filename *pathname,
filename          482 kernel/bpf/inode.c 	struct filename *pname;
filename         9344 kernel/events/core.c 	char *start, *orig, *filename = NULL;
filename         9409 kernel/events/core.c 				filename = match_strdup(&args[fpos]);
filename         9410 kernel/events/core.c 				if (!filename) {
filename         9442 kernel/events/core.c 				if (!filename)
filename         9458 kernel/events/core.c 				ret = kern_path(filename, LOOKUP_FOLLOW,
filename         9463 kernel/events/core.c 				kfree(filename);
filename         9464 kernel/events/core.c 				filename = NULL;
filename         9489 kernel/events/core.c 	kfree(filename);
filename           61 kernel/gcov/clang.c 	const char *filename;
filename          111 kernel/gcov/clang.c 	current_info->filename = orig_filename;
filename          163 kernel/gcov/clang.c 	return info->filename;
filename          221 kernel/gcov/clang.c 	return within_module((unsigned long)info->filename, mod);
filename          342 kernel/gcov/clang.c 	dup->filename = kstrdup(info->filename, GFP_KERNEL);
filename          343 kernel/gcov/clang.c 	if (!dup->filename)
filename          375 kernel/gcov/clang.c 	kfree(info->filename);
filename          330 kernel/gcov/fs.c static char *get_link_target(const char *filename, const struct gcov_link *ext)
filename          335 kernel/gcov/fs.c 	if (strncmp(filename, objtree, strlen(objtree)) == 0) {
filename          336 kernel/gcov/fs.c 		rel = filename + strlen(objtree) + 1;
filename          343 kernel/gcov/fs.c 		result = link_target(NULL, filename, ext->ext);
filename          566 kernel/gcov/fs.c 	char *filename;
filename          572 kernel/gcov/fs.c 	filename = kstrdup(gcov_info_filename(info), GFP_KERNEL);
filename          573 kernel/gcov/fs.c 	if (!filename)
filename          577 kernel/gcov/fs.c 	for (curr = filename; (next = strchr(curr, '/')); curr = next + 1) {
filename          602 kernel/gcov/fs.c 	kfree(filename);
filename           77 kernel/gcov/gcc_3_4.c 	const char			*filename;
filename           90 kernel/gcov/gcc_3_4.c 	return info->filename;
filename          268 kernel/gcov/gcc_3_4.c 	dup->filename		= kstrdup(info->filename, GFP_KERNEL);
filename          269 kernel/gcov/gcc_3_4.c 	if (!dup->filename)
filename          307 kernel/gcov/gcc_3_4.c 	kfree(info->filename);
filename           91 kernel/gcov/gcc_4_7.c 	const char *filename;
filename          103 kernel/gcov/gcc_4_7.c 	return info->filename;
filename          283 kernel/gcov/gcc_4_7.c 	dup->filename = NULL;
filename          286 kernel/gcov/gcc_4_7.c 	dup->filename = kstrdup(info->filename, GFP_KERNEL);
filename          287 kernel/gcov/gcc_4_7.c 	if (!dup->filename)
filename          362 kernel/gcov/gcc_4_7.c 	kfree(info->filename);
filename          304 kernel/relay.c static struct dentry *create_buf_file_default_callback(const char *filename,
filename          439 kernel/trace/blktrace.c static struct dentry *blk_create_buf_file_callback(const char *filename,
filename          445 kernel/trace/blktrace.c 	return debugfs_create_file(filename, mode, parent, buf,
filename           60 kernel/trace/trace_uprobe.c 	char				*filename;
filename          293 kernel/trace/trace_uprobe.c 	len = strlen(tu->filename);
filename          294 kernel/trace/trace_uprobe.c 	if (strncmp(tu->filename, argv[0], len) || argv[0][len] != ':')
filename          371 kernel/trace/trace_uprobe.c 	kfree(tu->filename);
filename          537 kernel/trace/trace_uprobe.c 	char *arg, *filename, *rctr, *rctr_end, *tmp;
filename          566 kernel/trace/trace_uprobe.c 	filename = kstrdup(argv[1], GFP_KERNEL);
filename          567 kernel/trace/trace_uprobe.c 	if (!filename)
filename          571 kernel/trace/trace_uprobe.c 	arg = strrchr(filename, ':');
filename          573 kernel/trace/trace_uprobe.c 		kfree(filename);
filename          581 kernel/trace/trace_uprobe.c 	ret = kern_path(filename, LOOKUP_FOLLOW, &path);
filename          584 kernel/trace/trace_uprobe.c 		kfree(filename);
filename          601 kernel/trace/trace_uprobe.c 			trace_probe_log_err(rctr_end - filename,
filename          606 kernel/trace/trace_uprobe.c 			trace_probe_log_err(rctr_end + 1 - filename,
filename          615 kernel/trace/trace_uprobe.c 			trace_probe_log_err(rctr - filename, BAD_REFCNT);
filename          623 kernel/trace/trace_uprobe.c 		trace_probe_log_err(arg - filename, BAD_UPROBE_OFFS);
filename          638 kernel/trace/trace_uprobe.c 		tail = kstrdup(kbasename(filename), GFP_KERNEL);
filename          666 kernel/trace/trace_uprobe.c 	tu->filename = filename;
filename          701 kernel/trace/trace_uprobe.c 	kfree(filename);
filename          732 kernel/trace/trace_uprobe.c 			trace_probe_name(&tu->tp), tu->filename,
filename          805 kernel/trace/trace_uprobe.c 	seq_printf(m, "  %s %-44s %15lu\n", tu->filename,
filename         1398 kernel/trace/trace_uprobe.c 			const char **filename, u64 *probe_offset,
filename         1414 kernel/trace/trace_uprobe.c 	*filename = tu->filename;
filename         1590 kernel/trace/trace_uprobe.c 	tu->filename = kstrdup(name, GFP_KERNEL);
filename           23 kernel/uid16.c SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
filename           25 kernel/uid16.c 	return ksys_chown(filename, low2highuid(user), low2highgid(group));
filename           28 kernel/uid16.c SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
filename           30 kernel/uid16.c 	return ksys_lchown(filename, low2highuid(user), low2highgid(group));
filename           53 lib/dynamic_debug.c 	const char *filename;
filename          128 lib/dynamic_debug.c 		 query->filename ? query->filename : "",
filename          162 lib/dynamic_debug.c 			if (query->filename &&
filename          163 lib/dynamic_debug.c 			    !match_wildcard(query->filename, dp->filename) &&
filename          164 lib/dynamic_debug.c 			    !match_wildcard(query->filename,
filename          165 lib/dynamic_debug.c 					   kbasename(dp->filename)) &&
filename          166 lib/dynamic_debug.c 			    !match_wildcard(query->filename,
filename          167 lib/dynamic_debug.c 					   trim_prefix(dp->filename)))
filename          202 lib/dynamic_debug.c 				 trim_prefix(dp->filename), dp->lineno,
filename          341 lib/dynamic_debug.c 			rc = check_set(&query->filename, words[i+1], "file");
filename          830 lib/dynamic_debug.c 		   trim_prefix(dp->filename), dp->lineno,
filename         1026 lib/dynamic_debug.c 			+ strlen(iter->filename) + strlen(iter->format);
filename           66 mm/kasan/kasan.h 	const char *filename;
filename         2524 mm/swapfile.c  	struct filename *pathname;
filename         3101 mm/swapfile.c  	struct filename *name;
filename          191 samples/bpf/cpustat_user.c 	char filename[256];
filename          194 samples/bpf/cpustat_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          196 samples/bpf/cpustat_user.c 	if (load_bpf_file(filename)) {
filename           84 samples/bpf/lathist_user.c 	char filename[256];
filename           86 samples/bpf/lathist_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           88 samples/bpf/lathist_user.c 	if (load_bpf_file(filename)) {
filename          433 samples/bpf/map_perf_test_user.c 	char filename[256];
filename          436 samples/bpf/map_perf_test_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          451 samples/bpf/map_perf_test_user.c 	if (load_bpf_file_fixup_map(filename, fixup_map)) {
filename           99 samples/bpf/offwaketime_user.c 	char filename[256];
filename          102 samples/bpf/offwaketime_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          113 samples/bpf/offwaketime_user.c 	if (load_bpf_file(filename)) {
filename          137 samples/bpf/sampleip_user.c 	char filename[256];
filename          174 samples/bpf/sampleip_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          175 samples/bpf/sampleip_user.c 	if (load_bpf_file(filename)) {
filename           15 samples/bpf/sockex1_user.c 	char filename[256];
filename           19 samples/bpf/sockex1_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           21 samples/bpf/sockex1_user.c 	if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER,
filename           22 samples/bpf/sockex2_user.c 	char filename[256];
filename           26 samples/bpf/sockex2_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           29 samples/bpf/sockex2_user.c 	if (bpf_prog_load(filename, BPF_PROG_TYPE_SOCKET_FILTER,
filename           34 samples/bpf/sockex3_user.c 	char filename[256];
filename           40 samples/bpf/sockex3_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           43 samples/bpf/sockex3_user.c 	if (load_bpf_file(filename)) {
filename           16 samples/bpf/spintest_user.c 	char filename[256];
filename           20 samples/bpf/spintest_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           28 samples/bpf/spintest_user.c 	if (load_bpf_file(filename)) {
filename           50 samples/bpf/syscall_tp_user.c static int test(char *filename, int num_progs)
filename           55 samples/bpf/syscall_tp_user.c 		if (load_bpf_file(filename)) {
filename           70 samples/bpf/syscall_tp_user.c 	fd = open(filename, O_RDONLY);
filename           90 samples/bpf/syscall_tp_user.c 	char filename[256];
filename          105 samples/bpf/syscall_tp_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          107 samples/bpf/syscall_tp_user.c 	return test(filename, num_progs);
filename          295 samples/bpf/task_fd_query_user.c 	char filename[256], buf[256];
filename          298 samples/bpf/task_fd_query_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          309 samples/bpf/task_fd_query_user.c 	if (load_bpf_file(filename)) {
filename           19 samples/bpf/test_current_task_under_cgroup_user.c 	char filename[256];
filename           21 samples/bpf/test_current_task_under_cgroup_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           22 samples/bpf/test_current_task_under_cgroup_user.c 	if (load_bpf_file(filename)) {
filename          116 samples/bpf/test_map_in_map_user.c 	char filename[256];
filename          120 samples/bpf/test_map_in_map_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          122 samples/bpf/test_map_in_map_user.c 	if (load_bpf_file(filename)) {
filename          129 samples/bpf/test_overhead_user.c 	char filename[256];
filename          146 samples/bpf/test_overhead_user.c 		snprintf(filename, sizeof(filename),
filename          148 samples/bpf/test_overhead_user.c 		if (load_bpf_file(filename)) {
filename          158 samples/bpf/test_overhead_user.c 		snprintf(filename, sizeof(filename),
filename          160 samples/bpf/test_overhead_user.c 		if (load_bpf_file(filename)) {
filename          170 samples/bpf/test_overhead_user.c 		snprintf(filename, sizeof(filename),
filename          172 samples/bpf/test_overhead_user.c 		if (load_bpf_file(filename)) {
filename           19 samples/bpf/test_probe_write_user_user.c 	char filename[256];
filename           26 samples/bpf/test_probe_write_user_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           28 samples/bpf/test_probe_write_user_user.c 	if (load_bpf_file(filename)) {
filename          285 samples/bpf/trace_event_user.c 	char filename[256];
filename          287 samples/bpf/trace_event_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          298 samples/bpf/trace_event_user.c 	if (load_bpf_file(filename)) {
filename           61 samples/bpf/trace_output_user.c 	char filename[256];
filename           65 samples/bpf/trace_output_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           67 samples/bpf/trace_output_user.c 	if (load_bpf_file(filename)) {
filename           11 samples/bpf/tracex1_user.c 	char filename[256];
filename           13 samples/bpf/tracex1_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           15 samples/bpf/tracex1_user.c 	if (load_bpf_file(filename)) {
filename          118 samples/bpf/tracex2_user.c 	char filename[256];
filename          123 samples/bpf/tracex2_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          141 samples/bpf/tracex2_user.c 	if (load_bpf_file(filename)) {
filename          112 samples/bpf/tracex3_user.c 	char filename[256];
filename          115 samples/bpf/tracex3_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          122 samples/bpf/tracex3_user.c 	if (load_bpf_file(filename)) {
filename           53 samples/bpf/tracex4_user.c 	char filename[256];
filename           56 samples/bpf/tracex4_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           63 samples/bpf/tracex4_user.c 	if (load_bpf_file(filename)) {
filename           31 samples/bpf/tracex5_user.c 	char filename[256];
filename           34 samples/bpf/tracex5_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           37 samples/bpf/tracex5_user.c 	if (load_bpf_file(filename)) {
filename          177 samples/bpf/tracex6_user.c 	char filename[256];
filename          179 samples/bpf/tracex6_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          182 samples/bpf/tracex6_user.c 	if (load_bpf_file(filename)) {
filename           12 samples/bpf/tracex7_user.c 	char filename[256];
filename           16 samples/bpf/tracex7_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename           18 samples/bpf/tracex7_user.c 	if (load_bpf_file(filename)) {
filename           92 samples/bpf/xdp1_user.c 	char filename[256];
filename          128 samples/bpf/xdp1_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          129 samples/bpf/xdp1_user.c 	prog_load_attr.file = filename;
filename           95 samples/bpf/xdp_adjust_tail_user.c 	char filename[256];
filename          147 samples/bpf/xdp_adjust_tail_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          148 samples/bpf/xdp_adjust_tail_user.c 	prog_load_attr.file = filename;
filename           80 samples/bpf/xdp_fwd_user.c 	char filename[PATH_MAX];
filename          106 samples/bpf/xdp_fwd_user.c 		snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          107 samples/bpf/xdp_fwd_user.c 		prog_load_attr.file = filename;
filename          109 samples/bpf/xdp_fwd_user.c 		if (access(filename, O_RDONLY) < 0) {
filename          111 samples/bpf/xdp_fwd_user.c 				filename, strerror(errno));
filename          682 samples/bpf/xdp_redirect_cpu_user.c 	char filename[256];
filename          699 samples/bpf/xdp_redirect_cpu_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          700 samples/bpf/xdp_redirect_cpu_user.c 	prog_load_attr.file = filename;
filename          110 samples/bpf/xdp_redirect_map_user.c 	char filename[256];
filename          150 samples/bpf/xdp_redirect_map_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          151 samples/bpf/xdp_redirect_map_user.c 	prog_load_attr.file = filename;
filename          110 samples/bpf/xdp_redirect_user.c 	char filename[256];
filename          151 samples/bpf/xdp_redirect_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          152 samples/bpf/xdp_redirect_user.c 	prog_load_attr.file = filename;
filename          636 samples/bpf/xdp_router_ipv4_user.c 	char filename[256];
filename          641 samples/bpf/xdp_router_ipv4_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          642 samples/bpf/xdp_router_ipv4_user.c 	prog_load_attr.file = filename;
filename          471 samples/bpf/xdp_rxq_info_user.c 	char filename[256];
filename          481 samples/bpf/xdp_rxq_info_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          482 samples/bpf/xdp_rxq_info_user.c 	prog_load_attr.file = filename;
filename          122 samples/bpf/xdp_sample_pkts_user.c 	char filename[256];
filename          146 samples/bpf/xdp_sample_pkts_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          147 samples/bpf/xdp_sample_pkts_user.c 	prog_load_attr.file = filename;
filename          168 samples/bpf/xdp_tx_iptunnel_user.c 	char filename[256];
filename          264 samples/bpf/xdp_tx_iptunnel_user.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          265 samples/bpf/xdp_tx_iptunnel_user.c 	prog_load_attr.file = filename;
filename           17 samples/mic/mpssd/sysfs.c 	char filename[PATH_MAX];
filename           24 samples/mic/mpssd/sysfs.c 		snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry);
filename           26 samples/mic/mpssd/sysfs.c 		snprintf(filename, PATH_MAX,
filename           29 samples/mic/mpssd/sysfs.c 	fd = open(filename, O_RDONLY);
filename           32 samples/mic/mpssd/sysfs.c 			filename, strerror(errno));
filename           39 samples/mic/mpssd/sysfs.c 			filename, strerror(errno));
filename           59 samples/mic/mpssd/sysfs.c 	char filename[PATH_MAX];
filename           64 samples/mic/mpssd/sysfs.c 		snprintf(filename, PATH_MAX, "%s/%s", MICSYSFSDIR, entry);
filename           66 samples/mic/mpssd/sysfs.c 		snprintf(filename, PATH_MAX, "%s/%s/%s",
filename           71 samples/mic/mpssd/sysfs.c 	fd = open(filename, O_RDWR);
filename           75 samples/mic/mpssd/sysfs.c 			filename, strerror(errno));
filename           83 samples/mic/mpssd/sysfs.c 				filename, strerror(errno));
filename           40 samples/vfs/test-statx.c ssize_t statx(int dfd, const char *filename, unsigned flags,
filename           43 samples/vfs/test-statx.c 	return syscall(__NR_statx, dfd, filename, flags, mask, buffer);
filename          200 scripts/asn1_compiler.c static const char *filename;
filename          535 scripts/asn1_compiler.c 				filename, lineno, *p);
filename          590 scripts/asn1_compiler.c 	filename = argv[1];
filename          594 scripts/asn1_compiler.c 	fd = open(filename, O_RDONLY);
filename          596 scripts/asn1_compiler.c 		perror(filename);
filename          601 scripts/asn1_compiler.c 		perror(filename);
filename          611 scripts/asn1_compiler.c 		perror(filename);
filename          616 scripts/asn1_compiler.c 		perror(filename);
filename          621 scripts/asn1_compiler.c 		fprintf(stderr, "%s: Short read\n", filename);
filename          758 scripts/asn1_compiler.c 		fprintf(stderr, "%s: No defined types\n", filename);
filename          824 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename          892 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename          900 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename          915 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename         1016 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename         1066 scripts/asn1_compiler.c 			filename, cursor->line, cursor->content);
filename         1084 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename         1125 scripts/asn1_compiler.c 				filename, cursor->line, cursor->content);
filename         1136 scripts/asn1_compiler.c 		filename, cursor->line, cursor->content);
filename         1140 scripts/asn1_compiler.c 	fprintf(stderr, "%s: Unexpectedly hit EOF\n", filename);
filename         1155 scripts/asn1_compiler.c 			filename, cursor->line, cursor->content);
filename         1164 scripts/asn1_compiler.c 			filename, cursor->line);
filename         1197 scripts/asn1_compiler.c 			filename, cursor->line, cursor->content);
filename         1206 scripts/asn1_compiler.c 	fprintf(stderr, "%s: Unexpectedly hit EOF\n", filename);
filename          266 scripts/basic/fixdep.c static void *read_file(const char *filename)
filename          272 scripts/basic/fixdep.c 	fd = open(filename, O_RDONLY);
filename          275 scripts/basic/fixdep.c 		perror(filename);
filename          280 scripts/basic/fixdep.c 		perror(filename);
filename          236 scripts/dtc/fdtget.c static int do_fdtget(struct display_info *disp, const char *filename,
filename          243 scripts/dtc/fdtget.c 	blob = utilfdt_read(filename);
filename          293 scripts/dtc/fdtget.c 	char *filename = NULL;
filename          334 scripts/dtc/fdtget.c 		filename = argv[optind++];
filename          335 scripts/dtc/fdtget.c 	if (!filename)
filename          349 scripts/dtc/fdtget.c 	if (do_fdtget(&disp, filename, argv, argc, args_per_step))
filename          221 scripts/dtc/fdtput.c static int do_fdtput(struct display_info *disp, const char *filename,
filename          228 scripts/dtc/fdtput.c 	blob = utilfdt_read(filename);
filename          255 scripts/dtc/fdtput.c 		ret = utilfdt_write(filename, blob);
filename          289 scripts/dtc/fdtput.c 	char *filename = NULL;
filename          331 scripts/dtc/fdtput.c 		filename = argv[optind++];
filename          332 scripts/dtc/fdtput.c 	if (!filename)
filename          345 scripts/dtc/fdtput.c 	if (do_fdtput(&disp, filename, argv, argc))
filename          234 scripts/dtc/util.c int utilfdt_read_err(const char *filename, char **buffp, size_t *len)
filename          242 scripts/dtc/util.c 	if (strcmp(filename, "-") != 0) {
filename          243 scripts/dtc/util.c 		fd = open(filename, O_RDONLY);
filename          276 scripts/dtc/util.c char *utilfdt_read(const char *filename, size_t *len)
filename          279 scripts/dtc/util.c 	int ret = utilfdt_read_err(filename, &buff, len);
filename          282 scripts/dtc/util.c 		fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename,
filename          290 scripts/dtc/util.c int utilfdt_write_err(const char *filename, const void *blob)
filename          298 scripts/dtc/util.c 	if (strcmp(filename, "-") != 0) {
filename          299 scripts/dtc/util.c 		fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
filename          322 scripts/dtc/util.c int utilfdt_write(const char *filename, const void *blob)
filename          324 scripts/dtc/util.c 	int ret = utilfdt_write_err(filename, blob);
filename          327 scripts/dtc/util.c 		fprintf(stderr, "Couldn't write blob to '%s': %s\n", filename,
filename           92 scripts/dtc/util.h char *utilfdt_read(const char *filename, size_t *len);
filename          104 scripts/dtc/util.h int utilfdt_read_err(const char *filename, char **buffp, size_t *len);
filename          114 scripts/dtc/util.h int utilfdt_write(const char *filename, const void *blob);
filename          125 scripts/dtc/util.h int utilfdt_write_err(const char *filename, const void *blob);
filename          770 scripts/kconfig/confdata.c int conf_write_defconfig(const char *filename)
filename          776 scripts/kconfig/confdata.c 	out = fopen(filename, "w");
filename          295 scripts/kconfig/mconf.c static char filename[PATH_MAX+1];
filename          307 scripts/kconfig/mconf.c 	size = snprintf(filename, sizeof(filename), "%s", config_filename);
filename          308 scripts/kconfig/mconf.c 	if (size >= sizeof(filename))
filename          309 scripts/kconfig/mconf.c 		filename[sizeof(filename)-1] = '\0';
filename          903 scripts/kconfig/mconf.c 				      11, 55, filename);
filename          930 scripts/kconfig/mconf.c 				      11, 55, filename);
filename          969 scripts/kconfig/mconf.c 		if (conf_write(filename)) {
filename          627 scripts/kconfig/nconf.c static char filename[PATH_MAX+1];
filename          638 scripts/kconfig/nconf.c 	size = snprintf(filename, sizeof(filename), "%s", config_filename);
filename          639 scripts/kconfig/nconf.c 	if (size >= sizeof(filename))
filename          640 scripts/kconfig/nconf.c 		filename[sizeof(filename)-1] = '\0';
filename          668 scripts/kconfig/nconf.c 		res = conf_write(filename);
filename         1398 scripts/kconfig/nconf.c 				filename,
filename         1429 scripts/kconfig/nconf.c 				filename,
filename           59 scripts/mod/file2alias.c 	int (*do_entry)(const char *filename, void *symval, char *alias);
filename          388 scripts/mod/file2alias.c static int do_hid_entry(const char *filename,
filename          406 scripts/mod/file2alias.c static int do_ieee1394_entry(const char *filename,
filename          430 scripts/mod/file2alias.c static int do_pci_entry(const char *filename,
filename          461 scripts/mod/file2alias.c 		     filename, class_mask);
filename          473 scripts/mod/file2alias.c static int do_ccw_entry(const char *filename,
filename          496 scripts/mod/file2alias.c static int do_ap_entry(const char *filename,
filename          506 scripts/mod/file2alias.c static int do_css_entry(const char *filename,
filename          516 scripts/mod/file2alias.c static int do_serio_entry(const char *filename,
filename          541 scripts/mod/file2alias.c static int do_acpi_entry(const char *filename,
filename          658 scripts/mod/file2alias.c static int do_pcmcia_entry(const char *filename,
filename          694 scripts/mod/file2alias.c static int do_vio_entry(const char *filename, void *symval,
filename          728 scripts/mod/file2alias.c static int do_input_entry(const char *filename, void *symval,
filename          785 scripts/mod/file2alias.c static int do_eisa_entry(const char *filename, void *symval,
filename          797 scripts/mod/file2alias.c static int do_parisc_entry(const char *filename, void *symval,
filename          816 scripts/mod/file2alias.c static int do_sdio_entry(const char *filename,
filename          832 scripts/mod/file2alias.c static int do_ssb_entry(const char *filename,
filename          848 scripts/mod/file2alias.c static int do_bcma_entry(const char *filename,
filename          866 scripts/mod/file2alias.c static int do_virtio_entry(const char *filename, void *symval,
filename          886 scripts/mod/file2alias.c static int do_vmbus_entry(const char *filename, void *symval,
filename          903 scripts/mod/file2alias.c static int do_rpmsg_entry(const char *filename, void *symval,
filename          913 scripts/mod/file2alias.c static int do_i2c_entry(const char *filename, void *symval,
filename          923 scripts/mod/file2alias.c static int do_spi_entry(const char *filename, void *symval,
filename          962 scripts/mod/file2alias.c static int do_dmi_entry(const char *filename, void *symval,
filename          986 scripts/mod/file2alias.c static int do_platform_entry(const char *filename,
filename          994 scripts/mod/file2alias.c static int do_mdio_entry(const char *filename,
filename         1019 scripts/mod/file2alias.c static int do_zorro_entry(const char *filename, void *symval,
filename         1029 scripts/mod/file2alias.c static int do_isapnp_entry(const char *filename,
filename         1044 scripts/mod/file2alias.c static int do_ipack_entry(const char *filename,
filename         1106 scripts/mod/file2alias.c static int do_amba_entry(const char *filename,
filename         1117 scripts/mod/file2alias.c 		      filename, id, mask);
filename         1134 scripts/mod/file2alias.c static int do_mips_cdmm_entry(const char *filename,
filename         1149 scripts/mod/file2alias.c static int do_x86cpu_entry(const char *filename, void *symval,
filename         1168 scripts/mod/file2alias.c static int do_cpu_entry(const char *filename, void *symval, char *alias)
filename         1177 scripts/mod/file2alias.c static int do_mei_entry(const char *filename, void *symval,
filename         1195 scripts/mod/file2alias.c static int do_rio_entry(const char *filename,
filename         1214 scripts/mod/file2alias.c static int do_ulpi_entry(const char *filename, void *symval,
filename         1226 scripts/mod/file2alias.c static int do_hda_entry(const char *filename, void *symval, char *alias)
filename         1242 scripts/mod/file2alias.c static int do_sdw_entry(const char *filename, void *symval, char *alias)
filename         1256 scripts/mod/file2alias.c static int do_fsl_mc_entry(const char *filename, void *symval,
filename         1267 scripts/mod/file2alias.c static int do_tbsvc_entry(const char *filename, void *symval, char *alias)
filename         1291 scripts/mod/file2alias.c static int do_typec_entry(const char *filename, void *symval, char *alias)
filename         1303 scripts/mod/file2alias.c static int do_tee_entry(const char *filename, void *symval, char *alias)
filename         1318 scripts/mod/file2alias.c static int do_wmi_entry(const char *filename, void *symval, char *alias)
filename         1325 scripts/mod/file2alias.c 				*guid_string, filename);
filename         1332 scripts/mod/file2alias.c 				filename);
filename         1350 scripts/mod/file2alias.c 		     int (*do_entry)(const char *filename, void *symval, char *alias),
filename          419 scripts/mod/modpost.c void *grab_file(const char *filename, unsigned long *size)
filename          425 scripts/mod/modpost.c 	fd = open(filename, O_RDONLY);
filename          480 scripts/mod/modpost.c static int parse_elf(struct elf_info *info, const char *filename)
filename          489 scripts/mod/modpost.c 	hdr = grab_file(filename, &info->size);
filename          492 scripts/mod/modpost.c 			fprintf(stderr, "%s: %s (ignored)\n", filename,
filename          496 scripts/mod/modpost.c 		perror(filename);
filename          533 scripts/mod/modpost.c 		      filename, info->size);
filename          575 scripts/mod/modpost.c 			      "sizeof(*hrd)=%zu\n", filename,
filename          583 scripts/mod/modpost.c 				fatal("%s has NOBITS .modinfo\n", filename);
filename          623 scripts/mod/modpost.c 		fatal("%s has no symtab?\n", filename);
filename          637 scripts/mod/modpost.c 			      filename, sechdrs[symtab_shndx_idx].sh_link,
filename         2102 scripts/mod/modpost.c static void read_symbols_from_files(const char *filename)
filename         2107 scripts/mod/modpost.c 	if (strcmp(filename, "-") != 0) {
filename         2108 scripts/mod/modpost.c 		in = fopen(filename, "r");
filename         2110 scripts/mod/modpost.c 			fatal("Can't open filenames file %s: %m", filename);
filename          198 scripts/mod/modpost.h void *grab_file(const char *filename, unsigned long *size);
filename          433 scripts/mod/sumversion.c static void write_version(const char *filename, const char *sum,
filename          438 scripts/mod/sumversion.c 	fd = open(filename, O_RDWR);
filename          441 scripts/mod/sumversion.c 			filename, strerror(errno));
filename          447 scripts/mod/sumversion.c 			filename, offset, strerror(errno));
filename          453 scripts/mod/sumversion.c 			filename, strerror(errno));
filename           25 scripts/pnmtologo.c static const char *filename;
filename           92 scripts/pnmtologo.c 	    die("%s: end of file\n", filename);
filename           98 scripts/pnmtologo.c 		    die("%s: end of file\n", filename);
filename          114 scripts/pnmtologo.c 	    die("%s: end of file\n", filename);
filename          133 scripts/pnmtologo.c     fp = fopen(filename, "r");
filename          135 scripts/pnmtologo.c 	die("Cannot open file %s: %s\n", filename, strerror(errno));
filename          140 scripts/pnmtologo.c 	die("%s is not a PNM file\n", filename);
filename          154 scripts/pnmtologo.c 		"Use pnmnoraw(1) to convert it to ASCII PNM\n", filename);
filename          157 scripts/pnmtologo.c 	    die("%s is not a PNM file\n", filename);
filename          242 scripts/pnmtologo.c     fprintf(out, " *  It was automatically generated from %s\n", filename);
filename          493 scripts/pnmtologo.c     filename = argv[optind];
filename          183 scripts/unifdef.c static const char      *filename;		/* input file name */
filename          318 scripts/unifdef.c 		filename = *argv;
filename          319 scripts/unifdef.c 		input = fopen(filename, "rb");
filename          321 scripts/unifdef.c 			err(2, "can't open %s", filename);
filename          323 scripts/unifdef.c 		filename = "[stdin]";
filename          610 scripts/unifdef.c 			errx(2, "%s unchanged", filename);
filename         1219 scripts/unifdef.c 		warnx("%s: %d: %s", filename, linenum, msg);
filename         1222 scripts/unifdef.c 		    filename, linenum, msg, stifline[depth], depth);
filename          644 security/apparmor/domain.c 		name = bprm->filename;
filename          776 security/apparmor/domain.c 		xname = bprm->filename;
filename          861 security/apparmor/domain.c 				      AA_MAY_ONEXEC, bprm->filename, NULL,
filename          959 security/apparmor/domain.c 				   "label=", bprm->filename);
filename          970 security/apparmor/domain.c 				   "bits. %s label=", bprm->filename);
filename          989 security/apparmor/domain.c 				      bprm->filename, NULL, new,
filename          675 security/commoncap.c 					bprm->filename);
filename          727 security/commoncap.c 		warn_setuid_and_fcaps_mixed(bprm->filename);
filename           60 security/integrity/ima/ima.h 	const unsigned char *filename;
filename          136 security/integrity/ima/ima.h 			   const unsigned char *filename);
filename          144 security/integrity/ima/ima.h void ima_add_violation(struct file *file, const unsigned char *filename,
filename          216 security/integrity/ima/ima.h 			   const unsigned char *filename,
filename          221 security/integrity/ima/ima.h 			   const unsigned char *filename);
filename          227 security/integrity/ima/ima.h 		       const unsigned char *filename, int pcr);
filename          229 security/integrity/ima/ima.h const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
filename          258 security/integrity/ima/ima.h 			     struct file *file, const unsigned char *filename,
filename          274 security/integrity/ima/ima.h 					   const unsigned char *filename,
filename           93 security/integrity/ima/ima_api.c 		       const unsigned char *filename, int pcr)
filename          121 security/integrity/ima/ima_api.c 	result = ima_add_template_entry(entry, violation, op, inode, filename);
filename          132 security/integrity/ima/ima_api.c void ima_add_violation(struct file *file, const unsigned char *filename,
filename          140 security/integrity/ima/ima_api.c 					     .filename = filename,
filename          154 security/integrity/ima/ima_api.c 				    filename, CONFIG_IMA_MEASURE_PCR_IDX);
filename          158 security/integrity/ima/ima_api.c 	integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename,
filename          212 security/integrity/ima/ima_api.c 	const char *filename = file->f_path.dentry->d_name.name;
filename          272 security/integrity/ima/ima_api.c 				    filename, "collect_data", audit_cause,
filename          294 security/integrity/ima/ima_api.c 			   struct file *file, const unsigned char *filename,
filename          306 security/integrity/ima/ima_api.c 					     .filename = filename,
filename          323 security/integrity/ima/ima_api.c 		integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename,
filename          328 security/integrity/ima/ima_api.c 	result = ima_store_template(entry, violation, inode, filename, pcr);
filename          338 security/integrity/ima/ima_api.c 			   const unsigned char *filename)
filename          362 security/integrity/ima/ima_api.c 	audit_log_untrustedstring(ab, filename);
filename          316 security/integrity/ima/ima_appraise.c 			     struct file *file, const unsigned char *filename,
filename          395 security/integrity/ima/ima_appraise.c 		integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, filename,
filename          412 security/integrity/ima/ima_appraise.c 		integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, filename,
filename           49 security/integrity/ima/ima_init.c 					     .filename = boot_aggregate_name };
filename           78 security/integrity/ima/ima_main.c 				char *filename)
filename           89 security/integrity/ima/ima_main.c 					       filename);
filename          111 security/integrity/ima/ima_main.c 				     char *filename)
filename          136 security/integrity/ima/ima_main.c 	*pathname = ima_d_path(&file->f_path, pathbuf, filename);
filename          200 security/integrity/ima/ima_main.c 	char filename[NAME_MAX];
filename          240 security/integrity/ima/ima_main.c 					 &pathbuf, &pathname, filename);
filename          298 security/integrity/ima/ima_main.c 						  &pathname, filename);
filename          331 security/integrity/ima/ima_main.c 		pathname = ima_d_path(&file->f_path, &pathbuf, filename);
filename          344 security/integrity/ima/ima_main.c 						  &pathname, filename);
filename          642 security/integrity/ima/ima_main.c 					    .filename = eventname,
filename          166 security/integrity/ima/ima_queue.c 			   const unsigned char *filename)
filename          203 security/integrity/ima/ima_queue.c 	integrity_audit_msg(AUDIT_INTEGRITY_PCR, inode, filename,
filename          300 security/integrity/ima/ima_template_lib.c 				    event_data->filename, "collect_data",
filename          374 security/integrity/ima/ima_template_lib.c 	BUG_ON(event_data->filename == NULL && event_data->file == NULL);
filename          376 security/integrity/ima/ima_template_lib.c 	if (event_data->filename) {
filename          377 security/integrity/ima/ima_template_lib.c 		cur_filename = event_data->filename;
filename          378 security/integrity/ima/ima_template_lib.c 		cur_filename_len = strlen(event_data->filename);
filename          394 security/tomoyo/common.c 		tomoyo_set_string(head, ptr->filename->name);
filename          414 security/tomoyo/common.c 		tomoyo_set_string(head, ptr->filename->name);
filename          435 security/tomoyo/common.h 			const struct tomoyo_path_info *filename;
filename          448 security/tomoyo/common.h 			const struct tomoyo_path_info *filename;
filename          456 security/tomoyo/common.h 			const struct tomoyo_path_info *filename;
filename          521 security/tomoyo/common.h 	const struct tomoyo_path_info *filename;
filename          934 security/tomoyo/common.h bool tomoyo_correct_path(const char *filename);
filename          950 security/tomoyo/common.h bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename,
filename          975 security/tomoyo/common.h 			      const struct tomoyo_path_info *filename);
filename         1056 security/tomoyo/common.h void tomoyo_load_policy(const char *filename);
filename         1236 security/tomoyo/common.h 	return a->filename == b->filename && a->group == b->group;
filename          282 security/tomoyo/condition.c 	char *filename = param->data;
filename          284 security/tomoyo/condition.c 	if (*filename == '@')
filename          286 security/tomoyo/condition.c 	ptr->filename = tomoyo_get_dqword(filename);
filename          287 security/tomoyo/condition.c 	return ptr->filename != NULL;
filename          707 security/tomoyo/domain.c 	const char *original_name = bprm->filename;
filename           70 security/tomoyo/file.c 	tomoyo_put_name(ptr->filename);
filename           87 security/tomoyo/file.c 	if (tomoyo_path_matches_pattern(name, ptr->filename))
filename           88 security/tomoyo/file.c 		return ptr->filename;
filename          170 security/tomoyo/file.c 				 r->param.path.filename->name);
filename          200 security/tomoyo/file.c 				 r->param.mkdev.filename->name,
filename          237 security/tomoyo/file.c 				 r->param.path_number.filename->name, buffer);
filename          260 security/tomoyo/file.c 			tomoyo_compare_name_union(r->param.path.filename,
filename          284 security/tomoyo/file.c 		tomoyo_compare_name_union(r->param.path_number.filename,
filename          329 security/tomoyo/file.c 		tomoyo_compare_name_union(r->param.mkdev.filename,
filename          574 security/tomoyo/file.c 				  const struct tomoyo_path_info *filename)
filename          583 security/tomoyo/file.c 	r->param.path.filename = filename;
filename          603 security/tomoyo/file.c 			      const struct tomoyo_path_info *filename)
filename          613 security/tomoyo/file.c 	r->param.path.filename = filename;
filename          730 security/tomoyo/file.c 	r.param.path_number.filename = &buf;
filename          879 security/tomoyo/file.c 		r.param.mkdev.filename = &buf;
filename           85 security/tomoyo/load_policy.c void tomoyo_load_policy(const char *filename)
filename           95 security/tomoyo/load_policy.c 	if (strcmp(filename, tomoyo_trigger))
filename           85 security/tomoyo/tomoyo.c 		tomoyo_load_policy(bprm->filename);
filename          248 security/tomoyo/util.c 	char *filename;
filename          255 security/tomoyo/util.c 	filename = tomoyo_read_token(param);
filename          256 security/tomoyo/util.c 	if (!tomoyo_correct_word(filename))
filename          258 security/tomoyo/util.c 	ptr->filename = tomoyo_get_name(filename);
filename          259 security/tomoyo/util.c 	return ptr->filename != NULL;
filename          524 security/tomoyo/util.c bool tomoyo_correct_path(const char *filename)
filename          526 security/tomoyo/util.c 	return *filename == '/' && tomoyo_correct_word(filename);
filename          613 security/tomoyo/util.c static int tomoyo_const_part_length(const char *filename)
filename          618 security/tomoyo/util.c 	if (!filename)
filename          620 security/tomoyo/util.c 	while ((c = *filename++) != '\0') {
filename          625 security/tomoyo/util.c 		c = *filename++;
filename          634 security/tomoyo/util.c 			c = *filename++;
filename          637 security/tomoyo/util.c 			c = *filename++;
filename          676 security/tomoyo/util.c static bool tomoyo_file_matches_pattern2(const char *filename,
filename          681 security/tomoyo/util.c 	while (filename < filename_end && pattern < pattern_end) {
filename          687 security/tomoyo/util.c 			if (*filename++ != *pattern++)
filename          691 security/tomoyo/util.c 		c = *filename;
filename          698 security/tomoyo/util.c 				if (filename[1] == '\\')
filename          699 security/tomoyo/util.c 					filename++;
filename          700 security/tomoyo/util.c 				else if (tomoyo_byte_range(filename + 1))
filename          701 security/tomoyo/util.c 					filename += 3;
filename          709 security/tomoyo/util.c 			if (*++filename != '\\')
filename          728 security/tomoyo/util.c 			if (c == '\\' && tomoyo_byte_range(filename + 1)
filename          729 security/tomoyo/util.c 			    && strncmp(filename + 1, pattern, 3) == 0) {
filename          730 security/tomoyo/util.c 				filename += 3;
filename          737 security/tomoyo/util.c 			for (i = 0; i <= filename_end - filename; i++) {
filename          739 security/tomoyo/util.c 						    filename + i, filename_end,
filename          742 security/tomoyo/util.c 				c = filename[i];
filename          747 security/tomoyo/util.c 				if (filename[i + 1] == '\\')
filename          749 security/tomoyo/util.c 				else if (tomoyo_byte_range(filename + i + 1))
filename          759 security/tomoyo/util.c 				while (isdigit(filename[j]))
filename          762 security/tomoyo/util.c 				while (isxdigit(filename[j]))
filename          765 security/tomoyo/util.c 				while (tomoyo_alphabet_char(filename[j]))
filename          770 security/tomoyo/util.c 						    filename + i, filename_end,
filename          776 security/tomoyo/util.c 		filename++;
filename          782 security/tomoyo/util.c 	return filename == filename_end && pattern == pattern_end;
filename          795 security/tomoyo/util.c static bool tomoyo_file_matches_pattern(const char *filename,
filename          808 security/tomoyo/util.c 		result = tomoyo_file_matches_pattern2(filename,
filename          819 security/tomoyo/util.c 	result = tomoyo_file_matches_pattern2(filename, filename_end,
filename          915 security/tomoyo/util.c bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename,
filename          918 security/tomoyo/util.c 	const char *f = filename->name;
filename          924 security/tomoyo/util.c 		return !tomoyo_pathcmp(filename, pattern);
filename          926 security/tomoyo/util.c 	if (filename->is_dir != pattern->is_dir)
filename          270 sound/pci/asihpi/asihpi.c static u16 handle_error(u16 err, int line, char *filename)
filename          275 sound/pci/asihpi/asihpi.c 			filename, line, err);
filename          715 sound/pci/emu10k1/emu10k1_main.c 	const char *filename;
filename          719 sound/pci/emu10k1/emu10k1_main.c 		filename = firmware_names[emu->card_capabilities->emu_model][dock];
filename          720 sound/pci/emu10k1/emu10k1_main.c 		if (!filename)
filename          722 sound/pci/emu10k1/emu10k1_main.c 		err = request_firmware(fw, filename, &emu->pci->dev);
filename          815 sound/soc/codecs/wm2000.c 	const char *filename;
filename          887 sound/soc/codecs/wm2000.c 	filename = "wm2000_anc.bin";
filename          893 sound/soc/codecs/wm2000.c 			filename = pdata->download_file;
filename          896 sound/soc/codecs/wm2000.c 	ret = request_firmware(&fw, filename, &i2c->dev);
filename          192 sound/soc/sof/core.c 		panic_info->filename, panic_info->linenum);
filename          323 sound/soc/sof/intel/hda.c 	char *filename;
filename          326 sound/soc/sof/intel/hda.c 	filename = devm_kstrdup(sdev->dev, sof_tplg_filename, GFP_KERNEL);
filename          327 sound/soc/sof/intel/hda.c 	if (!filename)
filename          331 sound/soc/sof/intel/hda.c 	split_ext = strsep(&filename, ".");
filename           93 tools/iio/iio_utils.c 	char *scan_el_dir, *builtname, *builtname_generic, *filename = 0;
filename          123 tools/iio/iio_utils.c 			ret = asprintf(&filename,
filename          130 tools/iio/iio_utils.c 			sysfsfp = fopen(filename, "r");
filename          134 tools/iio/iio_utils.c 					filename);
filename          167 tools/iio/iio_utils.c 					filename);
filename          172 tools/iio/iio_utils.c 			free(filename);
filename          173 tools/iio/iio_utils.c 			filename = 0;
filename          189 tools/iio/iio_utils.c 	if (filename)
filename          190 tools/iio/iio_utils.c 		free(filename);
filename          224 tools/iio/iio_utils.c 	char *filename = NULL;
filename          248 tools/iio/iio_utils.c 			ret = asprintf(&filename,
filename          255 tools/iio/iio_utils.c 			sysfsfp = fopen(filename, "r");
filename          268 tools/iio/iio_utils.c 	if (filename)
filename          269 tools/iio/iio_utils.c 		free(filename);
filename          321 tools/iio/iio_utils.c 	char *filename;
filename          337 tools/iio/iio_utils.c 			ret = asprintf(&filename,
filename          344 tools/iio/iio_utils.c 			sysfsfp = fopen(filename, "r");
filename          347 tools/iio/iio_utils.c 				free(filename);
filename          357 tools/iio/iio_utils.c 				free(filename);
filename          365 tools/iio/iio_utils.c 				free(filename);
filename          369 tools/iio/iio_utils.c 			free(filename);
filename          385 tools/iio/iio_utils.c 			ret = asprintf(&filename,
filename          394 tools/iio/iio_utils.c 			sysfsfp = fopen(filename, "r");
filename          397 tools/iio/iio_utils.c 				free(filename);
filename          405 tools/iio/iio_utils.c 				free(filename);
filename          412 tools/iio/iio_utils.c 				free(filename);
filename          418 tools/iio/iio_utils.c 				free(filename);
filename          429 tools/iio/iio_utils.c 				free(filename);
filename          439 tools/iio/iio_utils.c 				free(filename);
filename          445 tools/iio/iio_utils.c 			ret = asprintf(&filename,
filename          450 tools/iio/iio_utils.c 				free(filename);
filename          455 tools/iio/iio_utils.c 			sysfsfp = fopen(filename, "r");
filename          459 tools/iio/iio_utils.c 					filename);
filename          460 tools/iio/iio_utils.c 				free(filename);
filename          470 tools/iio/iio_utils.c 				free(filename);
filename          476 tools/iio/iio_utils.c 				free(filename);
filename          480 tools/iio/iio_utils.c 			free(filename);
filename          571 tools/iio/iio_utils.c 	char *filename;
filename          602 tools/iio/iio_utils.c 				filename = malloc(strlen(iio_dir) + strlen(type)
filename          604 tools/iio/iio_utils.c 				if (!filename) {
filename          609 tools/iio/iio_utils.c 				ret = sprintf(filename, "%s%s%d/name", iio_dir,
filename          612 tools/iio/iio_utils.c 					free(filename);
filename          616 tools/iio/iio_utils.c 				namefp = fopen(filename, "r");
filename          618 tools/iio/iio_utils.c 					free(filename);
filename          622 tools/iio/iio_utils.c 				free(filename);
filename          655 tools/iio/iio_utils.c static int _write_sysfs_int(const char *filename, const char *basedir, int val,
filename          661 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
filename          666 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
filename          714 tools/iio/iio_utils.c 				val, basedir, filename);
filename          732 tools/iio/iio_utils.c int write_sysfs_int(const char *filename, const char *basedir, int val)
filename          734 tools/iio/iio_utils.c 	return _write_sysfs_int(filename, basedir, val, 0);
filename          746 tools/iio/iio_utils.c int write_sysfs_int_and_verify(const char *filename, const char *basedir,
filename          749 tools/iio/iio_utils.c 	return _write_sysfs_int(filename, basedir, val, 1);
filename          752 tools/iio/iio_utils.c static int _write_sysfs_string(const char *filename, const char *basedir,
filename          757 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
filename          764 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
filename          813 tools/iio/iio_utils.c 				basedir, filename);
filename          832 tools/iio/iio_utils.c int write_sysfs_string_and_verify(const char *filename, const char *basedir,
filename          835 tools/iio/iio_utils.c 	return _write_sysfs_string(filename, basedir, val, 1);
filename          846 tools/iio/iio_utils.c int write_sysfs_string(const char *filename, const char *basedir,
filename          849 tools/iio/iio_utils.c 	return _write_sysfs_string(filename, basedir, val, 0);
filename          860 tools/iio/iio_utils.c int read_sysfs_posint(const char *filename, const char *basedir)
filename          864 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
filename          871 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
filename          907 tools/iio/iio_utils.c int read_sysfs_float(const char *filename, const char *basedir, float *val)
filename          911 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
filename          918 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
filename          954 tools/iio/iio_utils.c int read_sysfs_string(const char *filename, const char *basedir, char *str)
filename          958 tools/iio/iio_utils.c 	char *temp = malloc(strlen(basedir) + strlen(filename) + 2);
filename          965 tools/iio/iio_utils.c 	ret = sprintf(temp, "%s/%s", basedir, filename);
filename           71 tools/iio/iio_utils.h int write_sysfs_int(const char *filename, const char *basedir, int val);
filename           72 tools/iio/iio_utils.h int write_sysfs_int_and_verify(const char *filename, const char *basedir,
filename           74 tools/iio/iio_utils.h int write_sysfs_string_and_verify(const char *filename, const char *basedir,
filename           76 tools/iio/iio_utils.h int write_sysfs_string(const char *filename, const char *basedir,
filename           78 tools/iio/iio_utils.h int read_sysfs_posint(const char *filename, const char *basedir);
filename           79 tools/iio/iio_utils.h int read_sysfs_float(const char *filename, const char *basedir, float *val);
filename           80 tools/iio/iio_utils.h int read_sysfs_string(const char *filename, const char *basedir, char *str);
filename         1512 tools/include/nolibc/nolibc.h int sys_execve(const char *filename, char *const argv[], char *const envp[])
filename         1514 tools/include/nolibc/nolibc.h 	return my_syscall3(__NR_execve, filename, argv, envp);
filename         1868 tools/include/nolibc/nolibc.h int execve(const char *filename, char *const argv[], char *const envp[])
filename         1870 tools/include/nolibc/nolibc.h 	int ret = sys_execve(filename, argv, envp);
filename          303 tools/lib/api/fs/fs.c int filename__read_int(const char *filename, int *value)
filename          306 tools/lib/api/fs/fs.c 	int fd = open(filename, O_RDONLY), err = -1;
filename          320 tools/lib/api/fs/fs.c static int filename__read_ull_base(const char *filename,
filename          324 tools/lib/api/fs/fs.c 	int fd = open(filename, O_RDONLY), err = -1;
filename          343 tools/lib/api/fs/fs.c int filename__read_xll(const char *filename, unsigned long long *value)
filename          345 tools/lib/api/fs/fs.c 	return filename__read_ull_base(filename, value, 16);
filename          353 tools/lib/api/fs/fs.c int filename__read_ull(const char *filename, unsigned long long *value)
filename          355 tools/lib/api/fs/fs.c 	return filename__read_ull_base(filename, value, 0);
filename          360 tools/lib/api/fs/fs.c int filename__read_str(const char *filename, char **buf, size_t *sizep)
filename          367 tools/lib/api/fs/fs.c 	fd = open(filename, O_RDONLY);
filename          408 tools/lib/api/fs/fs.c int filename__write_int(const char *filename, int value)
filename          410 tools/lib/api/fs/fs.c 	int fd = open(filename, O_WRONLY), err = -1;
filename           31 tools/lib/api/fs/fs.h int filename__read_int(const char *filename, int *value);
filename           32 tools/lib/api/fs/fs.h int filename__read_ull(const char *filename, unsigned long long *value);
filename           33 tools/lib/api/fs/fs.h int filename__read_xll(const char *filename, unsigned long long *value);
filename           34 tools/lib/api/fs/fs.h int filename__read_str(const char *filename, char **buf, size_t *sizep);
filename           36 tools/lib/api/fs/fs.h int filename__write_int(const char *filename, int value);
filename          120 tools/lib/api/fs/tracing_path.c 	char filename[PATH_MAX];
filename          122 tools/lib/api/fs/tracing_path.c 	snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*");
filename          134 tools/lib/api/fs/tracing_path.c 			if (!strncmp(filename, "sdt_", 4)) {
filename          139 tools/lib/api/fs/tracing_path.c 					tracing_events_path, filename, sys, name);
filename          144 tools/lib/api/fs/tracing_path.c 					 tracing_events_path, filename);
filename          158 tools/lib/api/fs/tracing_path.c 			 tracing_events_path, filename, tracing_path_mount());
filename          147 tools/lib/subcmd/help.c static int has_extension(const char *filename, const char *ext)
filename          149 tools/lib/subcmd/help.c 	size_t len = strlen(filename);
filename          152 tools/lib/subcmd/help.c 	return len > extlen && !memcmp(filename + len - extlen, ext, extlen);
filename           31 tools/lib/symbol/kallsyms.c int kallsyms__parse(const char *filename, void *arg,
filename           38 tools/lib/symbol/kallsyms.c 	FILE *file = fopen(filename, "r");
filename           27 tools/lib/symbol/kallsyms.h int kallsyms__parse(const char *filename, void *arg,
filename           41 tools/perf/arch/x86/util/event.c 		size = sizeof(event->mmap) - sizeof(event->mmap.filename) +
filename           65 tools/perf/arch/x86/util/event.c 		strlcpy(event->mmap.filename, kmap->name, PATH_MAX);
filename           74 tools/perf/arch/x86/util/machine.c 	char filename[PATH_MAX];
filename           78 tools/perf/arch/x86/util/machine.c 	machine__get_kallsyms_filename(machine, filename, PATH_MAX);
filename           80 tools/perf/arch/x86/util/machine.c 	if (symbol__restricted_filename(filename, "/proc/kallsyms"))
filename           83 tools/perf/arch/x86/util/machine.c 	ret = kallsyms__parse(filename, &mi, find_extra_kernel_maps);
filename          117 tools/perf/builtin-buildid-cache.c static int build_id_cache__add_kcore(const char *filename, bool force)
filename          123 tools/perf/builtin-buildid-cache.c 	strlcpy(from_dir, filename, sizeof(from_dir));
filename          174 tools/perf/builtin-buildid-cache.c static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi)
filename          182 tools/perf/builtin-buildid-cache.c 	err = filename__read_build_id(filename, &build_id, sizeof(build_id));
filename          185 tools/perf/builtin-buildid-cache.c 		pr_debug("Couldn't read a build-id in %s\n", filename);
filename          190 tools/perf/builtin-buildid-cache.c 	err = build_id_cache__add_s(sbuild_id, filename, nsi,
filename          192 tools/perf/builtin-buildid-cache.c 	pr_debug("Adding %s %s: %s\n", sbuild_id, filename,
filename          197 tools/perf/builtin-buildid-cache.c static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi)
filename          206 tools/perf/builtin-buildid-cache.c 	err = filename__read_build_id(filename, &build_id, sizeof(build_id));
filename          209 tools/perf/builtin-buildid-cache.c 		pr_debug("Couldn't read a build-id in %s\n", filename);
filename          215 tools/perf/builtin-buildid-cache.c 	pr_debug("Removing %s %s: %s\n", sbuild_id, filename,
filename          276 tools/perf/builtin-buildid-cache.c 	char filename[PATH_MAX];
filename          279 tools/perf/builtin-buildid-cache.c 	if (dso__build_id_filename(dso, filename, sizeof(filename), false) &&
filename          280 tools/perf/builtin-buildid-cache.c 	    filename__read_build_id(filename, build_id,
filename          286 tools/perf/builtin-buildid-cache.c 			   filename);
filename          289 tools/perf/builtin-buildid-cache.c 			   filename);
filename          301 tools/perf/builtin-buildid-cache.c static int build_id_cache__update_file(const char *filename, struct nsinfo *nsi)
filename          310 tools/perf/builtin-buildid-cache.c 	err = filename__read_build_id(filename, &build_id, sizeof(build_id));
filename          313 tools/perf/builtin-buildid-cache.c 		pr_debug("Couldn't read a build-id in %s\n", filename);
filename          323 tools/perf/builtin-buildid-cache.c 		err = build_id_cache__add_s(sbuild_id, filename, nsi, false,
filename          326 tools/perf/builtin-buildid-cache.c 	pr_debug("Updating %s %s: %s\n", sbuild_id, filename,
filename          145 tools/perf/builtin-help.c 		const char *filename = "kfmclient";
filename          159 tools/perf/builtin-help.c 				filename = file;
filename          163 tools/perf/builtin-help.c 			execlp(path, filename, "newTab", man_page, NULL);
filename          266 tools/perf/builtin-inject.c 			  event->mmap.filename, sample->pid, &n);
filename          304 tools/perf/builtin-inject.c 			  event->mmap2.filename, sample->pid, &n);
filename           52 tools/perf/builtin-kvm.c 	const char *filename;
filename           55 tools/perf/builtin-kvm.c 		filename = strdup("perf.data.host");
filename           57 tools/perf/builtin-kvm.c 		filename = strdup("perf.data.guest");
filename           59 tools/perf/builtin-kvm.c 		filename = strdup("perf.data.kvm");
filename           61 tools/perf/builtin-kvm.c 	return filename;
filename          255 tools/perf/builtin-script.c        char *filename;
filename          274 tools/perf/builtin-script.c 		if (asprintf(&es->filename, "%s.%s.dump", data->file.path, perf_evsel__name(evsel)) < 0)
filename          276 tools/perf/builtin-script.c 		es->fp = fopen(es->filename, "w");
filename          283 tools/perf/builtin-script.c 	zfree(&es->filename);
filename          291 tools/perf/builtin-script.c 	zfree(&es->filename);
filename          303 tools/perf/builtin-script.c 		       st.st_size / 1024.0 / 1024.0, es->filename, es->samples);
filename         2898 tools/perf/builtin-script.c static int read_script_info(struct script_desc *desc, const char *filename)
filename         2903 tools/perf/builtin-script.c 	fp = fopen(filename, "r");
filename         3023 tools/perf/builtin-script.c 	char filename[MAXPATHLEN], evname[128];
filename         3029 tools/perf/builtin-script.c 	scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname);
filename         3031 tools/perf/builtin-script.c 	fp = fopen(filename, "r");
filename         1451 tools/perf/builtin-timechart.c static void write_svg_file(struct timechart *tchart, const char *filename)
filename         1476 tools/perf/builtin-timechart.c 		open_svg(filename, 0, count, tchart->first_time, tchart->last_time);
filename         1483 tools/perf/builtin-timechart.c 		open_svg(filename, tchart->numcpus, count, tchart->first_time, tchart->last_time);
filename         1062 tools/perf/builtin-trace.c 	} filename;
filename         1262 tools/perf/builtin-trace.c 	ttrace->filename.ptr = ptr;
filename         1263 tools/perf/builtin-trace.c 	ttrace->filename.entry_str_pos = bf - ttrace->entry_str;
filename         2010 tools/perf/builtin-trace.c 		ttrace->filename.pending_open = false;
filename         2120 tools/perf/builtin-trace.c 	if (!trace->fd_path_disabled && sc->is_open && ret >= 0 && ttrace->filename.pending_open) {
filename         2121 tools/perf/builtin-trace.c 		trace__set_fd_pathname(thread, ret, ttrace->filename.name);
filename         2122 tools/perf/builtin-trace.c 		ttrace->filename.pending_open = false;
filename         2235 tools/perf/builtin-trace.c 	const char *filename = perf_evsel__rawptr(evsel, sample, "pathname");
filename         2244 tools/perf/builtin-trace.c 	filename_len = strlen(filename);
filename         2248 tools/perf/builtin-trace.c 	if (ttrace->filename.namelen < filename_len) {
filename         2249 tools/perf/builtin-trace.c 		char *f = realloc(ttrace->filename.name, filename_len + 1);
filename         2254 tools/perf/builtin-trace.c 		ttrace->filename.namelen = filename_len;
filename         2255 tools/perf/builtin-trace.c 		ttrace->filename.name = f;
filename         2258 tools/perf/builtin-trace.c 	strcpy(ttrace->filename.name, filename);
filename         2259 tools/perf/builtin-trace.c 	ttrace->filename.pending_open = true;
filename         2261 tools/perf/builtin-trace.c 	if (!ttrace->filename.ptr)
filename         2270 tools/perf/builtin-trace.c 		filename += filename_len - remaining_space;
filename         2274 tools/perf/builtin-trace.c 	to_move = entry_str_len - ttrace->filename.entry_str_pos + 1; /* \0 */
filename         2275 tools/perf/builtin-trace.c 	pos = ttrace->entry_str + ttrace->filename.entry_str_pos;
filename         2277 tools/perf/builtin-trace.c 	memcpy(pos, filename, filename_len);
filename         2279 tools/perf/builtin-trace.c 	ttrace->filename.ptr = 0;
filename         2280 tools/perf/builtin-trace.c 	ttrace->filename.entry_str_pos = 0;
filename         3827 tools/perf/builtin-trace.c static int trace__open_output(struct trace *trace, const char *filename)
filename         3831 tools/perf/builtin-trace.c 	if (!stat(filename, &st) && st.st_size) {
filename         3834 tools/perf/builtin-trace.c 		scnprintf(oldname, sizeof(oldname), "%s.old", filename);
filename         3836 tools/perf/builtin-trace.c 		rename(filename, oldname);
filename         3839 tools/perf/builtin-trace.c 	trace->output = fopen(filename, "w");
filename           40 tools/perf/examples/bpf/augmented_syscalls.c 	struct augmented_filename		filename;				 	\
filename           44 tools/perf/examples/bpf/augmented_syscalls.c 	struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; 	\
filename           47 tools/perf/examples/bpf/augmented_syscalls.c 	augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, 		\
filename           48 tools/perf/examples/bpf/augmented_syscalls.c 						      sizeof(augmented_args.filename.value), 	\
filename           50 tools/perf/examples/bpf/augmented_syscalls.c 	if (augmented_args.filename.size < sizeof(augmented_args.filename.value)) {		\
filename           51 tools/perf/examples/bpf/augmented_syscalls.c 		len -= sizeof(augmented_args.filename.value) - augmented_args.filename.size;	\
filename           52 tools/perf/examples/bpf/augmented_syscalls.c 		len &= sizeof(augmented_args.filename.value) - 1;				\
filename           36 tools/perf/examples/bpf/etcsnoop.c 	struct augmented_filename		filename;				 	\
filename           41 tools/perf/examples/bpf/etcsnoop.c 	struct augmented_enter_##syscall##_args augmented_args = { .filename.reserved = 0, }; 	\
filename           43 tools/perf/examples/bpf/etcsnoop.c 	augmented_args.filename.size = probe_read_str(&augmented_args.filename.value, 		\
filename           44 tools/perf/examples/bpf/etcsnoop.c 						      sizeof(augmented_args.filename.value), 	\
filename           46 tools/perf/examples/bpf/etcsnoop.c 	if (__builtin_memcmp(augmented_args.filename.value, etc, 4) != 0)			\
filename           51 tools/perf/examples/bpf/etcsnoop.c 				 (sizeof(augmented_args) - sizeof(augmented_args.filename.value) + \
filename           52 tools/perf/examples/bpf/etcsnoop.c 				 augmented_args.filename.size));				\
filename           17 tools/perf/lib/include/perf/event.h 	char			 filename[PATH_MAX];
filename           32 tools/perf/lib/include/perf/event.h 	char			 filename[PATH_MAX];
filename          194 tools/perf/lib/include/perf/event.h 	char			 filename[];
filename          431 tools/perf/tests/builtin-test.c 	char filename[PATH_MAX];
filename          433 tools/perf/tests/builtin-test.c 	path__join(filename, sizeof(filename), path, name);
filename          434 tools/perf/tests/builtin-test.c 	fp = fopen(filename, "r");
filename          186 tools/perf/tests/code-reading.c static int read_via_objdump(const char *filename, u64 addr, void *buf,
filename          196 tools/perf/tests/code-reading.c 		       filename);
filename           28 tools/perf/tests/hists_common.c 	const char *filename;
filename          121 tools/perf/tests/hists_common.c 		strcpy(fake_mmap_event.mmap.filename,
filename          122 tools/perf/tests/hists_common.c 		       fake_mmap_info[i].filename);
filename           36 tools/perf/tests/openat-syscall-tp-fields.c 	const char *filename = "/etc/passwd";
filename           85 tools/perf/tests/openat-syscall-tp-fields.c 	openat(AT_FDCWD, filename, flags);
filename          251 tools/perf/tests/perf-record.c 					mmap_filename = event->mmap.filename;
filename          254 tools/perf/tests/perf-record.c 					mmap_filename = event->mmap2.filename;
filename           28 tools/perf/tests/sdt.c static int build_id_cache__add_file(const char *filename)
filename           34 tools/perf/tests/sdt.c 	err = filename__read_build_id(filename, &build_id, sizeof(build_id));
filename           36 tools/perf/tests/sdt.c 		pr_debug("Failed to read build id of %s\n", filename);
filename           41 tools/perf/tests/sdt.c 	err = build_id_cache__add_s(sbuild_id, filename, NULL, false, false);
filename           43 tools/perf/tests/sdt.c 		pr_debug("Failed to add build id cache of %s\n", filename);
filename         2121 tools/perf/ui/browsers/hists.c 	char filename[64];
filename         2125 tools/perf/ui/browsers/hists.c 		scnprintf(filename, sizeof(filename), "perf.hist.%d", browser->print_seq);
filename         2126 tools/perf/ui/browsers/hists.c 		if (access(filename, F_OK))
filename         2137 tools/perf/ui/browsers/hists.c 	fp = fopen(filename, "w");
filename         2141 tools/perf/ui/browsers/hists.c 		ui_helpline__fpush("Couldn't write to %s: %s", filename, err);
filename         2148 tools/perf/ui/browsers/hists.c 	ui_helpline__fpush("%s written!", filename);
filename         1655 tools/perf/util/annotate.c static int dso__disassemble_filename(struct dso *dso, char *filename, size_t filename_size)
filename         1668 tools/perf/util/annotate.c 		__symbol__join_symfs(filename, filename_size, build_id_filename);
filename         1676 tools/perf/util/annotate.c 	build_id_path = strdup(filename);
filename         1692 tools/perf/util/annotate.c 	    access(filename, R_OK)) {
filename         1699 tools/perf/util/annotate.c 		__symbol__join_symfs(filename, filename_size, dso->long_name);
filename         2202 tools/perf/util/annotate.c static void print_summary(struct rb_root *root, const char *filename)
filename         2207 tools/perf/util/annotate.c 	printf("\nSorted summary for file %s\n", filename);
filename         2271 tools/perf/util/annotate.c 	char *filename;
filename         2286 tools/perf/util/annotate.c 	filename = strdup(dso->long_name);
filename         2287 tools/perf/util/annotate.c 	if (!filename)
filename         2291 tools/perf/util/annotate.c 		d_filename = filename;
filename         2293 tools/perf/util/annotate.c 		d_filename = basename(filename);
filename         2359 tools/perf/util/annotate.c 	free(filename);
filename         2436 tools/perf/util/annotate.c 	char *filename;
filename         2440 tools/perf/util/annotate.c 	if (asprintf(&filename, "%s.annotation", ms->sym->name) < 0)
filename         2443 tools/perf/util/annotate.c 	fp = fopen(filename, "w");
filename         2459 tools/perf/util/annotate.c 	free(filename);
filename         1483 tools/perf/util/auxtrace.c 	filt->filename = NULL;
filename         1666 tools/perf/util/auxtrace.c 		err = parse_num_or_str(&fstr, NULL, &filt->filename, " ,");
filename         2016 tools/perf/util/auxtrace.c 		       filt->filename);
filename         2035 tools/perf/util/auxtrace.c 	if (!filt->filename)
filename         2038 tools/perf/util/auxtrace.c 	dso = load_dso(filt->filename);
filename         2040 tools/perf/util/auxtrace.c 		pr_err("Failed to load symbols from: %s\n", filt->filename);
filename         2086 tools/perf/util/auxtrace.c 	if (filt->filename) {
filename         2088 tools/perf/util/auxtrace.c 		fn = realpath(filt->filename, filename_buf);
filename          369 tools/perf/util/auxtrace.h 	const char		*filename;
filename           70 tools/perf/util/bpf-loader.c struct bpf_object *bpf__prepare_load(const char *filename, bool source)
filename           85 tools/perf/util/bpf-loader.c 		err = perf_clang__compile_bpf(filename, &obj_buf, &obj_buf_sz);
filename           89 tools/perf/util/bpf-loader.c 			err = llvm__compile_bpf(filename, &obj_buf, &obj_buf_sz);
filename           94 tools/perf/util/bpf-loader.c 		obj = bpf_object__open_buffer(obj_buf, obj_buf_sz, filename);
filename           97 tools/perf/util/bpf-loader.c 			llvm__dump_obj(filename, obj_buf, obj_buf_sz);
filename          101 tools/perf/util/bpf-loader.c 		obj = bpf_object__open(filename);
filename          104 tools/perf/util/bpf-loader.c 		pr_debug("bpf: failed to load %s\n", filename);
filename         1696 tools/perf/util/bpf-loader.c int bpf__strerror_prepare_load(const char *filename, bool source,
filename         1703 tools/perf/util/bpf-loader.c 			 filename, source ? " from source" : "");
filename           52 tools/perf/util/bpf-loader.h struct bpf_object *bpf__prepare_load(const char *filename, bool source);
filename           53 tools/perf/util/bpf-loader.h int bpf__strerror_prepare_load(const char *filename, bool source,
filename           91 tools/perf/util/bpf-loader.h bpf__prepare_load(const char *filename __maybe_unused,
filename          159 tools/perf/util/bpf-loader.h int bpf__strerror_prepare_load(const char *filename __maybe_unused,
filename          551 tools/perf/util/build-id.c 	char *realname = (char *)name, *filename;
filename          560 tools/perf/util/build-id.c 	if (asprintf(&filename, "%s%s%s%s%s", buildid_dir, slash ? "/" : "",
filename          563 tools/perf/util/build-id.c 		filename = NULL;
filename          568 tools/perf/util/build-id.c 	return filename;
filename          648 tools/perf/util/build-id.c 	char *realname = NULL, *filename = NULL, *dir_name = NULL,
filename          676 tools/perf/util/build-id.c 	if (asprintf(&filename, "%s/%s", dir_name,
filename          679 tools/perf/util/build-id.c 		filename = NULL;
filename          683 tools/perf/util/build-id.c 	if (access(filename, F_OK)) {
filename          685 tools/perf/util/build-id.c 			if (copyfile("/proc/kallsyms", filename))
filename          688 tools/perf/util/build-id.c 			if (copyfile_ns(name, filename, nsi))
filename          690 tools/perf/util/build-id.c 		} else if (link(realname, filename) && errno != EEXIST &&
filename          691 tools/perf/util/build-id.c 				copyfile(name, filename))
filename          704 tools/perf/util/build-id.c 			zfree(&filename);
filename          705 tools/perf/util/build-id.c 			if (asprintf(&filename, "%s/%s", dir_name,
filename          707 tools/perf/util/build-id.c 				filename = NULL;
filename          710 tools/perf/util/build-id.c 			if (access(filename, F_OK)) {
filename          712 tools/perf/util/build-id.c 					if (copyfile_ns(debugfile, filename,
filename          715 tools/perf/util/build-id.c 				} else if (link(debugfile, filename) &&
filename          717 tools/perf/util/build-id.c 						copyfile(debugfile, filename))
filename          746 tools/perf/util/build-id.c 	free(filename);
filename          768 tools/perf/util/build-id.c 	char *filename = build_id_cache__linkname(sbuild_id, NULL, 0);
filename          770 tools/perf/util/build-id.c 	if (filename && !access(filename, F_OK))
filename          772 tools/perf/util/build-id.c 	free(filename);
filename          780 tools/perf/util/build-id.c 	char *filename = zalloc(size),
filename          784 tools/perf/util/build-id.c 	if (filename == NULL || linkname == NULL)
filename          793 tools/perf/util/build-id.c 	if (readlink(linkname, filename, size - 1) < 0)
filename          803 tools/perf/util/build-id.c 	snprintf(tmp, size - (tmp - linkname), "%s", filename);
filename          810 tools/perf/util/build-id.c 	free(filename);
filename           18 tools/perf/util/c++/clang-c.h extern int perf_clang__compile_bpf(const char *filename,
filename           33 tools/perf/util/c++/clang-c.h perf_clang__compile_bpf(const char *filename __maybe_unused,
filename          184 tools/perf/util/c++/clang.cpp int perf_clang__compile_bpf(const char *filename,
filename          194 tools/perf/util/c++/clang.cpp 	auto M = getModuleFromSource(std::move(CFlags), filename);
filename          468 tools/perf/util/config.c static int perf_config_from_file(config_fn_t fn, const char *filename, void *data)
filename          471 tools/perf/util/config.c 	FILE *f = fopen(filename, "r");
filename          476 tools/perf/util/config.c 		config_file_name = filename;
filename           34 tools/perf/util/cputopo.c 	char filename[MAXPATHLEN];
filename           41 tools/perf/util/cputopo.c 	scnprintf(filename, MAXPATHLEN, CORE_SIB_FMT,
filename           43 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
filename           72 tools/perf/util/cputopo.c 	scnprintf(filename, MAXPATHLEN, DIE_SIB_FMT,
filename           74 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
filename          100 tools/perf/util/cputopo.c 	scnprintf(filename, MAXPATHLEN, THRD_SIB_FMT_NEW,
filename          102 tools/perf/util/cputopo.c 	if (access(filename, F_OK) == -1) {
filename          103 tools/perf/util/cputopo.c 		scnprintf(filename, MAXPATHLEN, THRD_SIB_FMT,
filename          106 tools/perf/util/cputopo.c 	fp = fopen(filename, "r");
filename          157 tools/perf/util/cputopo.c 	char filename[MAXPATHLEN];
filename          166 tools/perf/util/cputopo.c 	scnprintf(filename, MAXPATHLEN, DIE_SIB_FMT,
filename          168 tools/perf/util/cputopo.c 	if (access(filename, F_OK) == -1)
filename          924 tools/perf/util/data-convert-bt.c 	__NON_SAMPLE_SET_FIELD(mmap, string, filename);
filename          930 tools/perf/util/data-convert-bt.c 	__NON_SAMPLE_SET_FIELD(mmap2, string, filename);
filename         1275 tools/perf/util/data-convert-bt.c 	__NON_SAMPLE_ADD_FIELD(string, filename);
filename         1282 tools/perf/util/data-convert-bt.c 	__NON_SAMPLE_ADD_FIELD(string, filename);
filename           68 tools/perf/util/dso.c 				   char *root_dir, char *filename, size_t size)
filename           82 tools/perf/util/dso.c 		len = __symbol__join_symfs(filename, size, dso->long_name);
filename           83 tools/perf/util/dso.c 		last_slash = filename + len;
filename           84 tools/perf/util/dso.c 		while (last_slash != filename && *last_slash != '/')
filename           87 tools/perf/util/dso.c 		strncpy(dso_dir, filename, last_slash - filename);
filename           88 tools/perf/util/dso.c 		dso_dir[last_slash-filename] = '\0';
filename           90 tools/perf/util/dso.c 		if (!is_regular_file(filename)) {
filename           95 tools/perf/util/dso.c 		ret = filename__read_debuglink(filename, symfile, PATH_MAX);
filename          102 tools/perf/util/dso.c 			snprintf(filename, size,
filename          104 tools/perf/util/dso.c 			if (is_regular_file(filename)) {
filename          113 tools/perf/util/dso.c 		if (dso__build_id_filename(dso, filename, size, false) == NULL)
filename          118 tools/perf/util/dso.c 		if (dso__build_id_filename(dso, filename, size, true) == NULL)
filename          123 tools/perf/util/dso.c 		len = __symbol__join_symfs(filename, size, "/usr/lib/debug");
filename          124 tools/perf/util/dso.c 		snprintf(filename + len, size - len, "%s.debug", dso->long_name);
filename          128 tools/perf/util/dso.c 		len = __symbol__join_symfs(filename, size, "/usr/lib/debug");
filename          129 tools/perf/util/dso.c 		snprintf(filename + len, size - len, "%s", dso->long_name);
filename          141 tools/perf/util/dso.c 		len = __symbol__join_symfs(filename, size, "");
filename          147 tools/perf/util/dso.c 		len += scnprintf(filename + len, dir_size, "%s",  dso->long_name);
filename          148 tools/perf/util/dso.c 		len += scnprintf(filename + len , size - len, ".debug%s",
filename          162 tools/perf/util/dso.c 		len = __symbol__join_symfs(filename, size, "/usr/lib/debug/.build-id/");
filename          163 tools/perf/util/dso.c 		snprintf(filename + len, size - len, "%.2s/%s.debug",
filename          170 tools/perf/util/dso.c 		__symbol__join_symfs(filename, size, dso->long_name);
filename          175 tools/perf/util/dso.c 		path__join3(filename, size, symbol_conf.symfs,
filename          181 tools/perf/util/dso.c 		__symbol__join_symfs(filename, size, dso->long_name);
filename          186 tools/perf/util/dso.c 		snprintf(filename, size, "%s", dso->long_name);
filename         1272 tools/perf/util/dso.c 	char filename[PATH_MAX];
filename         1279 tools/perf/util/dso.c 	snprintf(filename, sizeof(filename),
filename         1283 tools/perf/util/dso.c 	if (sysfs__read_build_id(filename, dso->build_id,
filename          255 tools/perf/util/dso.h 				   char *root_dir, char *filename, size_t size);
filename          261 tools/perf/util/event.c 		       event->mmap.filename);
filename          276 tools/perf/util/event.c 		       event->mmap2.filename);
filename          271 tools/perf/util/genelf_debug.c 				     const char *filename)
filename          276 tools/perf/util/genelf_debug.c 	emit_unsigned_LEB128(be, strlen(filename) + 5);
filename          278 tools/perf/util/genelf_debug.c 	emit_string(be, filename);
filename         1887 tools/perf/util/header.c 				    char *filename,
filename         1917 tools/perf/util/header.c 	dso = machine__findnew_dso(machine, filename);
filename         1926 tools/perf/util/header.c 			if (!kmod_path__parse_name(&m, filename) && m.kmod)
filename         1953 tools/perf/util/header.c 		char			   filename[0];
filename         1956 tools/perf/util/header.c 	char filename[PATH_MAX];
filename         1969 tools/perf/util/header.c 		if (readn(input, filename, len) != len)
filename         1984 tools/perf/util/header.c 		__event_process_build_id(&bev, filename, session);
filename         1997 tools/perf/util/header.c 	char filename[PATH_MAX];
filename         2011 tools/perf/util/header.c 		if (readn(input, filename, len) != len)
filename         2026 tools/perf/util/header.c 		if (memcmp(filename, "nel.kallsyms]", 13) == 0) {
filename         2032 tools/perf/util/header.c 		__event_process_build_id(&bev, filename, session);
filename         3846 tools/perf/util/header.c 				 event->build_id.filename,
filename          645 tools/perf/util/intel-pt.c 				  uint64_t offset, const char *filename)
filename          656 tools/perf/util/intel-pt.c 		if ((filename && !filt->filename) ||
filename          657 tools/perf/util/intel-pt.c 		    (!filename && filt->filename) ||
filename          658 tools/perf/util/intel-pt.c 		    (filename && strcmp(filename, filt->filename)))
filename          665 tools/perf/util/intel-pt.c 			     ip, offset, filename ? filename : "[kernel]",
filename          677 tools/perf/util/intel-pt.c 			     ip, offset, filename ? filename : "[kernel]");
filename            8 tools/perf/util/jit.h 		struct machine *machine, char *filename, pid_t pid, u64 *nbytes);
filename           10 tools/perf/util/jit.h int jit_inject_record(const char *filename);
filename           60 tools/perf/util/jitdump.c 	char const filename[0];
filename           74 tools/perf/util/jitdump.c jit_emit_elf(char *filename,
filename           88 tools/perf/util/jitdump.c 		fprintf(stderr, "write ELF image %s\n", filename);
filename           90 tools/perf/util/jitdump.c 	fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, 0644);
filename           92 tools/perf/util/jitdump.c 		pr_warning("cannot create jit ELF %s: %s\n", filename, strerror(errno));
filename          102 tools/perf/util/jitdump.c                 unlink(filename);
filename          393 tools/perf/util/jitdump.c 	char *filename;
filename          420 tools/perf/util/jitdump.c 	filename = event->mmap2.filename;
filename          421 tools/perf/util/jitdump.c 	size = snprintf(filename, PATH_MAX, "%s/jitted-%d-%" PRIu64 ".so",
filename          430 tools/perf/util/jitdump.c 	ret = jit_emit_elf(filename, sym, addr, (const void *)uaddr, csize, jd->debug_data, jd->nr_debug_entries,
filename          449 tools/perf/util/jitdump.c 	if (stat(filename, &st))
filename          455 tools/perf/util/jitdump.c 			(sizeof(event->mmap2.filename) - size) + idr_size);
filename          507 tools/perf/util/jitdump.c 	char *filename;
filename          531 tools/perf/util/jitdump.c 	filename = event->mmap2.filename;
filename          532 tools/perf/util/jitdump.c 	size = snprintf(filename, PATH_MAX, "%s/jitted-%d-%" PRIu64 ".so",
filename          539 tools/perf/util/jitdump.c 	if (stat(filename, &st))
filename          547 tools/perf/util/jitdump.c 			(sizeof(event->mmap2.filename) - size) + idr_size);
filename          756 tools/perf/util/jitdump.c 	    char *filename,
filename          767 tools/perf/util/jitdump.c 	if (jit_detect(filename, pid))
filename          785 tools/perf/util/jitdump.c 	ret = jit_inject(&jd, filename);
filename          671 tools/perf/util/machine.c 					       const char *filename)
filename          684 tools/perf/util/machine.c 		dso__set_long_name(dso, strdup(filename), true);
filename          771 tools/perf/util/machine.c 					const char *filename)
filename          777 tools/perf/util/machine.c 	if (kmod_path__parse_name(&m, filename))
filename          784 tools/perf/util/machine.c 	dso = machine__findnew_module_dso(machine, &m, filename);
filename          842 tools/perf/util/machine.c 		char filename[PATH_MAX];
filename          843 tools/perf/util/machine.c 		if (dso__build_id_filename(kdso, filename, sizeof(filename),
filename          845 tools/perf/util/machine.c 			printed += fprintf(fp, "[0] %s\n", filename);
filename          929 tools/perf/util/machine.c 	char filename[PATH_MAX];
filename          934 tools/perf/util/machine.c 	machine__get_kallsyms_filename(machine, filename, PATH_MAX);
filename          936 tools/perf/util/machine.c 	if (symbol__restricted_filename(filename, "/proc/kallsyms"))
filename          940 tools/perf/util/machine.c 		err = kallsyms__get_function_start(filename, name, &addr);
filename          953 tools/perf/util/machine.c 	err = kallsyms__get_function_start(filename, "_etext", &addr);
filename         1201 tools/perf/util/machine.c int machine__load_kallsyms(struct machine *machine, const char *filename)
filename         1204 tools/perf/util/machine.c 	int ret = __dso__load_kallsyms(map->dso, filename, map, true);
filename         1515 tools/perf/util/machine.c 	       is_entry_trampoline(event->mmap.filename);
filename         1532 tools/perf/util/machine.c 	strlcpy(xm.name, event->mmap.filename, KMAP_NAME_LEN);
filename         1553 tools/perf/util/machine.c 	is_kernel_mmap = memcmp(event->mmap.filename,
filename         1556 tools/perf/util/machine.c 	if (event->mmap.filename[0] == '/' ||
filename         1557 tools/perf/util/machine.c 	    (!is_kernel_mmap && event->mmap.filename[0] == '[')) {
filename         1559 tools/perf/util/machine.c 						  event->mmap.filename);
filename         1565 tools/perf/util/machine.c 		const char *symbol_name = (event->mmap.filename +
filename         1679 tools/perf/util/machine.c 			event->mmap2.filename, thread);
filename         1731 tools/perf/util/machine.c 			event->mmap.filename,
filename         2703 tools/perf/util/machine.c struct dso *machine__findnew_dso(struct machine *machine, const char *filename)
filename         2705 tools/perf/util/machine.c 	return dsos__findnew(&machine->dsos, filename);
filename          205 tools/perf/util/machine.h struct dso *machine__findnew_dso(struct machine *machine, const char *filename);
filename          225 tools/perf/util/machine.h 					const char *filename);
filename          228 tools/perf/util/machine.h int machine__load_kallsyms(struct machine *machine, const char *filename);
filename           31 tools/perf/util/map.c static inline int is_anon_memory(const char *filename, u32 flags)
filename           34 tools/perf/util/map.c 	       !strcmp(filename, "//anon") ||
filename           35 tools/perf/util/map.c 	       !strncmp(filename, "/dev/zero", sizeof("/dev/zero") - 1) ||
filename           36 tools/perf/util/map.c 	       !strncmp(filename, "/anon_hugepage", sizeof("/anon_hugepage") - 1);
filename           39 tools/perf/util/map.c static inline int is_no_dso_memory(const char *filename)
filename           41 tools/perf/util/map.c 	return !strncmp(filename, "[stack", 6) ||
filename           42 tools/perf/util/map.c 	       !strncmp(filename, "/SYSV",5)   ||
filename           43 tools/perf/util/map.c 	       !strcmp(filename, "[heap]");
filename           46 tools/perf/util/map.c static inline int is_android_lib(const char *filename)
filename           48 tools/perf/util/map.c 	return !strncmp(filename, "/data/app-lib", 13) ||
filename           49 tools/perf/util/map.c 	       !strncmp(filename, "/system/lib", 11);
filename           52 tools/perf/util/map.c static inline bool replace_android_lib(const char *filename, char *newfilename)
filename           59 tools/perf/util/map.c 	libname  = strrchr(filename, '/');
filename           69 tools/perf/util/map.c 	if (!strncmp(filename, "/data/app-lib", 13)) {
filename           93 tools/perf/util/map.c 	if (!strncmp(filename, "/system/lib/", 12)) {
filename          150 tools/perf/util/map.c 		     u64 ino_gen, u32 prot, u32 flags, char *filename,
filename          162 tools/perf/util/map.c 		android = is_android_lib(filename);
filename          163 tools/perf/util/map.c 		anon = is_anon_memory(filename, flags);
filename          164 tools/perf/util/map.c 		vdso = is_vdso_map(filename);
filename          165 tools/perf/util/map.c 		no_dso = is_no_dso_memory(filename);
filename          178 tools/perf/util/map.c 			filename = newfilename;
filename          182 tools/perf/util/map.c 			if (replace_android_lib(filename, newfilename))
filename          183 tools/perf/util/map.c 				filename = newfilename;
filename          200 tools/perf/util/map.c 			dso = machine__findnew_dso(machine, filename);
filename          116 tools/perf/util/map.h 		     char *filename, struct thread *thread);
filename          134 tools/perf/util/python.c 	member_def(perf_record_mmap, filename, T_STRING_INPLACE, "backing store"),
filename          148 tools/perf/util/python.c 		     pevent->event.mmap.pgoff, pevent->event.mmap.filename) < 0) {
filename          573 tools/perf/util/session.c 		void *data = &event->mmap.filename;
filename          593 tools/perf/util/session.c 		void *data = &event->mmap2.filename;
filename          135 tools/perf/util/srcline.c 	const char 	*filename;
filename          225 tools/perf/util/srcline.c 					   &a2l->filename, &a2l->funcname,
filename          228 tools/perf/util/srcline.c 	if (a2l->filename && !strlen(a2l->filename))
filename          229 tools/perf/util/srcline.c 		a2l->filename = NULL;
filename          286 tools/perf/util/srcline.c 	if (a2l->filename)
filename          287 tools/perf/util/srcline.c 		srcline = srcline_from_fileline(a2l->filename, a2l->line);
filename          325 tools/perf/util/srcline.c 		while (bfd_find_inliner_info(a2l->abfd, &a2l->filename,
filename          329 tools/perf/util/srcline.c 			if (a2l->filename && !strlen(a2l->filename))
filename          330 tools/perf/util/srcline.c 				a2l->filename = NULL;
filename          342 tools/perf/util/srcline.c 		*file = a2l->filename ? strdup(a2l->filename) : NULL;
filename          384 tools/perf/util/srcline.c static int filename_split(char *filename, unsigned int *line_nr)
filename          388 tools/perf/util/srcline.c 	sep = strchr(filename, '\n');
filename          392 tools/perf/util/srcline.c 	if (!strcmp(filename, "??:0"))
filename          395 tools/perf/util/srcline.c 	sep = strchr(filename, ':');
filename          414 tools/perf/util/srcline.c 	char *filename = NULL;
filename          427 tools/perf/util/srcline.c 	if (getline(&filename, &len, fp) < 0 || !len) {
filename          432 tools/perf/util/srcline.c 	ret = filename_split(filename, line_nr);
filename          434 tools/perf/util/srcline.c 		free(filename);
filename          438 tools/perf/util/srcline.c 	*file = filename;
filename          456 tools/perf/util/srcline.c 	char *filename = NULL;
filename          486 tools/perf/util/srcline.c 		if (getline(&filename, &filelen, fp) == -1)
filename          489 tools/perf/util/srcline.c 		if (filename_split(filename, &line_nr) != 1)
filename          492 tools/perf/util/srcline.c 		srcline = srcline_from_fileline(filename, line_nr);
filename          505 tools/perf/util/srcline.c 	free(filename);
filename           68 tools/perf/util/strlist.c int strlist__load(struct strlist *slist, const char *filename)
filename           72 tools/perf/util/strlist.c 	FILE *fp = fopen(filename, "r");
filename           36 tools/perf/util/strlist.h int strlist__load(struct strlist *slist, const char *filename);
filename           85 tools/perf/util/svghelper.c void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end)
filename           89 tools/perf/util/svghelper.c 	svgfile = fopen(filename, "w");
filename           91 tools/perf/util/svghelper.c 		fprintf(stderr, "Cannot open %s for output\n", filename);
filename            9 tools/perf/util/svghelper.h void open_svg(const char *filename, int cpus, int rows, u64 start, u64 end);
filename          533 tools/perf/util/symbol-elf.c int filename__read_build_id(const char *filename, void *bf, size_t size)
filename          541 tools/perf/util/symbol-elf.c 	fd = open(filename, O_RDONLY);
filename          547 tools/perf/util/symbol-elf.c 		pr_debug2("%s: cannot read %s ELF file.\n", __func__, filename);
filename          560 tools/perf/util/symbol-elf.c int sysfs__read_build_id(const char *filename, void *build_id, size_t size)
filename          567 tools/perf/util/symbol-elf.c 	fd = open(filename, O_RDONLY);
filename          600 tools/perf/util/symbol-elf.c 					 __func__, filename, nhdr.n_namesz, nhdr.n_descsz);
filename          611 tools/perf/util/symbol-elf.c int filename__read_debuglink(const char *filename, char *debuglink,
filename          622 tools/perf/util/symbol-elf.c 	fd = open(filename, O_RDONLY);
filename          628 tools/perf/util/symbol-elf.c 		pr_debug2("%s: cannot read %s ELF file.\n", __func__, filename);
filename         1305 tools/perf/util/symbol-elf.c static int kcore__open(struct kcore *kcore, const char *filename)
filename         1309 tools/perf/util/symbol-elf.c 	kcore->fd = open(filename, O_RDONLY);
filename         1334 tools/perf/util/symbol-elf.c static int kcore__init(struct kcore *kcore, char *filename, int elfclass,
filename         1340 tools/perf/util/symbol-elf.c 		kcore->fd = mkstemp(filename);
filename         1342 tools/perf/util/symbol-elf.c 		kcore->fd = open(filename, O_WRONLY | O_CREAT | O_EXCL, 0400);
filename         1361 tools/perf/util/symbol-elf.c 	unlink(filename);
filename         1761 tools/perf/util/symbol-elf.c 	char filename[PATH_MAX];
filename         1763 tools/perf/util/symbol-elf.c 	scnprintf(filename, PATH_MAX, "%s/%s", dir, name);
filename         1765 tools/perf/util/symbol-elf.c 	return unlink(filename);
filename           77 tools/perf/util/symbol-minimal.c int filename__read_debuglink(const char *filename __maybe_unused,
filename           87 tools/perf/util/symbol-minimal.c int filename__read_build_id(const char *filename, void *bf, size_t size)
filename           97 tools/perf/util/symbol-minimal.c 	fp = fopen(filename, "r");
filename          223 tools/perf/util/symbol-minimal.c int sysfs__read_build_id(const char *filename, void *build_id, size_t size)
filename          231 tools/perf/util/symbol-minimal.c 	fd = open(filename, O_RDONLY);
filename          574 tools/perf/util/symbol.c int modules__parse(const char *filename, void *arg,
filename          583 tools/perf/util/symbol.c 	file = fopen(filename, "r");
filename          700 tools/perf/util/symbol.c static int dso__load_all_kallsyms(struct dso *dso, const char *filename)
filename          702 tools/perf/util/symbol.c 	return kallsyms__parse(filename, dso, map__process_kallsym_symbol);
filename          901 tools/perf/util/symbol.c bool symbol__restricted_filename(const char *filename,
filename          907 tools/perf/util/symbol.c 		char *r = realpath(filename, NULL);
filename         1002 tools/perf/util/symbol.c static int read_proc_modules(const char *filename, struct rb_root *modules)
filename         1004 tools/perf/util/symbol.c 	if (symbol__restricted_filename(filename, "/proc/modules"))
filename         1007 tools/perf/util/symbol.c 	if (modules__parse(filename, modules, __read_proc_modules)) {
filename         1061 tools/perf/util/symbol.c static int do_validate_kcore_modules(const char *filename,
filename         1068 tools/perf/util/symbol.c 	err = read_proc_modules(filename, &modules);
filename         1100 tools/perf/util/symbol.c static bool filename_from_kallsyms_filename(char *filename,
filename         1106 tools/perf/util/symbol.c 	strcpy(filename, kallsyms_filename);
filename         1107 tools/perf/util/symbol.c 	name = strrchr(filename, '/');
filename         1415 tools/perf/util/symbol.c static int kallsyms__delta(struct kmap *kmap, const char *filename, u64 *delta)
filename         1422 tools/perf/util/symbol.c 	if (kallsyms__get_function_start(filename, kmap->ref_reloc_sym->name, &addr))
filename         1429 tools/perf/util/symbol.c int __dso__load_kallsyms(struct dso *dso, const char *filename,
filename         1435 tools/perf/util/symbol.c 	if (symbol__restricted_filename(filename, "/proc/kallsyms"))
filename         1441 tools/perf/util/symbol.c 	if (dso__load_all_kallsyms(dso, filename) < 0)
filename         1444 tools/perf/util/symbol.c 	if (kallsyms__delta(kmap, filename, &delta))
filename         1455 tools/perf/util/symbol.c 	if (!no_kcore && !dso__load_kcore(dso, map, filename))
filename         1461 tools/perf/util/symbol.c int dso__load_kallsyms(struct dso *dso, const char *filename,
filename         1464 tools/perf/util/symbol.c 	return __dso__load_kallsyms(dso, filename, map, false);
filename         1857 tools/perf/util/symbol.c 	char *filename = NULL;
filename         1869 tools/perf/util/symbol.c 		filename = dso__build_id_filename(dso, NULL, 0, false);
filename         1870 tools/perf/util/symbol.c 	if (filename != NULL) {
filename         1871 tools/perf/util/symbol.c 		err = dso__load_vmlinux(dso, map, filename, true);
filename         1874 tools/perf/util/symbol.c 		free(filename);
filename          137 tools/perf/util/symbol.h int __dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map,
filename          139 tools/perf/util/symbol.h int dso__load_kallsyms(struct dso *dso, const char *filename, struct map *map);
filename          155 tools/perf/util/symbol.h int filename__read_build_id(const char *filename, void *bf, size_t size);
filename          156 tools/perf/util/symbol.h int sysfs__read_build_id(const char *filename, void *bf, size_t size);
filename          157 tools/perf/util/symbol.h int modules__parse(const char *filename, void *arg,
filename          160 tools/perf/util/symbol.h int filename__read_debuglink(const char *filename, char *debuglink,
filename          181 tools/perf/util/symbol.h bool symbol__restricted_filename(const char *filename,
filename           73 tools/perf/util/synthetic-events.c 	char filename[PATH_MAX];
filename           83 tools/perf/util/synthetic-events.c 	snprintf(filename, sizeof(filename), "/proc/%d/status", pid);
filename           85 tools/perf/util/synthetic-events.c 	fd = open(filename, O_RDONLY);
filename           87 tools/perf/util/synthetic-events.c 		pr_debug("couldn't open %s\n", filename);
filename          283 tools/perf/util/synthetic-events.c 	char filename[PATH_MAX];
filename          295 tools/perf/util/synthetic-events.c 	snprintf(filename, sizeof(filename), "%s/proc/%d/task/%d/maps",
filename          298 tools/perf/util/synthetic-events.c 	fp = fopen(filename, "r");
filename          303 tools/perf/util/synthetic-events.c 		pr_debug("couldn't open %s\n", filename);
filename          326 tools/perf/util/synthetic-events.c 				   filename);
filename          393 tools/perf/util/synthetic-events.c 		memcpy(event->mmap2.filename, execname, size);
filename          397 tools/perf/util/synthetic-events.c 					(sizeof(event->mmap2.filename) - size));
filename          398 tools/perf/util/synthetic-events.c 		memset(event->mmap2.filename + size, 0, machine->id_hdr_size);
filename          450 tools/perf/util/synthetic-events.c 				        (sizeof(event->mmap.filename) - size));
filename          451 tools/perf/util/synthetic-events.c 		memset(event->mmap.filename + size, 0, machine->id_hdr_size);
filename          457 tools/perf/util/synthetic-events.c 		memcpy(event->mmap.filename, pos->dso->long_name,
filename          476 tools/perf/util/synthetic-events.c 	char filename[PATH_MAX];
filename          509 tools/perf/util/synthetic-events.c 	snprintf(filename, sizeof(filename), "%s/proc/%d/task",
filename          512 tools/perf/util/synthetic-events.c 	tasks = opendir(filename);
filename          514 tools/perf/util/synthetic-events.c 		pr_debug("couldn't open %s\n", filename);
filename          852 tools/perf/util/synthetic-events.c 	size = snprintf(event->mmap.filename, sizeof(event->mmap.filename),
filename          857 tools/perf/util/synthetic-events.c 			(sizeof(event->mmap.filename) - size) + machine->id_hdr_size);
filename         1773 tools/perf/util/synthetic-events.c 	memcpy(&ev.build_id.filename, pos->long_name, pos->long_name_len);
filename           15 tools/perf/util/vdso.h static inline bool is_vdso_map(const char *filename)
filename           17 tools/perf/util/vdso.h 	return !strcmp(filename, VDSO__MAP_NAME);
filename           31 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_table_name_from_file(char *filename, char *signature, u32 *instance);
filename           36 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_read_table_from_file(char *filename,
filename          999 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	char *filename;
filename         1011 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	while ((filename = acpi_os_get_next_filename(table_dir))) {
filename         1016 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		    osl_table_name_from_file(filename, temp_name, &instance);
filename         1156 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_table_name_from_file(char *filename, char *signature, u32 *instance)
filename         1161 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (strlen(filename) < ACPI_NAMESEG_SIZE) {
filename         1167 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (isdigit((int)filename[ACPI_NAMESEG_SIZE])) {
filename         1168 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		sscanf(&filename[ACPI_NAMESEG_SIZE], "%u", instance);
filename         1169 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	} else if (strlen(filename) != ACPI_NAMESEG_SIZE) {
filename         1177 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	ACPI_COPY_NAMESEG(signature, filename);
filename         1198 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_read_table_from_file(char *filename,
filename         1211 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	table_file = fopen(filename, "rb");
filename         1213 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		fprintf(stderr, "Could not open table file: %s\n", filename);
filename         1223 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		fprintf(stderr, "Could not read table header: %s\n", filename);
filename         1316 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	char *filename;
filename         1328 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	while ((filename = acpi_os_get_next_filename(table_dir))) {
filename         1332 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		if (!ACPI_COMPARE_NAMESEG(filename, signature)) {
filename         1339 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 		    osl_table_name_from_file(filename, temp_name,
filename         1362 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c 	if (!filename) {
filename          106 tools/power/acpi/tools/acpidump/apfiles.c 	char filename[ACPI_NAMESEG_SIZE + 16];
filename          119 tools/power/acpi/tools/acpidump/apfiles.c 		ACPI_COPY_NAMESEG(filename, ACPI_RSDP_NAME);
filename          121 tools/power/acpi/tools/acpidump/apfiles.c 		ACPI_COPY_NAMESEG(filename, table->signature);
filename          124 tools/power/acpi/tools/acpidump/apfiles.c 	filename[0] = (char)tolower((int)filename[0]);
filename          125 tools/power/acpi/tools/acpidump/apfiles.c 	filename[1] = (char)tolower((int)filename[1]);
filename          126 tools/power/acpi/tools/acpidump/apfiles.c 	filename[2] = (char)tolower((int)filename[2]);
filename          127 tools/power/acpi/tools/acpidump/apfiles.c 	filename[3] = (char)tolower((int)filename[3]);
filename          128 tools/power/acpi/tools/acpidump/apfiles.c 	filename[ACPI_NAMESEG_SIZE] = 0;
filename          134 tools/power/acpi/tools/acpidump/apfiles.c 		strcat(filename, instance_str);
filename          137 tools/power/acpi/tools/acpidump/apfiles.c 	strcat(filename, FILE_SUFFIX_BINARY_TABLE);
filename          142 tools/power/acpi/tools/acpidump/apfiles.c 			table->signature, filename, table->length,
filename          148 tools/power/acpi/tools/acpidump/apfiles.c 	file = fopen(filename, "wb");
filename          150 tools/power/acpi/tools/acpidump/apfiles.c 		fprintf(stderr, "Could not open output file: %s\n", filename);
filename          157 tools/power/acpi/tools/acpidump/apfiles.c 			filename);
filename           55 tools/power/cpupower/bench/parse.c 	char *filename, *filename_tmp;
filename           70 tools/power/cpupower/bench/parse.c 	filename = malloc(sizeof(char) * len);
filename           71 tools/power/cpupower/bench/parse.c 	if (!filename) {
filename           78 tools/power/cpupower/bench/parse.c 		filename_tmp = realloc(filename, sizeof(*filename) * len);
filename           81 tools/power/cpupower/bench/parse.c 			free(filename);
filename           86 tools/power/cpupower/bench/parse.c 		filename = filename_tmp;
filename           87 tools/power/cpupower/bench/parse.c 		snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log",
filename           90 tools/power/cpupower/bench/parse.c 		snprintf(filename, len - 1, "%s/benchmark_%li.log",
filename           94 tools/power/cpupower/bench/parse.c 	dprintf("logfilename: %s\n", filename);
filename           96 tools/power/cpupower/bench/parse.c 	output = fopen(filename, "w+");
filename          103 tools/power/cpupower/bench/parse.c 	fprintf(stdout, "Logfile: %s\n", filename);
filename          107 tools/power/cpupower/bench/parse.c 	free(filename);
filename          317 tools/spi/spidev_test.c static void transfer_file(int fd, char *filename)
filename          325 tools/spi/spidev_test.c 	if (stat(filename, &sb) == -1)
filename          328 tools/spi/spidev_test.c 	tx_fd = open(filename, O_RDONLY);
filename          134 tools/testing/selftests/bpf/cgroup_helpers.c static int nftwfunc(const char *filename, const struct stat *statptr,
filename          137 tools/testing/selftests/bpf/cgroup_helpers.c 	if ((fileflags & FTW_D) && rmdir(filename))
filename          138 tools/testing/selftests/bpf/cgroup_helpers.c 		log_err("Removing cgroup: %s", filename);
filename           81 tools/testing/selftests/bpf/test_libbpf_open.c int test_open_file(char *filename, bool verbose)
filename           87 tools/testing/selftests/bpf/test_libbpf_open.c 		printf("Open BPF ELF-file with libbpf: %s\n", filename);
filename           90 tools/testing/selftests/bpf/test_libbpf_open.c 	bpfobj = bpf_object__open(filename);
filename           97 tools/testing/selftests/bpf/test_libbpf_open.c 			       filename, err_buf);
filename          113 tools/testing/selftests/bpf/test_libbpf_open.c 	char filename[1024] = { 0 };
filename          141 tools/testing/selftests/bpf/test_libbpf_open.c 	snprintf(filename, sizeof(filename), "%s", argv[optind]);
filename          143 tools/testing/selftests/bpf/test_libbpf_open.c 	return test_open_file(filename, verbose);
filename          101 tools/testing/selftests/bpf/xdping.c 	char filename[256];
filename          174 tools/testing/selftests/bpf/xdping.c 	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
filename          176 tools/testing/selftests/bpf/xdping.c 	if (bpf_prog_load(filename, BPF_PROG_TYPE_XDP, &obj, &prog_fd)) {
filename          177 tools/testing/selftests/bpf/xdping.c 		fprintf(stderr, "load of %s failed\n", filename);
filename           34 tools/testing/selftests/capabilities/test_execve.c static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap)
filename           49 tools/testing/selftests/capabilities/test_execve.c 	fd = open(filename, O_WRONLY);
filename           54 tools/testing/selftests/capabilities/test_execve.c 					filename, strerror(errno));
filename           59 tools/testing/selftests/capabilities/test_execve.c 			ksft_exit_fail_msg("short write to %s\n", filename);
filename           62 tools/testing/selftests/capabilities/test_execve.c 						filename, strerror(errno));
filename           67 tools/testing/selftests/capabilities/test_execve.c 					filename, strerror(errno));
filename           71 tools/testing/selftests/capabilities/test_execve.c static void maybe_write_file(char *filename, char *fmt, ...)
filename           76 tools/testing/selftests/capabilities/test_execve.c 	vmaybe_write_file(true, filename, fmt, ap);
filename           80 tools/testing/selftests/capabilities/test_execve.c static void write_file(char *filename, char *fmt, ...)
filename           85 tools/testing/selftests/capabilities/test_execve.c 	vmaybe_write_file(false, filename, fmt, ap);
filename          126 tools/testing/selftests/exec/execveat.c static int open_or_die(const char *filename, int flags)
filename          128 tools/testing/selftests/exec/execveat.c 	int fd = open(filename, flags);
filename          132 tools/testing/selftests/exec/execveat.c 			"check prerequisites are available\n", filename);
filename           31 tools/testing/selftests/filesystems/binderfs/binderfs_test.c static void write_to_file(const char *filename, const void *buf, size_t count,
filename           37 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	fd = open(filename, O_WRONLY | O_CLOEXEC);
filename           40 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 				   strerror(errno), filename);
filename           65 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 				   strerror(errno), filename);
filename           67 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	ksft_exit_fail_msg("Failed to write to file %s\n", filename);
filename           83 tools/testing/selftests/kvm/include/kvm_util.h void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename,
filename           16 tools/testing/selftests/kvm/lib/elf.c static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp)
filename           22 tools/testing/selftests/kvm/lib/elf.c 	fd = open(filename, O_RDONLY);
filename           25 tools/testing/selftests/kvm/lib/elf.c 		"  rv: %i errno: %i", filename, fd, errno);
filename           42 tools/testing/selftests/kvm/lib/elf.c 		filename,
filename           50 tools/testing/selftests/kvm/lib/elf.c 		filename,
filename           73 tools/testing/selftests/kvm/lib/elf.c 		filename, ident[EI_VERSION], EV_CURRENT);
filename          114 tools/testing/selftests/kvm/lib/elf.c void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename,
filename          122 tools/testing/selftests/kvm/lib/elf.c 	fd = open(filename, O_RDONLY);
filename          125 tools/testing/selftests/kvm/lib/elf.c 		"  rv: %i errno: %i", filename, fd, errno);
filename          128 tools/testing/selftests/kvm/lib/elf.c 	elfhdr_get(filename, &hdr);
filename          146 tools/testing/selftests/kvm/lib/elf.c 			n1, filename, (intmax_t) offset_rv, errno);
filename           57 tools/testing/selftests/mount/unprivileged-remount-test.c static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap)
filename           73 tools/testing/selftests/mount/unprivileged-remount-test.c 	fd = open(filename, O_WRONLY);
filename           78 tools/testing/selftests/mount/unprivileged-remount-test.c 		    filename, strerror(errno));
filename           83 tools/testing/selftests/mount/unprivileged-remount-test.c 			die("short write to %s\n", filename);
filename           86 tools/testing/selftests/mount/unprivileged-remount-test.c 				filename, strerror(errno));
filename           91 tools/testing/selftests/mount/unprivileged-remount-test.c 			filename, strerror(errno));
filename           95 tools/testing/selftests/mount/unprivileged-remount-test.c static void maybe_write_file(char *filename, char *fmt, ...)
filename          100 tools/testing/selftests/mount/unprivileged-remount-test.c 	vmaybe_write_file(true, filename, fmt, ap);
filename          105 tools/testing/selftests/mount/unprivileged-remount-test.c static void write_file(char *filename, char *fmt, ...)
filename          110 tools/testing/selftests/mount/unprivileged-remount-test.c 	vmaybe_write_file(false, filename, fmt, ap);
filename          174 tools/testing/selftests/powerpc/ptrace/core-pkey.c static off_t try_core_file(const char *filename, struct shared_info *info,
filename          180 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	ret = stat(filename, &buf);
filename          258 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	char *filenames, *filename[3];
filename          291 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	filename[0] = filenames = malloc(PATH_MAX);
filename          297 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	ret = snprintf(filename[0], PATH_MAX, "core-pkey.%d", pid);
filename          303 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	filename[1] = filename[0] + ret + 1;
filename          304 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	ret = snprintf(filename[1], PATH_MAX - ret - 1, "core.%d", pid);
filename          309 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	filename[2] = "core";
filename          312 tools/testing/selftests/powerpc/ptrace/core-pkey.c 		core_size = try_core_file(filename[i], info, pid);
filename          323 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	fd = open(filename[i], O_RDONLY);
filename          341 tools/testing/selftests/powerpc/ptrace/core-pkey.c 	unlink(filename[i]);
filename           38 tools/testing/selftests/proc/read.c static void f_reg(DIR *d, const char *filename)
filename           45 tools/testing/selftests/proc/read.c 	fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK);
filename           53 tools/testing/selftests/proc/read.c static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len)
filename           58 tools/testing/selftests/proc/read.c 	fd = openat(dirfd(d), filename, O_WRONLY);
filename           66 tools/testing/selftests/proc/read.c static void f_lnk(DIR *d, const char *filename)
filename           71 tools/testing/selftests/proc/read.c 	rv = readlinkat(dirfd(d), filename, buf, sizeof(buf));
filename           40 tools/testing/selftests/safesetid/safesetid-test.c static bool vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap)
filename           58 tools/testing/selftests/safesetid/safesetid-test.c 	fd = open(filename, O_WRONLY);
filename           67 tools/testing/selftests/safesetid/safesetid-test.c 			printf("short write to %s\n", filename);
filename           71 tools/testing/selftests/safesetid/safesetid-test.c 				filename, strerror(errno));
filename           77 tools/testing/selftests/safesetid/safesetid-test.c 			filename, strerror(errno));
filename           83 tools/testing/selftests/safesetid/safesetid-test.c static bool write_file(char *filename, char *fmt, ...)
filename           89 tools/testing/selftests/safesetid/safesetid-test.c 	ret = vmaybe_write_file(false, filename, fmt, ap);
filename           32 tools/thermal/tmon/sysfs.c int sysfs_set_ulong(char *path, char *filename, unsigned long val)
filename           38 tools/thermal/tmon/sysfs.c 	snprintf(filepath, 256, "%s/%s", path, filename);
filename           56 tools/thermal/tmon/sysfs.c static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong)
filename           62 tools/thermal/tmon/sysfs.c 	snprintf(filepath, 256, "%s/%s", path, filename);
filename           75 tools/thermal/tmon/sysfs.c static int sysfs_get_string(char *path, char *filename, char *str)
filename           81 tools/thermal/tmon/sysfs.c 	snprintf(filepath, 256, "%s/%s", path, filename);
filename          123 tools/thermal/tmon/sysfs.c 	char filename[256];
filename          130 tools/thermal/tmon/sysfs.c 	snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid);
filename          131 tools/thermal/tmon/sysfs.c 	sysfs_get_string(tz_path, filename, temp_str);
filename          165 tools/thermal/tmon/tmon.h extern int sysfs_set_ulong(char *path, char *filename, unsigned long val);
filename          344 tools/usb/ffs-test.c 	const char *const filename;
filename          384 tools/usb/ffs-test.c 	t->fd = open(t->filename, O_RDWR);
filename          385 tools/usb/ffs-test.c 	die_on(t->fd < 0, "%s", t->filename);
filename          404 tools/usb/ffs-test.c 				err("%s: get fifo status", t->filename);
filename          406 tools/usb/ffs-test.c 			warn("%s: unclaimed = %d\n", t->filename, ret);
filename          408 tools/usb/ffs-test.c 				err("%s: fifo flush", t->filename);
filename          413 tools/usb/ffs-test.c 		err("%s: close", t->filename);
filename          425 tools/usb/ffs-test.c 	info("%s: starts\n", t->filename);
filename          426 tools/usb/ffs-test.c 	in_name = t->in_name ? t->in_name : t->filename;
filename          427 tools/usb/ffs-test.c 	out_name = t->out_name ? t->out_name : t->filename;
filename          460 tools/usb/ffs-test.c 	info("%s: ends\n", t->filename);
filename          466 tools/usb/ffs-test.c 	debug("%s: starting\n", t->filename);
filename          469 tools/usb/ffs-test.c 	       "pthread_create(%s)", t->filename);
filename          477 tools/usb/ffs-test.c 		err("%s: joining thread", t->filename);
filename          479 tools/usb/ffs-test.c 		debug("%s: joined\n", t->filename);
filename          633 tools/usb/ffs-test.c 		info("%s: writing descriptors\n", t->filename);
filename          637 tools/usb/ffs-test.c 	info("%s: writing descriptors (in v2 format)\n", t->filename);
filename          641 tools/usb/ffs-test.c 		warn("%s: new format rejected, trying legacy\n", t->filename);
filename          649 tools/usb/ffs-test.c 	die_on(ret < 0, "%s: write: descriptors", t->filename);
filename          651 tools/usb/ffs-test.c 	info("%s: writing strings\n", t->filename);
filename          653 tools/usb/ffs-test.c 	die_on(ret < 0, "%s: write: strings", t->filename);
filename          528 usr/gen_init_cpio.c 	const char *filename;
filename          558 usr/gen_init_cpio.c 	filename = argv[optind];
filename          559 usr/gen_init_cpio.c 	if (!strcmp(filename, "-"))
filename          561 usr/gen_init_cpio.c 	else if (!(cpio_list = fopen(filename, "r"))) {
filename          563 usr/gen_init_cpio.c 			filename, strerror(errno));