Lines Matching refs:cnum
1201 if (qd.cnum == -1) in query_disk()
1202 qd.cnum = TARGET_LUN_TO_CONTAINER(qd.target, qd.lun); in query_disk()
1205 if (qd.cnum < 0 || qd.cnum > MAXIMUM_NUM_CONTAINERS) in query_disk()
1209 qd.target = CONTAINER_TO_TARGET(qd.cnum); in query_disk()
1210 qd.lun = CONTAINER_TO_LUN(qd.cnum); in query_disk()
1214 qd.valid = fsa_dev_ptr->valid[qd.cnum]; in query_disk()
1215 qd.locked = fsa_dev_ptr->locked[qd.cnum]; in query_disk()
1216 qd.deleted = fsa_dev_ptr->deleted[qd.cnum]; in query_disk()
1218 if (fsa_dev_ptr->devno[qd.cnum] == -1) in query_disk()
1223 get_sd_devname(fsa_dev_ptr->devno[qd.cnum], qd.name); in query_disk()
1262 if (dd.cnum > MAXIMUM_NUM_CONTAINERS) in force_delete_disk()
1267 fsa_dev_ptr->deleted[dd.cnum] = 1; in force_delete_disk()
1271 fsa_dev_ptr->valid[dd.cnum] = 0; in force_delete_disk()
1285 if (dd.cnum > MAXIMUM_NUM_CONTAINERS) in delete_disk()
1290 if (fsa_dev_ptr->locked[dd.cnum]) in delete_disk()
1296 fsa_dev_ptr->valid[dd.cnum] = 0; in delete_disk()
1297 fsa_dev_ptr->devno[dd.cnum] = -1; in delete_disk()