Home
last modified time | relevance | path

Searched refs:old_name (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.6.21/kernel/livepatch/
Dcore.c93 if ((strcmp(old_func->old_name, func->old_name) == 0) && in klp_find_func()
509 kfree(func->old_name); in klp_free_func_nop()
522 if (old_func->old_name) { in klp_alloc_func_nop()
523 func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); in klp_alloc_func_nop()
524 if (!func->old_name) { in klp_alloc_func_nop()
760 if (!func->old_name) in klp_init_func()
770 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
783 func->old_name, in klp_init_func()
843 ret = klp_find_object_symbol(obj->name, func->old_name, in klp_init_object_loaded()
853 func->old_name); in klp_init_object_loaded()
[all …]
Dtransition.c284 *oldname = func->old_name; in klp_check_stack()
316 const char *old_name; in klp_try_switch_task() local
336 ret = klp_check_and_switch_task(current, &old_name); in klp_try_switch_task()
338 ret = task_call_func(task, klp_check_and_switch_task, &old_name); in klp_try_switch_task()
354 __func__, task->comm, task->pid, old_name); in klp_try_switch_task()
Dpatch.c178 func->old_name); in klp_patch_func()
202 func->old_name, ret); in klp_patch_func()
209 func->old_name, ret); in klp_patch_func()
/linux-6.6.21/security/apparmor/include/
Dmount.h34 const char *old_name, unsigned long flags);
43 const char *old_name);
/linux-6.6.21/samples/livepatch/
Dlivepatch-shadow-fix2.c97 .old_name = "dummy_check",
101 .old_name = "dummy_free",
Dlivepatch-shadow-fix1.c138 .old_name = "dummy_alloc",
142 .old_name = "dummy_free",
Dlivepatch-sample.c41 .old_name = "cmdline_proc_show",
Dlivepatch-callbacks-demo.c143 .old_name = "busymod_work_func",
/linux-6.6.21/include/linux/
Dlivepatch.h58 const char *old_name; member
186 func->old_name || func->new_func || func->old_sympos; \
Dfsnotify.h141 const struct qstr *old_name, in fsnotify_move() argument
160 old_dir, old_name, 0); in fsnotify_move()
163 old_dir, old_name, fs_cookie); in fsnotify_move()
Dsysfs.h301 const char *old_name, const char *new_name,
472 const char *old_name, in sysfs_rename_link_ns() argument
633 const char *old_name, const char *new_name) in sysfs_rename_link() argument
635 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); in sysfs_rename_link()
/linux-6.6.21/fs/debugfs/
Dinode.c828 struct name_snapshot old_name; in debugfs_rename() local
850 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
855 release_dentry_name_snapshot(&old_name); in debugfs_rename()
859 fsnotify_move(d_inode(old_dir), d_inode(new_dir), &old_name.name, in debugfs_rename()
862 release_dentry_name_snapshot(&old_name); in debugfs_rename()
/linux-6.6.21/lib/livepatch/
Dtest_klp_livepatch.c20 .old_name = "cmdline_proc_show",
Dtest_klp_atomic_replace.c24 .old_name = "meminfo_proc_show",
Dtest_klp_callbacks_demo.c66 .old_name = "busymod_work_func",
/linux-6.6.21/fs/hostfs/
Dhostfs_kern.c750 char *old_name, *new_name; in hostfs_rename2() local
756 old_name = dentry_name(old_dentry); in hostfs_rename2()
757 if (old_name == NULL) in hostfs_rename2()
761 __putname(old_name); in hostfs_rename2()
765 err = rename_file(old_name, new_name); in hostfs_rename2()
767 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
769 __putname(old_name); in hostfs_rename2()
/linux-6.6.21/security/apparmor/
Dmount.c671 const char *old_name, *new_name = NULL, *info = NULL; in build_pivotroot() local
686 old_buffer, &old_name, &info, in build_pivotroot()
701 state = aa_dfa_match(rules->policy.dfa, state, old_name); in build_pivotroot()
709 old_name, in build_pivotroot()
/linux-6.6.21/fs/ocfs2/
Docfs2_trace.h2233 TP_PROTO(unsigned long long ino, int old_len, const char *old_name,
2235 TP_ARGS(ino, old_len, old_name, name_len, name),
2239 __string(old_name, old_name)
2246 __assign_str(old_name, old_name);
2251 __entry->old_len, __get_str(old_name),
2264 int old_len, const char *old_name,
2267 old_len, old_name, new_len, new_name),
2274 __string(old_name, old_name)
2284 __assign_str(old_name, old_name);
2291 __entry->old_len, __get_str(old_name),
/linux-6.6.21/security/tomoyo/
Dtomoyo.c207 const char *old_name) in tomoyo_path_symlink() argument
211 return tomoyo_path_perm(TOMOYO_TYPE_SYMLINK, &path, old_name); in tomoyo_path_symlink()
/linux-6.6.21/fs/hpfs/
Dnamei.c510 const unsigned char *old_name = old_dentry->d_name.name; in hpfs_rename() local
530 hpfs_adjust_length(old_name, &old_len); in hpfs_rename()
541 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
578 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
/linux-6.6.21/fs/coda/
Dcoda_psdev.h73 size_t new_length, const char *old_name,
Ddir.c302 const char *old_name = old_dentry->d_name.name; in coda_rename() local
313 (const char *) old_name, (const char *)new_name); in coda_rename()
/linux-6.6.21/drivers/hwmon/
Dhwmon.c1091 static char *__hwmon_sanitize_name(struct device *dev, const char *old_name) in __hwmon_sanitize_name() argument
1096 name = devm_kstrdup(dev, old_name, GFP_KERNEL); in __hwmon_sanitize_name()
1098 name = kstrdup(old_name, GFP_KERNEL); in __hwmon_sanitize_name()
/linux-6.6.21/drivers/md/
Ddm-ioctl.c409 char *old_name; in __change_cell_name() local
415 old_name = hc->name; in __change_cell_name()
423 return old_name; in __change_cell_name()
429 char *new_data, *old_name = NULL; in dm_hash_rename() local
491 old_name = __change_cell_name(hc, new_data); in dm_hash_rename()
509 kfree(old_name); in dm_hash_rename()
/linux-6.6.21/fs/nfs/
Dnfstrace.h808 __string(old_name, old_dentry->d_name.name)
816 __assign_str(old_name, old_dentry->d_name.name);
824 __get_str(old_name),
855 __string(old_name, old_dentry->d_name.name)
865 __assign_str(old_name, old_dentry->d_name.name);
875 __get_str(old_name),

12