/linux-master/security/integrity/ima/ |
H A D | ima_api.c | 433 const char *ima_d_path(const struct path *path, char **pathbuf, char *namebuf) argument 437 *pathbuf = __getname(); 438 if (*pathbuf) { 439 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); 441 __putname(*pathbuf); 442 *pathbuf = NULL;
|
H A D | ima_main.c | 86 char **pathbuf, const char **pathname, 97 if (!*pathbuf) /* ima_rdwr_violation possibly pre-fetched */ 98 *pathname = ima_d_path(&file->f_path, pathbuf, 119 char **pathbuf, 146 *pathname = ima_d_path(&file->f_path, pathbuf, filename); 214 char *pathbuf = NULL; local 258 &pathbuf, &pathname, filename); 329 rc = mmap_violation_check(func, file, &pathbuf, 363 if (!pathbuf) /* ima_rdwr_violation possibly pre-fetched */ 364 pathname = ima_d_path(&file->f_path, &pathbuf, filenam 85 mmap_violation_check(enum ima_hooks func, struct file *file, char **pathbuf, const char **pathname, char *filename) argument 116 ima_rdwr_violation_check(struct file *file, struct ima_iint_cache *iint, int must_measure, char **pathbuf, const char **pathname, char *filename) argument 475 char *pathbuf = NULL; local [all...] |
H A D | ima_appraise.c | 707 char *path = NULL, *pathbuf = NULL; local 736 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 737 if (!pathbuf) 740 path = dentry_path(dentry, pathbuf, PATH_MAX); 745 kfree(pathbuf);
|
H A D | ima.h | 393 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
|
/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/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/fs/ |
H A D | coredump.c | 164 char *pathbuf, *path, *ptr; local 171 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL); 172 if (!pathbuf) { 177 path = file_path(exe_file, pathbuf, PATH_MAX); 191 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 | 2437 typedef DARRAY(struct pathbuf_entry) pathbuf; typedef 2439 static bool path_is_dup(pathbuf *p, u64 inum, u32 snapshot) 2454 static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c inode_k) 2557 pathbuf path = { 0, };
|