Home
last modified time | relevance | path

Searched refs:newid (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/tc-testing/
Dtdc.py549 def does_id_exist(alltests, newid): argument
554 return (any(newid == x for x in idl))
566 newid = str('{:04x}'.format(random.randrange(16**4)))
567 if (does_id_exist(alltests, newid)):
570 c['id'] = newid
/Linux-v5.10/drivers/scsi/
Dnsp32.c802 unsigned char tmpid, newid; in nsp32_reselection() local
811 newid = 0; in nsp32_reselection()
817 newid++; in nsp32_reselection()
825 if (newid >= ARRAY_SIZE(data->lunt) || newlun >= ARRAY_SIZE(data->lunt[0])) { in nsp32_reselection()
828 } else if(data->lunt[newid][newlun].SCpnt == NULL) { in nsp32_reselection()
833 data->cur_id = newid; in nsp32_reselection()
835 data->cur_target = &(data->target[newid]); in nsp32_reselection()
836 data->cur_lunt = &(data->lunt[newid][newlun]); in nsp32_reselection()