Searched refs:fcode_info (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dget_req.c139 fc_fcode_info_t fcode_info; local
147 fcode_info.fcode_size = cdp->fc.fcode_size;
148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size);
149 if (ioctl(cdp->fcode_fd, FC_GET_FCODE_DATA, &fcode_info) < 0) {
156 PUSH(DS, (fstack_t)fcode_info.fcode_ptr);
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c833 struct fc_fcode_info fcode_info; local
855 if (copyin((void *)arg, &fcode_info, sizeof (fc_fcode_info_t))) {
857 "fault copying in fcode_info from %p\n", arg);
864 if (fcode_info.fcode_size != rp->fcode_size) {
867 fcode_info.fcode_size, rp->fcode_size);
874 if (copyout(rp->fcode, fcode_info.fcode_ptr, rp->fcode_size) == -1) {
876 "fault copying out fcode to %p\n", fcode_info.fcode_ptr);

Completed in 59 milliseconds