Lines Matching defs:iobuf
7834 unsigned char *iobuf;
7876 if ((iobuf = kzalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7879 PC4500_readrid(ai, ridcode, iobuf, RIDSIZE, 1);
7886 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) {
7887 kfree (iobuf);
7890 kfree (iobuf);
7904 unsigned char *iobuf;
7953 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7956 PC4500_readrid(ai, RID_STATSDELTACLEAR, iobuf, RIDSIZE, 1);
7962 if (copy_to_user(comp->data, iobuf,
7964 kfree (iobuf);
7967 kfree (iobuf);
7976 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7979 if (copy_from_user(iobuf, comp->data, comp->len)) {
7980 kfree (iobuf);
7985 ConfigRid *cfg = (ConfigRid *)iobuf;
7996 if ((*writer)(ai, ridcode, iobuf, comp->len, 1)) {
7997 kfree (iobuf);
8000 kfree (iobuf);