Searched refs:opp_p (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/sbus/char/ |
H A D | openprom.c | 57 * structure will be placed in "*opp_p". Return value is the length 60 static int copyin(struct openpromio __user *info, struct openpromio **opp_p) in copyin() argument 64 if (!info || !opp_p) in copyin() 79 if (!(*opp_p = kzalloc(sizeof(int) + bufsize + 1, GFP_KERNEL))) in copyin() 82 if (copy_from_user(&(*opp_p)->oprom_array, in copyin() 84 kfree(*opp_p); in copyin() 90 static int getstrings(struct openpromio __user *info, struct openpromio **opp_p) in getstrings() argument 95 if (!info || !opp_p) in getstrings() 98 if (!(*opp_p = kzalloc(sizeof(int) + OPROMMAXPARAM + 1, GFP_KERNEL))) in getstrings() 101 (*opp_p) in getstrings() [all...] |
/kernel/linux/linux-6.6/drivers/sbus/char/ |
H A D | openprom.c | 57 * structure will be placed in "*opp_p". Return value is the length 60 static int copyin(struct openpromio __user *info, struct openpromio **opp_p) in copyin() argument 64 if (!info || !opp_p) in copyin() 79 if (!(*opp_p = kzalloc(sizeof(int) + bufsize + 1, GFP_KERNEL))) in copyin() 82 if (copy_from_user(&(*opp_p)->oprom_array, in copyin() 84 kfree(*opp_p); in copyin() 90 static int getstrings(struct openpromio __user *info, struct openpromio **opp_p) in getstrings() argument 95 if (!info || !opp_p) in getstrings() 98 if (!(*opp_p = kzalloc(sizeof(int) + OPROMMAXPARAM + 1, GFP_KERNEL))) in getstrings() 101 (*opp_p) in getstrings() [all...] |
Completed in 2 milliseconds