Home
last modified time | relevance | path

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

/openbmc/linux/drivers/sbus/char/
H A Dopenprom.c60 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()
95 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()
111 (*opp_p)->oprom_array[bufsize++] = c; in getstrings()
[all …]