Lines Matching defs:arg
51 struct rds_info_arg arg = *argp;
55 bzero(&arg, sizeof (struct rds_info_arg));
56 arg.lenp = (uint64_t)(uintptr_t)ulen;
57 arg.datap = NULL;
58 *item_size = ioctl(fd, opt_val, &arg);
59 argp->lenp = arg.lenp;
60 argp->datap = arg.datap;
67 if (arg.datap)
68 arg.datap = (uint64_t)(uintptr_t)realloc(
69 (char *)(uintptr_t)arg.datap, *ulen);
71 arg.datap = (uint64_t)(uintptr_t)malloc(*ulen);
73 if (arg.datap == NULL)
78 *item_size = ioctl(fd, opt_val, &arg);
79 argp->lenp = arg.lenp;
80 argp->datap = arg.datap;