Searched refs:opp_p (Results 1 - 1 of 1) sorted by path

/linux-master/drivers/sbus/char/
H A Dopenprom.c57 * structure will be placed in "*opp_p". Return value is the length
60 static int copyin(struct openpromio __user *info, struct openpromio **opp_p) argument
64 if (!info || !opp_p)
79 if (!(*opp_p = kzalloc(sizeof(int) + bufsize + 1, GFP_KERNEL)))
82 if (copy_from_user(&(*opp_p)->oprom_array,
84 kfree(*opp_p);
90 static int getstrings(struct openpromio __user *info, struct openpromio **opp_p) argument
95 if (!info || !opp_p)
98 if (!(*opp_p = kzalloc(sizeof(int) + OPROMMAXPARAM + 1, GFP_KERNEL)))
101 (*opp_p)
[all...]

Completed in 447 milliseconds