/linux-6.12.1/security/integrity/ima/ |
D | ima_main.c | 87 char **pathbuf, const char **pathname, in mmap_violation_check() argument 98 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in mmap_violation_check() 99 *pathname = ima_d_path(&file->f_path, pathbuf, in mmap_violation_check() 120 char **pathbuf, in ima_rdwr_violation_check() argument 147 *pathname = ima_d_path(&file->f_path, pathbuf, filename); in ima_rdwr_violation_check() 216 char *pathbuf = NULL; in process_measurement() local 260 &pathbuf, &pathname, filename); in process_measurement() 342 rc = mmap_violation_check(func, file, &pathbuf, in process_measurement() 376 if (!pathbuf) /* ima_rdwr_violation possibly pre-fetched */ in process_measurement() 377 pathname = ima_d_path(&file->f_path, &pathbuf, filename); in process_measurement() [all …]
|
D | ima_api.c | 439 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) in ima_d_path() argument 444 *pathbuf = __getname(); in ima_d_path() 445 if (*pathbuf) { in ima_d_path() 446 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path() 448 __putname(*pathbuf); in ima_d_path() 449 *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 | 399 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
|
/linux-6.12.1/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.12.1/kernel/cgroup/ |
D | cgroup-v1.c | 793 char *pathbuf, *agentbuf; in cgroup1_release_agent() local 802 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in cgroup1_release_agent() 804 if (!pathbuf || !agentbuf) in cgroup1_release_agent() 813 ret = cgroup_path_ns(cgrp, pathbuf, PATH_MAX, &init_cgroup_ns); in cgroup1_release_agent() 818 argv[1] = pathbuf; in cgroup1_release_agent() 829 kfree(pathbuf); in cgroup1_release_agent()
|
/linux-6.12.1/fs/ |
D | coredump.c | 170 char *pathbuf, *path, *ptr; in cn_print_exe_file() local 177 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); in cn_print_exe_file() 178 if (!pathbuf) { in cn_print_exe_file() 183 path = file_path(exe_file, pathbuf, PATH_MAX); in cn_print_exe_file() 197 kfree(pathbuf); in cn_print_exe_file()
|
/linux-6.12.1/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.12.1/include/trace/events/ |
D | f2fs.h | 2322 __string(pathbuf, pathname) 2337 __assign_str(pathbuf); 2338 (void)strreplace(__get_str(pathbuf), ' ', '_'); 2350 __get_str(pathbuf), __entry->offset, __entry->bytes,
|
/linux-6.12.1/fs/bcachefs/ |
D | fsck.c | 2775 typedef DARRAY(struct pathbuf_entry) pathbuf; typedef 2777 static bool path_is_dup(pathbuf *p, u64 inum, u32 snapshot) in path_is_dup() 2786 static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c inode_k) in check_path() 2882 pathbuf path = { 0, }; in bch2_check_directory_structure()
|