Searched refs:res_idx (Results 1 – 4 of 4) sorted by relevance
273 int rman_idx, res_idx; in devinfo_init_resources() local340 for (res_idx = 0; res_idx < 1000; res_idx++) { in devinfo_init_resources()344 oid[res_ptr] = res_idx; in devinfo_init_resources()352 rman_idx, res_idx); in devinfo_init_resources()364 debug("fetched %d resources", res_idx); in devinfo_init_resources()
952 int rman_idx, res_idx; in sysctl_rman() local966 res_idx = name[2]; in sysctl_rman()984 if (res_idx == -1) { in sysctl_rman()1004 if (res_idx-- == 0) { in sysctl_rman()1009 else if (res_idx-- == 0) in sysctl_rman()
350 uint32_t res_idx; member
5241 if ((lun->flags & CTL_LUN_RESERVED) && (lun->res_idx == residx)) in ctl_scsi_release()5270 if ((lun->flags & CTL_LUN_RESERVED) && (lun->res_idx != residx)) { in ctl_scsi_reserve()5282 lun->res_idx = residx; in ctl_scsi_reserve()12115 if (lun->res_idx != residx) { in ctl_scsiio_lun_check()12807 if ((lun->flags & CTL_LUN_RESERVED) && (lun->res_idx == initidx)) in ctl_i_t_nexus_loss()