Lines Matching refs:lunid
769 unsigned char lunid[8]; in cciss_show_lunid() local
780 memcpy(lunid, drv->LunID, sizeof(lunid)); in cciss_show_lunid()
783 lunid[0], lunid[1], lunid[2], lunid[3], in cciss_show_lunid()
784 lunid[4], lunid[5], lunid[6], lunid[7]); in cciss_show_lunid()
786 static DEVICE_ATTR(lunid, S_IRUGO, cciss_show_lunid, NULL);
2198 static int cciss_add_gendisk(ctlr_info_t *h, unsigned char lunid[], in cciss_add_gendisk() argument
2218 memcpy(h->drv[drv_index]->LunID, lunid, in cciss_add_gendisk()
2287 unsigned char lunid[8] = CTLR_LUNID; in rebuild_lun_table() local
2344 memcpy(lunid, &ld_buff->LUN[j][0], sizeof(lunid)); in rebuild_lun_table()
2345 if (memcmp(h->drv[i]->LunID, lunid, in rebuild_lun_table()
2346 sizeof(lunid)) == 0) { in rebuild_lun_table()
2372 memcpy(lunid, &ld_buff->LUN[i][0], sizeof(lunid)); in rebuild_lun_table()
2380 memcmp(h->drv[j]->LunID, lunid, in rebuild_lun_table()
2390 drv_index = cciss_add_gendisk(h, lunid, 0); in rebuild_lun_table()