/linux-6.6.21/security/integrity/ima/ |
D | ima_main.c | 86 char **pathbuf, const char **pathname, in mmap_violation_check() argument 97 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check() 98 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 119 char **pathbuf, in ima_rdwr_violation_check() argument 146 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 214 char *pathbuf = NULL; in process_measurement() local 258 &pathbuf, &pathname, filename); in process_measurement() 329 rc = mmap_violation_check(func, file, &pathbuf, in process_measurement() 363 if (!pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in process_measurement() 364 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement() [all …]
|
D | ima_api.c | 432 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument 436 *pathbuf = __getname(); in ima_d_path() 437 if (*pathbuf) { in ima_d_path() 438 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path() 440 __putname(*pathbuf); in ima_d_path() 441 *pathbuf = NULL; in ima_d_path()
|
D | ima_appraise.c | 709 char *path = NULL, *pathbuf = NULL; in validate_hash_algo() local 738 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in validate_hash_algo() 739 if (!pathbuf) in validate_hash_algo() 742 path = dentry_path(dentry, pathbuf, PATH_MAX); in validate_hash_algo() 747 kfree(pathbuf); in validate_hash_algo()
|
D | ima.h | 286 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
|
/linux-6.6.21/drivers/firmware/tegra/ |
D | bpmp-debugfs.c | 412 char *buf, *pathbuf; in bpmp_populate_debugfs_inband() local 423 pathbuf = kzalloc(pathlen, GFP_KERNEL); in bpmp_populate_debugfs_inband() 424 if (!pathbuf) { in bpmp_populate_debugfs_inband() 453 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); in bpmp_populate_debugfs_inband() 460 pathbuf); in bpmp_populate_debugfs_inband() 478 kfree(pathbuf); in bpmp_populate_debugfs_inband()
|
/linux-6.6.21/kernel/cgroup/ |
D | cgroup-v1.c | 784 char *pathbuf, *agentbuf; in cgroup1_release_agent() local 793 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in cgroup1_release_agent() 795 if (!pathbuf || !agentbuf) in cgroup1_release_agent() 804 ret = cgroup_path_ns(cgrp, pathbuf, PATH_MAX, &init_cgroup_ns); in cgroup1_release_agent() 809 argv[1] = pathbuf; in cgroup1_release_agent() 820 kfree(pathbuf); in cgroup1_release_agent()
|
/linux-6.6.21/fs/ |
D | coredump.c | 164 char *pathbuf, *path, *ptr; in cn_print_exe_file() local 171 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in cn_print_exe_file() 172 if (!pathbuf) { in cn_print_exe_file() 177 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 191 kfree(pathbuf); in cn_print_exe_file()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_mass_storage.c | 2876 char *pathbuf = NULL, *p = "(no medium)"; in fsg_common_create_lun() local 2928 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in fsg_common_create_lun() 2929 if (pathbuf) { in fsg_common_create_lun() 2930 p = file_path(lun->filp, pathbuf, PATH_MAX); in fsg_common_create_lun() 2940 kfree(pathbuf); in fsg_common_create_lun()
|
/linux-6.6.21/include/trace/events/ |
D | f2fs.h | 2222 __string(pathbuf, pathname) 2237 __assign_str(pathbuf, pathname); 2238 (void)strreplace(__get_str(pathbuf), ' ', '_'); 2250 __get_str(pathbuf), __entry->offset, __entry->bytes,
|