Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 18 of 18) sorted by relevance

/arch/xtensa/platforms/iss/
Dsimdisk.c28 const char *filename; member
43 static const char *filename[MAX_SIMDISK_COUNT] = { variable
55 if (n_files < ARRAY_SIZE(filename)) in simdisk_param_set_filename()
56 filename[n_files++] = val; in simdisk_param_set_filename()
65 module_param_cb(filename, &simdisk_param_ops_filename, &n_files, 0);
66 MODULE_PARM_DESC(filename, "Backing storage filename.");
152 static int simdisk_attach(struct simdisk *dev, const char *filename) in simdisk_attach() argument
156 filename = kstrdup(filename, GFP_KERNEL); in simdisk_attach()
157 if (filename == NULL) in simdisk_attach()
166 dev->fd = simc_open(filename, O_RDWR, 0); in simdisk_attach()
[all …]
/arch/um/kernel/
Dinitrd.c15 static int load_initrd(char *filename, void *buf, int size);
63 static int load_initrd(char *filename, void *buf, int size) in load_initrd() argument
67 fd = os_open_file(filename, of_read(OPENFLAGS()), 0); in load_initrd()
69 printk(KERN_ERR "Opening '%s' failed - err = %d\n", filename, in load_initrd()
77 filename, -n); in load_initrd()
/arch/sparc/boot/
Dpiggyback.c100 static int get_start_end(const char *filename, unsigned int *start, in get_start_end() argument
108 map = fopen(filename, "r"); in get_start_end()
110 die(filename); in get_start_end()
135 static off_t get_hdrs_offset(int kernelfd, const char *filename) in get_hdrs_offset() argument
144 die(filename); in get_hdrs_offset()
164 die(filename); in get_hdrs_offset()
173 fprintf (stderr, "Couldn't find headers signature in %s\n", filename); in get_hdrs_offset()
/arch/x86/kernel/
Dsys_ia32.c54 SYSCALL_DEFINE3(ia32_truncate64, const char __user *, filename, in SYSCALL_DEFINE3() argument
57 return ksys_truncate(filename, in SYSCALL_DEFINE3()
164 COMPAT_SYSCALL_DEFINE2(ia32_stat64, const char __user *, filename, in COMPAT_SYSCALL_DEFINE2() argument
168 int ret = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
175 COMPAT_SYSCALL_DEFINE2(ia32_lstat64, const char __user *, filename, in COMPAT_SYSCALL_DEFINE2() argument
179 int ret = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
196 const char __user *, filename, in COMPAT_SYSCALL_DEFINE4() argument
202 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
/arch/s390/kernel/syscalls/
Dsyscalltbl124 local filename="$2"
127 if test "$filename"; then
193 filename=""
203 filename=${OPTARG##*/}
228 test "$do_syscall_header" && generate_syscall_header "$abi_list" "$filename"
/arch/s390/kernel/
Dcompat_linux.h91 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group);
92 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group);
115 long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
116 long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
118 long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 _…
Dcompat_linux.c150 COMPAT_SYSCALL_DEFINE2(s390_stat64, const char __user *, filename, struct stat64_emu31 __user *, st… in COMPAT_SYSCALL_DEFINE2() argument
153 int ret = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
159 COMPAT_SYSCALL_DEFINE2(s390_lstat64, const char __user *, filename, struct stat64_emu31 __user *, s… in COMPAT_SYSCALL_DEFINE2() argument
162 int ret = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
177 COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename, in COMPAT_SYSCALL_DEFINE4() argument
183 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
/arch/sparc/kernel/
Dsystbls.h59 asmlinkage long compat_sys_stat64(const char __user * filename,
61 asmlinkage long compat_sys_lstat64(const char __user * filename,
66 const char __user *filename,
99 const char __user *filename,
Dsys_sparc32.c94 COMPAT_SYSCALL_DEFINE2(stat64, const char __user *, filename, in COMPAT_SYSCALL_DEFINE2() argument
98 int error = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
105 COMPAT_SYSCALL_DEFINE2(lstat64, const char __user *, filename, in COMPAT_SYSCALL_DEFINE2() argument
109 int error = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
128 const char __user *, filename, in COMPAT_SYSCALL_DEFINE4() argument
134 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
/arch/powerpc/kernel/
Drtas_flash.c655 const char *filename; member
663 .filename = "powerpc/rtas/" FIRMWARE_FLASH_NAME,
672 .filename = "powerpc/rtas/" FIRMWARE_UPDATE_NAME,
681 .filename = "powerpc/rtas/" VALIDATE_FLASH_NAME,
690 .filename = "powerpc/rtas/" MANAGE_FLASH_NAME,
726 if (!proc_create(f->filename, 0600, NULL, &f->ops)) in rtas_flash_init()
746 remove_proc_entry(f->filename, NULL); in rtas_flash_init()
768 remove_proc_entry(f->filename, NULL); in rtas_flash_cleanup()
/arch/arm/kernel/
Dsys_oabi-compat.c145 asmlinkage long sys_oabi_stat64(const char __user * filename, in sys_oabi_stat64() argument
149 int error = vfs_stat(filename, &stat); in sys_oabi_stat64()
155 asmlinkage long sys_oabi_lstat64(const char __user * filename, in sys_oabi_lstat64() argument
159 int error = vfs_lstat(filename, &stat); in sys_oabi_lstat64()
176 const char __user *filename, in sys_oabi_fstatat64() argument
183 error = vfs_fstatat(dfd, filename, &stat, flag); in sys_oabi_fstatat64()
/arch/um/drivers/
Dvector_user.h101 extern void *uml_vector_user_bpf(char *filename);
Dvector_user.c813 void *uml_vector_user_bpf(char *filename) in uml_vector_user_bpf() argument
820 if (filename == NULL) in uml_vector_user_bpf()
823 if (stat(filename, &statbuf) < 0) { in uml_vector_user_bpf()
834 ffd = os_open_file(filename, of_read(OPENFLAGS()), 0); in uml_vector_user_bpf()
847 printk(KERN_ERR "Failed to read bpf program %s, error %d", filename, res); in uml_vector_user_bpf()
/arch/alpha/kernel/
Dosf_sys.c459 struct filename *devname; in osf_ufs_mount()
480 struct filename *devname; in osf_cdfs_mount()
1018 SYSCALL_DEFINE2(osf_utimes, const char __user *, filename, in SYSCALL_DEFINE2() argument
1033 return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0); in SYSCALL_DEFINE2()
/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c775 board_name = hcs->filename; in board_prom_init()
/arch/xtensa/
DKconfig438 string "Host filename for the first simulated device"
446 string "Host filename for the second simulated device"
/arch/mips/
DKconfig3140 objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
3151 (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
/arch/arm/
DKconfig1690 (e.g. cat zImage <filename>.dtb > zImage_w_dtb).