Home
last modified time | relevance | path

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

12

/linux-6.1.9/kernel/livepatch/
Dcore.c92 if ((strcmp(old_func->old_name, func->old_name) == 0) && in klp_find_func()
487 kfree(func->old_name); in klp_free_func_nop()
500 if (old_func->old_name) { in klp_alloc_func_nop()
501 func->old_name = kstrdup(old_func->old_name, GFP_KERNEL); in klp_alloc_func_nop()
502 if (!func->old_name) { in klp_alloc_func_nop()
738 if (!func->old_name) in klp_init_func()
748 if (strlen(func->old_name) >= KSYM_NAME_LEN) in klp_init_func()
761 func->old_name, in klp_init_func()
808 ret = klp_find_object_symbol(obj->name, func->old_name, in klp_init_object_loaded()
818 func->old_name); in klp_init_object_loaded()
[all …]
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()
Dtransition.c259 *oldname = func->old_name; in klp_check_stack()
291 const char *old_name; in klp_try_switch_task() local
310 ret = task_call_func(task, klp_check_and_switch_task, &old_name); in klp_try_switch_task()
325 __func__, task->comm, task->pid, old_name); in klp_try_switch_task()
/linux-6.1.9/security/apparmor/include/
Dmount.h32 const char *old_name, unsigned long flags);
39 const char *old_name);
/linux-6.1.9/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.1.9/include/linux/
Dlivepatch.h57 const char *old_name; member
185 func->old_name || func->new_func || func->old_sympos; \
Dfsnotify.h139 const struct qstr *old_name, in fsnotify_move() argument
158 old_dir, old_name, 0); in fsnotify_move()
161 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.1.9/fs/debugfs/
Dinode.c816 struct name_snapshot old_name; in debugfs_rename() local
838 take_dentry_name_snapshot(&old_name, old_dentry); in debugfs_rename()
843 release_dentry_name_snapshot(&old_name); in debugfs_rename()
847 fsnotify_move(d_inode(old_dir), d_inode(new_dir), &old_name.name, in debugfs_rename()
850 release_dentry_name_snapshot(&old_name); in debugfs_rename()
/linux-6.1.9/fs/hostfs/
Dhostfs_kern.c742 char *old_name, *new_name; in hostfs_rename2() local
748 old_name = dentry_name(old_dentry); in hostfs_rename2()
749 if (old_name == NULL) in hostfs_rename2()
753 __putname(old_name); in hostfs_rename2()
757 err = rename_file(old_name, new_name); in hostfs_rename2()
759 err = rename2_file(old_name, new_name, flags); in hostfs_rename2()
761 __putname(old_name); in hostfs_rename2()
/linux-6.1.9/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.1.9/security/apparmor/
Dmount.c644 const char *old_name, *new_name = NULL, *info = NULL; in build_pivotroot() local
659 old_buffer, &old_name, &info, in build_pivotroot()
674 state = aa_dfa_match(profile->policy.dfa, state, old_name); in build_pivotroot()
681 error = audit_mount(profile, OP_PIVOTROOT, new_name, old_name, in build_pivotroot()
/linux-6.1.9/fs/ocfs2/
Docfs2_trace.h2232 TP_PROTO(unsigned long long ino, int old_len, const char *old_name,
2234 TP_ARGS(ino, old_len, old_name, name_len, name),
2238 __string(old_name, old_name)
2245 __assign_str(old_name, old_name);
2250 __entry->old_len, __get_str(old_name),
2263 int old_len, const char *old_name,
2266 old_len, old_name, new_len, new_name),
2273 __string(old_name, old_name)
2283 __assign_str(old_name, old_name);
2290 __entry->old_len, __get_str(old_name),
/linux-6.1.9/security/tomoyo/
Dtomoyo.c195 const char *old_name) in tomoyo_path_symlink() argument
199 return tomoyo_path_perm(TOMOYO_TYPE_SYMLINK, &path, old_name); in tomoyo_path_symlink()
/linux-6.1.9/fs/hpfs/
Dnamei.c519 const unsigned char *old_name = old_dentry->d_name.name; in hpfs_rename() local
539 hpfs_adjust_length(old_name, &old_len); in hpfs_rename()
550 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
587 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) { in hpfs_rename()
/linux-6.1.9/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.1.9/drivers/md/
Ddm-ioctl.c392 char *old_name; in __change_cell_name() local
398 old_name = hc->name; in __change_cell_name()
406 return old_name; in __change_cell_name()
412 char *new_data, *old_name = NULL; in dm_hash_rename() local
475 old_name = __change_cell_name(hc, new_data); in dm_hash_rename()
493 kfree(old_name); in dm_hash_rename()
/linux-6.1.9/drivers/hwmon/
Dhwmon.c1083 static char *__hwmon_sanitize_name(struct device *dev, const char *old_name) in __hwmon_sanitize_name() argument
1088 name = devm_kstrdup(dev, old_name, GFP_KERNEL); in __hwmon_sanitize_name()
1090 name = kstrdup(old_name, GFP_KERNEL); in __hwmon_sanitize_name()
/linux-6.1.9/fs/nfs/
Dnfstrace.h811 __string(old_name, old_dentry->d_name.name)
819 __assign_str(old_name, old_dentry->d_name.name);
827 __get_str(old_name),
858 __string(old_name, old_dentry->d_name.name)
868 __assign_str(old_name, old_dentry->d_name.name);
878 __get_str(old_name),

12