Lines Matching refs:all_vendor_ids
66 static struct vendor_id all_vendor_ids[] = { variable
91 #define NUMVENDORIDS (sizeof(all_vendor_ids)/sizeof(all_vendor_ids[0]))
112 if (all_vendor_ids[i].id == id) in lookup_vendor_id_by_id()
113 return &all_vendor_ids[i]; in lookup_vendor_id_by_id()
138 if (strncmp(all_vendor_ids[i].hash->v, hash, in lookup_vendor_id_by_hash()
139 all_vendor_ids[i].hash->l) == 0) in lookup_vendor_id_by_hash()
140 return &all_vendor_ids[i]; in lookup_vendor_id_by_hash()
153 if(all_vendor_ids[i].id == VENDORID_DPD){ in compute_vendorids()
154 all_vendor_ids[i].hash = vmalloc(sizeof(vendorid_dpd_hash)); in compute_vendorids()
155 if (all_vendor_ids[i].hash == NULL) { in compute_vendorids()
160 memcpy(all_vendor_ids[i].hash->v, vendorid_dpd_hash, in compute_vendorids()
165 vid.v = (char *) all_vendor_ids[i].string; in compute_vendorids()
168 all_vendor_ids[i].hash = eay_md5_one(&vid); in compute_vendorids()
169 if (all_vendor_ids[i].hash == NULL) in compute_vendorids()
174 all_vendor_ids[i].hash = in compute_vendorids()
175 vendorid_fixup(all_vendor_ids[i].id, in compute_vendorids()
176 all_vendor_ids[i].hash); in compute_vendorids()