Lines Matching refs:ofs
478 u_int ofs; in follow_link() local
487 ofs = get_unaligned_le32(link + 1); in follow_link()
493 ofs = tuple->LinkOffset; in follow_link()
502 ret = read_cis_cache(s, SPACE(tuple->Flags), ofs, 5, link); in follow_link()
507 return ofs; in follow_link()
508 remove_cis_cache(s, SPACE(tuple->Flags), ofs, 5); in follow_link()
510 ofs = ofs >> 1; in follow_link()
512 ret = read_cis_cache(s, SPACE(tuple->Flags), ofs, 5, link); in follow_link()
517 return ofs; in follow_link()
518 remove_cis_cache(s, SPACE(tuple->Flags), ofs, 5); in follow_link()
526 int ofs, i, attr; in pccard_get_next_tuple() local
535 ofs = tuple->CISOffset + tuple->TupleLink; in pccard_get_next_tuple()
542 ret = read_cis_cache(s, attr, ofs, 2, link); in pccard_get_next_tuple()
546 ofs++; in pccard_get_next_tuple()
553 ofs = follow_link(s, tuple); in pccard_get_next_tuple()
554 if (ofs < 0) in pccard_get_next_tuple()
557 ret = read_cis_cache(s, attr, ofs, 2, link); in pccard_get_next_tuple()
573 ret = read_cis_cache(s, attr, ofs+2, 4, in pccard_get_next_tuple()
581 ret = read_cis_cache(s, attr, ofs+2, 4, in pccard_get_next_tuple()
593 tuple->LinkOffset = ofs + 3; in pccard_get_next_tuple()
597 ret = read_cis_cache(s, attr, ofs+2, in pccard_get_next_tuple()
621 ofs += link[1] + 2; in pccard_get_next_tuple()
630 tuple->CISOffset = ofs + 2; in pccard_get_next_tuple()
763 char *s, u_char *ofs, u_char *found) in parse_strings() argument
773 ofs[i] = j; in parse_strings()
807 vers_1->str, vers_1->ofs, &vers_1->ns); in parse_vers_1()
819 altstr->str, altstr->ofs, &altstr->ns); in parse_altstr()