Searched refs:pathbuf (Results 1 - 10 of 10) sorted by relevance

/linux-master/security/integrity/ima/
H A Dima_api.c433 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 Dima_main.c86 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 Dima_appraise.c707 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 Dima.h393 const char *ima_d_path(const struct path *path, char **pathbuf, char *filename);
/linux-master/kernel/cgroup/
H A Dcgroup-v1.c784 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 Dbpmp-debugfs.c412 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 Dcoredump.c164 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 Df2fs.h2321 __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 Df_mass_storage.c2876 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 Dfsck.c2437 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, };

Completed in 366 milliseconds