Home
last modified time | relevance | path

Searched refs:kreg (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/kernel/trace/
Dtrace_events_user.c2230 static long user_reg_get(struct user_reg __user *ureg, struct user_reg *kreg) in user_reg_get() argument
2246 ret = copy_struct_from_user(kreg, sizeof(*kreg), ureg, size); in user_reg_get()
2252 if (kreg->flags & ~(USER_EVENT_REG_MAX-1)) in user_reg_get()
2256 switch (kreg->enable_size) { in user_reg_get()
2270 if (kreg->enable_addr % kreg->enable_size) in user_reg_get()
2274 if (kreg->enable_bit > (kreg->enable_size * BITS_PER_BYTE) - 1) in user_reg_get()
2278 if (!access_ok((const void __user *)(uintptr_t)kreg->enable_addr, in user_reg_get()
2279 kreg->enable_size)) in user_reg_get()
2282 kreg->size = size; in user_reg_get()
2392 struct user_unreg *kreg) in user_unreg_get() argument
[all …]