/linux-6.6.21/kernel/livepatch/ |
D | core.c | 93 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 …]
|
D | transition.c | 284 *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()
|
D | patch.c | 178 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/ |
D | mount.h | 34 const char *old_name, unsigned long flags); 43 const char *old_name);
|
/linux-6.6.21/samples/livepatch/ |
D | livepatch-shadow-fix2.c | 97 .old_name = "dummy_check", 101 .old_name = "dummy_free",
|
D | livepatch-shadow-fix1.c | 138 .old_name = "dummy_alloc", 142 .old_name = "dummy_free",
|
D | livepatch-sample.c | 41 .old_name = "cmdline_proc_show",
|
D | livepatch-callbacks-demo.c | 143 .old_name = "busymod_work_func",
|
/linux-6.6.21/include/linux/ |
D | livepatch.h | 58 const char *old_name; member 186 func->old_name || func->new_func || func->old_sympos; \
|
D | fsnotify.h | 141 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()
|
D | sysfs.h | 301 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/ |
D | inode.c | 828 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/ |
D | test_klp_livepatch.c | 20 .old_name = "cmdline_proc_show",
|
D | test_klp_atomic_replace.c | 24 .old_name = "meminfo_proc_show",
|
D | test_klp_callbacks_demo.c | 66 .old_name = "busymod_work_func",
|
/linux-6.6.21/fs/hostfs/ |
D | hostfs_kern.c | 750 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/ |
D | mount.c | 671 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/ |
D | ocfs2_trace.h | 2233 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/ |
D | tomoyo.c | 207 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/ |
D | namei.c | 510 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/ |
D | coda_psdev.h | 73 size_t new_length, const char *old_name,
|
D | dir.c | 302 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/ |
D | hwmon.c | 1091 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/ |
D | dm-ioctl.c | 409 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/ |
D | nfstrace.h | 808 __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),
|