Home
last modified time | relevance | path

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

/arch/xtensa/platforms/iss/
Dsimdisk.c28 const char *filename; member
44 static const char *filename[MAX_SIMDISK_COUNT] = { variable
56 if (n_files < ARRAY_SIZE(filename)) in simdisk_param_set_filename()
57 filename[n_files++] = val; in simdisk_param_set_filename()
66 module_param_cb(filename, &simdisk_param_ops_filename, &n_files, 0);
67 MODULE_PARM_DESC(filename, "Backing storage filename.");
153 static int simdisk_attach(struct simdisk *dev, const char *filename) in simdisk_attach() argument
157 filename = kstrdup(filename, GFP_KERNEL); in simdisk_attach()
158 if (filename == NULL) in simdisk_attach()
167 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);
65 static int load_initrd(char *filename, void *buf, int size) in load_initrd() argument
69 fd = os_open_file(filename, of_read(OPENFLAGS()), 0); in load_initrd()
71 printk(KERN_ERR "Opening '%s' failed - err = %d\n", filename, in load_initrd()
79 filename, -n); in load_initrd()
/arch/sparc/boot/
Dpiggyback.c111 static int get_start_end(const char *filename, unsigned int *start, in get_start_end() argument
119 map = fopen(filename, "r"); in get_start_end()
121 die(filename); in get_start_end()
146 static off_t get_hdrs_offset(int kernelfd, const char *filename) in get_hdrs_offset() argument
155 die(filename); in get_hdrs_offset()
171 die(filename); in get_hdrs_offset()
180 fprintf (stderr, "Couldn't find headers signature in %s\n", filename); in get_hdrs_offset()
/arch/x86/ia32/
Dsys_ia32.c53 asmlinkage long sys32_truncate64(const char __user *filename, in sys32_truncate64() argument
57 return sys_truncate(filename, ((loff_t) offset_high << 32) | offset_low); in sys32_truncate64()
98 asmlinkage long sys32_stat64(const char __user *filename, in sys32_stat64() argument
102 int ret = vfs_stat(filename, &stat); in sys32_stat64()
109 asmlinkage long sys32_lstat64(const char __user *filename, in sys32_lstat64() argument
113 int ret = vfs_lstat(filename, &stat); in sys32_lstat64()
128 asmlinkage long sys32_fstatat(unsigned int dfd, const char __user *filename, in sys32_fstatat() argument
134 error = vfs_fstatat(dfd, filename, &stat, flag); in sys32_fstatat()
/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.c100 asmlinkage long compat_sys_stat64(const char __user * filename, in compat_sys_stat64() argument
104 int error = vfs_stat(filename, &stat); in compat_sys_stat64()
111 asmlinkage long compat_sys_lstat64(const char __user * filename, in compat_sys_lstat64() argument
115 int error = vfs_lstat(filename, &stat); in compat_sys_lstat64()
134 const char __user *filename, in compat_sys_fstatat64() argument
140 error = vfs_fstatat(dfd, filename, &stat, flag); in compat_sys_fstatat64()
/arch/s390/kernel/
Dcompat_linux.h90 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group);
91 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group);
114 long compat_sys_s390_stat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
115 long compat_sys_s390_lstat64(const char __user *filename, struct stat64_emu31 __user *statbuf);
117 long compat_sys_s390_fstatat64(unsigned int dfd, const char __user *filename, struct stat64_emu31 _…
Dcompat_wrapper.c65 COMPAT_SYSCALL_WRAP1(chdir, const char __user *, filename);
66 COMPAT_SYSCALL_WRAP3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev);
67 COMPAT_SYSCALL_WRAP2(chmod, const char __user *, filename, umode_t, mode);
69 COMPAT_SYSCALL_WRAP2(access, const char __user *, filename, int, mode);
78 COMPAT_SYSCALL_WRAP1(chroot, const char __user *, filename);
110 COMPAT_SYSCALL_WRAP3(lchown, const char __user *, filename, uid_t, user, gid_t, group);
115 COMPAT_SYSCALL_WRAP3(chown, const char __user *, filename, uid_t, user, gid_t, group);
143 COMPAT_SYSCALL_WRAP4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, unsigned, dev…
144 COMPAT_SYSCALL_WRAP5(fchownat, int, dfd, const char __user *, filename, uid_t, user, gid_t, group, …
150 COMPAT_SYSCALL_WRAP3(fchmodat, int, dfd, const char __user *, filename, umode_t, mode);
[all …]
Dcompat_linux.c89 COMPAT_SYSCALL_DEFINE3(s390_chown16, const char __user *, filename, in COMPAT_SYSCALL_DEFINE3() argument
92 return sys_chown(filename, low2highuid(user), low2highgid(group)); in COMPAT_SYSCALL_DEFINE3()
96 filename, u16, user, u16, group) in COMPAT_SYSCALL_DEFINE3() argument
98 return sys_lchown(filename, low2highuid(user), low2highgid(group)); in COMPAT_SYSCALL_DEFINE3()
383 COMPAT_SYSCALL_DEFINE2(s390_stat64, const char __user *, filename, struct stat64_emu31 __user *, st… in COMPAT_SYSCALL_DEFINE2() argument
386 int ret = vfs_stat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
392 COMPAT_SYSCALL_DEFINE2(s390_lstat64, const char __user *, filename, struct stat64_emu31 __user *, s… in COMPAT_SYSCALL_DEFINE2() argument
395 int ret = vfs_lstat(filename, &stat); in COMPAT_SYSCALL_DEFINE2()
410 COMPAT_SYSCALL_DEFINE4(s390_fstatat64, unsigned int, dfd, const char __user *, filename, in COMPAT_SYSCALL_DEFINE4() argument
416 error = vfs_fstatat(dfd, filename, &stat, flag); in COMPAT_SYSCALL_DEFINE4()
/arch/cris/arch-v10/kernel/
Dtraps.c126 if (__get_user(c, f.filename)) in handle_BUG()
127 f.filename = "<bad filename>"; in handle_BUG()
129 printk("kernel BUG at %s:%d!\n", f.filename, f.line); in handle_BUG()
/arch/tile/kernel/
Dpci.c87 char filename[32]; in tile_pcie_open() local
90 sprintf(filename, "pcie/%d/config%d", controller_id, config_type); in tile_pcie_open()
92 fd = hv_dev_open((HV_VirtAddr)filename, 0); in tile_pcie_open()
103 char filename[32]; in tile_init_irqs() local
109 sprintf(filename, "pcie/%d/ctl", controller_id); in tile_init_irqs()
110 fd = hv_dev_open((HV_VirtAddr)filename, 0); in tile_init_irqs()
112 pr_err("PCI: hv_dev_open(%s) failed\n", filename); in tile_init_irqs()
Dcompat.c35 COMPAT_SYSCALL_DEFINE4(truncate64, char __user *, filename, u32, dummy, in COMPAT_SYSCALL_DEFINE4() argument
38 return sys_truncate(filename, ((loff_t)high << 32) | low); in COMPAT_SYSCALL_DEFINE4()
Dhvglue_trace.c234 HV_WRAP1(int, hv_fs_findfile, HV_VirtAddr, filename)
/arch/avr32/oprofile/
Dop_model_avr32.c104 char filename[4]; in avr32_perf_counter_create_files() local
107 snprintf(filename, sizeof(filename), "%u", i); in avr32_perf_counter_create_files()
108 dir = oprofilefs_mkdir(root, filename); in avr32_perf_counter_create_files()
/arch/powerpc/kernel/
Drtas_flash.c659 const char *filename; member
667 .filename = "powerpc/rtas/" FIRMWARE_FLASH_NAME,
676 .filename = "powerpc/rtas/" FIRMWARE_UPDATE_NAME,
685 .filename = "powerpc/rtas/" VALIDATE_FLASH_NAME,
694 .filename = "powerpc/rtas/" MANAGE_FLASH_NAME,
730 if (!proc_create(f->filename, S_IRUSR | S_IWUSR, NULL, &f->fops)) in rtas_flash_init()
750 remove_proc_entry(f->filename, NULL); in rtas_flash_init()
772 remove_proc_entry(f->filename, NULL); in rtas_flash_cleanup()
/arch/cris/include/arch-v10/arch/
Dbug.h26 unsigned char *filename; member
/arch/arm/kernel/
Dsys_oabi-compat.c144 asmlinkage long sys_oabi_stat64(const char __user * filename, in sys_oabi_stat64() argument
148 int error = vfs_stat(filename, &stat); in sys_oabi_stat64()
154 asmlinkage long sys_oabi_lstat64(const char __user * filename, in sys_oabi_lstat64() argument
158 int error = vfs_lstat(filename, &stat); in sys_oabi_lstat64()
175 const char __user *filename, in sys_oabi_fstatat64() argument
182 error = vfs_fstatat(dfd, filename, &stat, flag); in sys_oabi_fstatat64()
/arch/tile/mm/
Delf.c129 sim_notify_exec(bprm->filename); in arch_setup_additional_pages()
/arch/tile/include/asm/
Dcompat.h277 long compat_sys_truncate64(char __user *filename, u32 dummy, u32 low, u32 high);
/arch/alpha/kernel/
Dosf_sys.c455 struct filename *devname; in osf_ufs_mount()
476 struct filename *devname; in osf_cdfs_mount()
1059 SYSCALL_DEFINE2(osf_utimes, const char __user *, filename, in SYSCALL_DEFINE2() argument
1080 return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0); in SYSCALL_DEFINE2()
/arch/mips/bcm63xx/boards/
Dboard_bcm963xx.c794 board_name = hcs->filename; in board_prom_init()
/arch/xtensa/
DKconfig385 string "Host filename for the first simulated device"
393 string "Host filename for the second simulated device"
/arch/tile/include/hv/
Dhypervisor.h1277 int hv_fs_findfile(HV_VirtAddr filename);
/arch/mips/
DKconfig2814 objcopy --update-section .appended_dtb=<filename>.dtb vmlinux
2825 (e.g. cat vmlinux.bin <filename>.dtb > vmlinux_w_dtb).
2843 (e.g. cat vmlinuz.bin <filename>.dtb > vmlinuz_w_dtb).
/arch/arm/
DKconfig1926 (e.g. cat zImage <filename>.dtb > zImage_w_dtb).