/linux/fs/ |
H A D | utimes.c | 80 static int do_utimes_path(int dfd, const char __user *filename, in do_utimes_path() 135 long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, in do_utimes() 143 SYSCALL_DEFINE4(utimensat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 169 static long do_futimesat(int dfd, const char __user *filename, in do_futimesat() 198 SYSCALL_DEFINE3(futimesat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 204 SYSCALL_DEFINE2(utimes, char __user *, filename, in SYSCALL_DEFINE2() argument 210 SYSCALL_DEFINE2(utime, char __user *, filename, struct utimbuf __user *, times) in SYSCALL_DEFINE2() argument 231 SYSCALL_DEFINE2(utime32, const char __user *, filename, in SYSCALL_DEFINE2() argument 247 SYSCALL_DEFINE4(utimensat_time32, unsigned int, dfd, const char __user *, filename, struct old_time… in SYSCALL_DEFINE4() argument 263 static long do_compat_futimesat(unsigned int dfd, const char __user *filename, in do_compat_futimesat() [all …]
|
H A D | init.c | 44 int __init init_chdir(const char *filename) in init_chdir() 59 int __init init_chroot(const char *filename) in init_chroot() 82 int __init init_chown(const char *filename, uid_t user, gid_t group, int flags) in init_chown() 100 int __init init_chmod(const char *filename, umode_t mode) in init_chmod() 113 int __init init_eaccess(const char *filename) in init_eaccess() 126 int __init init_stat(const char *filename, struct kstat *stat, int flags) in init_stat() 141 int __init init_mknod(const char *filename, umode_t mode, unsigned int dev) in init_mknod() 245 int __init init_utimes(char *filename, struct timespec64 *ts) in init_utimes()
|
H A D | open.c | 459 static long do_faccessat(int dfd, const char __user *filename, int mode, int flags) in do_faccessat() 531 SYSCALL_DEFINE3(faccessat, int, dfd, const char __user *, filename, int, mode) in SYSCALL_DEFINE3() argument 536 SYSCALL_DEFINE4(faccessat2, int, dfd, const char __user *, filename, int, mode, in SYSCALL_DEFINE4() argument 542 SYSCALL_DEFINE2(access, const char __user *, filename, int, mode) in SYSCALL_DEFINE2() argument 547 SYSCALL_DEFINE1(chdir, const char __user *, filename) in SYSCALL_DEFINE1() argument 590 SYSCALL_DEFINE1(chroot, const char __user *, filename) in SYSCALL_DEFINE1() argument 669 static int do_fchmodat(int dfd, const char __user *filename, umode_t mode, in do_fchmodat() 696 SYSCALL_DEFINE4(fchmodat2, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 702 SYSCALL_DEFINE3(fchmodat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE3() argument 708 SYSCALL_DEFINE2(chmod, const char __user *, filename, umode_t, mode) in SYSCALL_DEFINE2() argument [all …]
|
H A D | stat.c | 332 static int vfs_statx(int dfd, struct filename *filename, int flags, in vfs_statx() 356 int vfs_fstatat(int dfd, const char __user *filename, in vfs_fstatat() 415 SYSCALL_DEFINE2(stat, const char __user *, filename, in SYSCALL_DEFINE2() argument 428 SYSCALL_DEFINE2(lstat, const char __user *, filename, in SYSCALL_DEFINE2() argument 499 SYSCALL_DEFINE2(newstat, const char __user *, filename, in SYSCALL_DEFINE2() argument 510 SYSCALL_DEFINE2(newlstat, const char __user *, filename, in SYSCALL_DEFINE2() argument 524 SYSCALL_DEFINE4(newfstatat, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument 645 SYSCALL_DEFINE2(stat64, const char __user *, filename, in SYSCALL_DEFINE2() argument 657 SYSCALL_DEFINE2(lstat64, const char __user *, filename, in SYSCALL_DEFINE2() argument 680 SYSCALL_DEFINE4(fstatat64, int, dfd, const char __user *, filename, in SYSCALL_DEFINE4() argument [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_bpftool_synctypes.py | 304 filename = os.path.join(BPFTOOL_DIR, 'main.h') variable in MainHeaderFileExtractor 330 filename = os.path.join(BPFTOOL_DOC_DIR, 'substitutions.rst') variable in ManSubstitutionsExtractor 353 filename = os.path.join(BPFTOOL_DIR, 'prog.c') variable in ProgFileExtractor 366 filename = os.path.join(BPFTOOL_DIR, 'map.c') variable in MapFileExtractor 375 filename = os.path.join(BPFTOOL_DIR, 'cgroup.c') variable in CgroupFileExtractor 384 filename = "" variable in GenericSourceExtractor 386 def __init__(self, filename): argument 394 filename = os.path.join(INCLUDE_DIR, 'uapi/linux/bpf.h') variable in BpfHeaderExtractor 432 filename = os.path.join(BPFTOOL_DOC_DIR, 'bpftool-prog.rst') variable in ManProgExtractor 441 filename = os.path.join(BPFTOOL_DOC_DIR, 'bpftool-map.rst') variable in ManMapExtractor [all …]
|
/linux/tools/iio/ |
H A D | iio_utils.c | 95 char *scan_el_dir, *builtname, *builtname_generic, *filename = 0; in iioutils_get_type() local 226 char *filename = NULL; in iioutils_get_param_float() local 325 char *filename; in build_channel_array() local 568 char *filename; in find_type_by_name() local 652 static int _write_sysfs_int(const char *filename, const char *basedir, int val, in _write_sysfs_int() 729 int write_sysfs_int(const char *filename, const char *basedir, int val) in write_sysfs_int() 743 int write_sysfs_int_and_verify(const char *filename, const char *basedir, in write_sysfs_int_and_verify() 749 static int _write_sysfs_string(const char *filename, const char *basedir, in _write_sysfs_string() 829 int write_sysfs_string_and_verify(const char *filename, const char *basedir, in write_sysfs_string_and_verify() 843 int write_sysfs_string(const char *filename, const char *basedir, in write_sysfs_string() [all …]
|
/linux/security/integrity/ima/ |
H A D | ima_api.c | 104 const unsigned char *filename, int pcr) in ima_store_template() argument 133 void ima_add_violation(struct file *file, const unsigned char *filename, in ima_add_violation() argument 251 struct name_snapshot filename; in ima_collect_measurement() local 349 ima_store_measurement(struct ima_iint_cache * iint,struct file * file,const unsigned char * filename,struct evm_ima_xattr_data * xattr_value,int xattr_len,const struct modsig * modsig,int pcr,struct ima_template_desc * template_desc) ima_store_measurement() argument 393 ima_audit_measurement(struct ima_iint_cache * iint,const unsigned char * filename) ima_audit_measurement() argument 441 struct name_snapshot filename; ima_d_path() local [all...] |
/linux/tools/perf/tests/ |
H A D | symbols.c | 68 static void get_test_dso_filename(char *filename, size_t max_sz) in get_test_dso_filename() argument 76 static int create_map(struct test_info *ti, char *filename, struct map **map_p) in create_map() argument 164 static int test_file(struct test_info *ti, char *filename) in test_file() argument 203 char filename[PATH_MAX]; test__symbols() local [all...] |
/linux/security/tomoyo/ |
H A D | util.c | 250 char *filename; in tomoyo_parse_name_union() local 531 static bool tomoyo_correct_path2(const char *filename, const size_t len) in tomoyo_correct_path2() 547 bool tomoyo_correct_path(const char *filename) in tomoyo_correct_path() 635 static int tomoyo_const_part_length(const char *filename) in tomoyo_const_part_length() 698 static bool tomoyo_file_matches_pattern2(const char *filename, in tomoyo_file_matches_pattern2() 817 static bool tomoyo_file_matches_pattern(const char *filename, in tomoyo_file_matches_pattern() 937 bool tomoyo_path_matches_pattern(const struct tomoyo_path_info *filename, in tomoyo_path_matches_pattern()
|
/linux/tools/testing/selftests/proc/ |
H A D | read.c | 38 static void f_reg(DIR *d, const char *filename) in f_reg() 55 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write() 68 static void f_lnk(DIR *d, const char *filename) in f_lnk()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | init.c | 674 static int ath6kl_get_fw(struct ath6kl *ar, const char *filename, in ath6kl_get_fw() 741 const char *filename; in ath6kl_fetch_board_file() local 786 char filename[100]; in ath6kl_fetch_otp_file() local 814 char filename[100]; in ath6kl_fetch_testmode_file() local 854 char filename[100]; in ath6kl_fetch_fw_file() local 879 char filename[100]; in ath6kl_fetch_patch_file() local 904 char filename[100]; in ath6kl_fetch_testscript_file() local 958 char filename[100]; in ath6kl_fetch_fw_apin() local
|
/linux/tools/testing/selftests/resctrl/ |
H A D | cache.c | 104 static int print_results_cache(const char *filename, pid_t bm_pid, __u64 llc_value) in print_results_cache() 136 const char *filename, pid_t bm_pid) in perf_event_measure() 164 int measure_llc_resctrl(const char *filename, pid_t bm_pid) in measure_llc_resctrl()
|
/linux/tools/perf/ |
H A D | builtin-buildid-cache.c | 118 static int build_id_cache__add_kcore(const char *filename, bool force) in build_id_cache__add_kcore() argument 175 static int build_id_cache__add_file(const char *filename, struct nsinfo *nsi) in build_id_cache__add_file() argument 198 static int build_id_cache__remove_file(const char *filename, struct nsinfo *nsi) in build_id_cache__remove_file() argument 277 char filename[PATH_MAX]; dso__missing_buildid_cache() local 303 build_id_cache__update_file(const char * filename,struct nsinfo * nsi) build_id_cache__update_file() argument [all...] |
/linux/tools/lib/api/fs/ |
H A D | fs.c | 293 int filename__read_int(const char *filename, int *value) in filename__read_int() 310 static int filename__read_ull_base(const char *filename, in filename__read_ull_base() 333 int filename__read_xll(const char *filename, unsigned long long *value) in filename__read_xll() 343 int filename__read_ull(const char *filename, unsigned long long *value) in filename__read_ull() 348 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str() 369 int filename__write_int(const char *filename, int value) in filename__write_int()
|
/linux/arch/um/kernel/ |
H A D | load_file.c | 10 static int __init __uml_load_file(const char *filename, void *buf, int size) in __uml_load_file() 32 void *uml_load_file(const char *filename, unsigned long long *size) in uml_load_file()
|
/linux/tools/testing/selftests/mount/ |
H A D | nosymfollow-test.c | 40 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, in vmaybe_write_file() 76 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 85 static void write_file(char *filename, char *fmt, ...) in write_file()
|
H A D | unprivileged-remount-test.c | 57 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 95 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 105 static void write_file(char *filename, char *fmt, ...) in write_file()
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 15 static void elfhdr_get(const char *filename, Elf64_Ehdr *hdrp) in elfhdr_get() 114 void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename) in kvm_vm_elf_load()
|
/linux/tools/thermal/tmon/ |
H A D | sysfs.c | 33 int sysfs_set_ulong(char *path, char *filename, unsigned long val) in sysfs_set_ulong() 57 static int sysfs_get_ulong(char *path, char *filename, unsigned long *p_ulong) in sysfs_get_ulong() 76 static int sysfs_get_string(char *path, char *filename, char *str) in sysfs_get_string() 124 char filename[256]; in get_trip_point_data() local
|
/linux/samples/bpf/ |
H A D | syscall_tp_user.c | 48 static int test(char *filename, int nr_tests) in test() 138 char filename[256]; in main() local
|
/linux/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 26 static void vmaybe_write_file(bool enoent_ok, char *filename, char *fmt, va_list ap) in vmaybe_write_file() 63 static void maybe_write_file(char *filename, char *fmt, ...) in maybe_write_file() 72 static void write_file(char *filename, char *fmt, ...) in write_file()
|
/linux/scripts/dtc/ |
H A D | util.c | 246 int utilfdt_read_err(const char *filename, char **buffp, size_t *len) in utilfdt_read_err() 288 char *utilfdt_read(const char *filename, size_t *len) in utilfdt_read() 302 int utilfdt_write_err(const char *filename, const void *blob) in utilfdt_write_err() 334 int utilfdt_write(const char *filename, const void *blob) in utilfdt_write()
|
/linux/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 420 def read_trace_data(filename, cpu_mask): argument 502 filename = "" variable 525 filename = os.path.join(location, arg) variable 572 filename = "/sys/kernel/tracing/trace" variable
|
/linux/tools/testing/selftests/fchmodat2/ |
H A D | fchmodat2_test.c | 12 int sys_fchmodat2(int dfd, const char *filename, mode_t mode, int flags) in sys_fchmodat2() 46 int expect_mode(int dfd, const char *filename, mode_t expect_mode) in expect_mode()
|
/linux/tools/power/acpi/os_specific/service_layers/ |
H A D | oslinuxtbl.c | 999 char *filename; in osl_list_customized_tables() local 1156 osl_table_name_from_file(char *filename, char *signature, u32 *instance) in osl_table_name_from_file() 1196 osl_read_table_from_file(char *filename, in osl_read_table_from_file() 1317 char *filename; in osl_get_customized_table() local
|