Lines Matching defs:iobuf
7836 unsigned char *iobuf;
7878 if ((iobuf = kzalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7881 PC4500_readrid(ai, ridcode, iobuf, RIDSIZE, 1);
7888 if (copy_to_user(comp->data, iobuf, min(len, (int)RIDSIZE))) {
7889 kfree (iobuf);
7892 kfree (iobuf);
7906 unsigned char *iobuf;
7955 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7958 PC4500_readrid(ai, RID_STATSDELTACLEAR, iobuf, RIDSIZE, 1);
7964 if (copy_to_user(comp->data, iobuf,
7966 kfree (iobuf);
7969 kfree (iobuf);
7978 if ((iobuf = kmalloc(RIDSIZE, GFP_KERNEL)) == NULL)
7981 if (copy_from_user(iobuf, comp->data, comp->len)) {
7982 kfree (iobuf);
7987 ConfigRid *cfg = (ConfigRid *)iobuf;
7998 if ((*writer)(ai, ridcode, iobuf, comp->len, 1)) {
7999 kfree (iobuf);
8002 kfree (iobuf);