Lines Matching refs:h_iap
766 iap->h_iap = (intptr_t)hp->h_iap; in sbd_exec_op()
1860 hp->h_iap = GETSTRUCT(sbd_ioctl_arg_t, 1); in sbd_pre_op()
1862 (sbd_cmd_t *)hp->h_iap, shp->sh_arg); in sbd_pre_op()
1865 FREESTRUCT(hp->h_iap, sbd_ioctl_arg_t, 1); in sbd_pre_op()
1866 hp->h_iap = NULL; in sbd_pre_op()
1870 cmdp = (sbd_cmd_t *)hp->h_iap; in sbd_pre_op()
1884 FREESTRUCT(hp->h_iap, sbd_ioctl_arg_t, 1); in sbd_pre_op()
1885 hp->h_iap = NULL; in sbd_pre_op()
1943 if (serr && !rv && hp->h_iap) { in sbd_pre_op()
1954 SBD_SET_IOCTL_ERR(&hp->h_iap->i_err, ep->e_code, ep->e_rsc); in sbd_pre_op()
1955 (void) sbd_copyout_errs(hp->h_mode, hp->h_iap, shp->sh_arg); in sbd_pre_op()
1956 FREESTRUCT(hp->h_iap, sbd_ioctl_arg_t, 1); in sbd_pre_op()
1957 hp->h_iap = NULL; in sbd_pre_op()
1994 SBD_SET_IOCTL_ERR(&hp->h_iap->i_err, ep->e_code, in sbd_post_op()
1997 (void) sbd_copyout_errs(hp->h_mode, hp->h_iap, in sbd_post_op()
2001 if (hp->h_iap != NULL) { in sbd_post_op()
2002 FREESTRUCT(hp->h_iap, sbd_ioctl_arg_t, 1); in sbd_post_op()
2003 hp->h_iap = NULL; in sbd_post_op()
4254 sbd_cmd_t *cmdp = (sbd_cmd_t *)hp->h_iap; in sbd_get_ncm()
4278 sbd_cmd_t *cmdp = (sbd_cmd_t *)hp->h_iap; in sbd_status()