Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/
Dutimes.c24 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument
35 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2()
119 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() argument
132 if (filename == NULL && dfd != AT_FDCWD) { in do_utimes()
152 error = user_path_at(dfd, filename, lookup_flags, &path); in do_utimes()
168 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument
184 return do_utimes(dfd, filename, utimes ? tstimes : NULL, flags); in SYSCALL_DEFINE4()
187 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() argument
212 return do_utimes(dfd, filename, utimes ? tstimes : NULL, 0); in do_futimesat()
216 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument
[all …]
Dopen.c347 long do_faccessat(int dfd, const char __user *filename, int mode) in do_faccessat() argument
397 res = user_path_at(dfd, filename, lookup_flags, &path); in do_faccessat()
442 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument
444 return do_faccessat(dfd, filename, mode); in SYSCALL_DEFINE3()
447 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument
449 return do_faccessat(AT_FDCWD, filename, mode); in SYSCALL_DEFINE2()
452 int ksys_chdir(const char __user *filename) in ksys_chdir() argument
458 error = user_path_at(AT_FDCWD, filename, lookup_flags, &path); in ksys_chdir()
478 SYSCALL_DEFINE1(chdir, const char __user *, filename) in SYSCALL_DEFINE1() argument
480 return ksys_chdir(filename); in SYSCALL_DEFINE1()
[all …]
Dexec.c124 struct filename *tmp = getname(library); in SYSCALL_DEFINE1()
835 static struct file *do_open_execat(int fd, struct filename *name, int flags) in do_open_execat()
881 struct filename *filename = getname_kernel(name); in open_exec() local
882 struct file *f = ERR_CAST(filename); in open_exec()
884 if (!IS_ERR(filename)) { in open_exec()
885 f = do_open_execat(AT_FDCWD, filename, 0); in open_exec()
886 putname(filename); in open_exec()
1386 __set_task_comm(current, kbasename(bprm->filename), true); in setup_new_exec()
1442 if (bprm->interp != bprm->filename) in free_bprm()
1450 if (bprm->interp != bprm->filename) in bprm_change_interp()
[all …]
Dstat.c166 int vfs_statx(int dfd, const char __user *filename, int flags, in vfs_statx() argument
185 error = user_path_at(dfd, filename, lookup_flags, &path); in vfs_statx()
244 SYSCALL_DEFINE2(stat, const char __user *, filename, in SYSCALL_DEFINE2() argument
250 error = vfs_stat(filename, &stat); in SYSCALL_DEFINE2()
257 SYSCALL_DEFINE2(lstat, const char __user *, filename, in SYSCALL_DEFINE2() argument
263 error = vfs_lstat(filename, &stat); in SYSCALL_DEFINE2()
332 SYSCALL_DEFINE2(newstat, const char __user *, filename, in SYSCALL_DEFINE2() argument
336 int error = vfs_stat(filename, &stat); in SYSCALL_DEFINE2()
343 SYSCALL_DEFINE2(newlstat, const char __user *, filename, in SYSCALL_DEFINE2() argument
349 error = vfs_lstat(filename, &stat); in SYSCALL_DEFINE2()
[all …]
Dinternal.h60 long do_mknodat(int dfd, const char __user *filename, umode_t mode,
64 long do_unlinkat(int dfd, struct filename *name);
116 extern struct file *do_filp_open(int dfd, struct filename *pathname,
122 long do_faccessat(int dfd, const char __user *filename, int mode);
123 int do_fchmodat(int dfd, const char __user *filename, umode_t mode);
124 int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
Dnamei.c126 #define EMBEDDED_NAME_MAX (PATH_MAX - offsetof(struct filename, iname))
128 struct filename *
129 getname_flags(const char __user *filename, int flags, int *empty) in getname_flags() argument
131 struct filename *result; in getname_flags()
134 BUILD_BUG_ON(offsetof(struct filename, iname) % sizeof(long) != 0); in getname_flags()
136 result = audit_reusename(filename); in getname_flags()
151 len = strncpy_from_user(kname, filename, EMBEDDED_NAME_MAX); in getname_flags()
164 const size_t size = offsetof(struct filename, iname[1]); in getname_flags()
178 len = strncpy_from_user(kname, filename, PATH_MAX); in getname_flags()
202 result->uptr = filename; in getname_flags()
[all …]
/linux-4.19.296/fs/gfs2/
Ddir.h30 const struct qstr *filename,
32 extern int gfs2_dir_check(struct inode *dir, const struct qstr *filename,
34 extern int gfs2_dir_add(struct inode *inode, const struct qstr *filename,
45 extern int gfs2_dir_mvino(struct gfs2_inode *dip, const struct qstr *filename,
51 const struct qstr *filename,
Dsuper.h35 extern int gfs2_lookup_in_master_dir(struct gfs2_sbd *sdp, char *filename,
/linux-4.19.296/include/linux/
Dsyscalls.h376 asmlinkage long sys_mknodat(int dfd, const char __user * filename, umode_t mode,
412 asmlinkage long sys_faccessat(int dfd, const char __user *filename, int mode);
413 asmlinkage long sys_chdir(const char __user *filename);
415 asmlinkage long sys_chroot(const char __user *filename);
417 asmlinkage long sys_fchmodat(int dfd, const char __user * filename,
419 asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user,
422 asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
489 asmlinkage long sys_newfstatat(int dfd, const char __user *filename,
494 asmlinkage long sys_fstatat64(int dfd, const char __user *filename,
515 asmlinkage long sys_utimensat(int dfd, const char __user *filename,
[all …]
Daudit.h116 struct filename;
227 extern struct filename *__audit_reusename(const __user char *uptr);
228 extern void __audit_getname(struct filename *name);
232 extern void __audit_inode(struct filename *name, const struct dentry *dentry,
279 static inline struct filename *audit_reusename(const __user char *name) in audit_reusename()
285 static inline void audit_getname(struct filename *name) in audit_getname()
290 static inline void audit_inode(struct filename *name, in audit_inode()
305 static inline void audit_inode_parent_hidden(struct filename *name, in audit_inode_parent_hidden()
486 static inline struct filename *audit_reusename(const __user char *name) in audit_reusename()
490 static inline void audit_getname(struct filename *name) in audit_getname()
[all …]
Dbinfmts.h10 struct filename;
57 const char * filename; /* Name of binary as seen by procps */ member
146 extern int do_execve(struct filename *,
149 extern int do_execveat(int, struct filename *,
Dcompat.h603 asmlinkage long compat_sys_openat(int dfd, const char __user *filename,
665 const char __user *filename,
682 const char __user *filename,
849 asmlinkage long compat_sys_execve(const char __user *filename, const compat_uptr_t __user *argv,
901 asmlinkage long compat_sys_execveat(int dfd, const char __user *filename,
929 asmlinkage long compat_sys_open(const char __user *filename, int flags,
931 asmlinkage long compat_sys_utimes(const char __user *filename,
940 asmlinkage long compat_sys_newstat(const char __user *filename,
942 asmlinkage long compat_sys_newlstat(const char __user *filename,
947 asmlinkage long compat_sys_utime(const char __user *filename,
[all …]
Ddynamic_debug.h21 const char *filename; member
79 .filename = __FILE__, \
Dtime.h43 extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags);
/linux-4.19.296/fs/ecryptfs/
Dcrypto.c1484 ecryptfs_encrypt_filename(struct ecryptfs_filename *filename, in ecryptfs_encrypt_filename() argument
1489 filename->encrypted_filename = NULL; in ecryptfs_encrypt_filename()
1490 filename->encrypted_filename_size = 0; in ecryptfs_encrypt_filename()
1498 &filename->encrypted_filename_size, in ecryptfs_encrypt_filename()
1500 filename->filename_size); in ecryptfs_encrypt_filename()
1505 filename->encrypted_filename_size = 0; in ecryptfs_encrypt_filename()
1508 filename->encrypted_filename = in ecryptfs_encrypt_filename()
1509 kmalloc(filename->encrypted_filename_size, GFP_KERNEL); in ecryptfs_encrypt_filename()
1510 if (!filename->encrypted_filename) { in ecryptfs_encrypt_filename()
1514 remaining_bytes = filename->encrypted_filename_size; in ecryptfs_encrypt_filename()
[all …]
/linux-4.19.296/lib/
Ddynamic_debug.c51 const char *filename; member
126 query->filename ? query->filename : "", in vpr_info_dq()
160 if (query->filename && in ddebug_change()
161 !match_wildcard(query->filename, dp->filename) && in ddebug_change()
162 !match_wildcard(query->filename, in ddebug_change()
163 kbasename(dp->filename)) && in ddebug_change()
164 !match_wildcard(query->filename, in ddebug_change()
165 trim_prefix(dp->filename))) in ddebug_change()
200 trim_prefix(dp->filename), dp->lineno, in ddebug_change()
334 rc = check_set(&query->filename, words[i+1], "file"); in ddebug_parse_query()
[all …]
/linux-4.19.296/include/acpi/
Dacoutput.h290 #define ACPI_DO_DEBUG_PRINT(function, level, line, filename, modulename, component, ...) \ argument
294 function (level, line, filename, modulename, component, __VA_ARGS__); \
298 #define ACPI_ACTUAL_DEBUG(level, line, filename, modulename, component, ...) \ argument
300 filename, modulename, component, __VA_ARGS__)
302 #define ACPI_ACTUAL_DEBUG_RAW(level, line, filename, modulename, component, ...) \ argument
304 filename, modulename, component, __VA_ARGS__)
/linux-4.19.296/drivers/bluetooth/
Dath3k.c406 char filename[ATH3K_NAME_LEN]; in ath3k_load_patch() local
429 snprintf(filename, ATH3K_NAME_LEN, "ar3k/AthrBT_0x%08x.dfu", in ath3k_load_patch()
432 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_patch()
434 BT_ERR("Patch file not found %s", filename); in ath3k_load_patch()
459 char filename[ATH3K_NAME_LEN]; in ath3k_load_syscfg() local
492 snprintf(filename, ATH3K_NAME_LEN, "ar3k/ramps_0x%08x_%d%s", in ath3k_load_syscfg()
495 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_syscfg()
497 BT_ERR("Configuration file not found %s", filename); in ath3k_load_syscfg()
/linux-4.19.296/usr/
Dgen_init_cpio.c528 const char *filename; in main() local
558 filename = argv[optind]; in main()
559 if (!strcmp(filename, "-")) in main()
561 else if (!(cpio_list = fopen(filename, "r"))) { in main()
563 filename, strerror(errno)); in main()
/linux-4.19.296/fs/xfs/
Dxfs_error.h12 const char *filename, int linenum,
16 const char *filename, int linenum,
Dxfs_error.c310 const char *filename, in xfs_error_report() argument
317 tag, linenum, filename, failaddr); in xfs_error_report()
330 const char *filename, in xfs_corruption_error() argument
336 xfs_error_report(tag, level, mp, filename, linenum, failaddr); in xfs_corruption_error()
/linux-4.19.296/fs/cachefiles/
Dnamei.c870 char *filename) in cachefiles_check_active() argument
885 victim = lookup_one_len(filename, dir, strlen(filename)); in cachefiles_check_active()
956 char *filename) in cachefiles_cull() argument
961 _enter(",%pd/,%s", dir, filename); in cachefiles_cull()
963 victim = cachefiles_check_active(cache, dir, filename); in cachefiles_cull()
1016 char *filename) in cachefiles_check_in_use() argument
1023 victim = cachefiles_check_active(cache, dir, filename); in cachefiles_check_in_use()
/linux-4.19.296/include/uapi/linux/
Dbcm933xx_hcs.h19 char filename[64]; member
/linux-4.19.296/include/trace/events/
Dsched.h324 __string( filename, bprm->filename )
330 __assign_str(filename, bprm->filename);
335 TP_printk("filename=%s pid=%d old_pid=%d", __get_str(filename),
/linux-4.19.296/fs/nfs/
Ddir.c459 struct qstr filename = QSTR_INIT(entry->name, entry->len); in nfs_prime_dcache() local
471 if (filename.len == 0) in nfs_prime_dcache()
474 if (strnlen(filename.name, filename.len) != filename.len) in nfs_prime_dcache()
477 if (strnchr(filename.name, filename.len, '/')) in nfs_prime_dcache()
479 if (filename.name[0] == '.') { in nfs_prime_dcache()
480 if (filename.len == 1) in nfs_prime_dcache()
482 if (filename.len == 2 && filename.name[1] == '.') in nfs_prime_dcache()
485 filename.hash = full_name_hash(parent, filename.name, filename.len); in nfs_prime_dcache()
487 dentry = d_lookup(parent, &filename); in nfs_prime_dcache()
490 dentry = d_alloc_parallel(parent, &filename, &wq); in nfs_prime_dcache()

12