Home
last modified time | relevance | path

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

/fs/
Dutimes.c27 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument
38 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2()
129 long do_utimes(int dfd, char __user *filename, struct timespec *times, int flags) in do_utimes() argument
141 if (filename == NULL && dfd != AT_FDCWD) { in do_utimes()
161 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
173 SYSCALL_DEFINE4(utimensat, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument
188 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4()
191 SYSCALL_DEFINE3(futimesat, int, dfd, char __user *, filename, in SYSCALL_DEFINE3() argument
216 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in SYSCALL_DEFINE3()
219 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument
[all …]
Dstat.c155 SYSCALL_DEFINE2(stat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
158 int error = vfs_stat_fd(AT_FDCWD, filename, &stat); in SYSCALL_DEFINE2()
166 SYSCALL_DEFINE2(lstat, char __user *, filename, struct __old_kernel_stat __user *, statbuf) in SYSCALL_DEFINE2() argument
169 int error = vfs_lstat_fd(AT_FDCWD, filename, &stat); in SYSCALL_DEFINE2()
240 SYSCALL_DEFINE2(newstat, char __user *, filename, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
243 int error = vfs_stat_fd(AT_FDCWD, filename, &stat); in SYSCALL_DEFINE2()
251 SYSCALL_DEFINE2(newlstat, char __user *, filename, struct stat __user *, statbuf) in SYSCALL_DEFINE2() argument
254 int error = vfs_lstat_fd(AT_FDCWD, filename, &stat); in SYSCALL_DEFINE2()
263 SYSCALL_DEFINE4(newfstatat, int, dfd, char __user *, filename, in SYSCALL_DEFINE4() argument
273 error = vfs_lstat_fd(dfd, filename, &stat); in SYSCALL_DEFINE4()
[all …]
Dopen.c450 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
479 res = user_path_at(dfd, filename, LOOKUP_FOLLOW, &path); in SYSCALL_DEFINE3()
520 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
522 return sys_faccessat(AT_FDCWD, filename, mode); in SYSCALL_DEFINE2()
525 SYSCALL_DEFINE1(chdir, const char __user *, filename) in SYSCALL_DEFINE1() argument
530 error = user_path_dir(filename, &path); in SYSCALL_DEFINE1()
572 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1() argument
577 error = user_path_dir(filename, &path); in SYSCALL_DEFINE1()
631 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, mode_t, mode) in SYSCALL_DEFINE3() argument
638 error = user_path_at(dfd, filename, LOOKUP_FOLLOW, &path); in SYSCALL_DEFINE3()
[all …]
Dcompat.c80 asmlinkage long compat_sys_utime(char __user *filename, struct compat_utimbuf __user *t) in compat_sys_utime() argument
91 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in compat_sys_utime()
94 asmlinkage long compat_sys_utimensat(unsigned int dfd, char __user *filename, struct compat_timespe… in compat_sys_utimensat() argument
113 return do_utimes(dfd, filename, t ? tv : NULL, flags); in compat_sys_utimensat()
116 asmlinkage long compat_sys_futimesat(unsigned int dfd, char __user *filename, struct compat_timeval… in compat_sys_futimesat() argument
132 return do_utimes(dfd, filename, t ? tv : NULL, 0); in compat_sys_futimesat()
135 asmlinkage long compat_sys_utimes(char __user *filename, struct compat_timeval __user *t) in compat_sys_utimes() argument
137 return compat_sys_futimesat(AT_FDCWD, filename, t); in compat_sys_utimes()
179 asmlinkage long compat_sys_newstat(char __user * filename, in compat_sys_newstat() argument
183 int error = vfs_stat_fd(AT_FDCWD, filename, &stat); in compat_sys_newstat()
[all …]
Dnamei.c118 static int do_getname(const char __user *filename, char *page) in do_getname() argument
124 if ((unsigned long) filename >= TASK_SIZE) in do_getname()
126 if (TASK_SIZE - (unsigned long) filename < PATH_MAX) in do_getname()
127 len = TASK_SIZE - (unsigned long) filename; in do_getname()
130 retval = strncpy_from_user(page, filename, len); in do_getname()
140 char * getname(const char __user * filename) in getname() argument
147 int retval = do_getname(filename, tmp); in getname()
1861 struct file *filp_open(const char *filename, int flags, int mode) in filp_open() argument
1863 return do_filp_open(AT_FDCWD, filename, flags, mode); in filp_open()
1965 SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument
[all …]
Dexec.c986 name = bprm->filename; in flush_old_exec()
1275 int do_execve(char * filename, in do_execve() argument
1304 file = open_exec(filename); in do_execve()
1312 bprm->filename = filename; in do_execve()
1313 bprm->interp = filename; in do_execve()
1331 retval = copy_strings_kernel(1, &bprm->filename, bprm); in do_execve()
Dbinfmt_em86.c67 retval = copy_strings_kernel(1, &bprm->filename, bprm); in load_em86()
Dbinfmt_flat.c457 printk("BINFMT_FLAT: Loading file: %s\n", bprm->filename); in load_flat_file()
679 id ? "Lib" : "Load", bprm->filename, in load_flat_file()
809 bprm.filename = buf; in load_flat_shared_library()
810 bprm.file = open_exec(bprm.filename); in load_flat_shared_library()
/fs/cifs/
Dreaddir.c555 char *filename = NULL; in cifs_entry_is_dot() local
560 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
562 len = cifs_unicode_bytelen(filename); in cifs_entry_is_dot()
565 len = strnlen(filename, 5); in cifs_entry_is_dot()
570 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
576 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
582 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
588 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
593 filename = &pFindData->FileName[0]; in cifs_entry_is_dot()
600 if (filename) { in cifs_entry_is_dot()
[all …]
DCHANGES289 search (readdir) output when resume filename was a long filename.
290 Fix filename conversion when mapchars mount option was specified and
291 filename was a long filename.
394 buffer size to small to fit filename. Add support for reading POSIX ACLs from
DREADME223 1) By including it in a credential file. Specify credentials=filename as one
/fs/gfs2/
Ddir.h20 struct inode *gfs2_dir_search(struct inode *dir, const struct qstr *filename);
21 int gfs2_dir_check(struct inode *dir, const struct qstr *filename,
23 int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
25 int gfs2_dir_del(struct gfs2_inode *dip, const struct qstr *filename);
28 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
34 const struct qstr *filename);
Dsuper.h33 int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
Ddir.c1732 int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename, in gfs2_dir_mvino() argument
1739 dent = gfs2_dirent_search(&dip->i_inode, filename, gfs2_dirent_find, &bh); in gfs2_dir_mvino()
/fs/ecryptfs/
Dcrypto.c1667 ecryptfs_encrypt_filename(struct ecryptfs_filename *filename, in ecryptfs_encrypt_filename() argument
1673 filename->encrypted_filename = NULL; in ecryptfs_encrypt_filename()
1674 filename->encrypted_filename_size = 0; in ecryptfs_encrypt_filename()
1683 &filename->encrypted_filename_size, in ecryptfs_encrypt_filename()
1685 filename->filename_size); in ecryptfs_encrypt_filename()
1690 filename->encrypted_filename_size = 0; in ecryptfs_encrypt_filename()
1693 filename->encrypted_filename = in ecryptfs_encrypt_filename()
1694 kmalloc(filename->encrypted_filename_size, GFP_KERNEL); in ecryptfs_encrypt_filename()
1695 if (!filename->encrypted_filename) { in ecryptfs_encrypt_filename()
1698 filename->encrypted_filename_size); in ecryptfs_encrypt_filename()
[all …]
Dkeystore.c506 char *filename, size_t filename_size) in ecryptfs_write_tag_70_packet() argument
688 memcpy(&s->block_aligned_filename[s->num_rand_bytes], filename, in ecryptfs_write_tag_70_packet()
787 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, in ecryptfs_parse_tag_70_packet() argument
797 (*filename) = NULL; in ecryptfs_parse_tag_70_packet()
955 (*filename) = kmalloc(((*filename_size) + 1), GFP_KERNEL); in ecryptfs_parse_tag_70_packet()
956 if (!(*filename)) { in ecryptfs_parse_tag_70_packet()
963 memcpy((*filename), &s->decrypted_filename[s->i], (*filename_size)); in ecryptfs_parse_tag_70_packet()
964 (*filename)[(*filename_size)] = '\0'; in ecryptfs_parse_tag_70_packet()
973 (*filename) = NULL; in ecryptfs_parse_tag_70_packet()
Decryptfs_kernel.h244 char *filename; member
756 char *filename, size_t filename_size);
758 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size,
/fs/udf/
Dunicode.c327 struct ustr filename, unifilename; in udf_get_filename() local
334 if (!udf_CS0toUTF8(&filename, &unifilename)) { in udf_get_filename()
340 if (!udf_CS0toNLS(UDF_SB(sb)->s_nls_map, &filename, in udf_get_filename()
349 len = udf_translate_to_linux(dname, filename.u_name, filename.u_len, in udf_get_filename()
/fs/cramfs/
DREADME33 allows cramfs_lookup to return more quickly when a filename does not
167 by filename, so the expansion doesn't even have to be a multiple of 4
/fs/ncpfs/
DKconfig70 If you say Y here, every filename on a NetWare server volume using
/fs/affs/
DChanges255 - rename() will not ignore changes in filename