Searched refs:fcode_info (Results 1 – 2 of 2) sorted by relevance
139 fc_fcode_info_t fcode_info; in get_fcode_from_device() local147 fcode_info.fcode_size = cdp->fc.fcode_size; in get_fcode_from_device()148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size); in get_fcode_from_device()149 if (ioctl(cdp->fcode_fd, FC_GET_FCODE_DATA, &fcode_info) < 0) { in get_fcode_from_device()156 PUSH(DS, (fstack_t)fcode_info.fcode_ptr); in get_fcode_from_device()
833 struct fc_fcode_info fcode_info; in fc_get_fcode() local855 if (copyin((void *)arg, &fcode_info, sizeof (fc_fcode_info_t))) { in fc_get_fcode()864 if (fcode_info.fcode_size != rp->fcode_size) { in fc_get_fcode()867 fcode_info.fcode_size, rp->fcode_size); in fc_get_fcode()874 if (copyout(rp->fcode, fcode_info.fcode_ptr, rp->fcode_size) == -1) { in fc_get_fcode()876 "fault copying out fcode to %p\n", fcode_info.fcode_ptr); in fc_get_fcode()