/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-decl.h | 26 * These are our native regset flavors. 67 int fpr_set(struct task_struct *target, const struct user_regset *regset, 73 int vsr_active(struct task_struct *target, const struct user_regset *regset); 75 int vsr_set(struct task_struct *target, const struct user_regset *regset, 81 int vr_active(struct task_struct *target, const struct user_regset *regset); 83 int vr_set(struct task_struct *target, const struct user_regset *regset, 89 int evr_active(struct task_struct *target, const struct user_regset *regset); 91 int evr_set(struct task_struct *target, const struct user_regset *regset, 98 const struct user_regset *regset, 102 const struct user_regset *regset, [all...] |
H A D | ptrace-tm.c | 3 #include <linux/regset.h> 53 * @regset: The user regset structure. 58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument 66 return regset->n; in tm_cgpr_active() 72 * @regset: The user regset structure. 86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument 116 * @regset: The user regset structur 133 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 199 tm_cfpr_active(struct task_struct *target, const struct user_regset *regset) tm_cfpr_active() argument 228 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cfpr_get() argument 272 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 311 tm_cvmx_active(struct task_struct *target, const struct user_regset *regset) tm_cvmx_active() argument 341 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvmx_get() argument 392 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 439 tm_cvsx_active(struct task_struct *target, const struct user_regset *regset) tm_cvsx_active() argument 468 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvsx_get() argument 511 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 550 tm_spr_active(struct task_struct *target, const struct user_regset *regset) tm_spr_active() argument 573 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_spr_get() argument 615 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 652 tm_tar_active(struct task_struct *target, const struct user_regset *regset) tm_tar_active() argument 663 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_tar_get() argument 675 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 692 tm_ppr_active(struct task_struct *target, const struct user_regset *regset) tm_ppr_active() argument 704 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_ppr_get() argument 716 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 733 tm_dscr_active(struct task_struct *target, const struct user_regset *regset) tm_dscr_active() argument 744 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_dscr_get() argument 756 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 773 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cgpr32_get() argument 781 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-vsx.c | 3 #include <linux/regset.h> 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 79 int vsr_active(struct task_struct *target, const struct user_regset *regset) in vsr_active() argument 82 return target->thread.used_vsr ? regset->n : 0; in vsr_active() 97 int vsr_get(struct task_struct *target, const struct user_regset *regset, in vsr_get() argument 126 int vsr_set(struct task_struct *target, const struct user_regset *regset, in vsr_set() argument
|
H A D | ptrace-spe.c | 3 #include <linux/regset.h> 19 int evr_active(struct task_struct *target, const struct user_regset *regset) in evr_active() argument 22 return target->thread.used_spe ? regset->n : 0; in evr_active() 25 int evr_get(struct task_struct *target, const struct user_regset *regset, in evr_get() argument 39 int evr_set(struct task_struct *target, const struct user_regset *regset, in evr_set() argument
|
H A D | ptrace-view.c | 3 #include <linux/regset.h> 217 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument 244 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 298 static int ppr_get(struct task_struct *target, const struct user_regset *regset, in ppr_get() argument 307 static int ppr_set(struct task_struct *target, const struct user_regset *regset, in ppr_set() argument 318 static int dscr_get(struct task_struct *target, const struct user_regset *regset, in dscr_get() argument 323 static int dscr_set(struct task_struct *target, const struct user_regset *regset, in dscr_set() argument 332 static int tar_get(struct task_struct *target, const struct user_regset *regset, in tar_get() argument 337 static int tar_set(struct task_struct *target, const struct user_regset *regset, in tar_set() argument 345 static int ebb_active(struct task_struct *target, const struct user_regset *regset) in ebb_active() argument 356 ebb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) ebb_get() argument 372 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ebb_set() argument 403 pmu_active(struct task_struct *target, const struct user_regset *regset) pmu_active() argument 411 pmu_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pmu_get() argument 426 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pmu_set() argument 468 pkey_active(struct task_struct *target, const struct user_regset *regset) pkey_active() argument 476 pkey_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pkey_get() argument 488 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pkey_set() argument 642 gpr32_get_common(struct task_struct *target, const struct user_regset *regset, struct membuf to, unsigned long *regs) gpr32_get_common() argument 656 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) gpr32_set_common() argument 724 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() argument 745 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument [all...] |
H A D | ptrace-altivec.c | 3 #include <linux/regset.h> 23 int vr_active(struct task_struct *target, const struct user_regset *regset) in vr_active() argument 26 return target->thread.used_vr ? regset->n : 0; in vr_active() 43 int vr_get(struct task_struct *target, const struct user_regset *regset, in vr_get() argument 79 int vr_set(struct task_struct *target, const struct user_regset *regset, in vr_set() argument
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-decl.h | 3 #include <linux/regset.h> 28 * These are our native regset flavors. 73 int fpr_set(struct task_struct *target, const struct user_regset *regset, 79 int vsr_active(struct task_struct *target, const struct user_regset *regset); 81 int vsr_set(struct task_struct *target, const struct user_regset *regset, 87 int vr_active(struct task_struct *target, const struct user_regset *regset); 89 int vr_set(struct task_struct *target, const struct user_regset *regset, 95 int evr_active(struct task_struct *target, const struct user_regset *regset); 97 int evr_set(struct task_struct *target, const struct user_regset *regset, 104 const struct user_regset *regset, [all...] |
H A D | ptrace-tm.c | 3 #include <linux/regset.h> 53 * @regset: The user regset structure. 58 int tm_cgpr_active(struct task_struct *target, const struct user_regset *regset) in tm_cgpr_active() argument 66 return regset->n; in tm_cgpr_active() 72 * @regset: The user regset structure. 86 int tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, in tm_cgpr_get() argument 117 * @regset: The user regset structur 134 tm_cgpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr_set() argument 200 tm_cfpr_active(struct task_struct *target, const struct user_regset *regset) tm_cfpr_active() argument 229 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cfpr_get() argument 273 tm_cfpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cfpr_set() argument 312 tm_cvmx_active(struct task_struct *target, const struct user_regset *regset) tm_cvmx_active() argument 342 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvmx_get() argument 393 tm_cvmx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvmx_set() argument 440 tm_cvsx_active(struct task_struct *target, const struct user_regset *regset) tm_cvsx_active() argument 469 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cvsx_get() argument 512 tm_cvsx_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cvsx_set() argument 551 tm_spr_active(struct task_struct *target, const struct user_regset *regset) tm_spr_active() argument 574 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_spr_get() argument 616 tm_spr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_spr_set() argument 653 tm_tar_active(struct task_struct *target, const struct user_regset *regset) tm_tar_active() argument 664 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_tar_get() argument 676 tm_tar_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_tar_set() argument 693 tm_ppr_active(struct task_struct *target, const struct user_regset *regset) tm_ppr_active() argument 705 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_ppr_get() argument 717 tm_ppr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_ppr_set() argument 734 tm_dscr_active(struct task_struct *target, const struct user_regset *regset) tm_dscr_active() argument 745 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_dscr_get() argument 757 tm_dscr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_dscr_set() argument 774 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tm_cgpr32_get() argument 782 tm_cgpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tm_cgpr32_set() argument [all...] |
H A D | ptrace-view.c | 3 #include <linux/regset.h> 218 static int gpr_get(struct task_struct *target, const struct user_regset *regset, in gpr_get() argument 238 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 290 static int ppr_get(struct task_struct *target, const struct user_regset *regset, in ppr_get() argument 299 static int ppr_set(struct task_struct *target, const struct user_regset *regset, in ppr_set() argument 310 static int dscr_get(struct task_struct *target, const struct user_regset *regset, in dscr_get() argument 315 static int dscr_set(struct task_struct *target, const struct user_regset *regset, in dscr_set() argument 324 static int tar_get(struct task_struct *target, const struct user_regset *regset, in tar_get() argument 329 static int tar_set(struct task_struct *target, const struct user_regset *regset, in tar_set() argument 337 static int ebb_active(struct task_struct *target, const struct user_regset *regset) in ebb_active() argument 348 ebb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) ebb_get() argument 364 ebb_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ebb_set() argument 395 pmu_active(struct task_struct *target, const struct user_regset *regset) pmu_active() argument 403 pmu_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pmu_get() argument 418 pmu_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pmu_set() argument 458 dexcr_active(struct task_struct *target, const struct user_regset *regset) dexcr_active() argument 466 dexcr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) dexcr_get() argument 487 hashkeyr_active(struct task_struct *target, const struct user_regset *regset) hashkeyr_active() argument 495 hashkeyr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) hashkeyr_get() argument 504 hashkeyr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hashkeyr_set() argument 518 pkey_active(struct task_struct *target, const struct user_regset *regset) pkey_active() argument 526 pkey_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pkey_get() argument 538 pkey_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pkey_set() argument 705 gpr32_get_common(struct task_struct *target, const struct user_regset *regset, struct membuf to, unsigned long *regs) gpr32_get_common() argument 719 gpr32_set_common_kernel(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, unsigned long *regs) gpr32_set_common_kernel() argument 757 gpr32_set_common_user(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void __user *ubuf, unsigned long *regs) gpr32_set_common_user() argument 811 gpr32_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned long *regs) gpr32_set_common() argument 823 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr32_get() argument 834 gpr32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr32_set() argument [all...] |
H A D | ptrace-vsx.c | 3 #include <linux/regset.h> 21 int fpr_get(struct task_struct *target, const struct user_regset *regset, in fpr_get() argument 49 int fpr_set(struct task_struct *target, const struct user_regset *regset, in fpr_set() argument 79 int vsr_active(struct task_struct *target, const struct user_regset *regset) in vsr_active() argument 82 return target->thread.used_vsr ? regset->n : 0; in vsr_active() 97 int vsr_get(struct task_struct *target, const struct user_regset *regset, in vsr_get() argument 126 int vsr_set(struct task_struct *target, const struct user_regset *regset, in vsr_set() argument
|
H A D | ptrace-spe.c | 3 #include <linux/regset.h> 19 int evr_active(struct task_struct *target, const struct user_regset *regset) in evr_active() argument 22 return target->thread.used_spe ? regset->n : 0; in evr_active() 25 int evr_get(struct task_struct *target, const struct user_regset *regset, in evr_get() argument 39 int evr_set(struct task_struct *target, const struct user_regset *regset, in evr_set() argument
|
H A D | ptrace-altivec.c | 3 #include <linux/regset.h> 23 int vr_active(struct task_struct *target, const struct user_regset *regset) in vr_active() argument 26 return target->thread.used_vr ? regset->n : 0; in vr_active() 43 int vr_get(struct task_struct *target, const struct user_regset *regset, in vr_get() argument 79 int vr_set(struct task_struct *target, const struct user_regset *regset, in vr_set() argument
|
/kernel/linux/linux-5.10/kernel/ |
H A D | regset.c | 4 #include <linux/regset.h> 7 const struct user_regset *regset, in __regset_get() 14 if (!regset->regset_get) in __regset_get() 16 if (size > regset->n * regset->size) in __regset_get() 17 size = regset->n * regset->size; in __regset_get() 23 res = regset->regset_get(target, regset, in __regset_get() 34 const struct user_regset *regset, in regset_get() 6 __regset_get(struct task_struct *target, const struct user_regset *regset, unsigned int size, void **data) __regset_get() argument 33 regset_get(struct task_struct *target, const struct user_regset *regset, unsigned int size, void *data) regset_get() argument 42 regset_get_alloc(struct task_struct *target, const struct user_regset *regset, unsigned int size, void **data) regset_get_alloc() argument 67 const struct user_regset *regset = &view->regsets[setno]; copy_regset_to_user() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | regset.c | 4 #include <linux/regset.h> 7 const struct user_regset *regset, in __regset_get() 14 if (!regset->regset_get) in __regset_get() 16 if (size > regset->n * regset->size) in __regset_get() 17 size = regset->n * regset->size; in __regset_get() 23 res = regset->regset_get(target, regset, in __regset_get() 34 const struct user_regset *regset, in regset_get() 6 __regset_get(struct task_struct *target, const struct user_regset *regset, unsigned int size, void **data) __regset_get() argument 33 regset_get(struct task_struct *target, const struct user_regset *regset, unsigned int size, void *data) regset_get() argument 42 regset_get_alloc(struct task_struct *target, const struct user_regset *regset, unsigned int size, void **data) regset_get_alloc() argument 67 const struct user_regset *regset = &view->regsets[setno]; copy_regset_to_user() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ads.c | 64 struct guc_mmio_reg regset[]; member 103 return offsetof(struct __guc_ads_blob, regset); in guc_ads_regset_offset() 255 __mmio_reg_add(struct temp_regset *regset, struct guc_mmio_reg *reg) in __mmio_reg_add() argument 257 u32 pos = regset->storage_used; in __mmio_reg_add() 260 if (pos >= regset->storage_max) { in __mmio_reg_add() 262 struct guc_mmio_reg *r = krealloc(regset->storage, in __mmio_reg_add() 265 WARN_ONCE(1, "Incomplete regset list: can't add register (%d)\n", in __mmio_reg_add() 270 regset->registers = r + (regset->registers - regset in __mmio_reg_add() 282 guc_mmio_reg_add(struct intel_gt *gt, struct temp_regset *regset, u32 offset, u32 flags) guc_mmio_reg_add() argument 330 guc_mcr_reg_add(struct intel_gt *gt, struct temp_regset *regset, i915_mcr_reg_t reg, u32 flags) guc_mcr_reg_add() argument 356 guc_mmio_regset_init(struct temp_regset *regset, struct intel_engine_cs *engine) guc_mmio_regset_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_debugfs.c | 66 struct debugfs_regset32 *regset, *verset; in cc_debugfs_init() local 68 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL); in cc_debugfs_init() 69 if (!regset) in cc_debugfs_init() 72 regset->regs = debug_regs; in cc_debugfs_init() 73 regset->nregs = ARRAY_SIZE(debug_regs); in cc_debugfs_init() 74 regset->base = drvdata->cc_base; in cc_debugfs_init() 75 regset->dev = dev; in cc_debugfs_init() 80 debugfs_create_regset32("regs", 0400, drvdata->dir, regset); in cc_debugfs_init()
|
/kernel/linux/linux-6.6/drivers/crypto/ccree/ |
H A D | cc_debugfs.c | 66 struct debugfs_regset32 *regset, *verset; in cc_debugfs_init() local 68 regset = devm_kzalloc(dev, sizeof(*regset), GFP_KERNEL); in cc_debugfs_init() 69 if (!regset) in cc_debugfs_init() 72 regset->regs = debug_regs; in cc_debugfs_init() 73 regset->nregs = ARRAY_SIZE(debug_regs); in cc_debugfs_init() 74 regset->base = drvdata->cc_base; in cc_debugfs_init() 75 regset->dev = dev; in cc_debugfs_init() 80 debugfs_create_regset32("regs", 0400, drvdata->dir, regset); in cc_debugfs_init()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | regset.h | 70 * @regset: regset being examined 83 const struct user_regset *regset); 86 const struct user_regset *regset, 92 * @regset: regset being examined 93 * @pos: offset into the regset data to access, in bytes 106 const struct user_regset *regset, 113 * @regset: regset bein [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | regset.h | 82 * @regset: regset being examined 95 const struct user_regset *regset); 98 const struct user_regset *regset, 104 * @regset: regset being examined 105 * @pos: offset into the regset data to access, in bytes 118 const struct user_regset *regset, 125 * @regset: regset bein [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A D | regset.c | 3 * FPU register's regset abstraction, for ptrace, core dumps, etc. 7 #include <asm/fpu/regset.h> 13 * as the "regset->n" for the xstate regset will be updated based on the feature 16 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_fpregs_active() argument 18 return regset->n; in regset_fpregs_active() 21 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_xregset_fpregs_active() argument 24 return regset->n; in regset_xregset_fpregs_active() 29 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument 43 int xfpregs_set(struct task_struct *target, const struct user_regset *regset, in xfpregs_set() argument 74 xstateregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) xstateregs_get() argument 106 xstateregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) xstateregs_set() argument 288 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs_get() argument 315 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | regset.c | 3 * FPU register's regset abstraction, for ptrace, core dumps, etc. 10 #include <asm/fpu/regset.h> 20 * as the "regset->n" for the xstate regset will be updated based on the feature 23 int regset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_fpregs_active() argument 25 return regset->n; in regset_fpregs_active() 28 int regset_xregset_fpregs_active(struct task_struct *target, const struct user_regset *regset) in regset_xregset_fpregs_active() argument 31 return regset->n; in regset_xregset_fpregs_active() 37 * The regset get() functions are invoked from: 71 int xfpregs_get(struct task_struct *target, const struct user_regset *regset, in xfpregs_get() argument 90 xfpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) xfpregs_set() argument 130 xstateregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) xstateregs_get() argument 142 xstateregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) xstateregs_set() argument 179 ssp_active(struct task_struct *target, const struct user_regset *regset) ssp_active() argument 187 ssp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) ssp_get() argument 212 ssp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ssp_set() argument 400 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpregs_get() argument 431 fpregs_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpregs_set() argument [all...] |
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | ptrace.c | 29 #include <linux/regset.h> 474 const struct user_regset *regset, in hw_break_get() 477 unsigned int note_type = regset->core_note_type; in hw_break_get() 506 const struct user_regset *regset, in hw_break_set() 510 unsigned int note_type = regset->core_note_type; in hw_break_set() 520 limit = regset->n * regset->size; in hw_break_set() 555 const struct user_regset *regset, in gpr_get() 562 static int gpr_set(struct task_struct *target, const struct user_regset *regset, in gpr_set() argument 580 static int fpr_active(struct task_struct *target, const struct user_regset *regset) in fpr_active() argument 473 hw_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) hw_break_get() argument 505 hw_break_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) hw_break_set() argument 554 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument 590 __fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) __fpr_get() argument 603 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument 615 __fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, unsigned int start_pos) __fpr_set() argument 642 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument 661 tls_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tls_get() argument 678 tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tls_set() argument 700 system_call_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) system_call_get() argument 707 system_call_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) system_call_set() argument 781 sve_get_common(struct task_struct *target, const struct user_regset *regset, struct membuf to, enum vec_type type) sve_get_common() argument 833 sve_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) sve_get() argument 843 sve_set_common(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf, enum vec_type type) sve_set_common() argument 980 sve_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) sve_set() argument 996 ssve_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) ssve_get() argument 1006 ssve_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) ssve_set() argument 1018 za_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) za_get() argument 1067 za_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) za_set() argument 1152 zt_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) zt_get() argument 1172 zt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) zt_set() argument 1209 pac_mask_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_mask_get() argument 1230 pac_enabled_keys_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_enabled_keys_get() argument 1242 pac_enabled_keys_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pac_enabled_keys_set() argument 1296 pac_address_keys_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_address_keys_get() argument 1311 pac_address_keys_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pac_address_keys_set() argument 1345 pac_generic_keys_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) pac_generic_keys_get() argument 1360 pac_generic_keys_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) pac_generic_keys_set() argument 1385 tagged_addr_ctrl_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) tagged_addr_ctrl_get() argument 1397 tagged_addr_ctrl_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) tagged_addr_ctrl_set() argument 1621 compat_gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_gpr_get() argument 1632 compat_gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_gpr_set() argument 1694 compat_vfp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_vfp_get() argument 1719 compat_vfp_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_vfp_set() argument 1750 compat_tls_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) compat_tls_get() argument 1757 compat_tls_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) compat_tls_set() argument [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kernel/ |
H A D | ptrace.c | 17 #include <linux/regset.h> 64 /* regset get/set implementations */ 67 const struct user_regset *regset, in gpr_get() 82 const struct user_regset *regset, in gpr_set() 137 const struct user_regset *regset, in fpr_get() 189 const struct user_regset *regset, in fpr_set() 221 const struct user_regset *regset, in cfg_get() 240 const struct user_regset *regset, in cfg_set() 249 const struct user_regset *regset, in lbt_get() 264 const struct user_regset *regset, in lbt_set() 66 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) gpr_get() argument 81 gpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) gpr_set() argument 136 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) fpr_get() argument 188 fpr_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) fpr_set() argument 220 cfg_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) cfg_get() argument 239 cfg_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) cfg_set() argument 248 lbt_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) lbt_get() argument 263 lbt_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) lbt_set() argument 282 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) copy_pad_fprs() argument 302 simd_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) simd_get() argument 332 simd_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) simd_set() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-debugfs.c | 88 struct xhci_regset *regset; in xhci_debugfs_alloc_regset() local 90 regset = kzalloc(sizeof(*regset), GFP_KERNEL); in xhci_debugfs_alloc_regset() 91 if (!regset) in xhci_debugfs_alloc_regset() 95 * The allocation and free of regset are executed in order. in xhci_debugfs_alloc_regset() 98 INIT_LIST_HEAD(®set->list); in xhci_debugfs_alloc_regset() 99 list_add_tail(®set->list, &xhci->regset_list); in xhci_debugfs_alloc_regset() 101 return regset; in xhci_debugfs_alloc_regset() 104 static void xhci_debugfs_free_regset(struct xhci_regset *regset) in xhci_debugfs_free_regset() argument 106 if (!regset) in xhci_debugfs_free_regset() 121 struct debugfs_regset32 *regset; xhci_debugfs_regset() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-debugfs.c | 88 struct xhci_regset *regset; in xhci_debugfs_alloc_regset() local 90 regset = kzalloc(sizeof(*regset), GFP_KERNEL); in xhci_debugfs_alloc_regset() 91 if (!regset) in xhci_debugfs_alloc_regset() 95 * The allocation and free of regset are executed in order. in xhci_debugfs_alloc_regset() 98 INIT_LIST_HEAD(®set->list); in xhci_debugfs_alloc_regset() 99 list_add_tail(®set->list, &xhci->regset_list); in xhci_debugfs_alloc_regset() 101 return regset; in xhci_debugfs_alloc_regset() 104 static void xhci_debugfs_free_regset(struct xhci_regset *regset) in xhci_debugfs_free_regset() argument 106 if (!regset) in xhci_debugfs_free_regset() 121 struct debugfs_regset32 *regset; xhci_debugfs_regset() local [all...] |