/linux-master/security/integrity/ima/ |
H A D | ima_api.c | 439 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) argument 444 *pathbuf = __getname(); 445 if (*pathbuf) { 446 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); 448 __putname(*pathbuf); 449 *pathbuf = NULL;
|
H A D | ima_main.c | 87 char **pathbuf, const char **pathname, 98 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ 99 *pathname = ima_d_path(&file->f_path, pathbuf, 120 char **pathbuf, 147 *pathname = ima_d_path(&file->f_path, pathbuf, filename); 216 char *pathbuf = NULL; local 260 &pathbuf, &pathname, filename); 342 rc = mmap_violation_check(func, file, &pathbuf, 376 if (!pathbuf) /* ima_rdwr_violation possibly pre-fetched */ 377 pathname = ima_d_path(&file->f_path, &pathbuf, filenam 86 mmap_violation_check(enum ima_hooks func, struct file *file, char **pathbuf, const char **pathname, char *filename) argument 117 ima_rdwr_violation_check(struct file *file, struct ima_iint_cache *iint, int must_measure, char **pathbuf, const char **pathname, char *filename) argument 488 char *pathbuf = NULL; local [all...] |
H A D | ima_appraise.c | 709 char *path = NULL, *pathbuf = NULL; local 738 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 739 if (!pathbuf) 742 path = dentry_path(dentry, pathbuf, PATH_MAX); 747 kfree(pathbuf);
|
H A D | ima.h | 399 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
|
/linux-master/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 412 char *buf, *pathbuf; local 423 pathbuf = kzalloc(pathlen, GFP_KERNEL); 424 if (!pathbuf) { 453 len = snprintf(pathbuf, pathlen, "%s%s/", ppath, name); 460 pathbuf); 478 kfree(pathbuf);
|
/linux-master/kernel/cgroup/ |
H A D | cgroup-v1.c | 784 char *pathbuf, *agentbuf; local 793 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 795 if (!pathbuf || !agentbuf) 804 ret = cgroup_path_ns(cgrp, pathbuf, PATH_MAX, &init_cgroup_ns); 809 argv[1] = pathbuf; 820 kfree(pathbuf);
|
/linux-master/fs/ |
H A D | coredump.c | 169 char *pathbuf, *path, *ptr; local 176 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 177 if (!pathbuf) { 182 path = file_path(exe_file, pathbuf, PATH_MAX); 196 kfree(pathbuf);
|
/linux-master/include/trace/events/ |
H A D | f2fs.h | 2321 __string(pathbuf, pathname) 2336 __assign_str(pathbuf, pathname); 2337 (void)strreplace(__get_str(pathbuf), ' ', '_'); 2349 __get_str(pathbuf), __entry->offset, __entry->bytes,
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_mass_storage.c | 2876 char *pathbuf = NULL, *p = "(no medium)"; local 2928 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 2929 if (pathbuf) { 2930 p = file_path(lun->filp, pathbuf, PATH_MAX); 2940 kfree(pathbuf);
|
/linux-master/fs/bcachefs/ |
H A D | fsck.c | 2388 typedef DARRAY(struct pathbuf_entry) pathbuf; typedef 2390 static bool path_is_dup(pathbuf *p, u64 inum, u32 snapshot) 2405 static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c inode_k) 2508 pathbuf path = { 0, };
|