DELTA 268293 0 2157 SVNSZaWt2Qstatic uint32_t ctl_map_lun(int port_num, uint32_t lunstatic uint32_t ctl_map_lun(int port_num, uint32_t lun_id) { struct ctl_port *port; port = control_softc->ctl_ports[ctl_port_idx(port_num)]; if (port == NULL) return (UINT32_MAX); if (port->lun_map == NULL) return (lun_id); return (port->lun_map(port->targ_lun_arg, lun_id){N8[&z7; } else if (rs_type == CS_RAIDSET_PERSONALITY_RAID1){ max_active_luns = 148; } else if (rs_type ==  Z"T) uct scsi_per_res_cap *)ctsio->kern_data_ptr; scsi_ulto2b(sizeof(*res_cap), res_cap->length); res_cap->flags2 |= SPRI_TMV | SPRI_ALLOW_3; type_mask = SPRI_TM_WR_EX_AR | SPRI_TM_EX_AC_RO | SPRI_TM_WR_EX_RO | SPRI_TM_EX_AC | SPRI_TM_WR_EX | SPRI_TM_EX_AC_AR; scsi_ulto2b(type_mask, res_cap->type_mask); bctl_map_lun(ctsio->io_hdr.nexus.targ_port, targ_@F4iC<; int i; uint8_t diff; entry = ctl_get_cmd_entry(ctsio); if (entry->execute == NULL) { ctl_set_invalid_opcode(ctsio); ctl_done((union ctl_io *)ctsio); return (NULL); } KASSERT(entry->length > 0, ("Not defined length for command 0x%02x/0x%02xtarg_lun = ctl_map_lun(io->io_hdr.nexus.targ_porto->io_hdr.nexus.targ_mapped_lun = ctl_map_lun(io->io_hdr.nexus.targ_port, io->io_hdr.nexus.targ_lun)ENDREP DELTA 268293 2695 116 SVNDqwfGM int (*lun_func_t)(void *arg, struct ctl_id targ_id, int lun_id); typedef uint32_t (*lun_map_func_t)(void *arg, uint32_lun_map_func_t lun_mapENDREP DELTA 267574 0 5911 SVNgE!}Ar57@-0DsYRQz^bo1U+Pcye@ +|@2@\ _LZ@2*e($IZHjb1i-Qzk #-#og h!2Ob`%] xHzjS6 }Q1'9E9eYZ1;3l-N*=#td5wz {( NkrUxx^ksH3WmdUM: 䱷OYf^߯{f$$ėl*c4ȩӵ`*TRy~2 u0{Æ5oR1C[ĭn]i_\U:I #l*d 5oV0U<X*ܻhK+~$|#+$0'/S8lx"иӣY\q}~<9e/GóI석O{~7v"N4ݣK2PVq b05`\j[3}Lǔ+:Hg"=SDwx:U\NqjKn*ſHS,Q_JtfV%\&ڇDzob)Xϡ1Eqnj(Pef.x$aX 8yp/E¯Q . 4I\B?8_* @48yнn =H_1B]} :a6xr]1,ӨzdÃ8A"ybe־R{u{A6-A?T$ĩ1N5&C00k52#7p_=QLiBEp~E[/ l37:Cs{и+3b!CdkZ)SQFQ=hh1邾>zcȠ<qB!睝n}Yba)d[~z'*STnIeȤ78L;1&ZFA~ $^k7}}50a26MeJsU@|,2 aB϶ \lO[t dzr6+Oxǝe=Ybs3׿u>xO?lC;؄l+Mh?|6^YM*B$E}U1ЦO\/sG %y,*HY6}'BH9^hM[-ȣ"cQ'!#2=k2r"^( x#ȃmCfA!g, 1~t0v KK(l/Ru:}spDy8$-h73Xqڻ³SSsfZrl߿׋/2&7 _2!OB{ /_O Ćd`|%>xTxQJU^o͇3 1fqfm&I桙SPtF_& 6Gmac .?:Ɇ bǣ>JyrY6/g(ےQF.}O#m>0_1eH.rCM3_?8.go{0cB-_[՜:0~*X.FF{=D>6N7ɳz7+ڒLvfEf-W> 6F*Izzڋ$=dCFqˮ+jewt|S'>,(|˛<