Lines Matching defs:removed
1418 struct hpsa_scsi_dev_t *removed[], int *nremoved)
1422 removed[*nremoved] = h->dev[entry];
1443 struct hpsa_scsi_dev_t *removed[], int *nremoved)
1452 removed[*nremoved] = h->dev[entry];
1458 hpsa_show_dev_msg(KERN_INFO, h, sd, "removed");
1568 if (haystack[i] == NULL) /* previously removed. */
1746 * This can happen if a physical drive is removed and
1896 device->removed = 1;
1930 struct hpsa_scsi_dev_t **added, **removed;
1946 removed = kcalloc(HPSA_MAX_DEVICES, sizeof(*removed), GFP_KERNEL);
1948 if (!added || !removed) {
1971 hpsa_scsi_remove_entry(h, i, removed, &nremoved);
1976 added, &nadded, removed, &nremoved);
2057 /* Notify scsi mid layer of any removed devices */
2059 if (removed[i] == NULL)
2061 if (removed[i]->expose_device)
2062 hpsa_remove_device(h, removed[i]);
2063 kfree(removed[i]);
2064 removed[i] = NULL;
2089 kfree(removed);
2422 dev->removed = 1;
2615 dev->removed) {
2692 dev->removed = 1;
5700 if (dev->removed) {
7579 /* addressing mode bits already removed */
8453 * changes (added/changed/removed logical drives, etc.) which mean that