Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/tc-testing/
H A Dtdc.py672 def does_id_exist(alltests, newid): argument
677 return (any(newid == x for x in idl))
689 newid = str('{:04x}'.format(random.randrange(16**4)))
690 if (does_id_exist(alltests, newid)):
693 c['id'] = newid
/openbmc/linux/drivers/scsi/
H A Dnsp32.c811 unsigned char tmpid, newid; in nsp32_reselection() local
820 newid = 0; in nsp32_reselection()
826 newid++; in nsp32_reselection()
834 if (newid >= ARRAY_SIZE(data->lunt) || in nsp32_reselection()
838 } else if(data->lunt[newid][newlun].SCpnt == NULL) { in nsp32_reselection()
843 data->cur_id = newid; in nsp32_reselection()
845 data->cur_target = &(data->target[newid]); in nsp32_reselection()
846 data->cur_lunt = &(data->lunt[newid][newlun]); in nsp32_reselection()