Searched refs:path_buf (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | path.c | 24 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) in mkpath() argument 30 len = vsnprintf(path_buf, sz, fmt, args); in mkpath() 33 strncpy(path_buf, "/bad-path/", sz); in mkpath() 34 return cleanup_path(path_buf); in mkpath()
|
H A D | cache.h | 29 char *mkpath(char *path_buf, size_t sz, const char *fmt, ...) __printf(3, 4);
|
/kernel/linux/common_modules/code_sign/ |
H A D | code_sign_elf.c | 222 char *path_buf = kzalloc(PATH_MAX, GFP_KERNEL); in elf_file_enable_fs_verity() local 223 if (!path_buf) { in elf_file_enable_fs_verity() 224 code_sign_log_error("alloc mem for path_buf failed"); in elf_file_enable_fs_verity() 228 char *real_path = file_path(file, path_buf, PATH_MAX - 1); in elf_file_enable_fs_verity() 303 kfree(path_buf); in elf_file_enable_fs_verity()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_merge.c | 935 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_dentry() local 941 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_dentry() 946 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_dentry() 989 kfree(path_buf); in hmdfs_create_lower_dentry() 1250 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in do_rename_merge() local 1260 if (unlikely(!path_buf || !abs_path_buf)) { in do_rename_merge() 1277 path_name = dentry_path_raw(lo_d_new_dir, path_buf, PATH_MAX); in do_rename_merge() 1325 kfree(path_buf); in do_rename_merge()
|
H A D | inode_cloud_merge.c | 456 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_cloud_dentry() local 462 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_cloud_dentry() 467 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_cloud_dentry() 510 kfree(path_buf); in hmdfs_create_lower_cloud_dentry()
|
H A D | inode.h | 51 char *path_buf; member
|
H A D | stash.c | 554 kfree(cache->path_buf); in hmdfs_del_file_cache() 571 cache->path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_new_file_cache() 572 if (!cache->path_buf) { in hmdfs_new_file_cache() 581 cache->path = dentry_path_raw(stash_dentry, cache->path_buf, in hmdfs_new_file_cache() 595 cache->path_buf[0] = '\0'; in hmdfs_new_file_cache() 596 cache->path = cache->path_buf; in hmdfs_new_file_cache() 615 kfree(cache->path_buf); in hmdfs_new_file_cache()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_merge.c | 935 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_dentry() local 941 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_dentry() 946 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_dentry() 989 kfree(path_buf); in hmdfs_create_lower_dentry() 1250 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in do_rename_merge() local 1261 if (unlikely(!path_buf || !abs_path_buf)) { in do_rename_merge() 1278 path_name = dentry_path_raw(lo_d_new_dir, path_buf, PATH_MAX); in do_rename_merge() 1333 kfree(path_buf); in do_rename_merge()
|
H A D | inode_cloud_merge.c | 456 char *path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_create_lower_cloud_dentry() local 462 if (unlikely(!path_buf || !absolute_path_buf)) { in hmdfs_create_lower_cloud_dentry() 467 path_name = dentry_path_raw(lo_d_parent, path_buf, PATH_MAX); in hmdfs_create_lower_cloud_dentry() 510 kfree(path_buf); in hmdfs_create_lower_cloud_dentry()
|
H A D | inode.h | 51 char *path_buf; member
|
H A D | stash.c | 544 kfree(cache->path_buf); in hmdfs_del_file_cache() 561 cache->path_buf = kmalloc(PATH_MAX, GFP_KERNEL); in hmdfs_new_file_cache() 562 if (!cache->path_buf) { in hmdfs_new_file_cache() 571 cache->path = dentry_path_raw(stash_dentry, cache->path_buf, in hmdfs_new_file_cache() 585 cache->path_buf[0] = '\0'; in hmdfs_new_file_cache() 586 cache->path = cache->path_buf; in hmdfs_new_file_cache() 605 kfree(cache->path_buf); in hmdfs_new_file_cache()
|
Completed in 14 milliseconds