Lines Matching defs:removed
1412 struct hpsa_scsi_dev_t *removed[], int *nremoved)
1416 removed[*nremoved] = h->dev[entry];
1437 struct hpsa_scsi_dev_t *removed[], int *nremoved)
1446 removed[*nremoved] = h->dev[entry];
1452 hpsa_show_dev_msg(KERN_INFO, h, sd, "removed");
1562 if (haystack[i] == NULL) /* previously removed. */
1740 * This can happen if a physical drive is removed and
1890 device->removed = 1;
1924 struct hpsa_scsi_dev_t **added, **removed;
1940 removed = kcalloc(HPSA_MAX_DEVICES, sizeof(*removed), GFP_KERNEL);
1942 if (!added || !removed) {
1965 hpsa_scsi_remove_entry(h, i, removed, &nremoved);
1970 added, &nadded, removed, &nremoved);
2051 /* Notify scsi mid layer of any removed devices */
2053 if (removed[i] == NULL)
2055 if (removed[i]->expose_device)
2056 hpsa_remove_device(h, removed[i]);
2057 kfree(removed[i]);
2058 removed[i] = NULL;
2083 kfree(removed);
2417 dev->removed = 1;
2611 dev->removed) {
2688 dev->removed = 1;
5689 if (dev->removed) {
7552 /* addressing mode bits already removed */
8428 * changes (added/changed/removed logical drives, etc.) which mean that