Searched refs:opp_p (Results 1 – 1 of 1) sorted by relevance
60 static int copyin(struct openpromio __user *info, struct openpromio **opp_p) in copyin() argument64 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() argument95 if (!info || !opp_p) in getstrings()98 if (!(*opp_p = kzalloc(sizeof(int) + OPROMMAXPARAM + 1, GFP_KERNEL))) in getstrings()101 (*opp_p)->oprom_size = 0; in getstrings()106 kfree(*opp_p); in getstrings()[all …]