sg_index_idr 97 drivers/scsi/sg.c static DEFINE_IDR(sg_index_idr); sg_index_idr 1456 drivers/scsi/sg.c error = idr_alloc(&sg_index_idr, sdp, 0, SG_MAX_DEVS, GFP_NOWAIT); sg_index_idr 1566 drivers/scsi/sg.c idr_remove(&sg_index_idr, sdp->index); sg_index_idr 1589 drivers/scsi/sg.c idr_remove(&sg_index_idr, sdp->index); sg_index_idr 1698 drivers/scsi/sg.c idr_destroy(&sg_index_idr); sg_index_idr 2263 drivers/scsi/sg.c idr_for_each(&sg_index_idr, sg_idr_max_id, &k); sg_index_idr 2272 drivers/scsi/sg.c return idr_find(&sg_index_idr, dev);